Minor problems exposed by compiling C++ tests under _ISOMAC.
[glibc.git] / ChangeLog
blob4a7395cfa1e89eef8b237798e0d98768772df4d3
1 2016-11-27  Zack Weinberg  <zackw@panix.com>
3         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
4         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
9         error_t to fix usage in C++ programs.
11 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
13         * scripts/build-many-glibcs.py: Import datetime module.
14         (Context.__init__): Load JSON build state.  Initialize list of
15         status logs.
16         (Context.run_builds): Update saved build state.
17         (Context.add_makefile_cmdlist): Update list of status logs.
18         (Context.load_build_state_json): New function.
19         (Context.store_build_state_json): Likewise.
20         (Context.clear_last_build_state): Likewise.
21         (Context.update_build_state): Likewise.
22         (CommandList.status_logs): Likewise.
24 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
26         * scripts/build-many-glibcs.py (Context.__init__): Save text of
27         script being executed.
28         (Context.get_script_text): New function.
29         (Context.exec_self): Likewise.
30         (Context.checkout): Re-exec script if changed by checkout process.
32 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
34         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
35         (setpayloadsig): New declaration.
36         * math/Versions (setpayloadsig): New libm symbol at version
37         GLIBC_2.25.
38         (setpayloadsigf): Likewise.
39         (setpayloadsigl): Likewise.
40         * math/Makefile (libm-calls): Add s_setpayloadsigF.
41         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
42         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
43         (setpayloadsig_test_data): New array.
44         (setpayloadsig_test): New function.
45         (main): Call setpayloadsig_test.
46         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
47         setpayloadsigf and setpayloadsigl.
48         * manual/libm-err-tab.pl: Update comment on interfaces without
49         ulps tabulated.
50         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
51         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
52         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
53         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
54         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
55         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
56         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
57         setpayloadsig.
58         (CFLAGS-nldbl-setpayloadsig.c): New variable.
59         * sysdeps/nacl/libm.abilist: Update.
60         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
69         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
70         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
73         Likewise.
74         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
75         Likewise.
76         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
77         Likewise.
78         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
79         Likewise.
80         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
81         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
82         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
83         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
84         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
85         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
86         Likewise.
87         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
88         Likewise.
89         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
91         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
93         * scripts/build-many-glibcs.py: Import json module.
94         (Context.__init__): Take replace_sources argument.  Load
95         versions.json.
96         (Context.load_versions_json): New function.
97         (Context.store_json): Likewise.
98         (Context.store_versions_json): Likewise.
99         (Context.set_component_version): Likewise.
100         (Context.checkout): Update versions.json.  Check for and handle
101         changes of version.  Prefer previously explicitly specified
102         version to default version.
103         (Context.checkout_vcs): Return a revision identifier.
104         (Context.git_checkout): Likewise.
105         (Context.gcc_checkout): Likewise.
106         (get_parser): Add --replace-sources option.
107         (main): Pass replace_sources argument to Context call.
109 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
111         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
112         * nptl/allocatestack.c (allocate_stack): Likewise.
113         (__reclaim_stacks): Likewise.
114         (setxid_signal_thread): Obtain pid through syscall.
115         * nptl/nptl-init.c (sigcancel_handler): Likewise.
116         (sighandle_setxid): Likewise.
117         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
118         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
119         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
120         Likewise.
121         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
122         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
123         comment.
124         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
125         * nptl/descr.h (struct pthread): Change comment about pid value.
126         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
127         pid assert.
128         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
129         Do not set pid value.
130         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
131         pid cache check.
132         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
133         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
134         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
135         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
136         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
137         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
138         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
139         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
140         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
141         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
142         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
143         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
144         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
145         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
146         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
147         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
148         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
149         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
150         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
151         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
152         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
153         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
154         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
155         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
156         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
159         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
160         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
161         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
162         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
163         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
164         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
165         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
166         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
167         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
168         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
169         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
170         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
171         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
172         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
173         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
174         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
177         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
178         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
179         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
180         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
181         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
182         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
183         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
184         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
185         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
186         struct access.
187         (clone_test): Remove function.
188         (do_test): Rewrite to take in consideration pid is not cached anymore.
190 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
192         * bits/flt-eval-method.h: New file.
193         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
194         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
195         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
196         * math/Makefile (headers): Add bits/flt-eval-method.h.
197         * math/math.h: Include <bits/flt-eval-method.h>.
198         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
199         [__USE_ISOC99] (double_t): Likewise.
200         * bits/mathdef.h (float_t): Remove.
201         (double_t): Likewise.
202         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
203         (double_t): Likewise.
204         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
205         (double_t): Likewise.
206         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
207         (double_t): Likewise.
208         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
209         (double_t): Likewise.
210         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
211         (double_t): Likewise.
212         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
213         (double_t): Likewise.
214         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
215         (double_t): Likewise.
216         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
217         (double_t): Likewise.
218         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
219         (double_t): Likewise.
220         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
221         (double_t): Likewise.
222         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
223         (double_t): Likewise.
224         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
225         (double_t): Likewise.
226         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
227         (double_t): Likewise.
229 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
231         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
232         instead of PIC.
234 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
236         [BZ #20859]
237         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
238         (-0x7fffffff) instead of 0x80000001.
239         * math/test-fp-ilogb-constants.c: New file.
240         * math/Makefile (tests): Add test-fp-ilogb-constants.
242 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
244         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
245         (_init): Use it in place of hardcoded R_MIPS_JALR.
246         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
247         (_init): Use it in place of hardcoded R_MIPS_JALR.
248         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
249         (_init): Use it in place of hardcoded R_MIPS_JALR.
251 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
253         [BZ #20787]
254         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
255         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
256         (double_t): Do not define to double if [__x86_64__] when
257         __FLT_EVAL_METHOD__ is nonzero.
258         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
259         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
260         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
261         test-flt-eval-method-387 and test-flt-eval-method-sse.
262         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
263         variable.
264         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
266 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
268         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
269         use of -fno-isolate-erroneous-paths options for tilepro.
271 2016-11-23  Florian Weimer  <fweimer@redhat.com>
273         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
274         structure initialization is no longer needed.
276 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
278         [BZ #20855]
279         * bits/mathdef.h (float_t): Define to float.
280         * math/test-flt-eval-method.c: New file.
281         * math/Makefile (tests): Add test-flt-eval-method.
282         (CFLAGS-test-flt-eval-method.c): New variable.
284 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
286         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
287         and __fstatfs.  Make them aliases of __fstatfs64 if
288         STATFS_IS_STATFS64 is set to non-zero.
289         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
290         and __statfs64.
291         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
292         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
293         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
294         for __statfs and statfs.
295         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
296         to 0.
297         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
298         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
299         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
300         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
301         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
302         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
305         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
306         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
307         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
308         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
310 2016-11-22  Andreas Schwab  <schwab@suse.de>
312         * misc/mkstemp.c: Include <fcntl.h>.
313         * misc/mkstemps.c: Likewise.
314         * misc/mkostemp.c: Likewise.
315         * misc/mkostemps.c: Likewise.
317 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
319         [BZ #20847]
320         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
321         array bounds.
322         (__execvpe): Likewise.
324 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
326         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
327         -fno-isolate-erroneous-paths options for tilepro.
329 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
331         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
332         to 0 when in 32 bit mode.
333         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
334         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
335         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
336         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
338         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
339         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
340         XSTAT_IS_XSTAT64 test.
341         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
342         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
343         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
344         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
345         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
346         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
347         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
348         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
349         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
350         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
351         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
353 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
355         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
356         (setpayload): New declaration.
357         * math/Versions (setpayload): New libm symbol at version
358         GLIBC_2.25.
359         (setpayloadf): Likewise.
360         (setpayloadl): Likewise.
361         * math/Makefile (libm-calls): Add s_setpayloadF.
362         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
363         test_Ff_b1_data.
364         (RUN_TEST_Ff_b1): New macro.
365         (RUN_TEST_LOOP_Ff_b1): Likewise.
366         (canonicalize_test_data): Update type.
367         (setpayload_test_data): New array.
368         (setpayload_test): New function.
369         (main): Call setpayload_test.
370         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
371         setpayloadf and setpayloadl.
372         * manual/libm-err-tab.pl: Update comment on interfaces without
373         ulps tabulated.
374         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
375         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
376         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
377         Likewise.
378         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
379         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
380         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
381         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
382         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
383         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
384         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
385         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
386         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
387         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
388         setpayload.
389         (CFLAGS-nldbl-setpayload.c): New variable.
390         * sysdeps/nacl/libm.abilist: Update.
391         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
392         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
393         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
397         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
398         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
399         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
400         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
401         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
402         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
404         Likewise.
405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
406         Likewise.
407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
408         Likewise.
409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
410         Likewise.
411         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
412         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
413         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
414         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
415         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
417         Likewise.
418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
419         Likewise.
420         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
421         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
422         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
424 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
426         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
427         * include/unistd.h: Extend comment about __access_noerrno return
428         semantics.
429         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
430         (access_common): Correct typo for EACCES.
432 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
434         * sysdeps/tile/math-tests.h: New file.
436         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
437         (__old_set_dataplane): Rename from set_dataplane and make a
438         compatibility symbol.
439         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
440         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
441         sys/dataplane.h.
443 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
445         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
446         script quote words in command output to log suitably for input to
447         the shell.
449 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
450             Maciej W. Rozycki  <macro@imgtec.com>
452         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
453         `.Lno_weak_fn' label.
454         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
455         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
457 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
458             Yury Norov  <ynorov@caviumnetworks.com>
460         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
461         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
462         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
463         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
464         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
466         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
467         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
468         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
469         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
470         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
471         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
472         (sysdep_routines): Remove oldgetrlimit64.
473         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
474         (sysdep_routines): Likewise.
475         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
476         (sysdep_routines): Likewise.
477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
478         [$(subdir) = resource] (sysdep_routines): Likewise.
479         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
480         [$(subdir) = resource] (sysdep_routines): Likewise.
481         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
482         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
483         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
484         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
485         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
486         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
487         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
488         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
489         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
490         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
491         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
492         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
493         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
494         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
495         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
496         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
497         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
498         setrlimit and getrlimit.
499         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
500         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
501         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
504         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
505         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
506         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
507         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
508         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
509         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
510         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
511         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
512         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
513         (__old_getrlimit64): Add compatibility symbol.
514         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
516 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
518         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
519         newly built gmp, mpfr and mpc.
521         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
523 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
525         * conform/Makefile (linknamespace-libs): Rename to
526         linknamespace-libs-thr.
527         (linknamespace-libs-posix): New variable.
528         (linknamespace-libs-xsi): Likewise.
529         (linknamespace-libs-XPG3): Include libcrypt.a.
530         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
531         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
532         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
533         (linknamespace-libs-XOPEN2K): Likewise.
534         (linknamespace-libs-XOPEN2K8): Likewise.
535         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
537         [BZ #20829]
538         * stdio-common/Versions (__snprintf): Add to version
539         GLIBC_PRIVATE.
540         * include/stdio.h (__snprintf): Use libc_hidden_proto.
541         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
542         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
543         of snprintf.
544         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
546 2016-11-16  Zack Weinberg  <zackw@panix.com>
548         * string/string.h: Remove obsolete comment stating that
549         strcoll_l and strxfrm_l have not yet been standardized.
551 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
553         * hurd/hurd.h (__hurd_fail_noerrno): New function.
554         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
555         __access_noerrno.
556         * io/access.c (__access_noerrno): New function.
557         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
558         (hurd_fail_seterrno): Likewise.
559         (access_common): Likewise.
560         (__access_noerrno): Likewise.
561         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
562         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
563         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
564         macro.
566 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
568         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
569         Only declare fpregs if [__SH_FPU_ANY__].
571 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
573         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
574         Make code unconditional.
575         [!(__SH4__ || __SH4A__)]: Remove conditional code.
577 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
579         * manual/sysinfo.texi (S_APPEND): Delete.
580         (S_IMMUTABLE): Likewise.
582 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
583             Magnus Granberg  <zorry@gentoo.org>
584             Mike Frysinger  <vapier@gentoo.org>
586         [BZ #20662]
587         * configure.ac (libc_cv_predef_stack_protector): Also check for
588         __stack_chk_fail_local symbols.
589         * configure: Regenerated.
591 2016-11-15  Florian Weimer  <fweimer@redhat.com>
593         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
594         (libc_hidden_def): Remove redefinition.
595         (__sigsetjmp): Add hidden definition.
596         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
597         (libc_hidden_def): Remove redefinition.
598         (__sigsetjmp): Add hidden definition.
600 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
602         * scripts/build-many-glibcs.py (os.path): Do not import.
603         (Context): Inherit explicitly from object.  Remove blank line
604         between class and docstring.
605         (Config): Likewise.
606         (Glibc): Likewise.
607         (Command): Likewise.
608         (CommandList): Likewise.
609         (Context.write_files): Store chmod mode in a variable.
611         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
612         LIBC_SLIBDIR_RTLDDIR for tilegx32.
613         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
615 2016-11-14  Zack Weinberg  <zackw@panix.com>
617         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
618         creating or re-creating it.
620         * string/bits/string2.h: Fix typo in comment.
622 2016-11-14  Zack Weinberg  <zackw@panix.com>
624         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
625         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
626         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
627         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
628         of redirected function names.
630         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
631         as well.  Document that MESSAGE must be a single string literal.
633 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
635         * scripts/build-many-glibcs.py: New file.
637         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
638         (do_test): Disable -Wmaybe-uninitialized around uses of
639         except_mask.
641         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
643 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
645         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
646         (atomic_store_release): Provide tilepro-specific implementations.
648 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
650         * math/math.h (__MATH_TG): New macro.
651         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
652         [__USE_ISOC99] (signbit): Likewise.
653         [__USE_ISOC99] (isfinite): Likewise.
654         [__USE_ISOC99] (isnan): Likewise.
655         [__USE_ISOC99] (isinf): Likewise.
656         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
657         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
659         __MATH_TG and __MATH_EVAL_FMT2.
660         * sysdeps/generic/math_private.h (fabs_tg): Define using
661         __MATH_TG.
662         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
663         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
664         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
665         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
666         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
667         macro.
668         (__iscanonical): Likewise.
669         (iscanonical): Define using __MATH_TG.
671 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
673         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
674         guards.
676         * sysdeps/unix/sysv/linux/access.c: New file.
677         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
679 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
681         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
682         and __WORDSIZE32_PTRDIFF_LONG.
684 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
686         * sysdeps/aarch64/libm-test-ulps: Regenerated.
688 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
690         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
691         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
692         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
693         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
694         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
696         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
697         * sysdeps/unix/sysv/linux/truncate.c: New file.
698         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
699         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
700         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
701         Remove.
702         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
703         Likewise.
705         * posix/tst-truncate-common.c: New file.
706         * posix/tst-truncate.c: Use tst-truncate-common.c.
707         * posix/tst-truncate64.c: Likewise and add LFS tests.
708         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
709         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
710         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
711         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
712         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
714         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
715         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
716         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
717         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
718         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
719         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
720         Remove.
721         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
722         Likewise.
724 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
726         [BZ #20790]
727         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
728         to MAXLINESIZE.
729         * sunrpc/bug20790.x: New file.
730         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
731         variable.
732         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
733         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
735         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
737         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
739         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
740         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
741         calloc, realloc, free, memalign and __libc_memalign rather than
742         making them optional.
744         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
745         for libc.so.
747 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
749         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
750         ptw-lseek64.
751         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
752         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
753         Likewise.
754         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
755         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
756         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
757         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
758         * sysdeps/unix/sysv/linux/lseek.c: New file.
759         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
760         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
761         __libc_lseek64 from auto-generation.
762         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
763         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
765 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
767         * nptl/tst-basic1.c (tf, do_test): Use write_message.
768         * nptl/tst-cleanup1.c (do_test): Likewise.
769         * nptl/tst-cleanup3.c (do_test): Likewise.
770         * nptl/tst-key1.c (do_test): Likewise.
771         * nptl/tst-key2.c (tf, do_test): Likewise.
772         * nptl/tst-key3.c (tf, do_test): Likewise.
773         * nptl/tst-stdio1.c (do_test): Likewise.
774         * nptl/tst-stdio2.c (do_test): Likewise.
776         * nptl/tst-kill3.c (handler): Use write_message in place of write.
777         * nptl/tst-kill6.c (handler): Likewise.
778         * nptl/tst-tls2.c (CB): Likewise.
779         * nptl/tst-tls3.c (CB): Likewise.
781 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
783         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
785 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
786             Steve Ellcey  <sellcey@caviumnetworks.com>
788         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
789           __ASSUME_ST_INO_64_BIT as 0
790         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
791         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
792           over the code where __ASSUME_ST_INO_64_BIT is used.
793         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
794         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
795         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
797 2016-11-07  Florian Weimer  <fweimer@redhat.com>
799         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
800         Document ABI exposure of the __kind offset.
801         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
802         Mention reason for the __kind offset exposure in the ABI.
803         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
804         Likewise.
805         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
806         Likewise.
807         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
808         Likewise.
809         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
810         (struct __pthread_mutex_s): Likewise.
811         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
812         Likewise.
813         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
814         Likewise.
815         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
816         Likewise.
817         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
818         Likewise.
819         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
820         Likewise.
821         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
822         Likewise.
823         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
824         (struct __pthread_mutex_s): Likewise.
825         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
826         (struct __pthread_mutex_s): Likewise.
827         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
828         Likewise.
830 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
832         * test-skeleton.c: Document do_test usage.
834 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
836         * iconv/gconv.h (__gconv_info): Define __data element using a
837         zero-length array.
839 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
841         * math/test-tgmath2.c: Split up test function.
843 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
845         * Rules (tests-expected): New variable, depending on
846         $(run-built-tests).
847         (tests): Pass $(tests-expected) to merge-test-results.sh, not
848         $(tests).
850         * Rules [$(run-built-tests) = no] (tests): Do not depend on
851         $(tests-unsupported).
853 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
855         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
856         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
858 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
860         [BZ #20768]
861         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
862         __fegetenv instead of fegetenv.
864         [BZ #14139]
865         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
866         (find_files): Obtain platform name from libm-test-ulps-name and
867         store in %pplatforms.
868         (canonicalize_platform): Remove.
869         (print_platforms): Use $pplatforms directly.
870         (by_platforms): Do not allow for platforms missing from
871         %pplatforms.
872         * sysdeps/aarch64/libm-test-ulps-name: New file.
873         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
874         * sysdeps/arm/libm-test-ulps-name: Likewise.
875         * sysdeps/generic/libm-test-ulps-name: Likewise.
876         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
877         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
878         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
879         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
880         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
881         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
882         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
883         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
884         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
885         * sysdeps/nios2/libm-test-ulps-name: Likewise.
886         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
887         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
888         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
889         * sysdeps/sh/libm-test-ulps-name: Likewise.
890         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
891         * sysdeps/tile/libm-test-ulps-name: Likewise.
892         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
894         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
896         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
897         (test-xfail-check-execstack): New variable.
899         * sysdeps/mips/localplt.data: New file.
901 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
902             Steve Ellcey  <sellcey@caviumnetworks.com>
904         * bits/wordsize.h: Add documentation.
905         * sysdeps/aarch64/bits/wordsize.h : New file
906         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
907         definitions.
908         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
909         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
910         with #if instead of #ifdef.
911         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
912         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
913         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
914         Add or change defines.
915         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
916         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
917         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
918         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
919         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
920         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
921         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
922         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
923         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
924         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
925         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
926         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
927         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
928         * sysdeps/x86/bits/wordsize.h: Likewise.
930 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
931             Kevin Petit  <kevin.petit@arm.com>
933         * sysdeps/aarch64/memchr.S (__memchr): New file.
935 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
937         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
939 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
941         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
942         $(linknamespace-symlists-tests).
944 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
946         * time/tst-strptime2.c: Ignore -Wformat-length warning.
948 2016-11-02  Florian Weimer  <fweimer@redhat.com>
949             Carlos O'Donell  <carlos@redhat.com>
951         [Bug #20729]
952         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
953         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
954         for -Os related change.
956 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
958         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
960 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
962         [BZ #19673]
963         * manual/math.texi (Exponents and Logarithms): Correct description
964         of clog10.
966 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
968         [Bz #20729]
969         * locale/weight.h: Include libc-internal.h.
970         * locale/weightwc.h: Likewise.
971         * nptl/nptl_dbP.h: Likewise.
973 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
975         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
976         when it is MACH_PORT_NULL.
978 2016-10-31  Andreas Schwab  <schwab@suse.de>
980         [BZ #20707]
981         * posix/glob.c (glob): Initialize pglob before checking for
982         GLOB_BRACE.  Don't call glob recursively if pattern contains no
983         valid brace expression despite GLOB_BRACE.
984         * posix/globtest.sh: Test it.
986 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
988         [BZ #20729]
989         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
990         Define.
991         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
992         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
993         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
994         for seq2.back_us and seq1.back_us only for -Os compiles.
995         * locale/weightwc.h (findix): Likewise.
996         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
997         DB_GET_FIELD_ADDRESS only for -Os compiles.
998         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
999         for slen only for -Os compiles.
1000         * string/strcoll_l.c (get_next_seq): Ignore
1001         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1002         for -Os compiles.
1004         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1005         * include/crypt.h: New file.
1007 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1009         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1010         from test-skeleton.c.
1011         (statclass): Replace calls to write with calls to write_message.
1013 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1015         * math/math.h
1016         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1017         New macro.
1018         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1019         Likewise.
1020         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1021         Likewise.
1022         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1023         SNANL.
1024         * math/test-double.h (snan_value_MACRO): New macro.
1025         * math/test-float.h (snan_value_MACRO): Likewise.
1026         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1027         * math/libm-test.inc (issignaling_test_data): Add tests of
1028         snan_value_MACRO.
1030 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1032         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1033         behavior when eliding a lock not held by the current thread.
1034         * sysdeps/powerpc/nptl/elide.h: Likewise.
1036 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1038         [BZ #20728]
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1040         branch to _exit() by a function call.
1042 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1044         * malloc/malloc.c: Update chunk layout comments.
1045         (chunk_main_arena): Update comment.
1047 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1049         * crypt/sha256.c, crypt/sha256-block.c,
1050         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1051         sha256_process_block to __sha256_process_block.
1052         * crypt/sha512.c, crypt/sha512-block.c,
1053         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1054         sha512_process_block to __sha512_process_block.
1056 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1058         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1060         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1062 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1064         [BZ #20019]
1065         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1066         definition in unrelocated shared library.
1067         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1069 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1071         [BZ #20729]
1072         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1073         * sysdeps/unix/sysv/linux/i386/Makefile
1074         (uses-6-syscall-arguments): Define.
1075         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1076         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1077         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1078         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1079         Likewise.
1080         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1081         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1082         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1083         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1084         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1085         (CFLAGS-fallocate64.os): Likewise.
1086         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1087         (CFLAGS-pthread_rwlock_timedrdlock.os)
1088         (CFLAGS-pthread_rwlock_timedwrlock.o)
1089         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1090         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1091         (CFLAGS-sem_timedwait.os): Likewise.
1093 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1095         * elf/tst-linkall-static.c: New file.
1096         * elf/Makefile (tests-static): Add tst-linkall-static.
1097         (tst-linkall-static): Link against static libraries.
1099 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1101         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1102         mmaped chunks.
1104 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1106         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1107         members to mchunk_prev_size, mchunk_size.
1108         (chunk_main_arena): Reverse sense and rename from
1109         chunk_non_main_arena.
1110         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1111         mchunk_size instead of size.
1112         (set_non_main_arena): Define.
1113         (chunksize): Use chunksize_nomask instead of direct member access.
1114         (chunksize_nomask): Define.
1115         (next_chunk): Use chunksize instead of direct member access.
1116         (prev_size, set_prev_size): Define.
1117         (prev_chunk): Use prev_size instead of direct member access.
1118         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1119         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1120         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1121         (mchunk_prev_size, mchunk_size): Poison tokens.
1122         (unlink): Use chunksize_nomask, prev_size accessors.
1123         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1124         (do_check_free_chunk): Use prev_size accessor.
1125         (sysmalloc): Use set_prev_size, set_head accessors.
1126         (munmap_chunk, mremap_chunk): Use prev_size accessor.
1127         (__libc_free): Use chunksize_nomask accessor.
1128         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1129         chunk_main_arena accessors.
1130         (_int_free): Use chunksize_nomask, prev_size accessors.
1131         (malloc_consolidate): Use chunksize, prev_size accessors.
1132         (_int_realloc): Use chunksize_nomask accessor.
1133         (_int_memalign): Use set_prev_size accessor.
1134         (__malloc_info): Use chunksize_nomask accessor.
1135         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
1136         accessors.
1137         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
1138         (heap_trim): Use chunksize_nomask, prev_size accessors.
1140 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1142         [BZ #19380]
1143         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
1144         for inexact results.
1145         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
1146         of inexact result where mpfr_subnormalize is the only inexact
1147         step.
1148         * stdlib/tst-strtod-round-data.h: Regenerated.
1149         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
1150         Define to 0.
1151         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
1153 2016-10-27  David S. Miller  <davem@davemloft.net>
1155         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
1157 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1159         * malloc/malloc.c (do_set_mallopt_check): New function.
1160         (do_set_mmap_threshold): Likewise.
1161         (do_set_mmaps_max): Likewise.
1162         (do_set_top_pad): Likewise.
1163         (do_set_perturb_byte): Likewise.
1164         (do_set_trim_threshold): Likewise.
1165         (do_set_arena_max): Likewise.
1166         (do_set_arena_test): Likewise.
1167         (__libc_mallopt): Use them.
1169 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
1171         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1172         (canonicalize): New declaration.
1173         * math/Versions (canonicalize): New libm symbol at version
1174         GLIBC_2.25.
1175         (canonicalizef): Likewise.
1176         (canonicalizel): Likewise.
1177         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
1178         * math/s_canonicalize_template.c: New file.
1179         * math/libm-test.inc: Update comment on functions tested and
1180         testing of NaN payloads.
1181         (TEST_NAN_PAYLOAD): New macro.
1182         (NO_TEST_INLINE): Update value.
1183         (XFAIL_TEST): Likewise.
1184         (ERRNO_UNCHANGED): Likewise.
1185         (ERRNO_EDOM): Likewise.
1186         (ERRNO_ERANGE): Likewise.
1187         (IGNORE_RESULT): Likewise.
1188         (NON_FINITE): Likewise.
1189         (TEST_SNAN): Likewise.
1190         (NO_TEST_MATHVEC): Likewise.
1191         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
1192         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
1193         (struct test_Ffp_b1_data): New type.
1194         (RUN_TEST_Ffp_b1): New macro.
1195         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1196         (canonicalize_test_data): New array.
1197         (canonicalize_test): New function.
1198         (main): Call canonicalize_test.
1199         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
1200         canonicalizef and canonicalizel.
1201         * manual/libm-err-tab.pl: Update comment on interfaces without
1202         ulps tabulated.
1203         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
1204         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
1205         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1206         canonicalize.
1207         (CFLAGS-nldbl-canonicalize.c): New variable.
1208         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
1209         to ...
1210         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
1211         ... here.
1212         (do_test): Also test canonicalizel.
1213         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
1214         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
1215         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
1216         file.
1217         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
1218         Use libm_hidden_def.
1219         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
1220         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
1221         (do_test): Also test canonicalizel.
1222         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
1223         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
1224         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
1225         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
1226         libm_hidden_def.
1227         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
1228         macro.
1229         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
1230         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
1231         * sysdeps/nacl/libm.abilist: Update.
1232         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1233         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1234         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1235         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1236         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1237         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1238         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1239         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1240         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1241         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1242         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1243         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1245         Likewise.
1246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1247         Likewise.
1248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1249         Likewise.
1250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1251         Likewise.
1252         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1253         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1254         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1255         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1256         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1258         Likewise.
1259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1260         Likewise.
1261         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1262         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1263         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1265         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
1266         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1267         getpayload.
1268         (CFLAGS-nldbl-getpayload.c): New variable.
1270 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1272         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
1273         integer from the format string.
1275 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1277         [BZ #19473]
1278         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
1279         declarations.
1280         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
1281         weak aliases.
1282         * malloc/hooks.c (__malloc_get_state): Remove definition.
1283         (malloc_get_state): New stub implementation as
1284         compatibility symbol.
1285         (malloc_set_state): Rename from __malloc_set_state.  Turn into
1286         compat symbol.
1287         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
1288         malloc_set_state.
1289         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
1291 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1293         * iconvdata/iso646.c (enum variant): Drop illegal_var.
1294         (names): Turn into concatenation of strings.
1295         (gconv_init): Adapt iteration over names.
1297 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1299         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
1300         make const.
1301         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
1302         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
1303         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
1304         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
1305         character in sbconv.
1306         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
1307         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
1308         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1310 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1312         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1314         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1315         (M_TRIM_THRESHOLD): Likewise.
1317         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1318         (M_ARENA_MAX): Likewise.
1319         * malloc/malloc.c: Remove obsolete comment.
1321         * manual/memory.texi: Add environment variable alternatives to
1322         setting mallopt parameters.
1324 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1326         * include/atomic.h
1327         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1328         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1330 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1332         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1333         * stdlib/tst-strfrom.h: New file.
1334         * stdlib/tst-strfrom.c: New file.
1335         * stdlib/tst-strfrom-locale.c: New file.
1337         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1338         * stdlib/bug-strtod2.c: Likewise.
1339         * stdlib/tst-strtod-round-skeleton.c: Likewise.
1340         * stdlib/tst-strtod6.c: Likewise.
1341         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1343 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1345         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1346         * manual/arith.texi: Document strfromd, strfromf, strfroml.
1347         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1348         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1349         * stdlib/stdlib.h (strfromd): New declaration.
1350         (strfromf): Likewise.
1351         (strfroml): Likewise.
1352         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
1353         strfrom.
1354         * stdlib/strfromd.c: New file.
1355         * stdlib/strfromf.c: Likewise.
1356         * stdlib/strfroml.c: Likewise.
1357         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1358         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1359         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1360         * sysdeps/arm/nacl/libc.abilist: Update.
1361         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1362         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1363         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1364         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1365         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1366         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1367         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1368         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1369         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1370         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1371         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1372         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1373         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1374         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1379         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1380         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1381         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1382         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1383         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1386         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1387         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1388         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1390 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
1392         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1393         instead of cmpli.
1394         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1395         instead of cmpli.
1397 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
1399         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1400         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1401         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1402         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1403         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1404         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1406 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1408         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1409         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1410         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1411         SYSCALL_LL64_PRW.
1412         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1413         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
1414         __ASSUME_PRW_DUMMY_ARG.
1415         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
1416         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1417         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1418         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1419         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
1420         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
1422 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1424         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
1426 2016-10-22  Florian Weimer  <fweimer@redhat.com>
1428         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
1429         "C++", to override a potential extern "C" directive around the
1430         header file inclusion.
1432 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
1434         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
1436 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1438         * sysdeps/powerpc/fpu/fenv_private.h:
1439         (_FPU_MASK_ALL): Rename to...
1440         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
1441         XE FPSCR bits.
1443         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
1445         (_FPU_MASK_ROUNDING): Rename to...
1446         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
1447         NI bits.
1449         (_FPU_MASK_EXCEPT_ROUND): Rename to...
1450         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
1451         bits and rounding bits.
1453         (__libc_feholdbits_ppc): New inline function to mask, set,
1454         and pontentially clear FSPCR bits, and change MSR[FE] bits.
1455         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
1456         (libc_feholdexcept_setround_ppc): Likewise.
1458         (__libc_femergeenv_ppc): New function to dynamically mask both
1459         old and new FP environments and merge.
1460         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
1461         (libc_feresetround_ppc): Likewise.
1462         (libc_feupdateenv_test_ppc): Likewise.
1463         (libc_feupdateenv_ppc): Likewise.
1465         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
1466         of ISA RN bits, and update macro names.
1467         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
1468         effectively the same as the previously mentioned function.
1470         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
1471         usage with fe_resetround_ppc.
1473         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
1474         to be used.
1475         (libc_feholdexcept_setround_ctxf): Likewise.
1476         (libc_feholdexcept_setround_ctxl): Likewise.
1478 2016-10-21  Florian Weimer  <fweimer@redhat.com>
1480         [BZ #20715]
1481         * math/math.h [__cplusplus] (iszero): Define as function template.
1482         * math/Makefile [CXX] (tests): Add test-math-iszero.
1483         (CFLAGS-test-math-iszero.cc): Set.
1484         * math/test-math-iszero.cc: New file.
1486 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
1488         [BZ #20660]
1489         * sysdeps/arm/e_sqrt.c: New file.
1490         * sysdeps/arm/e_sqrtf.c: Likewise.
1492 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
1494         [BZ #20718]
1495         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
1496         not use floating-point comparisons to test sign.
1497         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
1498         Likewise.
1500         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1501         (getpayload): New declaration.
1502         * math/Versions (getpayload): New libm symbol at version
1503         GLIBC_2.25.
1504         (getpayloadf): Likewise.
1505         (getpayloadl): Likewise.
1506         * math/Makefile (libm-calls): Add s_getpayloadF.
1507         * math/libm-test.inc: Include <nan-high-order-bit.h>.
1508         (struct test_f_f_data): Add comment.
1509         (RUN_TEST_fp_f): New macro.
1510         (RUN_TEST_LOOP_fp_f): Likewise.
1511         (getpayload_test_data): New array.
1512         (getpayload_test): New function.
1513         (main): Call getpayload_test.
1514         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
1515         descriptor.
1516         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
1517         getpayloadf and getpayloadl.
1518         * manual/libm-err-tab.pl: Update comment on interfaces without
1519         ulps tabulated.
1520         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
1521         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
1522         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
1523         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
1524         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
1525         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
1526         * sysdeps/nacl/libm.abilist: Update.
1527         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1528         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1529         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1530         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1531         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1532         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1533         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1534         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1535         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1536         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1537         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1538         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1540         Likewise.
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1542         Likewise.
1543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1544         Likewise.
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1546         Likewise.
1547         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1548         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1549         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1550         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1551         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1553         Likewise.
1554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1555         Likewise.
1556         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1557         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1558         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1560 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1562         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
1563         tst-fallocate{64}.
1564         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
1565         on syscall return.
1567 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
1569         [BZ #20689]
1570         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
1571         usable.
1573 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
1575         * sysdeps/generic/nan-high-order-bit.h: New file.
1576         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
1577         * sysdeps/mips/nan-high-order-bit.h: Likewise.
1578         * sysdeps/hppa/math_private.h: Remove file.
1579         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
1580         not define here.
1581         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
1582         <nan-high-order-bit.h>.
1583         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1584         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1585         <nan-high-order-bit.h>.
1586         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1587         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1588         <nan-high-order-bit.h>.
1589         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1590         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
1591         <nan-high-order-bit.h>.
1592         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1593         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1594         <nan-high-order-bit.h>.
1595         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1596         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1597         <nan-high-order-bit.h>.
1598         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1599         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
1600         <nan-high-order-bit.h>.
1601         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1602         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
1603         <nan-high-order-bit.h>.
1604         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1605         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1606         <nan-high-order-bit.h>.
1607         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1608         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
1609         <nan-high-order-bit.h>.
1610         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1611         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1612         <nan-high-order-bit.h>.
1613         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1614         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1615         <nan-high-order-bit.h>.
1616         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1617         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
1618         <nan-high-order-bit.h>.
1619         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1620         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1621         <nan-high-order-bit.h>.
1622         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1623         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1624         <nan-high-order-bit.h>.
1625         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1626         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
1627         <nan-high-order-bit.h>.
1628         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1629         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1630         <nan-high-order-bit.h>.
1631         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1632         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1633         <nan-high-order-bit.h>.
1634         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1636 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1638         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
1640 2016-09-22  John David Anglin  <dave.anglin@bell.net>
1642         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
1643         abort-instr.h.
1644         (EFAULT): Remove conditional define.
1645         (ENOSYS): Likewise.
1646         (atomic_compare_and_exchange_val_acq): Use instruction nullification
1647         instead of conditional branch instructions.
1649 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
1651         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1652         (totalordermag): New declaration.
1653         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
1654         New macro.
1655         * math/Versions (totalordermag): New libm symbol at version
1656         GLIBC_2.25.
1657         (totalordermagf): Likewise.
1658         (totalordermagl): Likewise.
1659         * math/Makefile (libm-calls): Add s_totalordermagF.
1660         * math/libm-test.inc (totalordermag_test_data): New array.
1661         (totalordermag_test): New function.
1662         (main): Call totalordermag_test.
1663         * math/test-tgmath.c (NCALLS): Increase to 125.
1664         (F(compile_test)): Call totalordermag.
1665         (F(totalordermag)): New function.
1666         * manual/arith.texi (FP Comparison Functions): Document
1667         totalordermag, totalordermagf and totalordermagl.
1668         * manual/libm-err-tab.pl: Update comment on interfaces without
1669         ulps tabulated.
1670         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
1671         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
1672         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
1673         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
1674         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
1675         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
1676         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
1677         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1678         totalordermag.
1679         (CFLAGS-nldbl-totalordermag.c): New variable.
1680         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1681         (do_test): Also test totalordermagl.
1682         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1683         Likewise.
1684         * sysdeps/nacl/libm.abilist: Update.
1685         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1686         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1687         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1688         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1689         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1690         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1691         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1692         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1693         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1694         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1695         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1696         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1698         Likewise.
1699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1700         Likewise.
1701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1702         Likewise.
1703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1704         Likewise.
1705         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1706         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1707         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1708         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1709         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1711         Likewise.
1712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1713         Likewise.
1714         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1715         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1716         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1718 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
1720         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
1721         boolean.
1723 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
1725         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
1726         raising FE_INVALID with feraisexcept in case where part of
1727         argument is infinite, subtract that part of argument from itself.
1728         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
1729         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
1730         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1732 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1734         * math/libm-test.inc (totalorder_test_data): Add more tests.
1736 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1738         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
1739         Undefine weak_alias and add a comment why mips64 require
1740         versioning.
1742 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
1744         [BZ #20647]
1745         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
1746         maximum CPUID level is less than 2.
1748 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1750         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1751         (totalorder): New declaration.
1752         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
1753         New macro.
1754         * math/Versions (totalorder): New libm symbol at version
1755         GLIBC_2.25.
1756         (totalorderf): Likewise.
1757         (totalorderl): Likewise.
1758         * math/Makefile (libm-calls): Add s_totalorderF.
1759         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
1760         string.
1761         * math/libm-test.inc (PAYLOAD_DIG): New macro.
1762         (qnan_value_pl): Likewise.
1763         (snan_value_pl): Likewise.
1764         (qnan_value): Define using qnan_value_pl.
1765         (snan_value): Define using snan_value_pl.
1766         (struct test_ff_i_data): Add comment about which tests use this
1767         structure.
1768         (RUN_TEST_ff_b): New macro.
1769         (RUN_TEST_LOOP_ff_b): Likewise.
1770         (totalorder_test_data): New array.
1771         (totalorder_test): New function.
1772         (main): Call totalorder_test.
1773         * math/test-tgmath.c (NCALLS): Increase to 122.
1774         (F(compile_test)): Call totalorder.
1775         (F(totalorder)): New function.
1776         * manual/arith.texi (FP Comparison Functions): Document
1777         totalorder, totalorderf and totalorderl.
1778         * manual/libm-err-tab.pl: Update comment on interfaces without
1779         ulps tabulated.
1780         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1781         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1782         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1783         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1784         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1785         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1786         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1787         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1788         totalorder.
1789         (CFLAGS-nldbl-totalorder.c): New variable.
1790         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1791         file.
1792         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1793         Add test-totalorderl-ldbl-128ibm.
1794         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1795         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1796         test-totalorderl-ldbl-96.
1797         * sysdeps/nacl/libm.abilist: Update.
1798         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1799         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1800         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1801         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1802         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1803         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1804         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1805         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1806         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1807         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1808         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1809         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1811         Likewise.
1812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1813         Likewise.
1814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1815         Likewise.
1816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1817         Likewise.
1818         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1819         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1820         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1821         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1822         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1824         Likewise.
1825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1826         Likewise.
1827         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1828         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1829         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1831 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1833         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1834         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1835         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1836         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1837         remove ENOSYS implementation.
1838         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1839         Consolidate all Linux implementations.
1841 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1843         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1844         * resolv/herror.c (herror): Cast away const-ness.
1845         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1846         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1848 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1850         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1851         instead of M_NAN + M_NAN.
1852         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1854 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1856         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1857         unused variable 'p'.
1859 2016-10-09  Alan Modra  <amodra@gmail.com>
1860             Andreas Schwab  <schwab@linux-m68k.org>
1862         [BZ #20554]
1863         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1864         [PIC && !SHARED]: Set up PIC register for PLT call.
1866 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1868         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1869         conditional on value of [__FLT_EVAL_METHOD__].
1870         * math/test-iseqsig-excess-precision.c: New file.
1871         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1873 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1875         * math/s_iseqsig_template.c: Include math-private.h.
1877         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1878         * posix/tst-posix_fadvise.c: New file.
1879         * posix/tst-posix_fadvise64.c: Likewise.
1880         * posix/tst-posix_fadvise-common.c: Likewise.
1881         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1882         (__ASSUME_FADVISE64_64_6ARG): Define.
1883         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1884         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1885         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1886         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1887         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1888         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1889         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1890         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1891         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1892         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1893         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1894         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1897         Likewise.
1898         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1900         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1901         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1902         Alias to __posix_fadvise64_l32.
1903         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1904         Add compat definition to posix_fadvise64.
1905         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1906         Add versioned definition to posix_fadvise64.
1907         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1908         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1909         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1910         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1911         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1913         * io/Makefile (tests): Add tst-posix_fallocate and
1914         tst-posix_fallocate64.
1915         * io/tst-posix_fallocate-common.c: New file.
1916         * io/tst-posix_fallocate.c: Likewise.
1917         * io/tst-posix_fallocate64.c: Likewise.
1918         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1919         file.
1920         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1921         Likewise.
1922         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1923         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1924         Likewise.
1925         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1926         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1927         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1928         SYSCALL_LL to pass both offset and len arguments.
1929         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1930         Likewise.
1931         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1932         __libc_pwrite64 alias used by posix_fallocate64.
1934         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1935         tst-fallocate64.
1936         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1937         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1938         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1939         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1940         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1941         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1942         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1943         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1944         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1945         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1946         macro on offset argument.
1947         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1948         SYSCALL_LL64 on offset argument.
1950         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1951         tst-fallocate64.
1952         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1953         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1954         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1955         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1956         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1957         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1958         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1959         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1960         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1961         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1962         macro on offset argument.
1963         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1964         SYSCALL_LL64 on offset argument.
1965         * test-skeleton.c (FAIL_RET): Add macro.
1966         (FAIL_EXIT): Likewise.
1967         (FAIL_EXIT1): Likewise.
1968         (_FAIL): Likewise.
1970 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1972         [BZ #20629]
1973         resolv: Remove RES_USEBSTRING and its implementation.
1974         * resolv/resolv.h (RES_USEBSTRING): Remove.
1975         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1976         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1977         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1978         (labellen): Remove extended label types support.
1979         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1980         * resolv/res_init.c (res_setoptions): Likewise.
1981         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1983 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1985         resolv: Remove RES_NOIP6DOTINT and its implementation.
1986         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1987         (RES_NOIP6DOTINT): Remove.
1988         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1989         handling.
1990         * resolv/res_debug.c (p_option): Likewise.
1991         * resolv/res_init.c (res_setoptions): Likewise.
1992         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1994 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1996         resolv: Deprecate unimplemented flags.
1997         * misc/sys/cdefs.h (__glibc_macro_warning1)
1998         (__glibc_macro_warning): Define.
1999         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2000         (RES_KEEPTSIG): Mark as deprecated.
2001         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2002         RES_NOCHECKNAME, RES_KEEPTSIG.
2003         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2005 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2007         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2008         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2009         Use strong_alias to create symbols for glibc verison 2.19.
2011 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2013         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2015 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2017         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2019 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2021         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2023 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2025         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2026         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2027         in header for using it as type for ifunc function because __GI_* symbols
2028         for ppc32 do not target the ifunc symbols.
2029         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2031 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2033         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2034         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2035         libc_ifunc_hidden_def.
2036         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2037         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2038         Redirect ifunced function in header for using it as type of ifunc'ed
2039         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2040         function for __GI_* symbol.
2041         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2042         * include/libc-symbols.h
2043         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2045 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2047         [BZ #20478]
2048         * sysdeps/s390/multiarch/ifunc-resolve.h
2049         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2050         to create ifunc symbols.
2051         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2052         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2053         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2054         for using it as type for ifunc function.
2055         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2056         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2057         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2058         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2059         * sysdeps/s390/multiarch/strcat.c: Likewise.
2060         * sysdeps/s390/multiarch/strchr.c: Likewise.
2061         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2062         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2063         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2064         * sysdeps/s390/multiarch/strlen.c: Likewise.
2065         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2066         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2067         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2068         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2069         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2070         * sysdeps/s390/multiarch/strspn.c: Likewise.
2071         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2072         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2073         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2074         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2075         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2076         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2077         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2078         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2079         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2080         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2081         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2082         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2084 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2086         * include/libc-symbols.h (__ifunc_resolver):
2087         New macro is used by __ifunc* macros.
2088         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2089         depending on HAVE_GCC_IFUNC.
2090         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2091         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2093         Redirect ifunced function in header for using as type for ifunc function.
2094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2098         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2099         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2100         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2101         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2102         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2103         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2104         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2105         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2106         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2107         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2113         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2114         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2115         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2116         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2117         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2118         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2119         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2120         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2121         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2122         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2123         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2124         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2125         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2126         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2128         Add libc_hidden_def() and use libc_ifunc_hidden() macro
2129         instead of libc_ifunc() macro.
2130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2131         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2133 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2135         * config.h.in (HAVE_GCC_IFUNC): New undef.
2136         * configure.ac: Add check if gcc supports attribute ifunc feature.
2137         * configure: Regenerated.
2138         * manual/install.texi: Add recommendation for gcc with
2139         indirect-function support.
2140         * INSTALL: Regenerated.
2142 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
2144         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
2145         macro.
2146         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2147         (__iseqsig): New declaration.
2148         * math/s_iseqsig_template.c: New file.
2149         * math/Versions (__iseqsigf): New libm symbol at version
2150         GLIBC_2.25.
2151         (__iseqsig): Likewise.
2152         (__iseqsigl): Likewise.
2153         * math/libm-test.inc (iseqsig_test_data): New array.
2154         (iseqsig_test): New function.
2155         (main): Call iseqsig_test.
2156         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
2157         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
2158         * manual/libm-err-tab.pl: Update comment on interfaces without
2159         ulps tabulated.
2160         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
2161         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
2162         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
2163         * sysdeps/nacl/libm.abilist: Update.
2164         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2165         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2166         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2167         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2168         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2169         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2170         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2171         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2172         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2173         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2174         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2175         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2177         Likewise.
2178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2179         Likewise.
2180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2181         Likewise.
2182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2183         Likewise.
2184         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2185         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2186         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2187         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2188         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2190         Likewise.
2191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2192         Likewise.
2193         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2194         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2195         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2197 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2199         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
2200         do_sincos_2, sloww, sloww1): Update comments.
2202         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
2203         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
2205         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
2206         K boolean and rename it.
2207         (__sin): Adjust.
2208         (__cos): Adjust.
2210 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2211             Siddhesh Poyarekar  <siddhesh@sourceware.org>
2213         * manual/nss.texi: Fix typos in the manual.
2215 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2217         * manual/contrib.texi: Fix typos in the manual.
2219         * manual/maint.texi: Fix typos in the manual.
2221         * manual/install.texi: Fix typos in the manual.
2222         * INSTALL: Regenerated.
2224         * manual/lang.texi: Fix typos in the manual.
2226         * manual/probes.texi: Fix typos in the manual.
2228         * manual/threads.texi: Fix typos in the manual.
2230         * manual/debug.texi: Fix typos in the manual.
2232         * manual/crypt.texi: Fix typos in the manual.
2234         * manual/conf.texi: Fix typos in the manual.
2236         * manual/sysinfo.texi: Fix typos in the manual.
2238         * manual/users.texi: Fix typos in the manual.
2240         * manual/job.texi: Fix typos in the manual.
2242         * manual/process.texi: Fix typos in the manual.
2244         * manual/argp.texi: Fix typos in the manual.
2245         * manual/getopt.texi: Likewise.
2246         * manual/startup.texi: Likewise.
2248         * manual/signal.texi: Fix typos in the manual.
2250         * manual/setjmp.texi: Fix typos in the manual.
2252         * manual/resource.texi: Fix typos in the manual.
2254         * manual/time.texi: Fix typos in the manual.
2256         * manual/arith.texi: Fix typos in the manual.
2258         * manual/math.texi: Fix typos in the manual.
2260         * manual/syslog.texi: Fix typos in the manual.
2262         * manual/terminal.texi: Fix typos in the manual.
2264         * manual/socket.texi: Fix typos in the manual.
2266         * manual/filesys.texi: Fix typos in the manual.
2268         * manual/llio.texi: Fix typos in the manual.
2270         * manual/stdio.text: Fix typos in the manual.
2272 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2274         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
2275         instead of K1.
2277         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
2278         SHIFT_QUADRANT and make it bool.
2279         (do_sincos_2): Likewise.
2280         (sloww): Likewise.
2281         (sloww1): Likewise.
2282         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
2283         (__cos): Likewise.
2285 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2287         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2289 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
2291         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
2292         Define to __WORDSIZE, not conditional on [LONG_MAX ==
2293         0x7fffffffL].
2294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2296 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2298         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
2299         inline by __inline__.
2300         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
2301         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
2302         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
2303         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
2304         sigset_t from signal.h.
2305         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
2306         which is already required.
2308 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2310         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2312 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
2314         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2315         (struct tcp_repair_window): New type.
2317 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2319         * libio/tst-memstream3.c: Include string.h.
2321 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2323         [BZ #18241]
2324         [BZ #20181]
2325         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2326         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2327         write position is at the end the buffer.
2328         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2329         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2330         (_IO_str_seekoff): Set correct offset from negative displacement and
2331         set EINVAL for invalid ones.
2332         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2333         buffer length.
2334         (_IO_wstr_switch_to_get_mode): New function.
2335         (_IO_wstr_seekoff): Set correct offset from negative displacement and
2336         set EINVAL for invalid ones.
2337         * libio/tst-memstream3.c: New file.
2338         * libio/tst-wmemstream3.c: Likewise.
2339         * manual/examples/memstrm.c: Remove warning when priting size_t.
2341 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2343         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2344         macro to use __builtin_fma.
2345         * sysdeps/x86_64/fpu/dla.h: Remove file.
2347         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2348         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2349         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2351 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
2353         [BZ #20292]
2354         * elf/Makefile (routines): Add dl-addr-obj.
2355         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2356         tst-_dl_addr_inside_object.
2357         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2358         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2359         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2360         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2361         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2362         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2363         * elf/dl-open.c: Likewise.
2364         * elf/dl-addr-obj.c: New file.
2365         * elf/tst-_dl_addr_inside_object.c: New file.
2367 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2369         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2370         <bits/iscanonical.h>.
2371         * bits/iscanonical.h: New file.
2372         * math/s_iscanonicall.c: Likewise.
2373         * math/Versions (__iscanonicall): New libm symbol at version
2374         GLIBC_2.25.
2375         * math/libm-test.inc (iscanonical_test_data): New array.
2376         (iscanonical_test): New function.
2377         (main): Call iscanonical_test.
2378         * math/Makefile (headers): Add bits/iscanonical.h.
2379         (type-ldouble-routines): Add s_iscanonicall.
2380         * manual/arith.texi (Floating Point Classes): Document
2381         iscanonical.
2382         * manual/libm-err-tab.pl: Update comment on interfaces without
2383         ulps tabulated.
2384         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2385         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2386         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2387         Likewise.
2388         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2389         test-iscanonical-ldbl-128ibm.
2390         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2391         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2392         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2393         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2394         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2395         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2396         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2398         Likewise.
2399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2400         Likewise.
2401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2402         Likewise.
2403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2404         Likewise.
2405         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2406         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2408 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2410         * string/bits/string3.h: Remove C++ style comments.
2412 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2414         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
2415         instead of ternary condition.
2416         (do_sincos_2): Likewise.
2417         (__sin): Likewise.
2418         (__cos): Likewise.
2419         (slow): Likewise.
2420         (sloww): Likewise.
2421         (sloww1): Likewise.
2422         (bsloww): Likewise.
2423         (bsloww1): Likewise.
2425         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
2426         instead of ternary condition.
2427         (do_sin_slow): Likewise.
2428         (do_sincos_1): Likewise.
2429         (do_sincos_2): Likewise.
2430         (__cos): Likewise.
2431         (sloww): Likewise.
2432         (sloww1): Likewise.
2433         (sloww2): Likewise.
2434         (bsloww): Likewise.
2435         (bsloww1): Likewise.
2436         (bsloww2): Likewise.
2438         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
2439         check from here...
2440         (slow2): ... and here...
2441         (__sin): ... to here.
2443 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
2445         * math/math.h
2446         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
2447         Cast argument to its own type.
2448         * math/test-iszero-excess-precision.c: New file.
2449         * math/Makefile (tests): Add test-iszero-excess-precision.
2450         (CFLAGS-test-iszero-excess-precision.c): New variable.
2452 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
2454         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
2455         field, add err field.
2456         (__spawni_child): Report error through err member instead of pipe.
2457         (__spawnix): Likewise.
2459 2016-09-28  Zack Weinberg  <zackw@panix.com>
2461         * scripts/check-installed-headers.sh: Generalize treatment of
2462         sys/elf.h to all target architectures.
2464         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
2465         deleted typedef ucontext_t.
2467 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2469         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
2470         (__INTERNAL_SYSCALL1): Likewise.
2471         (__INTERNAL_SYSCALL2): Likewise.
2472         (__INTERNAL_SYSCALL3): Likewise.
2473         (__INTERNAL_SYSCALL4): Likewise.
2474         (__INTERNAL_SYSCALL5): Likewise.
2475         (__INTERNAL_SYSCALL6): Likewise.
2476         (__INTERNAL_SYSCALL7): Likewise.
2477         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
2478         (__INTERNAL_SYSCALL_NARGS): Likewise.
2479         (__INTERNAL_SYSCALL_DISP): Likewise.
2480         (INTERNAL_SYSCALL_CALL): Likewise.
2481         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
2482         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
2483         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
2484         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
2485         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
2486         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
2487         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
2488         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
2489         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
2490         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
2491         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
2492         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
2493         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
2495 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
2497         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
2498         macro.
2499         * math/libm-test.inc (iszero_test_data): New array.
2500         (iszero_test): New function.
2501         (main): Call iszero_test.
2502         * manual/arith.texi (Floating Point Classes): Document iszero.
2503         * manual/libm-err-tab.pl: Update comment on interfaces without
2504         ulps tabulated.
2506 2016-09-23  Zack Weinberg  <zackw@panix.com>
2508         * scripts/check-installed-headers.sh: New script.
2509         * Rules: In each directory that defines header files to be installed,
2510         run check-installed-headers.sh on them as a special test.
2511         * Makefile: Likewise for the headers installed at top level.
2513         * include/aliases.h, include/alloca.h, include/argz.h
2514         * include/arpa/nameser.h, include/arpa/nameser_compat.h
2515         * include/elf.h, include/envz.h, include/err.h
2516         * include/execinfo.h, include/fpu_control.h, include/getopt.h
2517         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
2518         * include/link.h, include/malloc.h, include/mcheck.h
2519         * include/mntent.h, include/netinet/ether.h
2520         * include/nss.h, include/obstack.h, include/printf.h
2521         * include/pty.h, include/resolv.h, include/rpc/auth.h
2522         * include/rpc/auth_des.h, include/rpc/auth_unix.h
2523         * include/rpc/clnt.h, include/rpc/des_crypt.h
2524         * include/rpc/key_prot.h, include/rpc/netdb.h
2525         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
2526         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
2527         * include/rpc/rpc_msg.h, include/rpc/svc.h
2528         * include/rpc/svc_auth.h, include/rpc/xdr.h
2529         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
2530         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
2531         * include/rpcsvc/ypupd.h, include/shadow.h
2532         * include/stdio_ext.h, include/sys/epoll.h
2533         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
2534         * include/sys/prctl.h, include/sys/profil.h
2535         * include/sys/statfs.h, include/sys/sysctl.h
2536         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
2537         * sysdeps/arm/nacl/include/bits/setjmp.h
2538         * sysdeps/mips/include/sys/asm.h
2539         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
2540         * sysdeps/unix/sysv/linux/include/sys/timex.h
2541         * sysdeps/x86/fpu/include/bits/fenv.h:
2542         Add #ifndef _ISOMAC guard around internal declarations.
2543         Add multiple-inclusion guard if not already present.
2545 2016-09-23  Zack Weinberg  <zackw@panix.com>
2547         * sysdeps/generic/sys/ucontext.h
2548         * sysdeps/arm/sys/ucontext.h
2549         * sysdeps/i386/sys/ucontext.h
2550         * sysdeps/m68k/sys/ucontext.h
2551         * sysdeps/mips/sys/ucontext.h
2552         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
2553         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
2554         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
2555         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2556         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
2557         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2558         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2559         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2560         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2561         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2562         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2563         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2564         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2565         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2566         Include both bits/sigcontext.h and bits/sigstack.h.
2567         Fix grammar error in comment, if present.
2569         * bits/sigstack.h
2570         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2571         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
2572         * sysdeps/unix/sysv/linux/bits/sigstack.h
2573         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
2574         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
2575         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2576         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
2577         * bits/sigcontext.h
2578         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2579         * sysdeps/unix/sysv/linux/bits/sigcontext.h
2580         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
2581         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
2582         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
2583         as well as signal.h, if this was not already allowed.  Request
2584         definition of size_t if necessary.  Minimize semantically-null
2585         differences across files.
2587 2016-09-23  Zack Weinberg  <zackw@panix.com>
2589         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
2590         Remove all logic conditional on __need macros.  Move all the
2591         conditionally defined types to their own headers...
2592         * time/bits/types/clock_t.h: Define clock_t here.
2593         * time/bits/types/clockid_t.h: Define clockid_t here.
2594         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
2595         * time/bits/types/struct_timespec.h: Define struct timespec here.
2596         * time/bits/types/struct_timeval.h: Define struct timeval here.
2597         * time/bits/types/struct_tm.h: Define struct tm here.
2598         * time/bits/types/time_t.h: Define time_t here.
2599         * time/bits/types/timer_t.h: Define timer_t here.
2600         * time/Makefile: Install the new headers.
2602         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
2603         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
2604         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
2605         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
2606         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
2607         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
2608         * sysdeps/unix/sysv/linux/bits/resource.h
2609         * sysdeps/unix/sysv/linux/bits/timex.h
2610         * sysdeps/unix/sysv/linux/mips/bits/resource.h
2611         * sysdeps/unix/sysv/linux/net/ppp_defs.h
2612         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
2613         * sysdeps/unix/sysv/linux/sys/acct.h
2614         * sysdeps/unix/sysv/linux/sys/timerfd.h
2615         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
2616         * time/sys/time.h, time/sys/timeb.h
2617         Use the new bits/types headers.
2619         * include/time.h: Remove __need logic.
2620         * include/bits/time.h
2621         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
2622         * include/bits/types/time_t.h, include/bits/types/timer_t.h
2623         * include/bits/types/struct_itimerspec.h
2624         * include/bits/types/struct_timespec.h
2625         * include/bits/types/struct_timeval.h
2626         * include/bits/types/struct_tm.h:
2627         New wrapper headers.
2629 2016-09-23  Zack Weinberg  <zackw@panix.com>
2631         * sysdeps/mach/hurd/net/if_ppp.h
2632         * sysdeps/unix/sysv/linux/net/if_ppp.h:
2633         Only define struct ifpppstatsreq and struct ifpppcstatsreq
2634         if __USE_MISC is defined, to ensure struct ifreq is declared.
2636         * inet/netinet/ether.h: Condition all function prototypes
2637         on __USE_MISC, to ensure struct ether_addr is declared.
2639         * socket/bits/types/struct_osockaddr.h: New header.
2640         * include/bits/types/struct_osockaddr.h: New wrapper.
2641         * socket/Makefile: Install the new header.
2642         * socket/sys/socket.h, inet/protocols/talkd.h:
2643         Refer to bits/types/struct_osockaddr.h for the definition of
2644         struct osockaddr.
2646 2016-09-23  Zack Weinberg  <zackw@panix.com>
2648         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
2649         * inet/protocols/routed.h, inet/protocols/talkd.h
2650         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
2651         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
2652         * sysdeps/generic/netinet/if_ether.h
2653         * sysdeps/generic/netinet/in_systm.h
2654         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
2655         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2656         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
2657         * sysdeps/mach/hurd/net/if_arp.h
2658         * sysdeps/mach/hurd/net/if_ppp.h
2659         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
2660         * sysdeps/unix/sysv/linux/bits/in.h
2661         * sysdeps/unix/sysv/linux/net/ethernet.h
2662         * sysdeps/unix/sysv/linux/net/if_arp.h
2663         * sysdeps/unix/sysv/linux/net/if_ppp.h
2664         * sysdeps/unix/sysv/linux/net/if_shaper.h
2665         * sysdeps/unix/sysv/linux/net/route.h
2666         * sysdeps/unix/sysv/linux/netinet/if_ether.h
2667         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2668         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2669         * sysdeps/unix/sysv/linux/netipx/ipx.h
2670         * sysdeps/unix/sysv/linux/sys/acct.h
2671         * include/arpa/nameser.h, include/resolv.h:
2672         Change all uses of u_char to unsigned char,
2673         u_short and ushort to unsigned short, u_int and uint to unsigned int,
2674         u_long and ulong to unsigned long, u_int8_t to uint8_t,
2675         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
2676         and u_int64_t and u_quad_t to uint64_t.
2678         * mach/sys/reboot.h: Remove two casts of integer literals
2679         to the types they already have.
2681         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
2682         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2683         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
2684         from referring to 'unsigned char' to 'uint8_t' for consistency with
2685         the macro definition below.
2687         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
2688         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
2689         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
2690         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
2691         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
2692         * sysdeps/unix/sysv/linux/sys/acct.h
2693         * include/arpa/nameser.h, include/resolv.h:
2694         Fix indentation disrupted by mechanical edits.
2696         * inet/protocols/talkd.h, resolv/arpa/nameser.h
2697         * sysdeps/generic/netinet/in_systm.h
2698         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2699         * sysdeps/gnu/netinet/udp.h
2700         * sysdeps/unix/sysv/linux/net/ethernet.h
2701         * sysdeps/unix/sysv/linux/net/if_arp.h
2702         * sysdeps/unix/sysv/linux/net/if_ppp.h
2703         * sysdeps/unix/sysv/linux/net/if_shaper.h
2704         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2705         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2706         * sysdeps/unix/sysv/linux/netipx/ipx.h
2707         * sysdeps/unix/sysv/linux/sys/acct.h
2708         Include stdint.h for uintNN_t definitions.
2709         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
2711 2016-09-23  Zack Weinberg  <zackw@panix.com>
2713         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
2714         * sysdeps/unix/sysv/linux/netrose/rose.h:
2715         Include sys/socket.h and netax25/ax25.h.
2717         * inet/netinet/icmp6.h, inet/netinet/ip6.h
2718         * resolv/arpa/nameser_compat.h:
2719         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
2721         * sysdeps/unix/sysv/linux/sys/quota.h:
2722         Use __caddr_t instead of caddr_t.
2723         * sysdeps/unix/sysv/linux/sys/timerfd.h:
2724         Use __clockid_t instead of clockid_t.
2726         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
2728         * argp/argp.h: Check whether _LIBC is defined before expanding it.
2729         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
2730         expanding it.
2732         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
2733         Define __glibc_c99_flexarr_available to 1 when the compiler
2734         supports C99-compatible flexible array members, 0 otherwise.
2735         * sysdeps/unix/sysv/linux/bits/socket.h
2736         * sysdeps/mach/hurd/bits/socket.h
2737         * bits/socket.h: Use __glibc_c99_flexarr_available in
2738         definitions of struct cmsghdr and CMSG_DATA.
2740 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2742         * manual/nss.texi (NSS Modules Interface): Adjust function return
2743         type to enum nss_status.  Document errnop argument.  Clarify
2744         h_errnop semantics.  Fix cross-reference formatting.
2745         (NSS Module Function Internals): Mention that *errnop needs to be
2746         set on failure, but not to zero.
2748 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2750         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
2751         (get_random_name): New functions.
2752         (check_wrapper_flags_mode): Use linkat to give the new file a name
2753         determined by get_random_name.
2754         (do_test): Add calls to test open64 and openat64.
2756 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2758         * test-skeleton.c: Remove #include <stdarg.h>.
2760 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
2762         [BZ #19826]
2763         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
2764         initialization of static TLS entries.
2765         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
2766         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2768 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2770         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
2771         _hurd_malloc_fork_prepare.
2772         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
2773         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
2774         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
2775         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
2776         (_hurd_fork_child_hook): Drop malloc_fork_child.
2777         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
2778         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
2779         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2780         after locking locks (notably hurd_dtable_lock). Call
2781         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2782         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2783         __malloc_fork_unlock_child.
2784         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2786 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2788         * soft-fp/extendhftf2.c: New.
2789         * soft-fp/fixhfti.c: Likewise.
2790         * soft-fp/fixunshfti.c: Likewise.
2791         * soft-fp/floattihf.c: Likewise.
2792         * soft-fp/floatuntihf.c: Likewise.
2793         * soft-fp/half.h: Likewise.
2794         * soft-fp/trunctfhf2.c: Likewise.
2796 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2798         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2799         macro.
2800         * math/libm-test.inc (issubnormal_test_data): New array.
2801         (issubnormal_test): New function.
2802         * manual/arith.texi (Floating Point Classes): Document
2803         issubnormal.
2804         * manual/libm-err-tab.pl: Update comment on interfaces without
2805         ulps tabulated.
2807         * sysdeps/generic/stdint.h: Define
2808         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2809         <bits/libc-header-start.h> instead of including <features.h>.
2810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2828         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2843         * manual/arith.texi (Integers): Document these macros for types
2844         specified by width properties.
2845         * manual/lang.texi (Width of Type): Document these macros for
2846         other standard typedefs.
2847         * stdlib/tst-width-stdint.c: New file.
2848         * stdlib/Makefile (tests): Add tst-width-stdint.
2850 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2852         [BZ #20016]
2853         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2854         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2855         Move ...
2856         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2857         ... here, as compatibility symbols in a new file.
2858         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2859         * resolv/res_init.c (__res_vinit): Adjust member names.
2860         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2861         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2862         (res_send_rhook): Remove.
2863         (struct __res_state): Rename qhook, rhook members.
2865 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2867         malloc: Use __libc_lock wrappers.
2868         * malloc/arena.c (list_lock, free_list_lock): Define using
2869         __libc_lock_define_initialized.
2870         (arena_lock): Adjust formatting.
2871         * malloc/malloc.c (struct malloc_state): Define mutex using
2872         __libc_lock_define.
2873         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2874         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2875         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2876         (mutex_unlock, mutex_trylock): Remove.
2877         (__pthread_initialize): Remove unused macro.
2878         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2879         (mutex_unlock, mutex_trylock): Remove.
2881 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2883         [BZ #20592]
2884         Remove RR type classification macros.
2885         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2886         (ns_t_udp_p, ns_t_xfr_p): Remove.
2888 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2890         Remove misleading version information.
2891         * resolv/arpa/nameser.h (__NAMESER): Remove.
2892         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2894 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2896         Remove the always-defined BIND_4_COMPAT macro.
2897         * resolv/arpa/nameser.h: Unconditionally include
2898         <arpa/nameser_compat.h>.
2899         (BIND_4_COMPAT): Remove.
2900         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2902 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2904         [BZ #20591]
2905         Remove obsolete DNSSEC support.
2906         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2907         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2908         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2909         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2910         (ns_cert_types): Add comment.
2911         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2912         separately.
2913         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2914         (dst_s_dns_key_id): Remove.
2915         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2916         variables.
2918 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2920         [BZ #20524]
2921         * manual/string.texi (String/Array Comparison): Clarify the
2922         strverscmp behavior.
2924 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2926         * test-skeleton.c (xasprintf): Add function.
2927         * io/tst-open-tmpfile.c: New test.
2928         * io/Makefile (tests): Add it.
2930 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2932         Avoid running $(CXX) during build to obtain header file paths.
2933         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2934         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2935         * Makerules (cstdlib, cmath): Remove variables.  Use
2936         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2937         * configure: Regenerate.
2939 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2941         * Makeconfig (all-object-suffixes): Include .op only if
2942         $(build-profile).
2944 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2946         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2947         conditionals.  Do not define PATH_MAX.
2949 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2951         * posix/Makefile (tests): Add tst-spawn3.
2952         * posix/tst-spawn3.c: New file.
2953         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2954         if it is already opened for open action.
2956         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2957         all signals when executing the clone vfork child.
2958         (SIGALL_SET): Remove macro.
2960         * nptl/Makefile (tests): Add tst-exec5.
2961         * nptl/tst-exec5.c: New file.
2962         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2963         asynchronous cancellation.
2965 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2967         * hurd/exc2signal.c: #include <hurd/signal.h>
2968         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2969         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2970         accordingly.
2971         * mach/mach_error.c (mach_error): Fix old-style function definition.
2972         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2974 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2976         * math/Makefile (libm-calls): Remove s_nanF.
2977         (gen-libm-calls): Add s_nanF.
2979         * math/s_nan.c: Refactor into ...
2980         * math/s_nan_template.c: New file.
2982         * math/s_nanf.c: Removed.
2983         * math/s_nanl.c: Removed.
2984         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2985         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2987         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2988         (LDOUBLE_nanl_libm_version): New macro.
2990         * sysdeps/generic/math-type-macros-double.h:
2991         (M_STRTO_NAN): New macro.
2992         * sysdeps/generic/math-type-macros-float.h: Likewise.
2993         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2995         * sysdeps/generic/math-type-macros.h: Document
2996         M_STRTO_NAN.
2998 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3000         * math/s_nanf.c: Remove __nanf undef.
3001         * math/s_nan.c: Remove __nan undef.
3002         * math/s_nanl.c: Remove __nanl undef.
3004         * sysdeps/generic/math_private.h (__nan): Remove macro
3005         override.
3006         (__nanf): Likewise.
3007         (__nanl): Likewise.
3009 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3011         * math/Makefile (gen-all-calls): New variable.
3012         (generated): Replace gen-libm-calls with gen-all-calls.
3013         (gen-libm-templates.stmp): Likewise.  Also, ensure
3014         the output directory exists or is created and add
3015         dependency on the Makefile.
3016         (calls): Move s_ldexpF into gen-calls.
3017         (gen-calls): New variable.
3019         * math/s_ldexpf.c: Removed.
3020         * math/s_ldexpl.c: Removed.
3021         * math/s_ldexp.c: Refactored into ...
3022         * math/s_ldexp_template.c: New file.
3024         * sysdeps/generic/math-type-macros-double.h: Remove
3025         redundant fall-through definition of declare_mgen_alias.
3026         (declare_mgen_alias_2): New macro.
3028         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3029         New macro for function aliased to two exported symbols.
3031         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3032         new template file.
3033         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3035 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3037         * Makeconfig (all-object-suffixes): Remove .og.
3038         * Makerules (elide-routines.og): Remove.
3039         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3040         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3041         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3043 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3045         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3046         .os objects.
3048 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3050         [BZ #20615]
3051         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3052         fpu directory by non-fpu.
3053         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3054         on non-fpu directory from a fpu directory.
3056 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3058         * include/limits.h: Define
3059         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3060         <bits/libc-header-start.h> instead of including <features.h>.
3061         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3062         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3063         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3064         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3065         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3066         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3067         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3068         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3072         * manual/lang.texi (Width of Type): Document these macros.
3073         * stdlib/tst-width.c: New file.
3074         * stdlib/Makefile (tests): Add tst-width.
3076 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3078         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3079         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3081 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3083         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3084         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3085         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3087 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3089         [BZ #18243]
3090         * rt/Makefile (test): Add tst-shm-cancel.
3091         * rt/tst-shm-cancel.c: New file.
3092         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3094         [BZ #18243]
3095         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3096         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3097         definition.
3098         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3099         uncontended case.
3100         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3101         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3102         (tf): Fix check for uncontended case.
3103         (do_test): Likewise.
3104         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3105         (tf): Fix check for uncontended case.
3106         (do_test): Likewise.
3107         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3108         (tf): Fix check for uncontended case.
3109         (do_test): Likewise.
3110         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3111         (tf): Fix check for uncontended case.
3112         (do_test): Likewise.
3114         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3115         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3117         [BZ #15765]
3118         * nptl/Makefile (tests): Add tst-sem16.
3119         * nptl/tst-sem16.c: New file.
3120         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3122         * nptl/sem_open.c (sem_open): Init pad value to 0.
3123         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3124         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3126 2016-09-15  Florian Weimer  <fweimer@redhat.com>
3128         [BZ #20611]
3129         * inet/Makefile (routines): Add inet6_scopeid_pton.
3130         (tests): Add tst-inet6_scopeid_pton.
3131         * inet/inet6_scopeid_pton.c: New file.
3132         * inet/net-internal.h: Likewise.
3133         * inet/tst-inet6_scopeid_pton.c: New test.
3134         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
3135         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
3136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3138 2016-09-14  Florian Weimer  <fweimer@redhat.com>
3140         Remove support for compiling wrappers with PTW.
3141         * sysdeps/nptl/Makeconfig: Drop ptw- support.
3142         * nptl/Makefile (pthread-compat-wrappers): Define.
3143         (libpthread-routines): Use pthread-compat-wrappers.
3144         * sysdeps/unix/sysv/linux/alpha/Makefile
3145         (libpthread-routines, libpthread-shared-only-routines): Remove
3146         ptw- prefix.
3147         * sysdeps/s390/nptl/Makefile
3148         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3149         * sysdeps/ia64/nptl/Makefile
3150         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3151         * sysdeps/nacl/Makefile (libpthread-routines): Use
3152         pthread-compat-wrappers to filter the routines list instead of the
3153         ptw- prefix.
3155 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3157         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
3158         with L() and remove explicit suffix, convert real literals
3159         which can be equivalentally substituted with integers, and
3160         transform -L(x) to L(-x).
3162         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3163         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3164         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3165         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3166         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3167         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3168         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3169         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3170         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3171         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3172         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3173         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3174         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3175         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3176         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3177         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3178         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3179         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3180         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3181         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3182         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3183         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3184         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3186         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3187         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3188         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3189         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3190         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3191         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3192         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3193         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3194         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3195         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3196         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3197         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3198         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3199         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3200         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3201         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3202         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3203         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3204         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3205         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3206         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3207         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3208         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3209         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3210         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3211         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3213 2016-09-13  Florian Weimer  <fweimer@redhat.com>
3215         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
3217 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3219         * malloc/Makefile (tests): Remove individual static test names
3220         and just add all of tests-static.
3222         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
3224 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3226         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
3227         file.
3229         * sysdeps/sparc/fpu/fegetmode.c: New file.
3230         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
3232         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
3233         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
3235         * sysdeps/s390/fpu/fegetmode.c: New file.
3236         * sysdeps/s390/fpu/fesetmode.c: Likewise.
3238         * sysdeps/powerpc/fpu/fegetmode.c: New file.
3239         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
3240         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
3241         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
3242         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
3243         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
3245         * sysdeps/mips/fpu/fegetmode.c: New file.
3246         * sysdeps/mips/fpu/fesetmode.c: Likewise.
3248         * sysdeps/m68k/fpu/fegetmode.c: New file.
3249         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
3251         * sysdeps/ia64/fpu/fegetmode.c: New file.
3252         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
3254         * sysdeps/hppa/fpu/fegetmode.c: New file.
3255         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
3257         * sysdeps/arm/fegetmode.c: New file.
3258         * sysdeps/arm/fesetmode.c: Likewise.
3260         * sysdeps/alpha/fpu/fegetmode.c: New file.
3261         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
3263         * sysdeps/aarch64/fpu/fegetmode.c: New file.
3264         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
3266         * math/fegetmode.c: New file.
3267         * math/fesetmode.c: Likewise.
3268         * sysdeps/i386/fpu/fegetmode.c: Likewise.
3269         * sysdeps/i386/fpu/fesetmode.c: Likewise.
3270         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
3271         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
3272         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
3273         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
3274         declaration.
3275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
3276         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
3277         typedef.
3278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3279         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3280         (femode_t): New typedef.
3281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3282         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3283         (femode_t): New typedef.
3284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3285         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3286         (femode_t): New typedef.
3287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3288         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3289         (femode_t): New typedef.
3290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3291         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3292         (femode_t): New typedef.
3293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3294         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3295         (femode_t): New typedef.
3296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3297         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3298         (femode_t): New typedef.
3299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3300         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3301         (femode_t): New typedef.
3302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3303         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3304         (femode_t): New typedef.
3305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3306         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3307         (femode_t): New typedef.
3308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3309         declaration.
3310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3311         * sysdeps/s390/fpu/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 macro.
3314         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3315         (femode_t): New typedef.
3316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3317         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3318         (femode_t): New typedef.
3319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3320         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3321         (femode_t): New typedef.
3322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3323         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3324         (femode_t): New typedef.
3325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3326         * manual/arith.texi (FE_DFL_MODE): Document macro.
3327         (fegetmode): Document function.
3328         (fesetmode): Likewise.
3329         * math/Versions (fegetmode): New libm symbol at version
3330         GLIBC_2.25.
3331         (fesetmode): Likewise.
3332         * math/Makefile (libm-support): Add fegetmode and fesetmode.
3333         (tests): Add test-femode and test-femode-traps.
3334         * math/test-femode-traps.c: New file.
3335         * math/test-femode.c: Likewise.
3336         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3337         alias for __fe_dfl_env.
3338         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3339         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3340         (__fe_dfl_mode): Likewise.
3341         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3342         version GLIBC_2.25.
3343         * sysdeps/nacl/libm.abilist: Update.
3344         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3345         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3346         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3347         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3348         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3349         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3350         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3351         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3352         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3353         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3354         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3355         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3357         Likewise.
3358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3359         Likewise.
3360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3361         Likewise.
3362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3363         Likewise.
3364         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3365         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3366         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3367         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3368         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3370         Likewise.
3371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3372         Likewise.
3373         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3374         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3375         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3377 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3379         [BZ #20495]
3380         [BZ #20508]
3381         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3382         processors, set Use_dl_runtime_resolve_slow and set
3383         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3384         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3385         New.
3386         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3387         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3388         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3389         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3390         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3391         if Use_dl_runtime_resolve_opt is set.  Use
3392         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3393         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3394         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
3395         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3396         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3397         New.
3398         (_dl_runtime_resolve_opt): Likewise.
3399         (_dl_runtime_profile): Define only if _dl_runtime_profile is
3400         defined.
3402 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3404         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3405         __libc_memalign with "+ RELA R_390_GLOB_DAT".
3407 2016-09-06  Florian Weimer  <fweimer@redhat.com>
3409         Convert malloc to __libc_lock.  Automated part, using this Perl
3410         s/// command:
3411           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3412             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3413         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
3414         conversion.
3416 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
3418         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
3419         (linknamespace-symlists-tests): Likewise.
3420         (linknamespace-header-tests): Likewise.
3422 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
3424         [BZ #19810]
3425         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
3426         * elf/tst-noload.c: New test case.
3427         * elf/Makefile (tests): Add tst-noload.
3429 2016-09-02  Roland McGrath  <roland@hack.frob.com>
3431         * sysdeps/nacl/dup.c: Add libc_hidden_def.
3433         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
3434         not any more.
3436         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
3438 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3440         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
3441         (do_cos_slow): Likewise.
3442         (do_sin): Likewise.
3443         (do_sin_slow): Likewise.
3444         (slow): Likewise.
3445         (slow1): Likewise.
3446         (slow2): Likewise.
3447         (sloww): Likewise.
3448         (sloww1): Likewise.
3449         (sloww2): Likewise.
3450         (bsloww): Likewise.
3451         (bsloww1): Likewise.
3452         (bsloww2): Likewise.
3453         (cslow2): Likewise.
3455         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
3457         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
3458         arguments.  Consolidate input partitioning from callers here.
3459         (do_cos_slow): Likewise.
3460         (do_sin): Likewise.
3461         (do_sin_slow): Likewise.
3462         (do_sincos_1): Remove the no longer necessary input partitioning.
3463         (do_sincos_2): Likewise.
3464         (__sin): Likewise.
3465         (__cos): Likewise.
3466         (slow1): Likewise.
3467         (slow2): Likewise.
3468         (sloww1): Likewise.
3469         (sloww2): Likewise.
3470         (bsloww1): Likewise.
3471         (bsloww2): Likewise.
3472         (cslow2): Likewise.
3474 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3476         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
3477         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
3478         outside of allocated array.
3480 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3482         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
3483         instead of MB_CUR_MAX to avoid variable-length array.
3485 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3487         * math/Makefile (libm-calls): Remove k_rem_pio2F.
3488         (type-double-routines): Add k_rem_pio2.
3489         (type-float-routines): Add k_rem_pio2f.
3491         * sysdeps/generic/math_private.h:
3492         (__kernel_rem_pio2l): Removed.
3494         * math/k_rem_pio2l.c: Removed.
3495         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
3496         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
3497         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
3498         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
3500 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3502         * math/Makefile (gen-libm-calls): Add s_fmin
3503         (libm-calls): Remove above.
3505         * math/s_fmin.c: Refactor into ...
3506         * math/s_fmin_template.c: New file.
3508         * math/s_fminf.c: Removed.
3509         * math/s_fminl.c: Removed.
3510         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3511         (LDOUBLE_fmin_libm_version): New macro.
3513         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
3514         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
3516 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3518         * math/Makefile: (gen-libm-calls): Add s_fmax.
3519         (libm-calls): Remove above.
3521         * math/s_fmax.c: Refactor into ...
3522         * math/s_fmax_template.c: New file.
3523         * math/s_fmaxf.c: Removed.
3524         * math/s_fmaxl.c: Removed.
3526         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3527         (LDOUBLE_fmaxl_libm_version): New macro.
3529         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
3530         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
3532         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
3533         s_fmin.c to pick the aarch64 version of the file.
3534         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
3535         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
3537 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3539         * math/Makefile: (gen-libm-calls): Add s_nextdown.
3540         (libm-calls): Remove above.
3542         * math/s_nextdown.c: Refactor into ...
3543         * math/s_nextdown_template.c: New file.
3544         * math/s_nextdownf.c: Removed.
3545         * math/s_nextdownl.c: Removed.
3547         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
3549 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3551         * math/Makefile (gen-libm-calls): Add s_fdim.
3552         (libm-calls): Move to above.
3554         * math/s_fdim.c: Renamed and refactored into to ...
3555         * math/s_fdim_template.c: New file.
3556         * math/s_fdiml.c: Removed.
3557         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
3558         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
3560         * sysdeps/generic/math-type-macros-double.h:
3561         (declare_mgen_alias): Don't declare if already declared.
3562         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
3563         Likewise.
3565         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3566         (declare_mgen_alias): Don't declare if already declared.
3567         (M_LIBM_NEED_COMPAT): Likewise.
3568         (declare_mgen_libm_compat): Likewise.
3569         (LDOUBLE_fdiml_libm_version): New macro.
3571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3572         Include math/s_fdim.c now that ldbl-opt version is not needed.
3573         (declare_mgen_alias): New macro to disable aliasing.
3575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
3576         (declare_mgen_alias): Likewise.
3577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
3578         (declare_mgen_alias): Likewise.
3579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
3580         (declare_mgen_alias): Likewise.
3581         (M_LIBM_NEED_COMPAT): Likewise.
3583 2016-09-01  Florian Weimer  <fweimer@redhat.com>
3585         [BZ #20525]
3586         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
3587         Include <linux/quota.h>.
3588         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
3589         and btodb.
3590         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
3591         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
3592         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
3593         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
3594         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
3595         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
3596         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
3597         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
3598         types.
3599         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
3600         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
3602 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3604         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
3605         (gammal_positive): Fix spacing.
3606         (__ieee754_gammal_r): Likewise.
3608 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3610         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
3611         (_Float128): Define as long double, always.
3612         (L): Apply long double type suffix, always.
3614         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
3615         _Float128, excepting comments.
3617         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3618         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3619         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3620         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3621         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3622         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3623         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3624         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3625         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3626         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
3627         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3628         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3629         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3630         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3631         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3632         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3633         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3634         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3635         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3636         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3637         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3638         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3639         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3640         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3641         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3642         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3643         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3644         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3645         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3646         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3647         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3648         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3649         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3650         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3651         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3652         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3653         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3654         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3655         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3656         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3657         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3658         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3659         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3660         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3661         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3662         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3663         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3664         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3665         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3666         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3667         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3668         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3669         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3670         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3671         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3672         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3673         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3674         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3675         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3676         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3677         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3678         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3679         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3680         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3681         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3682         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3683         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3684         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3686         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
3687         _Float128, and include math_private.h.
3688         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3690         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
3691         long double semantics.
3692         (_Float128): Likewise.
3693         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
3694         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3695         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3696         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3698 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3700         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
3701         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
3702         * sysdeps/s390/configure: Regenerated.
3703         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
3704         instruction for raising over-/underflow if z196 zarch is supported
3705         by default.
3706         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
3708 2016-08-30  Svante Signell  <svante.signell@gmail.com>
3710         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
3711         it point to a dumb buffer for RPC to fill it.
3713 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3715         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
3716         instead of if/else.
3717         (do_sin_slow): Likewise.
3718         (do_sincos_1): Use fabs instead of if/else.
3719         (do_sincos_2): Likewise.
3720         (__sin): Likewise.
3721         (__cos): Likewise.
3722         (slow2): Likewise.
3723         (sloww): Likewise.
3724         (sloww1): Likewise.  Drop argument M.
3725         (sloww2): Use fabs instead of if/else.
3726         (bsloww): Likewise.
3727         (bsloww1): Likewise.
3728         (bsloww2): Likewise.
3730         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
3731         fall through comment.
3732         (do_sincos_1): Likewise.
3734         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
3735         Consolidate switch cases 0 and 2.
3737 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3739         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
3740         (libm-calls): Remove the above.
3742         * math/s_cexp_template.c: Update using type-generic macros.
3743         * math/s_clog10_template.c: Likewise.
3744         * math/s_cpow_template.c: Likewise.
3745         * math/s_clog_template.c: Likewise.
3746         * math/s_cproj_template.c: Likewise.
3747         * math/s_csqrt_template.c: Likewise.
3749         * math/s_cexp.c: Removed.
3750         * math/s_cexpf.c: Removed.
3751         * math/s_cexpl.c: Removed.
3752         * math/s_clog10.c: Removed.
3753         * math/s_clog10f.c: Removed.
3754         * math/s_clog10l.c: Removed.
3755         * math/s_cpow.c: Removed.
3756         * math/s_cpowf.c: Removed.
3757         * math/s_cpowl.c: Removed.
3758         * math/s_clog.c: Removed.
3759         * math/s_clogf.c: Removed.
3760         * math/s_clogl.c: Removed.
3761         * math/s_cproj.c: Removed.
3762         * math/s_cprojf.c: Removed.
3763         * math/s_cprojl.c: Removed.
3764         * math/s_csqrt.c: Removed.
3765         * math/s_csqrtf.c: Removed.
3766         * math/s_csqrtl.c: Removed.
3768         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
3769         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
3770         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
3771         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
3772         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
3773         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
3775         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
3776         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
3777         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
3778         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
3779         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3780         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3781         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3782         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3783         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3784         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3785         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3787         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3788         version.
3790         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3791         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3792         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3793         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3795 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3797         * s_cexp_template.c: Copy of s_cexp.c.
3798         * s_clog_template.c: Copy of s_clog.c.
3799         * s_clog10_template.c: Copy of s_clog10.c.
3800         * s_cpow_template.c: Copy of s_cpow.c.
3801         * s_cproj_template.c: Copy of s_cproj.c.
3802         * s_csqrt_template.c: Copy of s_csqrt.c.
3804 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3806         [BZ #20517]
3807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3808         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3809         exported.
3811 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3813         * math/fetestexceptflag.c: New file.
3814         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3815         Stefan Liebler.
3816         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3817         (fetestexceptflag): New function declaration.
3818         * manual/arith.texi (fetestexceptflag): Document function.
3819         * math/Versions (fetestexceptflag): New libm symbol at version
3820         GLIBC_2.25.
3821         * math/Makefile (libm-support): Add fetestexceptflag.
3822         (tests): Add test-fetestexceptflag.
3823         * math/test-fetestexceptflag.c: New file.
3824         * sysdeps/nacl/libm.abilist: Update.
3825         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3826         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3827         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3828         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3829         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3830         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3831         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3832         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3833         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3834         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3835         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3836         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3838         Likewise.
3839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3840         Likewise.
3841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3842         Likewise.
3843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3844         Likewise.
3845         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3846         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3847         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3848         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3849         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3851         Likewise.
3852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3853         Likewise.
3854         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3855         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3856         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3858 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3860         [BZ #20432]
3861         Avoid strong references to malloc-internal symbols when linking
3862         statically, to support statically interposed mallocs.
3863         * include/libc-symbols.h (call_function_static_weak): New macro.
3864         * malloc/Makefile (tests): Add tst-interpose-nothread,
3865         tst-interpose-thread, tst-interpose-static-nothread,
3866         tst-interpose-static-thread.
3867         (tests-static): Add tst-interpose-static-nothread,
3868         tst-interpose-static-thread.
3869         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3870         tst-interpose-aux-thread.o.
3871         (test-extras): Add tst-interpose-aux-nothread,
3872         tst-interpose-aux-thread.
3873         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3874         tst-interpose-aux-nothread.o.
3875         (tst-interpose-thread, tst-interpose-static-thread): Link with
3876         tst-interpose-aux-thread.o and libthread.
3877         * malloc/tst-interpose-aux-nothread.c: New file.
3878         * malloc/tst-interpose-aux-thread.c: Likewise.
3879         * malloc/tst-interpose-aux.c: Likewise.
3880         * malloc/tst-interpose-aux.h: Likewise.
3881         * malloc/tst-interpose-nothread.c: Likewise.
3882         * malloc/tst-interpose-skeleton.c: Likewise.
3883         * malloc/tst-interpose-static-nothread.c: Likewise.
3884         * malloc/tst-interpose-static-thread.c: Likewise.
3885         * malloc/tst-interpose-thread.c: Likewise.
3886         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3887         * sysdeps/mach/hurd/fork.c (__fork): Only call
3888         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3889         __malloc_fork_unlock_child if defined.
3890         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3892 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3894         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3895         timespec C99 designated initialization.
3897 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3899         [BZ #19946]
3900         Avoid expected SIGALRM signals.
3901         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3902         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3903         (xpthread_create, xpthread_detach, xpthread_join)
3904         (delayed_exit_thread, delayed_exit): New functions.
3905         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3906         (tf): Use xpthread_cond_wait.
3907         (do_test): Likewise.  Replace alarm with delayed_exit.
3908         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3909         (do_test): Call delayed_exit.  Report failure.
3910         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3911         (do_test): Call delayed_exit.
3912         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3913         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3914         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3915         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3916         error.
3917         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3918         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3919         error.
3920         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3921         (do_test): Call delayed_exit.
3922         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3923         (do_test): Call delayed_exit.
3924         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3925         (do_test): Call delayed_exit instead of alarm.  Use
3926         xpthread_mutex_lock.
3927         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3928         (do_test): Call delayed_exit instead of alarm.  Use
3929         xpthread_mutex_lock.
3930         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3931         (do_test): Call delayed_exit instead of alarm.
3932         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3933         (do_test): Call delayed_exit instead of alarm.  Use
3934         xpthread_spin_lock.
3935         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3936         (do_test): Call delayed_exit instead of alarm.  Use
3937         xpthread_join.
3939 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3941         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3942         adjust CFA when allocating register save area on re-aligned
3943         stack.
3945 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3947         * string/tst-cmp.c: New test.
3948         * string/Makefile (tests): Add it.
3950 2016-08-25  Mark Wielaard  <mark@klomp.org>
3952         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3953         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3954         (check_tree_recurse): Use newly defined accessors.
3955         (check_tree): Likewise.
3956         (maybe_split_for_insert): Likewise.
3957         (__tfind): Likewise.
3958         (__tdelete): Likewise.
3959         (trecurse): Likewise.
3960         (tdestroy_recurse): Likewise.
3961         (__tsearch): Likewise. And add asserts for malloc alignment.
3962         (__twalk): Cast root to node in case CHECK_TREE is defined.
3964 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3966         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3968 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3970         * math/Makefile (libm-gen-calls): Add
3971         catan, catanh, ctan, ctanh.
3972         (libm-calls): Remove the above.
3974         * math/s_catan_template.c: Update using type-generic macros.
3975         * math/s_catanh_template.c: Likewise.
3976         * math/s_ctan_template.c: Likewise.
3977         * math/s_ctanh_template.c: Likewise.
3979         * math/s_catanf.c: Removed.
3980         * math/s_catan.c: Removed.
3981         * math/s_catanl.c: Removed.
3982         * math/s_catanhf.c: Removed.
3983         * math/s_catanh.c: Removed.
3984         * math/s_catanhl.c: Removed.
3985         * math/s_ctanf.c: Removed.
3986         * math/s_ctan.c: Removed.
3987         * math/s_ctanl.c: Removed.
3988         * math/s_ctanhf.c: Removed.
3989         * math/s_ctanh.c: Removed.
3990         * math/s_ctanhl.c: Removed.
3992         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3993         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3994         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
3995         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
3996         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
3997         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
3999         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4000         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4001         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4002         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4004 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4006         * s_catan_template.c: Copy of s_catan.c.
4007         * s_catanh_template.c: Copy of s_catanh.c.
4008         * s_ctan_template.c: Copy of s_ctan.c.
4009         * s_ctanh_template.c: Copy of s_ctanh.c.
4011 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4013         * math/Makefile (gen-libm-calls): Move
4014         casin, casinh, csin, csinh here.
4015         (libm-calls): Remove the above.
4017         * math/s_casin_template.c: Update using type-generic macros.
4018         * math/s_casinh_template.c: Likewise.
4019         * math/s_csin_template.c: Likewise.
4020         * math/s_csinh_template.c: Likewise.
4021         * math/k_casinh_template.c: Likewise.
4023         * math/s_casinf.c: Removed.
4024         * math/s_casin.c: Removed.
4025         * math/s_casinl.c: Removed.
4026         * math/s_casinh.c: Removed.
4027         * math/s_casinhf.c: Removed.
4028         * math/s_casinhl.c: Removed.
4029         * math/s_csin.c: Removed.
4030         * math/s_csinf.c: Removed.
4031         * math/s_csinl.c: Removed.
4032         * math/s_csinh.c: Removed.
4033         * math/s_csinhf.c: Removed.
4034         * math/s_csinhl.c: Removed.
4035         * math/k_casinh.c: Removed.
4036         * math/k_casinhf.c: Removed.
4037         * math/k_casinhl.c: Removed.
4039         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4040         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4041         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4042         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4044         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4045         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4046         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4047         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4048         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4049         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4050         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4051         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4053         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4054         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4055         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4056         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4058         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4059         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4060         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4061         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4063 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4065         * s_casin_template.c: Copy of s_casin.c.
4066         * s_casinh_template.c: Copy of s_casinh.c.
4067         * s_csin_template.c: Copy of s_csin.c.
4068         * s_csinh_template.c: Copy of s_csinh.c.
4069         * k_casinh_template.c: Copy of k_casinh.c.
4071 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4073         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4075 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4077         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4078         (mul_split) Remove, rename as mul_splitl, remove
4079         redundant float.h include, and include via mul_splitl.h
4081         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4082         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4083         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4084         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4085         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4087         * math/mul_splitl.h: New file.
4089         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4090         Move into mul_split.h, and remove redundant float.h include.
4092         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4093         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4094         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4095         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4097         * math/mul_split.h: New file.
4099 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4101         * math/Makefile (libm-gen-calls): Move
4102         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4103         (libm-calls): Remove above.
4105         * math/s_cacos_template.c: Update using type-generic macros.
4106         * math/s_cacosh_template.c: Likewise.
4107         * math/s_ccos_template.c: Likewise.
4108         * math/s_ccosh_template.c: Likwise.
4110         * math/s_cacosf.c: Removed.
4111         * math/s_cacos.c: Removed.
4112         * math/s_cacosl.c: Removed.
4113         * math/s_cacoshf.c: Removed.
4114         * math/s_cacosh.c: Removed.
4115         * math/s_cacoshl.c: Removed.
4116         * math/s_ccosf.c: Removed.
4117         * math/s_ccos.c: Removed.
4118         * math/s_ccosl.c: Removed.
4119         * math/s_ccoshf.c: Removed.
4120         * math/s_ccosh.c: Removed.
4121         * math/s_ccoshl.c: Removed.
4123         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4124         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4125         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4126         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4127         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4128         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
4130         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
4131         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
4132         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
4133         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
4135         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
4136         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4137         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4138         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4140 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4142         * s_cacos_template.c: Copy of s_cacos.c.
4143         * s_cacosh_template.c: Copy of s_cacosh.c.
4144         * s_ccos_template.c: Copy of s_ccos.c.
4145         * s_ccosh_template.c: Copy of s_ccosh.c.
4147 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4149         * stdlib/tst-strtod-round-skeleton.c:
4150         Refactored from tst-strtod-round.c.
4152         (L_): New macro to apply literal modifier.
4153         (FNPFX): New macro to select str or wcs prefix.
4154         (CHAR): New macro to choose wchar_t or char.
4155         (STRM): New macro to choose printf for tested character type.
4157         (STRTO): New macro to choose appropriate string -> real function.
4158         (FNPFXS): Stringitized version of FNPFX.
4159         (STR): Support for above macro.
4160         (STRX): Likewise.
4162         (TEST): Update with above macros.
4163         (test): Likewise.
4164         (GEN_ONE_TEST): Likewise.
4165         (test_in_one_mode): Likewise.
4167         * stdlib/tst-strtod-round.c: New file.
4168         * wcsmbs/tst-wcstod-round.c: New file.
4170         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
4171         (tst-wcstod-round): Add libm depencency for fesetround.
4173 2016-08-19  Zack Weinberg  <zackw@panix.com>
4175         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
4177 2016-08-18  Torvald Riegel  <triegel@redhat.com>
4179         [BZ #20477]
4180         * resolv/res_hconf.c (do_init): Use atomic access.
4181         * resolv/res_hconf.h: Add comments.
4182         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
4183         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
4184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4186 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4188         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4189         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
4190         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4191         Likewise.
4193 2016-08-18  Florian Weimer  <fweimer@redhat.com>
4195         [BZ #16907]
4196         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
4197         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
4198         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
4199         (__attribute__): Remove definition.
4201 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4203         * sysdeps/ieee754/ldbl-128/e_asinl.c:
4204         Remove unused sqrtl declaration.
4206 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4208         * math/Makefile: (gen-libm-templates.stmp): New rule.
4209         (libm-calls): Move carg conj cimag and cabs into ...
4210         (gen-libm-calls): New variable.
4211         (generated): Inform Make objects from gen-libm-calls
4212         may be generated.
4214         * sysdeps/generic/math-type-macros.h: New file.
4215         * sysdeps/generic/math-type-macros-float.h: Likewise.
4216         * sysdeps/generic/math-type-macros-double.h: Likewise.
4217         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4218         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
4219         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
4221         * math/cabs.c: Refactor into
4222         * math/cabs_template.c: new file.
4223         * math/cabsf.c: Removed.
4224         * math/cabsl.c: Removed.
4225         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
4226         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
4228         * math/carg.c: Refactor into
4229         * math/carg_template.c: new file.
4230         * math/cargf.c: Removed.
4231         * math/cargl.c: Removed.
4232         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
4233         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
4235         * math/conj.c: Refactor into
4236         * math/conj_template.c: new file.
4237         * math/conjf.c: Removed.
4238         * math/conjl.c: Removed.
4239         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
4240         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
4242         * math/cimag.c: Refactor into
4243         * math/cimag_template.c: new file.
4244         * math/cimagf.c: Removed.
4245         * math/cimagl.c: Removed.
4246         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4247         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4249         * math/cimag.c: Refactor into
4250         * math/cimag_template.c: new file.
4251         * math/cimagf.c: Removed.
4252         * math/cimagl.c: Removed.
4253         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4254         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4256 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4258         Reduce time to expected nptl/tst-once5 failure.
4259         * nptl/tst-once5.cc (TIMEOUT): Define.
4261 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4263         [BZ #20452]
4264         Avoid additional copies of objects in libc.a in static libraries.
4265         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
4266         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
4267         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
4268         rt-sysdep.
4269         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
4270         Add nptl-sysdep.
4271         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
4272         Add ptw-sysdep.
4273         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
4274         rt-sysdep.
4275         * sysdeps/unix/sysv/linux/alpha/Makefile
4276         (libpthread-shared-only-routines): Add ptw-sysdep,
4277         ptw-sigprocmask, ptw-rt_sigaction.
4278         * sysdeps/unix/sysv/linux/ia64/Makefile
4279         (librt-shared-only-routines): Add rt-sysdep.
4280         * sysdeps/unix/sysv/linux/i386/Makefile
4281         (libpthread-shared-only-routines): Add libc-do-syscall.
4282         * sysdeps/unix/sysv/linux/microblaze/Makefile
4283         (libpthread-shared-only-routines): Add sysdep.
4284         * sysdeps/unix/sysv/linux/powerpc/Makefile
4285         (librt-shared-only-routines): Add rt-sysdep.
4286         (libpthread-shared-only-routines): Add sysdep.
4287         * sysdeps/unix/sysv/linux/s390/Makefile
4288         (librt-shared-only-routines): Add rt-sysdep.
4289         * sysdeps/unix/sysv/linux/sparc/Makefile
4290         (librt-shared-only-routines): Add rt-sysdep.
4291         (libpthread-shared-only-routines): Add sysdep.
4292         * sysdeps/unix/sysv/linux/tile/Makefile
4293         (libpthread-shared-only-routines): Likewise.
4295 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4297         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
4298         Mask implicit bit out of unpacked value.
4299         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
4300         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
4301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
4303         * sysdeps/sparc/fpu/fesetexcept.c: New file.
4305         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
4307         * sysdeps/s390/fpu/fesetexcept.c: New file.
4309         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4310         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4311         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4313         * sysdeps/mips/fpu/fesetexcept.c: New file.
4315         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4317         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4319         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4321         * sysdeps/arm/fesetexcept.c: New file.
4323         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4325         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4327         * math/fesetexcept.c: New file.
4328         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4329         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4330         * math/fenv.h: Define
4331         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4332         <bits/libc-header-start.h> instead of including <features.h>.
4333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4334         declaration.
4335         * manual/arith.texi (fesetexcept): Document function.
4336         * math/Versions (fesetexcept): New libm symbol at version
4337         GLIBC_2.25.
4338         * math/Makefile (libm-support): Add fesetexcept.
4339         (tests): Add test-fesetexcept and test-fesetexcept-traps.
4340         * math/test-fesetexcept.c: New file.
4341         * math/test-fesetexcept-traps.c: Likewise.
4342         * sysdeps/nacl/libm.abilist: Update.
4343         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4344         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4345         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4346         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4347         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4348         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4349         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4350         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4351         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4352         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4353         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4354         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4356         Likewise.
4357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4358         Likewise.
4359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4360         Likewise.
4361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4362         Likewise.
4363         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4364         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4365         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4366         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4367         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4369         Likewise.
4370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4371         Likewise.
4372         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4373         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4374         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4376 2016-08-16  Florian Weimer  <fweimer@redhat.com>
4378         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4379         New.
4380         (do_test): Apply default_stack_size_in_mb if not set.
4381         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4383 2016-08-15  Andreas Schwab  <schwab@suse.de>
4385         [BZ #20435]
4386         CVE-2016-6323
4387         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4388         as .cantunwind.
4390 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
4392         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4393         comment from fraiseexcpt.c.
4395         * math/test-fexcept.c (feraiseexcept_exact): New function.
4396         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4397         (test_except): Likewise.
4399 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
4401         [BZ #20455]
4402         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4403         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4404         to be restored.
4406         * math/test-fexcept-traps.c: New file.
4407         * math/test-fexcept.c: Likewise.
4408         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4409         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4410         macro.
4411         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4412         (EXCEPTION_SET_FORCES_TRAP): Likewise.
4414 2016-08-09  Torvald Riegel  <triegel@redhat.com>
4416         * include/atomic.h (atomic_fetch_and_relaxed,
4417         atomic_fetch_and_release, atomic_fetch_or_release,
4418         atomic_fetch_xor_release): New.
4420 2016-08-06  Christian Seiler  <christian@iwakd.de>
4422         [BZ #20444]
4423         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
4424         MACH_PORT_NULL.
4426 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4428         * math/s_fdim.c: Avoid alias renamed.
4429         * math/s_fdimf.c: Likewise.
4430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4431         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4432         Add s_fdimf-vis3, s_fdim-vis3.
4433         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4434         (CFLAGS-s_fdim-vis3.c): Likewise.
4435         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
4436         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4438 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4441         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4442         Remove s_fdimf-vis3, s_fdim-vis3.
4443         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
4444         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
4445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
4446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
4447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
4448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
4449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
4450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
4451         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
4452         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
4454 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4456         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
4457         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
4458         -Wa,-Av9a -mvis.
4460 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4462         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
4463         LIT() to individual constants in simple expressions
4464         after splitting on spaces.
4465         (_apply_lit): Rename replaced version, and use it to
4466         apply to what appears to be a token.
4468         * math/libm-test.inc: Fix many, many issues with
4469         spacing.
4471 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
4473         * math/math.h: Move comment about <bits/mathdef.h> definitions
4474         above inclusion of <bits/mathdef.h>.  Do not mention
4475         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
4477 2016-08-05  Torvald Riegel  <triegel@redhat.com>
4479         * include/atomic.h (atomic_exchange_relaxed): New.
4481 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
4483         * math/e_scalb.c: Do not include <fenv.h>.
4484         (invalid_fn): Do calculation resulting in NaN instead of raising
4485         FE_INVALID and returning a NaN explicitly.
4486         * math/e_scalbf.c: Do not include <fenv.h>.
4487         (invalid_fn): Do calculation resulting in NaN instead of raising
4488         FE_INVALID and returning a NaN explicitly.
4489         * math/e_scalbl.c: Do not include <fenv.h>.
4490         (invalid_fn): Do calculation resulting in NaN instead of raising
4491         FE_INVALID and returning a NaN explicitly.
4493 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
4495         * po/de.po: Updated from Translation Project.
4496         * po/fi.po: Likewise.
4497         * po/sv.po: Likewise.
4499 2016-08-04  Florian Weimer  <fweimer@redhat.com>
4501         [BZ #20452]
4502         Use sysdep.o from libc.a in static libraries.
4503         * sysdeps/unix/sysv/linux/i386/Makefile
4504         (libpthread-shared-only-routines): Add sysdep.
4505         (librt-shared-only-routines): Likewise.
4507 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4509         * math/tgmath.h (nextdown): Define if
4510         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
4511         (nextup): Likewise.
4513         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4514         macro.
4515         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4516         Document.
4517         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4518         Document macro.
4519         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
4520         (exp10f): Likewise.
4521         (exp10l): Likewise.
4522         * math/bits/mathcalls.h (exp10): Declare if
4523         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4525         * manual/arith.texi (nextup): Fix typo in last change.
4527 2016-08-03  Zack Weinberg  <zackw@panix.com>
4529         [BZ #19239]
4530         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
4531         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
4532         define major, minor, and makedev to issue deprecation warnings on use.
4533         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
4534         previously-activated deprecation warnings for these macros and prevent
4535         subsequent inclusions of this header from having any effect.
4536         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
4537         including <sys/sysmacros.h>, and undefine it again afterward.
4539 2016-08-03  Zack Weinberg  <zackw@panix.com>
4541         * sysdeps/generic/sys/sysmacros.h: Delete file.
4542         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
4543         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
4544         * bits/sysmacros.h: ... here; this encoding is now the generic
4545         encoding.  Now defines only the following macros:
4546         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
4547         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
4548         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
4550         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
4551         bits/sysmacros.h and the above new macros to generate the
4552         public implementations of major, minor, and makedev.
4553         * misc/tst-makedev.c: New test.
4554         * include/sys/sysmacros.h: New wrapper.
4556         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
4557         (routines): Add makedev.
4558         (tests): Add tst-makedev.
4559         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
4560         gnu_dev_makedev.
4561         * posix/Makefile (headers): Remove sys/sysmacros.h.
4562         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
4564         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
4565         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
4566         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4567         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4568         * sysdeps/unix/sysv/linux/arm/libc.abilist
4569         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4570         * sysdeps/unix/sysv/linux/i386/libc.abilist
4571         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4572         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4573         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4574         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4575         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4576         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4577         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4578         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4579         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4584         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4585         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4586         * sysdeps/unix/sysv/linux/sh/libc.abilist
4587         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4588         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4591         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4592         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4593         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4594         Add GLIBC_2.25.
4596         * include/features.h (__glibc_clang_prereq): New macro.
4597         * misc/sys/cdefs.h (__glibc_clang_has_extension)
4598         (__attribute_deprecated_msg__): New macros.
4600 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4602         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
4603         macro.
4604         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
4605         * manual/arith.texi (issignaling): Document as ISO from TS
4606         18661-1:2014.
4607         (nextup): Likewise.
4608         (nextupf): Likewise.
4609         (nextupl): Likewise.
4610         (nextdown): Likewise.
4611         (nextdownf): Likewise.
4612         (nextdownl): Likewise.
4613         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
4614         macro.
4615         * math/math.h: Define
4616         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4617         <bits/libc-header-start.h> instead of including <features.h>.
4618         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
4619         [__USE_GNU].
4620         * math/bits/mathcalls.h (nextdown): Declare if
4621         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
4622         (nextup): Likewise.
4623         (__issignaling): Likewise.
4625 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4627         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
4628         check, and remove __glibc_likely hint
4629         from FP_INFINITE check.
4630         * s_csinhf.c (__csinhf): Likewise.
4632         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
4633         hint from FP_INFINITE check.
4634         * s_csinhl.c (__csinhl): Likewise.
4636 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4638         * math/Makefile (libm-calls): Insert F placeholder into
4639         object names.  Move w_lgamma_compat* routines into
4640         (libm-compat-calls): New variable.
4641         (libm-compat-calls-ldouble-yes): New variable.
4642         (calls): Insert F placeholder.
4643         (generated): Redefine using new type-foreach macro call.
4644         (routines): Likewise.
4646         (types): New variable to hold a list of symbolic names
4647         for each type supported by the target machine.
4648         (libm-routines): Redefine using new types variable.
4649         (type-foreach): macro to replace fooF with the
4650         appropriately suffixed foo for each types.
4652         (type-ldouble-suffix): New variable.
4653         (type-ldouble-routines): Likewise.
4654         (type-ldouble-yes): Likewise.
4655         (type-double-suffix): Likewise.
4656         (type-double-routines): Likewise.
4657         (type-float-suffix): Likewise.
4658         (type-float-routines): Likewise.
4660         (dbl-only-routines): Remove.
4661         (long-c-yes): Likewise.
4662         (long-m-routines): Likewise.
4663         (long-m-support): Likewise.
4664         (long-m-yes): Likewise.
4665         (test-longdouble-yes): Likewise.
4667         (test-float.o): Simplify by increasing the scope of the
4668         recipe which adds libm-test.stmp to the vector types.
4669         (test-ifloat.o): Likewise.
4670         (test-float-finite.o): Likewise.
4671         (test-double.o): Likewise
4672         (test-idouble.o): Likewise.
4673         (test-double-finite.o): Likewise.
4674         (test-ldouble.o): Likewise
4675         (test-ildoubl.o): Likewise.
4676         (test-ldouble-finite.o): Likewise.
4678         (libm-tests): Redefine type tests using foreach and the
4679         list of types in types.
4681         (CPPFLAGS-test-ildoubl.c): Rename to
4682         (CPPFLAGS-test-ildouble.c): New variable
4684         * math/test-ildoubl.c: Rename to
4685         * math/test-ildouble.c: New file.
4687 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4689         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
4690         Use fabsl instead of fabs.
4691         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
4692         Likewise.
4693         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
4694         Add long double suffix to constant to ensure proper
4695         promotion to long double.
4697 2016-08-03  Tom Tromey  <tom@tromey.com>
4699         [BZ #20311]
4700         * nptl_db/Makefile (headers): Add proc_service.h.
4701         * nptl_db/proc_service.h: Add include guard.  Use
4702         __BEGIN/__END_DECLS.
4703         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
4704         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
4705         arguments.
4708 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4710         [BZ #17730]
4711         Avoid using memalign for TCB allocations.
4712         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
4713         (_dl_allocate_tls_storage): Use malloc and manual alignment.
4714         Avoid alignment gap in the TLS_DTV_AT_TP case.
4715         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
4716         determine the pointer to free.
4717         * nptl/tst-tls3-malloc.c: New test.
4718         * nptl/Makefile (tests): Add it.
4719         (tst-tls3-malloc): Link with libdl, libpthread.
4720         (LDFLAGS-tst-tls3-malloc): Set.
4721         (tst-tls3-malloc.out): Depend on DSO used in test.
4723 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4725         [BZ #17730]
4726         Avoid using memalign for TLS allocations.
4727         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
4728         is_static member with to_free member.
4729         (union dtv): Use struct dtv_pointer.
4730         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
4731         dtv_pointer instead of is_static.
4732         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
4733         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
4734         instead of val.
4735         (allocate_dtv_entry): New function.
4736         (allocate_and_init): Return struct dtv_pointer.  Call
4737         allocate_dtv_entry instead of __libc_memalign.
4738         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
4739         instead of val.
4740         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
4741         instead of is_static.  Adjust call to allocate_and_init.
4742         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
4743         struct dtv_pointer instead of val.
4745 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4747         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
4748         (MALLOC_ALIGN_MASK): Move ...
4749         * malloc/malloc-internal.h: ... to here.
4750         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
4752 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4754         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4755         (UDP_ENCAP_GTP1U): Likewise.
4757         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
4758         (PF_MAX): Update value.
4759         (AF_QIPCRTR): New macro.
4761 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4763         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
4764         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4765         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4766         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4767         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4768         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4769         s_truncf-vis3, s_trunc-vis3.
4770         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4771         (CFLAGS-s_ceil-vis3.c): Likewise.
4772         (CFLAGS-s_floorf-vis3.c): Likewise.
4773         (CFLAGS-s_floor-vis3.c): Likewise.
4774         (CFLAGS-s_truncf-vis3.c): Likewise.
4775         (CFLAGS-s_trunc-vis3.c): Likewise.
4776         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
4777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
4779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4784         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4785         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4786         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4787         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4789 2016-08-02  David S. Miller  <davem@davemloft.net>
4791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4792         (__nearbyint_vis3): Don't check for sNaN before float register is
4793         loaded with the incoming argument.
4794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4795         (__nearbyintf_vis3): Likewise.
4796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4797         Likewise.
4798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4799         Likewise.
4801         * string/test-strncmp.c (do_test_limit): Make sure the test data
4802         stream is aligned as required for the type "CHAR".
4803         (do_test): Likewise.
4805 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4807         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4808         by beq instructions jumping to the end of the function.
4809         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4810         clobber list. Use "i" constraint instead of "X".
4811         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4812         of "X".
4814 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4816         * bits/libc-header-start.h: New file.
4817         * Makefile (headers): Add bits/libc-header-start.h.
4818         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4819         (__GLIBC_USE): New macro.
4820         * libio/stdio.h: Define
4821         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4822         <bits/libc-header-start.h> instead of including <features.h>.
4823         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4824         (open_memstream): Likewise.
4825         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4826         (__asprintf): Likewise.
4827         (asprintf): Likewise.
4828         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4829         (getdelim): Likewise.
4830         (getline): Likewise.
4831         * string/string.h: Define
4832         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4833         <bits/libc-header-start.h> instead of including <features.h>.
4834         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4835         (strndup): Likewise.
4836         * wcsmbs/wchar.h: Define
4837         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4838         <bits/libc-header-start.h> instead of including <features.h>.
4839         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4840         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4842 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4844         Support linking against compatibility symbols, for use in tests.
4845         * include/libc-symbols.h (symbol_version_reference): New macro.
4846         (symbol_version): Use it.
4847         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4848         (compat_symbol): Use compat_symbol_reference.
4849         (compat_symbol_1, compat_symbol_2): Remove.
4850         (compat_symbol_reference, compat_symbol_reference_1)
4851         (compat_symbol_reference_2): New macro.  Use
4852         symbol_version_reference.
4854 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4856         [BZ #19469]
4857         * malloc/Makefile (CPPFLAGS): Compile tests with
4858         -DTEST_NO_MALLOPT.
4859         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4861 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4863         [BZ #20033]
4864         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4865         finite version.
4866         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4868         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4869         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4870         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4871         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4872         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4873         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4874         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4875         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4876         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4877         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4878         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4879         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4880         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4881         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4882         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4883         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4884         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4885         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4886         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4887         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4888         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4889         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4890         in zero power.
4892 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4894         [BZ #20370]
4895         * malloc/arena.c (get_free_list): Update comment.  Assert that
4896         arenas on the free list have no attached threads.
4897         (remove_from_free_list): New function.
4898         (reused_arena): Call it.
4900 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4902         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4903         when it is a NaN.
4904         [_IEEE_FP_INEXACT] Remove.
4905         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4906         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4907         when it is a NaN.
4908         [_IEEE_FP_INEXACT] Remove.
4909         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4910         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4911         when it is a NaN.
4912         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4913         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4914         when its absolute value is greater than 0x1.0p52.
4915         [_IEEE_FP_INEXACT] Remove.
4916         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4917         when its absolute value is greater than 0x1.0p23.
4918         [_IEEE_FP_INEXACT] Remove.
4920 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4922         * version.h (RELEASE): Set to "development"
4923         (VERSION): Set to 2.24.90.
4924         * NEWS: Add 2.25 section.
4926         * version.h (RELEASE): Set to "stable"
4927         (VERSION): Set to 2.24.
4928         * include/features.h (__GLIBC_MINOR__): Set to 24.
4930         * NEWS: Add 2.24 fixed bugs.
4931         * po/libc.pot: Regenerate.
4933 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4936         [$(subdir) = math] (libm-sysdep_routines): Remove.
4937         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4938         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4939         s_truncf-vis3, s_trunc-vis3.
4940         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4942         file.
4943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4976         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4977         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4978         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4979         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4980         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4981         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4982         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4983         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4984         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4985         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4987 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4989         [BZ #20384]
4990         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4991         test-double-libmvec-sincos-avx-main.o,
4992         test-double-libmvec-sincos-avx2-main.o,
4993         test-double-libmvec-sincos-main.o,
4994         test-float-libmvec-sincosf-avx-main.o,
4995         test-float-libmvec-sincosf-avx2-main.o and
4996         test-float-libmvec-sincosf-main.o.
4997         test-float-libmvec-sincosf-avx512-main.o.
4998         ($(objpfx)test-double-libmvec-sincos): Also link with
4999         $(objpfx)test-double-libmvec-sincos-main.o.
5000         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5001         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5002         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5003         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5004         ($(objpfx)test-float-libmvec-sincosf): Also link with
5005         $(objpfx)test-float-libmvec-sincosf-main.o.
5006         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5007         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5008         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5009         test-double-libmvec-sincos-avx512-main.o and
5010         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5011         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5012         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5013         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5014         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5015         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5016         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5017         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5018         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5019         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5020         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5021         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5022         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5023         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5024         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5025         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5026         -DREQUIRE_AVX2.
5027         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5028         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5029         -DREQUIRE_AVX512F.
5030         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5031         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5032         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5033         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5034         file.
5035         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5036         Likewise.
5037         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5038         Likewise.
5039         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5040         Likewise.
5041         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5042         Likewise.
5043         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5044         Likewise.
5045         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5046         Likewise.
5047         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5048         Likewise.
5050 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5052         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5054 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5056         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5057         and typo in a comment about AT_HWCAP entry.
5059 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5061         * sysdeps/aarch64/libm-test-ulps: Updated.
5063 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5065         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5066         of r13 as it is not restored in mvcle case.
5068 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5070         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5071         Rename "ret" to "__ret".
5072         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5073         inline_syscall5, inline_syscall6): Likewise.
5075 2016-07-19   Will Newton  <will.newton@gmail.com>
5077         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5078         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5079         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5080         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5081         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5083 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5085         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5086         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5087         -mfpmath=387 with $(rtld-CFLAGS).
5088         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5089         $(rtld-CFLAGS).
5091 2016-07-18   Ross Burton  <ross.burton@intel.com>
5092              Khem Raj  <raj.khem@gmail.com>
5094         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5095         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5096         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5097         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5098         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5099         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5100         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5101         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5102         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5103         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5104         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5105         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5106         R_METAG_TLS_DTPOFF): New.
5108 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5109             Matt Clay  <mclay@lycos.com>
5111         [BZ #20357]
5112         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5113         to call __mpsin/__mpcos and to negate values.
5114         * math/auto-libm-test-in: Add test.
5115         * math/auto-libm-test-out: Regenerate.
5117 2016-07-18  Zack Weinberg  <zackw@panix.com>
5119         * grp/Makefile: Don't install the internal header grp-merge.h.
5121 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5123         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5125 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5127         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5129 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5131         [BZ #15368]
5132         * sysdeps/unix/sysv/linux/nptl-signals.h
5133         (__nptl_clear_internal_signals): New function.
5134         (__libc_signal_block_all): Likewise.
5135         (__libc_signal_block_app): Likewise.
5136         (__libc_signal_restore_set): Likewise.
5137         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
5138         implementation.
5139         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
5140         the cached pid/tid value in pthread structure.
5142 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
5144         [BZ #20347]
5145         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5147 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5149         [BZ #20348]
5150         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
5151         preadv64, pwrite64 and pwritev64.
5153 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5155         [BZ #20350]
5156         * posix/tst-preadwrite.c: Renamed to ...
5157         * posix/tst-preadwrite-common.c: This.
5158         (PREAD): Removed.
5159         (PWRITE): Likewise.
5160         (STRINGIFY): Likewise.
5161         (STRINGIFY2): Likewise.
5162         (do_prepare): Make it static and remove function arguments.
5163         (do_test): Likewise.
5164         (PREPARE): Updated.
5165         (TEST_FUNCTION): New.
5166         (name): Make it static.
5167         (fd): Likewise.
5168         (do_prepare): Use create_temp_file.
5169         (do_test): Renamed to ...
5170         (do_test_with_offset): This.  Make it static and accept offset.
5171         Properly check return value of PWRITE and PREAD.  Return bytes
5172         read.  Don't close fd nor unlink name.
5173         * posix/tst-preadwrite.c: Rewrite.
5174         * posix/tst-preadwrite64.c: Likewise.
5176 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5178         [BZ #20309]
5179         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
5180         -mtls-dialect=gnu2 works.
5181         * configure: Regenerated.
5182         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
5183         (tests): Add tst-gnu2-tls1.
5184         (modules-names): Add tst-gnu2-tls1mod.
5185         ($(objpfx)tst-gnu2-tls1): New.
5186         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
5187         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
5188         * elf/tst-gnu2-tls1.c: New file.
5189         * elf/tst-gnu2-tls1mod.c: Likewise.
5190         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
5191         bytes for push in the PLT entry to align the stack.
5193 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5195         [BZ #20349]
5196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
5198 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5200         [BZ #18707]
5201         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5202         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
5204 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5206         * sysdeps/unix/sysv/linux/sysdep.h
5207         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5208         guards.
5209         * misc/tst-preadvwritev-common.c: New file.
5210         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
5211         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
5212         a check for files larger than 2GB.
5214         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5215         (__ASSUME_OFF_DIFF_OFF64): Remove define.
5216         * sysdeps/unix/sysv/linux/pread.c
5217         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
5218         __OFF_T_MATCHES_OFF64_T.
5219         * sysdeps/unix/sysv/linux/pread64.c
5220         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
5221         * sysdeps/unix/sysv/linux/preadv.c
5222         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
5223         * sysdeps/unix/sysv/linux/preadv64.c
5224         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
5225         * sysdeps/unix/sysv/linux/pwrite.c
5226         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
5227         * sysdeps/unix/sysv/linux/pwrite64.c
5228         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
5229         * sysdeps/unix/sysv/linux/pwritev.c
5230         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
5231         * sysdeps/unix/sysv/linux/pwritev64.c
5232         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
5234 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
5236         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5237         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
5239 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5241         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
5243 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5245         [BZ #20240]
5246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5247         (CFLAGS-s_modf-ppc32.c): New variable.
5248         (CFLAGS-s_modff-ppc32.c): Likewise.
5249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5250         (CFLAGS-s_modf-ppc64.c): Likewise.
5251         (CFLAGS-s_modff-ppc64.c): Likewise.
5253 2016-07-07  Andreas Schwab  <schwab@suse.de>
5255         [BZ #20263]
5256         * nptl/tst-robust10.c: New test.
5257         * nptl/Makefile (tests): Add tst-robust10.
5259 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
5261         [BZ #20263]
5262         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
5264 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5266         * sysdeps/s390/linkmap.h (struct link_map_machine):
5267         Remove member gotplt and add member jmprel.
5268         * sysdeps/s390/s390-32/dl-machine.h
5269         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
5270         instead of gotplt with &got[3].
5271         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
5272         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5274 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
5276         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
5278 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5280         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
5281         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
5282         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5283         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
5284         * libio/vtables.c (_IO_vtable_check)
5285         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5286         * libio/libioP.h (IO_set_accept_foreign_vtables)
5287         [!PTR_MANGLE]: Do not call PTR_MANGLE.
5289 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
5291         [BZ #20314]
5292         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
5293         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
5294         $(common-objpfx)cmath.
5295         ($(common-objpfx)cstdlib): New target.
5296         ($(common-objpfx)cmath): Likewise.
5298 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
5300         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
5302 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5304         [BZ #20327]
5305         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
5306         are not part of the string.
5308 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5310         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5311         * nptl/tst-cancel4-common.h (fifoname): New variable.
5312         (fifofd): Likewise.
5313         (cl_fifo): New function.
5314         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5315         SIGINT.
5316         (tf_open): Add early cancel test.
5318 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5320         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5322 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5324         * sysdeps/generic/ldsodefs.h
5325         (dl_symbol_visibility_binds_local_p): New inline function.
5326         * elf/dl-addr.c (determine_info): Treat hidden and internal
5327         symbols as local.
5328         * elf/dl-lookup.c (do_lookup_x): Likewise.
5329         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5331 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
5333         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5334         invalid exception for a sNaN input.
5335         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5336         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5337         (__nearbyint_vis3): Likewise
5338         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5339         (__nearbyintf_vis3): Likewise
5340         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5341         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5342         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5343         Likewise.
5344         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5345         Likewise.
5347 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
5349         [BZ #20139]
5350         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5351         (HAVE_AVX512DQ_ASM_SUPPORT): This.
5352         * sysdeps/x86_64/configure.ac: Require assembler from binutils
5353         2.24 or above.
5354         (HAVE_AVX512_ASM_SUPPORT): Removed.
5355         (HAVE_AVX512DQ_ASM_SUPPORT): New.
5356         * sysdeps/x86_64/configure: Regenerated.
5357         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5358         check unconditional.
5359         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5360         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5361         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5362         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5363         Likewise.
5364         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5365         Likewise.
5366         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5367         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5368         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5369         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5370         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5371         Likewise.
5372         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5373         Likewise.
5374         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5375         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5376         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5377         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5378         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5379         Likewise.
5380         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5381         Likewise.
5382         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5383         Likewise.
5384         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5385         Likewise.
5386         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5387         Likewise.
5388         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5389         Likewise.
5390         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5391         Likewise.
5392         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5393         Likewise.
5394         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5395         Likewise.
5396         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5397         Likewise.
5398         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5399         Likewise.
5401 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
5403         [BZ #20024]
5404         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5405         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5406         of this implementation of vector function.
5407         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5408         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5409         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5410         Likewise.
5411         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5412         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5413         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
5414         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
5415         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
5416         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
5417         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5418         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
5419         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
5420         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
5421         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
5422         for testing vector sincos with fixed ABI.
5423         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5424         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5425         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5426         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5427         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5428         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5429         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5430         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
5431         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
5432         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
5433         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
5434         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
5435         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
5436         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
5437         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5438         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5440 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5442         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5444 2016-06-30  Anton Blanchard  <anton@samba.org>
5446         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5447         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
5448         s_sinf-ppc64.
5449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
5450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5452         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5454 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5458         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
5459         e_expf-ppc64.
5460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
5461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
5462         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
5463         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
5465 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
5467         [BZ #20277]
5468         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
5469         when SHARED is defined.
5471 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5473         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
5474         (index_arch_Prefer_ERMS): Likewise.
5475         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
5476         __memcpy_erms for Prefer_ERMS.
5477         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5478         (__memmove_erms): Enabled for libc.a.
5479         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
5480         __memmove_erms or Prefer_ERMS.
5481         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
5482         __mempcpy_erms for Prefer_ERMS.
5483         * sysdeps/x86_64/multiarch/memset.S (memset): Return
5484         __memset_erms for Prefer_ERMS.
5486 2016-06-30  Andreas Schwab  <schwab@suse.de>
5488         [BZ #20262]
5489         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
5490         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
5491         of memory.
5493 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
5495         [BZ #18645]
5496         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
5497         (test-extras): Add tst-cleanupx4aux.
5498         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
5499         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
5500         tst-cleanupx4aux.o.
5501         * nptl/tst-cleanupx4aux.c: New file.
5503 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5505         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5507 2016-06-29  Andreas Schwab  <schwab@suse.de>
5509         [BZ #20260]
5510         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
5511         address before the beginning of the string as an integer to avoid
5512         array-bounds warning.
5514 2016-06-28  Richard Henderson  <rth@redhat.com>
5516         * elf/elf.h (EM_BPF): New.
5517         (EM_NUM): Update.
5518         (R_BPF_NONE, R_BPF_MAP_FD): New.
5520         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
5521         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
5522         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
5523         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
5524         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
5525         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
5526         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
5527         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
5528         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
5529         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
5530         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
5531         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
5532         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
5533         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
5534         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
5535         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
5536         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
5537         (EM_NUM): Update.
5539 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
5541         [BZ #18960]
5542         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
5543         Set _nl_current_LC_CATEGORY_used to two instead of one.
5545 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
5547         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
5548         (do_test): ... this.
5549         (TEST_FUNCTION): New macro.
5550          Include test-skeleton.c.
5551         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
5552         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
5554 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
5556         [BZ #15479]
5557         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
5558         floating-point environment rather than just control word.
5559         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5560         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
5561         floating-point environment, with "invalid" exceptions merged in,
5562         rather than just control word.
5563         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
5564         * math/libm-test.inc (trunc_test_data): Do not allow spurious
5565         "inexact" exceptions.
5567         [BZ #15479]
5568         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
5569         floating-point environment rather than just control word.
5570         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5571         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
5572         floating-point environment, with "invalid" exceptions merged in,
5573         rather than just control word.
5574         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
5575         * math/libm-test.inc (floor_test_data): Do not allow spurious
5576         "inexact" exceptions.
5578         [BZ #15479]
5579         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
5580         floating-point environment rather than just control word.
5581         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5582         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
5583         floating-point environment, with "invalid" exceptions merged in,
5584         rather than just control word.
5585         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
5586         * math/libm-test.inc (ceil_test_data): Do not allow spurious
5587         "inexact" exceptions.
5589 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
5591         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
5592         __libc_vfork.
5593         (__vfork) [IS_IN (libc)]: Remove alias.
5594         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
5595         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5596         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5598 2016-06-24  Torvald Riegel  <triegel@redhat.com>
5600         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
5601         of atomic_compare_and_exchange_bool_rel.
5602         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5603         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
5604         catomic_compare_and_exchange_bool_rel): Remove.
5605         * sysdeps/aarch64/atomic-machine.h
5606         (atomic_compare_and_exchange_bool_rel): Likewise.
5607         * sysdeps/alpha/atomic-machine.h
5608         (atomic_compare_and_exchange_bool_rel): Likewise.
5609         * sysdeps/arm/atomic-machine.h
5610         (atomic_compare_and_exchange_bool_rel): Likewise.
5611         * sysdeps/mips/atomic-machine.h
5612         (atomic_compare_and_exchange_bool_rel): Likewise.
5613         * sysdeps/microblaze/atomic-machine.h
5614         ( __arch_compare_and_exchange_bool_8_rel,
5615         __arch_compare_and_exchange_bool_16_rel): Likewise.
5616         * sysdeps/powerpc/atomic-machine.h
5617         ( __arch_compare_and_exchange_bool_8_rel,
5618         __arch_compare_and_exchange_bool_16_rel): Likewise.
5619         * sysdeps/powerpc/powerpc32/atomic-machine.h
5620         ( __arch_compare_and_exchange_bool_32_rel,
5621         __arch_compare_and_exchange_bool_64_rel): Likewise.
5622         * sysdeps/powerpc/powerpc64/atomic-machine.h
5623         ( __arch_compare_and_exchange_bool_32_rel,
5624         __arch_compare_and_exchange_bool_64_rel): Likewise.
5625         * sysdeps/tile/atomic-machine.h
5626         (atomic_compare_and_exchange_bool_rel): Likewise.
5628 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
5630         [BZ #20296]
5631         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
5632         when either argument is a NaN.
5633         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5634         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
5636         * math/libm-test.inc (snan_value_ld): New macro.
5637         (isgreater_test_data): Add sNaN tests.
5638         (isgreaterequal_test_data): Likewise.
5639         (isless_test_data): Likewise.
5640         (islessequal_test_data): Likewise.
5641         (islessgreater_test_data): Likewise.
5642         (isunordered_test_data): Likewise.
5643         (nextafter_test_data): Likewise.
5644         (nexttoward_test_data): Likewise.
5645         (remainder_test_data): Likewise.
5646         (remquo_test_data): Likewise.
5647         (significand_test_data): Likewise.
5648         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
5650 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5652         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
5653         environment macros are defined.
5654         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
5656 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5658         [BZ #20191]
5659         Implement vtable verification in libio.
5660         * Makerules (shlib.lds): Place __libc_IO_vtables section.
5661         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
5662         * debug/vdprintf_chk.c (__vdprintf_chk): Call
5663         _IO_new_file_init_internal instead of _IO_file_init.
5664         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
5665         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
5666         * libio/Makefile (routines): Add vtables.
5667         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
5668         (_IO_init): Remove, not for internal use.
5669         (_IO_init_internal): Declare, internal replacement for _IO_init.
5670         (_IO_file_init): Remove, not for internal use.
5671         (_IO_new_file_init): Remove, not for internal use.
5672         (_IO_new_file_init_internal): Declare, internal replacement for
5673         _IO_new_file_init.
5674         (_IO_old_file_init): Remove, not for internal use.
5675         (_IO_old_file_init_internal): Declare, internal replacement for
5676         _IO_old_file_init.
5677         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
5678         internal use.
5679         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
5680         Declare.
5681         (libio_vtable): New macro.
5682         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
5683         functions.
5684         * libio/fileops.c (_IO_new_file_init_internal): Rename from
5685         _IO_new_file_init.
5686         (_IO_new_file_init): New externally visible wrapper which disables
5687         vtable verification.
5688         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
5689         Define as vtables.
5690         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
5691         (_IO_init): New externally visible wrapper which disables
5692         vtable verification.
5693         * libio/iofdopen.c (_IO_new_fdopen): Call
5694         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
5695         comment.
5696         * libio/iofopen.c (__fopen_internal): Call
5697         _IO_new_file_init_internal instead of _IO_file_init.
5698         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
5699         Define as vtables.
5700         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
5701         _IO_new_file_init_internal instead of _IO_file_init.
5702         * libio/iopopen.c (_IO_new_popen): Likewise.
5703         (_IO_proc_jumps): Define as vtable.
5704         * libio/iovdprintf.c (_IO_vdprintf): Call
5705         _IO_new_file_init_internal instead of _IO_file_init.
5706         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
5707         (__open_memstream): Call _IO_init_internal instead of _IO_init.
5708         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
5709         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
5710         _IO_old_file_init.
5711         (_IO_old_file_init): New externally visible wrapper which disables
5712         vtable verification.
5713         (_IO_old_file_jumps): Define as vtable.
5714         * libio/oldiofdopen.c (_IO_old_fdopen): Call
5715         _IO_old_file_init_internal instead of _IO_old_file_init.
5716         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5717         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5718         (_IO_old_proc_jumps): Define as vtable.
5719         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
5720         Define as vtables.
5721         * libio/vtables.c: New file.
5722         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
5723         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
5724         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
5725         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
5726         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
5727         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
5728         instead of _IO_init.
5730 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5732         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
5734 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5736         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
5737         potentially unused.
5739 2016-06-22  Florian Weimer  <fweimer@redhat.com>
5741         * test-skeleton.c (write_message): New function.
5742         * malloc/tst-mallocfork2.c (write_message): Remove.
5743         * debug/tst-longjmp_chk2.c (write_indented): New function.
5744         (write_message): Remove.
5745         (stackoverflow_handler): Call write_indented.
5747 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
5749         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
5750         "inexact" exceptions after fnstenv.
5751         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5752         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5753         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5755 2015-06-22  Zack Weinberg  <zackw@panix.com>
5757         * sysdeps/generic/bits/hwcap.h: Moved to ...
5758         * bits/hwcap.h: Here.
5760 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
5762         * sysdeps/aarch64/memcpy.S (memcpy):
5763         Further tuning for performance.
5765 2016-06-21  Florian Weimer  <fweimer@redhat.com>
5767         [BZ #20284]
5768         * malloc/arena.c (reused_arena): Do not return NULL if we start
5769         out with a non-corrupted arena.
5771 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5773         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
5774         * misc/tst-preadvwritev.c: New file.
5775         * misc/tst-preadvwritev64.c: Likewise.
5776         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
5777         usage.
5778         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
5779         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5780         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5781         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5783 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5785         [BZ #19654]
5786         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5787         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5788         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5789         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5790         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5791         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5792         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5793         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5794         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5795         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5796         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5797         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5798         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5799         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5800         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5801         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5802         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5803         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5804         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5805         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5806         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5807         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5808         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5809         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5810         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5811         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5813 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5815         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5816         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5818 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5820         * sysdeps/aarch64/memcpy.S (memcpy):
5821         Rewrite of optimized memcpy and memmove.
5822         * sysdeps/aarch64/memmove.S (memmove): Remove
5823         memmove code (merged into memcpy.S).
5825 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5827         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5828         * sysdeps/generic/dl-dtv.h: New file.
5829         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5830         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5831         (dtv_t): Remove.
5832         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5833         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5834         (dtv_t): Remove.
5835         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5836         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5837         (dtv_t): Remove.
5838         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5839         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5840         (dtv_t): Remove.
5841         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5842         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5843         (dtv_t): Remove.
5844         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5845         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5846         (dtv_t): Remove.
5847         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5848         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5849         (dtv_t): Remove.
5850         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5851         (dtv_t): Remove.
5852         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5853         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5854         (dtv_t): Remove.
5855         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5856         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5857         (dtv_t): Remove.
5858         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5859         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5860         (dtv_t): Remove.
5861         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5862         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5863         (dtv_t): Remove.
5864         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5865         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5866         (dtv_t): Remove.
5867         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5868         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5869         (dtv_t): Remove.
5870         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5871         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5872         (dtv_t): Remove.
5873         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5874         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5875         (dtv_t): Remove.
5877 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5879         Revert symbol poisoning of  __malloc_initialize_hook.
5880         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5881         poisoning.
5882         * malloc/Makefile: Remove un-poisoning.
5883         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5884         instead of old__malloc_initialize_hook.
5885         * malloc/malloc-hooks.h: Likewise.
5886         * malloc/malloc.c: Likewise.
5887         * malloc/mcheck-init.c: Likewise.
5889 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5891         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5893 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5895         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5896         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5897         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5898         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5900 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5902         * NEWS: Mention addition of nextup and nextdown.
5903         * manual/arith.texi: Document nextup and nextdown.
5904         * manual/libm-err-tab.pl: Add nextup and nextdown.
5905         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5906         * math/Versions (libm): Add GLIBC_2.24.
5907         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5908         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5909         Add new test.
5910         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5911         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5912         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5913         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5914         (nextup_test_data): Likewise.
5915         (nextdown_test_data): Likewise.
5916         * math/s_nextdown.c: New file.
5917         * math/s_nextdownf.c: Likewise.
5918         * math/s_nextdownl.c: Likewise.
5919         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5920         F(nextup): New function.
5921         F(nextdown): Likewise.
5922         * math/tgmath.h: Add nextup and nextdown.
5923         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5924         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5925         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5926         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5927         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5928         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5929         Add nextup and nextdown.
5930         (CFLAGS-nldbl-nextup.c): New variable.
5931         (CFLAGS-nldbl-nextdown.c): Likewise.
5932         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5933         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5934         * sysdeps/nacl/libm.abilist: Update.
5935         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5936         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5937         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5938         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5939         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5940         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5941         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5942         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5943         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5944         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5945         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5946         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5949         Likewise.
5950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5952         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5953         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5954         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5955         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5956         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5959         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5960         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5961         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5962         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5964 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5966         * manual/pattern.texi: Fix typos & grammar errors.
5968 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5970         * manual/search.texi: Fix typos & grammar errors.
5972 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5974         * manual/message.texi: Fix typos & grammar errors.
5976 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5978         * manual/contrib.texi: Fix spelling typos.
5979         * manual/crypt.texi: Likewise.
5980         * manual/filesys.texi: Likewise.
5981         * manual/locale.texi: Likewise.
5982         * manual/message.texi: Likewise.
5983         * manual/nss.texi: Likewise.
5984         * manual/string.texi: Likewise.
5986 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5988         * manual/locale.texi: Fix typos & grammar errors.
5990 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5992         * manual/charset.texi: Fix typos & grammar errors.
5994 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5996         * manual/string.texi: Fix typos.
5998 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6000         * manual/ctype.texi: Fix typos.
6002 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6004         * manual/memory.texi: Fix various typos & grammar errors.
6006 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6008         [BZ #20255]
6009         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6010         * math/libm-test.inc (fdim_test_data): Add another test.
6012         [BZ #6796]
6013         [BZ #20255]
6014         [BZ #20256]
6015         * math/s_fdim.c: Include <math_private.h>.
6016         (__fdim): Use math_narrow_eval on result.
6017         * math/s_fdimf.c: Include <math_private.h>.
6018         (__fdimf): Use math_narrow_eval on result.
6019         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6020         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6021         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6022         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6023         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6024         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6025         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6026         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6027         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6028         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6029         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6030         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6031         overflow.  Add sNaN tests.
6033         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6034         fpclassify.
6035         * math/s_fdimf.c (__fdimf): Likewise.
6036         * math/s_fdiml.c (__fdiml): Likewise.
6038 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6040         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6041         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6043         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6044         ifunc'ed strcasecmp/strncasecmp.
6045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6046         [EALIGN]: Removed.
6047         [END]: Likewise.
6048         [__strcasecmp]: Define instead of the above to control symbol name.
6049         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6050         for __strcasecmp_power8.
6051         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6052         for __strncasecmp_power8.
6053         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6054         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6055         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6056         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6057         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6058         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6060 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6062         [BZ #20252]
6063         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6064         arguments when second argument is a NaN.
6065         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6066         qNaN tests.
6068         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6069         (conj_test_data): Likewise.
6070         (copysign_test_data): Likewise.
6071         (creal_test_data): Likewise.
6072         (fma_test_data): Likewise.
6073         (fmod_test_data): Likewise.
6075         [BZ #20250]
6076         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6077         itself.
6078         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6079         zero input to itself.
6080         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6081         Likewise.
6082         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6083         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6084         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6085         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6086         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6088 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6090         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6091         * nptl/tst-cancel4-common.c: New file.
6092         * nptl/tst-cancel4-common.h: Likewise.
6093         * nptl/tst-cancel4.c: Move common definitions to
6094         tst-cancel4-common.{c,h} file.
6095         * nptl/tst-cancel4_1.c: New test.
6096         * nptl/tst-cancel4_2.c: New test.
6098 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6100         [BZ #20248]
6101         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6102         (write_message): New function.
6103         (stackoverflow_handler): Call it instead of printf, to avoid
6104         excessive stack usage by printf.
6105         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6107 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6109         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6110         (prio_inherit_missing): Remove define.
6111         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6112         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6113         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6114         Likewise.
6115         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6116         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6117         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6118         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6119         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6120         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6122 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6124         [BZ #19670]
6125         [BZ #19672]
6127         * io/test-lfs.c (do_prepare): Use xmalloc.
6128         * io/tst-fcntl.c (do_prepare): Likewise.
6129         * libio/tst-fopenloc.c (do_bz17916): Likewise.
6130         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
6131         * login/tst-utmp.c (do_prepare): Likewise.
6132         * posix/tst-exec.c (do_prepare): Likewise.
6133         * posix/tst-pathconf.c (prepare): Likewise.
6134         * posix/tst-spawn.c (do_prepare): Likewise.
6135         * posix/tst-truncate.c (do_prepare): Likewise.
6136         * rt/tst-aio.c (do_prepare): Likewise.
6137         * rt/tst-aio64.c (do_prepare): Likewise.
6139 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6141         [BZ #20237]
6142         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
6143         (get*ent): Set entidx to NULL during initialization.  If entidx is
6144         NULL, start iteration from the beginning.
6146 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6148         * malloc/malloc.c (musable): Return correct size for dumped fake
6149         mmapped chunk.
6151 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6153         [BZ #20222]
6154         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
6155         (_IO_cookie_write): Likewise.
6156         (_IO_cookie_seek): Likewise.
6157         (_IO_cookie_close): Likewise.
6158         (_IO_old_cookie_seek): Likewise.
6159         (set_callbacks): New function.
6160         (_IO_cookie_init): Call set_callbacks to copy callbacks.
6162 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
6164         * locale/programs/localedef.c (oldstyle_tables): Remove.
6165         * locale/programs/localedef.h (oldstyle_tables): Likewise.
6167 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
6169         [BZ #20240]
6170         * math/Makefile (CFLAGS-s_modf.c): New variable.
6171         (CFLAGS-s_modff.c): Likewise.
6172         (CFLAGS-s_modfl.c): Likewise.
6173         * math/libm-test.inc (modf_test_data): Add sNaN tests.
6175 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
6177         [BZ #20215]
6178         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
6179         [!__GNUC_PREREQ (3,2)]: Likewise.
6181 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6183         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
6184         (msghdr.msg_controllen): Likewise.
6185         (cmsghdr.cmsg_len): Likewise.
6186         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
6187         ptw-oldsendmsg.
6188         (CFLAGS-oldrecvmsg.c): Remove rule.
6189         (CFLAGS-oldsendmsg.c): Likewise.
6190         (CFLAGS-recvmsg.c): Add rule.
6191         (CFLAGS-sendmsg.c): Likewise.
6192         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6193         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
6194         (CFLAGS-recvmsg.c): Remove rule.
6195         (CFLAGS-sendmsg.c): Likewise.
6196         (CFLAGS-oldrecvmsg.c): Likewise.
6197         (CFLAGS-oldsendmsg.c): Likewise.
6198         (CFLAGS-recvmmsg.c): Likewise.
6199         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
6200         to kernel defined interfaces.
6201         (msghdr.msg_controllen): Likewise.
6202         (cmsghdr.cmsg_len): Likewise.
6203         (msghdr.__glibc_reserved1): Remove member.
6204         (msghdr.__glibc_reserved2): Likewise.
6205         (cmsghdr.__glibc_reserved1): Likewise.
6206         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
6207         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
6208         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6209         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6210         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
6211         version.
6212         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6213         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
6214         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6215         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
6216         Remove recvmsg and sendmsg.
6217         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
6218         Likewise.
6219         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6220         Likewise.
6221         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6222         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6223         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6224         Likewise.
6225         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6226         Likewise.
6227         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
6228         [libc] (GLIBC_2.24): Likewise.
6229         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6230         Likewise.
6231         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6232         Likewise.
6233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6234         [libc] (GLIBC_2.24): Likewise.
6235         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6236         Likewise.
6237         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6238         Likewise.
6239         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6240         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6241         Likewise.
6242         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6243         Likewise.
6244         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6245         Likewise.
6246         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
6247         Likewise.
6248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
6249         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
6250         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
6251         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
6252         version for {recv,send,recm,sendm}msg.
6253         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6254         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6255         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6256         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6257         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6258         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6259         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6260         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6261         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6262         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6263         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6264         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6266         Likewise.
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6268         Likewise.
6269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6271         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6272         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6273         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6274         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6275         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6276         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6279         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6280         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6281         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6283 2016-06-10  Florian Weimer  <fweimer@redhat.com>
6285         [BZ #19564]
6286         Remove __malloc_initialize_hook from the API.
6287         * malloc/malloc.h (__malloc_initialize_hook): Remove.
6288         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
6289         #pragma GCC poison.
6290         * malloc/malloc-hooks.h: New file.
6291         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
6292         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
6293         (old__malloc_initialize_hook): Rename from
6294         __malloc_initialize_hook to evade poisoning.  Turn into compat
6295         symbol.
6296         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
6297         __malloc_initialize_hook.
6298         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
6299         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
6300         * manual/memory.texi (Hooks for Malloc): Remove
6301         __malloc_initialize_hook.  Adjust hook example.
6303 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
6305         [BZ #20235]
6306         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
6307         itself.
6308         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6309         * math/libm-test.inc (log2_test_data): Add sNaN tests.
6311         [BZ #20234]
6312         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6313         infinity or NaN input to itself.
6315         [BZ #20233]
6316         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6317         to itself.
6319         [BZ #20232]
6320         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6321         itself.
6323 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6325         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6326         __libc_start_main via GOT.
6328 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6330         * sysdeps/x86_64/memcopy.h: New file.
6331         * sysdeps/x86_64/wordcopy.c: Likewise.
6333 2016-06-09  Florian Weimer  <fweimer@redhat.com>
6335         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6336         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6337         <cstdlib>.
6338         (optimization_barrier): New.
6339         (do_test): Use it.  Call quick_exit in the global namespace.
6340         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6341         instead of <cstdlib>, <thread>.
6342         (optimization_barrier): New.
6343         (non_main_thread): Adjust declaration.  Call optimization_barrier.
6344         Call quick_exit in the global namespace.
6345         (do_test): Call optimization_barrier.  Use pthread_create,
6346         pthread_join instead of std::thread.
6348 2016-06-09  Andreas Schwab  <schwab@suse.de>
6350         [BZ #19755]
6351         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6352         new entries in auto-propagate mode.
6353         * nscd/grpcache.c (cache_addgr): Likewise.
6355 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6357         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6358         New functions.
6359         (add_temp_file): Use them.
6361 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
6363         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6365 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
6367         [BZ #20229]
6368         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6369         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6370         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6372         [BZ #20228]
6373         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6374         itself.
6375         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6376         * math/libm-test.inc (log10_test_data): Add sNaN tests.
6378         [BZ #20227]
6379         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6380         itself.
6381         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6382         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6383         * math/libm-test.inc (log_test_data): Add sNaN tests.
6385         [BZ #20226]
6386         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6387         itself.
6388         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6389         * math/libm-test.inc (exp_test_data): Add sNaN tests.
6390         (exp10_test_data): Likewise.
6391         (expm1_test_data): Likewise.
6393         [BZ #20225]
6394         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6395         itself.
6396         * math/s_ldexpf.c (__ldexpf): Likewise.
6397         * math/s_ldexpl.c (__ldexpl): Likewise.
6398         * math/w_scalbln.c (__w_scalbln): Likewise.
6399         * math/w_scalblnf.c (__w_scalblnf): Likewise.
6400         * math/w_scalblnl.c (__w_scalblnl): Likewise.
6401         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6402         (scalbln_test_data): Likewise.
6404         [BZ #20224]
6405         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6406         argument to itself.
6407         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6409 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6411         [BZ #19776]
6412         * sysdeps/x86_64/memcpy.S: Make it dummy.
6413         * sysdeps/x86_64/mempcpy.S: Likewise.
6414         * sysdeps/x86_64/memmove.S: New file.
6415         * sysdeps/x86_64/memmove_chk.S: Likewise.
6416         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6417         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6418         * sysdeps/x86_64/memmove.c: Removed.
6419         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6420         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6421         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
6422         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6423         Likewise.
6424         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6425         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6427         memcpy-sse2-unaligned, memmove-avx-unaligned,
6428         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
6429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6430         (__libc_ifunc_impl_list): Replace
6431         __memmove_chk_avx512_unaligned_2 with
6432         __memmove_chk_avx512_unaligned.  Remove
6433         __memmove_chk_avx_unaligned_2.  Replace
6434         __memmove_chk_sse2_unaligned_2 with
6435         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
6436         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
6437         with __memmove_avx512_unaligned.  Replace
6438         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
6439         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
6440         with __memcpy_chk_avx512_unaligned.  Remove
6441         __memcpy_chk_avx_unaligned_2.  Replace
6442         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
6443         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
6444         Replace __memcpy_avx512_unaligned_2 with
6445         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
6446         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
6447         with __mempcpy_chk_avx512_unaligned.  Remove
6448         __mempcpy_chk_avx_unaligned_2.  Replace
6449         __mempcpy_chk_sse2_unaligned_2 with
6450         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
6451         Replace __mempcpy_avx512_unaligned_2 with
6452         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
6453         Replace __mempcpy_sse2_unaligned_2 with
6454         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
6455         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
6456         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
6457         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
6458         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
6459         (ENTRY): Removed.
6460         (END): Likewise.
6461         (ENTRY_CHK): Likewise.
6462         (libc_hidden_builtin_def): Likewise.
6463         Don't include ../memcpy.S.
6464         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
6465         __memcpy_chk_avx512_unaligned_erms and
6466         __memcpy_chk_avx512_unaligned.  Use
6467         __memcpy_chk_avx_unaligned_erms and
6468         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6469         Default to __memcpy_chk_sse2_unaligned.
6470         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6471         Change function suffix from unaligned_2 to unaligned.
6472         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
6473         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
6474         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
6475         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
6476         (ENTRY): Removed.
6477         (END): Likewise.
6478         (ENTRY_CHK): Likewise.
6479         (libc_hidden_builtin_def): Likewise.
6480         Don't include ../mempcpy.S.
6481         (mempcpy): New.  Add a weak alias.
6482         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
6483         __mempcpy_chk_avx512_unaligned_erms and
6484         __mempcpy_chk_avx512_unaligned.  Use
6485         __mempcpy_chk_avx_unaligned_erms and
6486         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6487         Default to __mempcpy_chk_sse2_unaligned.
6489 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6491         [BZ #19881]
6492         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
6493         into ...
6494         * sysdeps/x86_64/memset.S: This.
6495         (__bzero): Removed.
6496         (__memset_tail): Likewise.
6497         (__memset_chk): Likewise.
6498         (memset): Likewise.
6499         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
6500         defined.
6501         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
6502         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
6503         (__memset_zero_constant_len_parameter): Check SHARED instead of
6504         PIC.
6505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6506         memset-avx2 and memset-sse2-unaligned-erms.
6507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6508         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
6509         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
6510         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6511         (__bzero): Enabled.
6512         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
6513         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
6514         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
6515         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
6516         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6517         (memset): Removed.
6518         (__memset_chk): Likewise.
6519         (MEMSET_SYMBOL): New.
6520         (libc_hidden_builtin_def): Replace __memset_sse2 with
6521         __memset_sse2_unaligned.
6522         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
6523         __memset_chk_sse2 and __memset_chk_avx2 with
6524         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
6525         Use __memset_chk_sse2_unaligned_erms or
6526         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
6527         __memset_chk_avx512_unaligned_erms and
6528         __memset_chk_avx512_unaligned.
6530 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6532         * math/gen-auto-libm-test.c (fp_format_desc): remove
6533         suffix member.
6534         (output_generic_value): Remove usage of suffix member,
6535         and the resulting unuse of the fp_format argument.
6536         (output_for_one_input_case): Remove unused fp_format
6537         parameter.
6539         * math/auto-libm-test-out: Regenerate.
6541         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
6542         usage with TEST_COND_ibm128.
6543         (TEST_COND_flt_32): Remove.
6544         (TEST_COND_dbl_64): Remove.
6545         (TEST_COND_ldbl_96_intel): Remove.
6546         (TEST_COND_ldbl_96_m68k): Remove.
6547         (TEST_COND_ldbl_128): Remove.
6549 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6551         * auto-libm-test-in:
6552         Replace flt-32 usage with binary32.
6553         Replace dbl-64 usage with binary64.
6554         Replace ldbl-intel-96 usage with intel96.
6555         Replace ldbl-m68k-96 usage with m68k96.
6556         Replace ldbl-128ibm usage with ibm128.
6557         Replace ldbl-128 usage with binary128.
6559         * auto-libm-test-out: Regenerate.
6561 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6563         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
6564         (parse_ulps): Dynamically generate type name matching
6565         string from all_floats.
6566         (get_ulps): Generate the ulps as an array instead.
6567         (output_ulps): Dynamically compose the type based
6568         on the number of supported formats, and print
6569         the indices as type specific helper macros.
6571         * math/libm-test.inc: Remove comment about CHOOSE.
6572         (ulp_data): Generate the type in libm-test-ulps.h.
6573         (ULP_IDX): New macro.
6574         (find_ulps): Update usage of max_ulp.
6576         * math/test-double-vlen2.h (CHOOSE): Remove.
6577         * math/test-double-vlen4.h (CHOOSE): Likewise.
6578         * math/test-double-vlen8.h (CHOOSE): Likewise.
6579         * math/test-float.c (CHOOSE): Likewise.
6580         * math/test-float-finite.c (CHOOSE): Likewise.
6581         * math/test-double.c (CHOOSE): Likewise.
6582         * math/test-double-finite.c (CHOOSE): Likewise.
6583         * math/test-idouble.c (CHOOSE): Likewise.
6584         * math/test-ifloat.c (CHOOSE): Likewise.
6585         * math/test-ildoubl.c (CHOOSE): Likewise.
6586         * math/test-ldouble-finite.c (CHOOSE): Likewise.
6587         * math/test-ldouble.c (CHOOSE): Likewise.
6589         * math/test-float.h (TEST_FLOAT): Remove.
6590         * math/test-double.h (TEST_DOUBLE): Likewise.
6591         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
6593 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6595         * math/gen-libm-test.pl: (apply_lit): New subroutine.
6596         (parse_args): Strip C suffix from floating point literals
6597         typed with 'f' and wrap them with LIT().
6599         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
6600         (test_ff_f_data_nexttoward): Rename to
6601         (test_fj_f_data): New struct.
6602         (nexttoward_test_data): Relabel tests as
6603         TEST_fj_f instead of TEST_ff_f.
6605 2016-06-08  Florian Weimer  <fweimer@redhat.com>
6607         Emacs bug 23726.
6608         * malloc/malloc.c (dumped_main_arena_start): Update comment.
6609         (__libc_realloc): Correct size computation for dumped fake mmapped
6610         chunks.
6612 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
6614         [BZ #20219]
6615         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
6616         to itself.
6617         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
6619         [BZ #20218]
6620         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
6621         to itself.
6622         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
6624 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
6626         [BZ #20195]
6627         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
6628         check to ...
6629         (init_cpu_features): Here.
6631 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
6633         [BZ #20214]
6634         * sysdeps/unix/sysv/linux/bits/in.h
6635         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6636          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
6637         Define to 1.
6638         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6639          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
6640         Define to 0.
6641         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
6642         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
6644 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
6646         [BZ #20198]
6647         * stdlib/Makefile (tests): Add tst-quick_exit, and
6648         tst-thread-quick_exit.
6649         [ifeq ($(have-cxx-thread_local),yes)]
6650         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
6651         (CFLAGS-tst-thread-quick_exit.o): Likewise.
6652         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
6653         (LDLIBS-tst-thread-quick_exit): Likewise.
6654         [ifneq ($(have-cxx-thread_local),yes)]
6655         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
6656         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
6657         If run_dtors is true call __call_tls_dtors.
6658         (exit): Call __run_exit_handlers with run_dtors set to true.
6659         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
6660         definition.
6661         * stdlib/quick_exit.c (quick_exit): Remove function.
6662         (__new_quick_exit): New function.
6663         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
6664         function.
6665         * stdlib/tst-quick_exit.cc: New file.
6666         * stdlib/tst-thread-quick_exit.cc: New file.
6667         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
6668         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
6669         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
6670         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
6671         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
6672         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
6673         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
6674         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
6675         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
6676         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
6677         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
6678         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
6679         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
6680         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
6681         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
6682         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
6684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
6685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
6686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
6687         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
6688         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
6689         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
6690         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
6691         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
6692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
6693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
6694         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
6695         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
6696         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
6698 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6700         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
6701         a typo in comments.
6703 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6705         [BZ #20213]
6706         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
6707         argument to itself.
6708         * math/libm-test.inc (asin_test_data): Add sNaN tests.
6710 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6712         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
6713         required flags.
6714         (CFLAGS-pwritev64.c): Likewise.
6715         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
6716         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6717         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
6718         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6719         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
6720         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
6721         syscall from auto-generation.
6722         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
6723         [WORDSIZE == 64] (pwritev64): Remove macro.
6724         [!PWRITEV] (PWRITEV): Likewise.
6725         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6726         [!PWRITEV] (PWRITE): Likewise.
6727         [!PWRITEV] (OFF_T): Likewise.
6728         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6729         (LO_HI_LONG): Remove macro.
6730         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
6731         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
6732         (PWRITEV): Remove macro.
6733         (PWRITEV_REPLACEMENTE): Likewise.
6734         (PWRITE): Likewise.
6735         (OFF_T): Likewise.
6736         (pwritev64): New function.
6737         * nptl/tst-cancel4.c (tf_writev): Add test.
6739         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
6740         required flags.
6741         (CFLAGS-preadv64.c): Likewise.
6742         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
6743         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6744         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
6745         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
6746         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
6747         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
6748         syscall from auto-generation.
6749         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
6750         [WORDSIZE == 64] (preadv64): Remove macro.
6751         [!PREADV] (PREADV): Likewise.
6752         [!PREADV] (PREADV_REPLACEMENT): Likewise.
6753         [!PREADV] (PREAD): Likewise.
6754         [!PREADV] (OFF_T): Likewise.
6755         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
6756         (LO_HI_LONG): Remove macro.
6757         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
6758         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
6759         (PREADV): Remove macro.
6760         (PREADV_REPLACEMENTE): Likewise.
6761         (PREAD): Likewise.
6762         (OFF_T): Likewise.
6763         (preadv64): New function.
6764         * nptl/tst-cancel4.c (tf_preadv): Add test.
6766 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6768         [BZ #20212]
6769         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
6770         argument to itself.
6771         * math/libm-test.inc (acos_test_data): Add sNaN tests.
6773 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6775         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
6776         New symbol defined as libc_hidden_def.
6777         (strcasestr): Became a weak alias to __strcasestr.
6778         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
6779         according to multi-arch support.  Move __stpncpy hidden
6780         definition from here to...
6781         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
6782         symbol stpncpy.
6783         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6784         libc_hidden_builtin_def.
6785         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6786         memset symbol to use when multi-arch support is available.
6788 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6790         * dlfcn/tst-rec-dlopen.c: Include string.h.
6792 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6794         * manual/install.texi: Remove mention of --without-tls
6795         * INSTALL: Regenerate.
6797 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6799         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6800         Remove.
6801         (call_function, interposed_malloc_called): New variables.
6802         (malloc): New function.
6803         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6804         and clear call_function as needed.
6806 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6808         * include/wchar.h (__wmemset): Use __typeof.
6810 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6812         * include/wchar.h (__wmemset): Declare function without typeof.
6814 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6816         [BZ #20205]
6817         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6818         exponent when incrementing negative subnormal with low mantissa
6819         word zero.
6820         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6821         Add another test.
6823 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6825         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6826         __wmemset instead of wmemset.
6828 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6830         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6831         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6832         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6833         __USE_KERNEL_IPV6_DEFS to 0.
6834         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6835         Update comment.
6837 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6839         [BZ #19861]
6840         Do not use IFUNC resolver with potentially unrelocated symbol.
6841         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6842         (DEFINE_FORK): Remove macro and inline definition.
6843         (fork_alias): Renamed from fork_ifunc.
6844         (__fork_alias): Renamed from __fork_ifunc.
6846 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6848         [BZ 19653]
6849         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6850         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6852 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6854         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6855         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6856         i386-linux-gnu).
6857         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6858         Set to no.
6859         * sysdeps/mach/hurd/configure: Refresh.
6861 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6863         [BZ #20178]
6864         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6865         on failure instead of exit.
6867 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6869         [BZ #3629]
6870         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6871         of POSIX.1-2008.
6873 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6875         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6876           Use PLT entry for calling _hurd_self_sigstate.
6878 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6880         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6881         available logical processors with SMT level type sharing L2
6882         cache for Intel processors.
6884 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6886         [BZ #20160]
6887         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6888         argument to itself before returning the result.
6889         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6890         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6891         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6892         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6893         Likewise.
6894         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6895         Likewise.
6896         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6897         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6898         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6899         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6900         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6901         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6903         [BZ #20160]
6904         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6905         argument to itself before returning the result.
6906         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6907         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6908         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6909         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6910         Likewise.
6911         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6912         Likewise.
6913         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6914         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6915         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6916         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6917         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6918         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6920 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6922         * libm-test.inc: Replace usage of M_El with
6923         (lit_e): New macro.
6925 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6927         * libm-test.inc: Replace usage of M_PI_4l with
6928         (lit_pi_4_d): New macro.
6930 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6932         * libm-test.inc: Replace usage of M_PIl with
6933         (lit_pi): New macro.
6935 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6937         * libm-test.inc: Replace usage of M_PI2l with
6938         (lit_pi_2_d): New macro.
6940         * math/test-double.h (LITM): New macro.
6941         * math/test-float.h (LITM): Likewise.
6942         * math/test-ldouble.h (LITM): Likewise.
6944 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6946         * libm-test.inc (M_PI_34l): Rename to
6947         (lit_pi_3_m_4_d): New Macro.
6948         (M_PI_34_LOG10El): Rename to
6949         (lit_pi_3_m_4_ln10_m_d): New Macro.
6950         (M_PI2_LOG10El): Rename to
6951         (lit_pi_2_ln10_m_d):  New Macro.
6952         (M_PI4_LOG10El): Rename to
6953         (lit_pi_4_ln10_m_d):  New Macro.
6954         (M_PI_LOG10El): Rename to
6955         (lit_pi_ln10_d):  New Macro.
6957 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6959         [BZ #20157]
6960         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6961         determine whether to negate low half if [_ARCH_PPCGR], and integer
6962         comparison otherwise.
6963         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6964         determine whether to negate low half.
6966         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6967         (NO_TEST_INLINE_DOUBLE): Likewise.
6968         (TEST_COND_x86_64): Likewise.
6969         (TEST_COND_x86): Likewise.
6970         (M_PI_6l): Likewise.
6972 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6974         * math/libm-test.inc:
6975         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6976         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6977         (TEST_LDOUBLE): Update usage to evaluate as true if
6978         the guarded tests match the property being tested.
6979         (LDBL_MAX_EXP): Change to MAX_EXP.
6980         (LDBL_MIN_EXP): Change to MIN_EXP.
6981         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6982         nexttoward tests.
6984 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6986         * math/libm-test.inc:
6987         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6988         (TYPE_MIN): Likewise.
6989         (TYPE_TRUE_MIN): Likewise.
6990         (TYPE_MAX): Likewise.
6991         (MIN_EXP): Likewise.
6992         (MAX_EXP): Likewise.
6993         (MANT_DIG): Likewise.
6995         (FSTR_MAX): New macro.
6996         (__CONCATX): Likewise.
6997         (QTYPE_STR): Likewise.
6998         (TEST_COND_binary32): Likewise.
6999         (TEST_COND_binary64): Likewise.
7000         (TEST_COND_binary128): Likewise.
7001         (TEST_COND_ibm128): Likewise.
7002         (TEST_COND_intel96): Likewise.
7003         (TEST_COND_m68k96): Likewise.
7005         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7006         (TEST_COND_dbl_64): Likewise.
7007         (TEST_COND_ldbl_96_intel): Likewise.
7008         (TEST_COND_ldbl_96_m68k): Likewise.
7009         (TEST_COND_ldbl_128): Likewise.
7010         (TEST_COND_ldbl_128ibm): Likewise.
7012         (plus_zero): Redefine using LIT macro.
7013         (minus_zero): Likewise.
7014         (plus_infty): Redefine as (INF).
7015         (minux_infty): Redefine as (-INF).
7016         (max_value): Redefine as TYPE_MAX.
7017         (min_value): Redefine as TYPE_MIN.
7018         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7020         (print_float): Refactor to use snprintf to convert FLOAT values
7021         to string. This brings it closer to dropin replacement of strtof
7022         for the TS 18661 defined types.
7023         (update_stats): Likewise.
7024         (print_complex_function_ulps): Likewise.
7025         (print_max_error): Likewise.
7026         (print_complex_max_error): Likewise.
7027         (check_float_internal): Likewise.
7029         * math/test-float.h (PREFIX): New macro.
7030         (LIT): Likewise.
7031         (TYPE_STR): Likewise.
7032         (FTOSTR): Likewise.
7034         * math/test-double.h (PREFIX): New macro.
7035         (LIT): Likewise.
7036         (TYPE_STR): Likewise.
7037         (FTOSTR): Likewise.
7039         * math/test-ldouble.h (PREFIX): New macro.
7040         (LIT): Likewise.
7041         (TYPE_STR): Likewise.
7042         (FTOSTR): Likewise.
7044 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7046         [BZ #20156]
7047         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7048         to itself when zero or not finite.
7049         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7050         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7051         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7052         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7054 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7056         [BZ #20153]
7057         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7058         x * x + x for infinities and NaNs.
7060         [BZ #20151]
7061         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7062         argument to itself before returning result.
7063         (__ieee754_y0l): Likewise.
7064         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7065         (__ieee754_y1l).
7067         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7068         (atan_test_data): Likewise.
7069         (ceil_test_data): Likewise.
7070         (cos_test_data): Likewise.
7071         (cosh_test_data): Likewise.
7072         (erf_test_data): Likewise.
7073         (exp2_test_data): Likewise.
7074         (fabs_test_data): Likewise.
7075         (floor_test_data): Likewise.
7076         (ilogb_test_data): Likewise.
7077         (j0_test_data): Likewise.
7078         (j1_test_data): Likewise.
7079         (jn_test_data): Likewise.
7080         (lgamma_test_data): Likewise.
7081         (lrint_test_data): Likewise.
7082         (llrint_test_data): Likewise.
7083         (logb_test_data): Likewise.
7084         (lround_test_data): Likewise.
7085         (llround_test_data): Likewise.
7086         (nearbyint_test_data): Likewise.
7087         (rint_test_data): Likewise.
7088         (round_test_data): Likewise.
7089         (sin_test_data): Likewise.
7090         (sincos_test_data): Likewise.
7091         (sinh_test_data): Likewise.
7092         (sqrt_test_data): Likewise.
7093         (tan_test_data): Likewise.
7094         (tanh_test_data): Likewise.
7095         (tgamma_test_data): Likewise.
7096         (trunc_test_data): Likewise.
7097         (y0_test_data): Likewise.
7098         (y1_test_data): Likewise.
7099         (yn_test_data): Likewise.
7101         * math/libm-test.inc: Update comment about NaN testing.
7102         (TEST_SNAN): New macro.
7103         (snan_value): Likewise.
7104         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7105         (fpclassify_test_data): Add sNaN tests.
7106         (isfinite_test_data): Likewise.
7107         (isinf_test_data): Likewise.
7108         (isnan_test_data): Likewise.
7109         (isnormal_test_data): Likewise.
7110         (issignaling_test_data): Likewise.
7111         (signbit_test_data): Likewise.
7112         * math/gen-libm-test.pl (%beautify): Add snan_value.
7113         (show_exceptions): Add argument $test_snan.
7114         (parse_args): Handle snan_value as non-finite.  Update call to
7115         show_exceptions.
7116         * math/Makefile (libm-test-no-inline-cflags): Add
7117         -fsignaling-nans.
7119 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7121         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7122         (CFLAGS-oldsendmsg.c): Add rule.
7123         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7124         Correct recvmsg symbol name.
7125         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7126         Likewise.
7128 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7130         * sysdeps/unix/sysv/linux/Makefile
7131         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
7132         oldsendmmsg.
7133         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
7134         sendmmsg.
7135         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7136         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7137         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7138         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7140         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7141         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7143         Likewise.
7144         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7145         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
7146         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7147         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
7148         iovlen and controllen fields to adjust to POSIX specification.
7149         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7151         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
7152         and change to correct expected type.
7153         (msghdr.msg_controllen): Likewise.
7154         (cmsghdr.cmsg_len): Likewise.
7155         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
7156         expected POSIX assumption about the size.
7157         (msghdr.msg_controllen): Likewise.
7158         (msghdr.__glibc_reserved1): Likewise.
7159         (msghdr.__glibc_reserved2): Likewise.
7160         (cmsghdr.cmsg_len): Likewise.
7161         (cmsghdr.__glibc_reserved1): Likewise.
7162         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
7163         Add ptw-oldrecvmsg and ptw-oldsendmsg.
7164         (CFLAGS-sendmsg.c): Remove rule.
7165         (CFLAGS-recvmsg.c): Likewise.
7166         (CFLAGS-oldsendmsg.c): Add rule.
7167         (CFLAGS-oldrecvmsg.c): Likewise.
7168         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
7169         recvmsg and sendmsg.
7170         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
7171         Likewise.
7172         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
7173         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
7174         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7175         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
7176         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7177         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7178         Likewise.
7179         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7180         Likewise.
7181         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
7182         Likewise.
7183         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
7184         Likewise.
7185         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7186         Likewise.
7187         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7188         Likewise.
7189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
7190         (GLIBC_2.24): Likewise.
7191         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7192         Likewise.
7193         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7194         Likewise.
7195         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7196         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7197         Likewise.
7198         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7199         Likewise.
7200         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7201         Likewise.
7202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
7203         (GLIBC_2.24): Likewise.
7204         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
7205         Likewise.
7206         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
7207         Likewise.
7208         * sysdeps/unix/sysv/linux/Makefile
7209         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
7210         (CFLAGS-sendmsg.c): Add rule.
7211         (CFLAGS-recvmsg.c): Likewise.
7212         (CFLAGS-oldsendmsg.c): Likewise.
7213         (CFLAGS-oldrecvmsg.c): Likewise.
7214         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
7215         initialization.
7216         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7217         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7218         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
7219         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7220         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
7221         iovlen and controllen fields to adjust to POSIX specification.
7222         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
7223         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
7224         added recvmsg and sendmsg.
7225         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7226         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7227         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7228         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7229         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7230         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7231         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7232         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7233         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7234         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7235         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7236         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7238         Likewise.
7239         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7241         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7242         Likewise.
7243         Likewise.
7244         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7245         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7246         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7247         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7248         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7249         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7251         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7253         Likewise.
7254         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7255         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7257         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
7258         from auto-generation.
7259         (sendmsg): Likewise.
7260         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
7261         (sendmsg): Likewise.
7262         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
7263         (sendmsg): Likewise.
7264         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
7265         (sendmsg): Likewise.
7266         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
7267         (sendmsg): Likewise.
7268         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
7269         (sendmsg): Likewise.
7270         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
7271         Likewise.
7272         (sendmsg): Likewise.
7273         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
7274         (sendmsg): Likewise.
7275         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7276         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7277         Remove.
7278         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7279         Likewise.
7280         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7281         Undefine.
7282         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7283         Likewise.
7284         * sysdeps/unix/sysv/linux/kernel-features.h
7285         (__ASSUME_SENDMSG_SYSCALL): Define.
7286         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7287         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7288         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7289         Remove.
7290         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7291         Likewise.
7292         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7293         Undefine.
7294         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7295         Likewise.
7296         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7298         Remove.
7299         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7300         Likewise.
7301         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7302         Undefine.
7303         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7304         Likewise.
7305         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7306         (__ASSUME_SENDMSG_SYSCALL): Undefine.
7307         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7308         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7309         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7310         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7311         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7312         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7313         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7315 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7317         * stdlib/gen-tst-strtod-round.c: Add backslash to
7318         compile command in comment.
7319         (printfp): Remove the literal suffix, and define an infinite
7320         value as INF to avoid expansion clash with INFINITY.
7321         (round_str): Remove the literal suffix.
7322         (round_for_all): Likewise, remove the now duplicate ldbl-64
7323         entry, and remove some magic constants.
7325         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7326         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7327         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7328         (_CONCAT): New macro.
7329         (CONCAT): Likewise.
7330         (CHOOSE_ld): Likewise.
7331         (CHOOSE_f): Likewise.
7332         (CHOOSE_d): Likewise.
7333         (FTYPE_MEMBER): Likewise.
7334         (BOOL_MEMBER): Likewise.
7335         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7336         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7337         (_XNTRY): Likewise.
7338         (XNTRY): Likewise.
7339         (_ENTRY): Likewise.
7340         (ENTRY): Likewise.
7341         (test_exactness): Generate members via macro.
7342         (test_results): Likewise.
7343         (test): Update members.
7344         (TEST): Redefine using new macros.
7345         (INF): New macro.
7346         (fetestmodes): New structure.
7347         (do_test): Refactor to be type generic.
7348         (test_in_one_mode): Refactor duplicate code into
7349         (GEN_ONE_TEST): New macro.
7351         * stdlib/tst-strtod-round-data.h: Regenerate.
7353         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7354         Extend to pass additional arbitrary parameters to
7355         generators.
7357 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
7359         [BZ #15479]
7360         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7361         floating-point state after first floating-point operation on
7362         input.  Restore full floating-point state instead of just rounding
7363         mode.
7364         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7365         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7366         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7367         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7368         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7370         [BZ #15479]
7371         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7372         floating-point state after first floating-point operation on
7373         input.  Restore full floating-point state instead of just rounding
7374         mode.
7375         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7376         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7377         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7378         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7379         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7381 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7383         [BZ #19727]
7384         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7385         valid high surrogate.
7386         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7387         of an utf16 surrogate.
7388         * iconv/gconv_simple.c (BODY): Likewise.
7389         * iconvdata/bug-iconv12.c: New file.
7390         * iconvdata/Makefile (tests): Add bug-iconv12.
7392 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7394         [BZ #19726]
7395         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7396         outptrp in case of an illegal input.
7397         * iconv/tst-iconv6.c: New file.
7398         * iconv/Makefile (tests): Add tst-iconv6.
7400 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7402         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7403         an error in case of a value in range of an utf16 low surrogate.
7405 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7407         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 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/s390-64/Makefile (iconvdata-subdirectory):
7413         Move to ...
7414         * sysdeps/s390/Makefile: ... here.
7415         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7416         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
7417         (BRANCH_ON_COUNT): New define.
7418         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
7419         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
7420         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
7421         run on s390-32, too.
7422         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
7423         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
7424         run on s390-32, too.
7425         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
7426         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
7427         run on s390-32, too.
7429 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7431         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
7432         etf3eh or new vector loop-variant.
7434 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7436         * sysdeps/s390/s390-64/utf8-utf16-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-utf32-z9.c: Use ifunc to select c, etf3eh
7442         or new vector loop-variant.
7444 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7446         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
7447         Rename to TR_LOOP and usage of tr instead of troo instruction.
7449 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7451         * sysdeps/s390/multiarch/gconv_simple.c: New File.
7452         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
7454 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7456         * sysdeps/s390/multiarch/8bit-generic.c: New File.
7457         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
7458         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
7459         New override define.
7460         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
7462 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7464         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
7465         * sysdeps/s390/configure.ac: Add test for S390 vector register
7466         support in gcc.
7467         * sysdeps/s390/configure: Regenerated.
7469 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7471         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
7472         Install file from $(objpfx)gconv-modules.
7473         ($(objpfx)gconv-modules): Concatenate architecture specific file
7474         in variable sysdeps-gconv-modules and gconv-modules in src dir.
7475         * sysdeps/s390/gconv-modules: New file.
7476         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
7477         Deleted.
7478         ($(objpfx)gconv-modules-s390): Deleted.
7479         (sysdeps-gconv-modules): New variable.
7481 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7483         [BZ #15479]
7484         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
7485         of immediate operand to rounding instruction.
7486         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
7487         Likewise.
7488         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
7489         Likewise.
7490         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
7491         Likewise.
7493 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7495         * math/libm-test.inc (MIN_EXP): Directly define as
7496         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
7498 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7500         * math/libm-test.inc (MANT_DIG): Directly define as
7501         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
7503 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7505         * stdlib/gen-tst-strtod-round.c (main):
7506           Change usage to more closely match the generated
7507           output.  Add usage and compilation instructions.
7508           (string_to_fp): Add and use FILE* parameter as
7509           output target.
7510           (print_fp): Likewise.
7511           (round_str): Likewise.
7512           (round_for_all): Likewise.
7513         * stdlib/tst-strtod-round.c (tests): Move into
7514         * stdlib/tst-strtod-round-data.h: New file.
7516 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7518         [BZ #15479]
7519         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
7520         (__round): Do not force "inexact" exception.
7521         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7522         variable.
7523         (__round): Do not force "inexact" exception.
7524         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
7525         (__roundf): Do not force "inexact" exception.
7526         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
7527         (__roundl): Do not force "inexact" exception.
7528         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
7529         (__roundl): Do not force "inexact" exception.
7530         * math/libm-test.inc (round_test_data): Do not allow spurious
7531         "inexact" exceptions.
7533         [BZ #15479]
7534         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
7535         exception in comment.
7536         (huge): Remove variable.
7537         (__floor): Do not force "inexact" exception.
7538         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
7539         "inexact" exception in comment.
7540         (huge): Remove variable.
7541         (__floor): Do not force "inexact" exception.
7542         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
7543         exception in comment.
7544         (huge): Remove variable.
7545         (__floorf): Do not force "inexact" exception.
7546         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
7547         exception in comment.
7548         (huge): Remove variable.
7549         (__floorl): Do not force "inexact" exception.
7551         [BZ #15479]
7552         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
7553         exception in comment.
7554         (huge): Remove variable.
7555         (__ceil): Do not force "inexact" exception.
7556         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
7557         "inexact" exception in comment.
7558         (huge): Remove variable.
7559         (__ceil): Do not force "inexact" exception.
7560         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
7561         (__ceilf): Do not force "inexact" exception.
7562         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
7563         exception in comment.
7564         (huge): Remove variable.
7565         (__ceill): Do not force "inexact" exception.
7567 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7569         * config.h.in (BIND_NOW): New.
7570         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
7571         * configure: Regenerated.
7572         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
7573         indirect branch via the GOT slot.
7575 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7577         [BZ #19765]
7578         * sysdeps/s390/mempcpy.S: New File.
7579         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7580         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
7581         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7582         Add mempcpy variants.
7583         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
7584         (memcpy): Adjust to be usable from mempcpy entry point.
7585         (__memcpy_mvcle): Likewise.
7586         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7587         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
7588         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
7589         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
7590         (__memcpy_z10): Likewise.
7591         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7593 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7595         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
7596         Remove __GI_ symbol.
7597         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
7598         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
7599         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
7600         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7601         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
7602         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
7604 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7606         * sysdeps/s390/s390-64/memcpy.S (memcpy):
7607         Use cghi instead of chi to compare 64bit value.
7609 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7611         * sysdeps/s390/s390-32/memcpy.S (memcpy):
7612         Jump to 1MB check before executing mvc-loop.
7614 2016-05-24  Florian Weimer  <fweimer@redhat.com>
7616         [BZ #6527]
7617         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
7618         unconditionally.
7619         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
7621 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7623         * stdlib/tst-strtod6.c (do_test): Use new type generic
7624         invocation of the test function.
7625         (test): Refactor into ...
7626         (TEST_STRTOD): New macro base function.
7628 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7630         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
7631         (TEST_STRTOD): New macro.
7632         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
7634 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7636         * stdlib/tst-strtod6.c (do_test): Use new type generic
7637         invocation of the test function.
7638         (test): Refactor into ...
7639         (TEST_STRTOD): New macro base function.
7641 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7643         CVE-2016-4429
7644         [BZ #20112]
7645         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
7646         payload.
7648 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7650         [BZ #20111]
7651         * bits/sockaddr.h (_SS_SIZE): Define.
7652         * bits/socket.h (_SS_SIZE): Remove.
7653         (_SS_PADSIZE): Adjust to account for all padding.
7654         (struct sockaddr_storage): Update comment.  Avoid implicit
7655         padding.
7656         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
7657         (_SS_PADSIZE): Adjust to account for all padding.
7658         (struct sockaddr_storage): Update comment.  Avoid implicit
7659         padding.
7660         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
7661         * sysdeps/unix/sysv/linux/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/sysv/linux/m68k/bits/sockaddr.h: New file.
7666         __SS_SIZE is 126 in this version.
7667         * inet/tst-sockaddr.c: New file.
7668         * inet/Makefile (tests): Add tst-sockaddr.c
7669         (tst-sockaddr.c): Compile with non-strict aliasing.
7671 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
7673         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
7674         [XPG3 || XPG4].
7675         (NL_ARGMAX): Also expect for [XPG3].
7676         (NL_LANGMAX): Likewise.
7677         (NL_MSGMAX): Likewise.
7678         (NL_NMAX): Likewise.
7679         (NL_SETMAX): Likewise.
7680         (NL_TEXTMAX): Likewise.
7681         (NZERO): Likewise.
7682         (TMP_MAX): Likewise.
7683         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
7684         variable.
7686         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
7687         (PF_MAX): Update value.
7688         (AF_KCM): New macro.
7689         (SOL_NETBEUI): Likewise.
7690         (SOL_LLC): Likewise.
7691         (SOL_DCCP): Likewise.
7692         (SOL_NETLINK): Likewise.
7693         (SOL_TIPC): Likewise.
7694         (SOL_RXRPC): Likewise.
7695         (SOL_PPPOL2TP): Likewise.
7696         (SOL_BLUETOOTH): Likewise.
7697         (SOL_PNPIPE): Likewise.
7698         (SOL_RDS): Likewise.
7699         (SOL_IUCV): Likewise.
7700         (SOL_CAIF): Likewise.
7701         (SOL_ALG): Likewise.
7702         (SOL_NFC): Likewise.
7703         (SOL_KCM): Likewise.
7704         (MSG_BATCH): New enum value and macro.
7706 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
7708         [BZ #18185]
7709         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
7710         sharing L2 cache to 2 for Knights Landing.
7712 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
7714         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
7715         (FTW_DP): Do not expect for [XPG3 || XPG4].
7716         (FTW_SL): Do not expect for [XPG3].
7717         (FTW_SLN): Likewise.
7718         (FTW_PHYS): Likewise.
7719         (FTW_MOUNT): Likewise.
7720         (FTW_DEPTH): Likewise.
7721         (FTW_CHDIR): Likewise.
7722         (nftw): Likewise.
7723         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
7724         variable.
7726 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7728         * manual/errno.texi: Fix various typos & grammar errors.
7730 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7732         * manual/intro.texi: Fix duplicated typo.
7734 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7736         [BZ #13304]
7737         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
7738         <float.h>, <math_private.h> and <stdlib.h>.
7739         (add_split): New function.
7740         (mul_split): Likewise.
7741         (ext_val): New typedef.
7742         (store_ext_val): New function.
7743         (mul_ext_val): New function.
7744         (compare): New function.
7745         (add_split_ext): New function.
7746         (__fmal): After checking for Inf, NaN and zero, compute result as
7747         an exact sum of scaled double values in round-to-nearest before
7748         adding those up and adjusting for other rounding modes.
7749         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
7750         tests of fma.
7751         * math/auto-libm-test-out: Regenerated.
7753 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7755         [BZ #20119]
7756         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
7757         processor level type mask for CPUID with EAX == 11.
7759 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7761         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
7762         logical threads if the HTT bit is 0.
7763         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
7764         (index_cpu_HTT): Likewise.
7765         (reg_HTT): Likewise.
7767 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7769         [BZ #20115]
7770         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
7771         Remove alignments on jump targets.
7773 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7775         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
7776         (getpwent): Likewise.
7777         (setpwent): Likewise.
7778         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
7779         variable.
7781         * conform/data/search.h-data (insque): Do not expect for [XPG3].
7782         (remque): Likewise.
7783         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7784         variable.
7786 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7788         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7789         not being tested.
7791 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7793         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7794         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7795         call.
7796         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7797         (__condvar_cleanup1): Likewise.
7799 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7801         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7802         New
7803         (__pthread_unwind): Renamed to ...
7804         (PTHREAD_UNWIND): This.
7805         (__pthread_enable_asynccancel): Replace
7806         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7808 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7810         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7811         (CLONE_NEWCGROUP): New macro.
7813         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7814         (Q_GETNEXTQUOTA): New macro.
7816 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7818         [BZ #19907]
7819         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7820         buffer updated by the previous run.
7821         * string/test-memcpy.c (do_one_test): Likewise.
7822         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7823         * string/test-memmove.c (do_one_test): Likewise.
7825 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7827         [BZ #20094]
7828         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7829         not [__USE_XOPEN].
7830         (unlockpt): Likewise.
7831         (ptsname): Likewise.
7832         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7833         variable.
7835         [BZ #20076]
7836         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7837         instead of [__USE_UNIX98].
7838         (S_ISSOCK): Likewise.
7839         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7840         variable.
7842         [BZ #20074]
7843         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7844         [__USE_POSIX].
7845         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7846         variable.
7848         [BZ #20051]
7849         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7850         (ttyslot): Do not declare.
7851         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7852         (ttyslot): New prototype.
7853         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7854         variable.
7855         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7857 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7859         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7861 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7863         Fix race condition in tst-mallocfork2, use fewer resources.
7864         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7865         to current process group.
7866         (signal_sender): Yield in the non-sleeping case.
7868 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7870         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7871         (ecvt): Likewise.
7872         (fcvt): Likewise.
7873         (gcvt): Likewise.
7874         (getsubopt): Likewise.
7875         (grantpt): Likewise.
7876         (initstate): Likewise.
7877         (l64a): Likewise.
7878         (mktemp): Likewise.
7879         (mkstemp): Likewise.
7880         (ptsname): Likewise.
7881         (random): Likewise.
7882         (realpath): Likewise.
7883         (setstate): Likewise.
7884         (srandom): Likewise.
7885         (ttyslot): Likewise.
7886         (unlockpt): Likewise.
7887         (valloc): Likewise.
7889         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7890         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7891         variable.
7893 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7895         [BZ #20072]
7896         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7897         init_cpu_features only if SHARED is defined.
7898         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7900 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7902         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7903         non-inclusive caches on Intel processors.
7905 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7907         * malloc/malloc.c (dumped_main_arena_start)
7908         (dumped_main_arena_end): New variables.
7909         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7910         (do_check_chunk): Skip dumped fake mmapped chunks.
7911         (munmap_chunk): Likewise.
7912         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7913         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7914         mmapped chunks.
7915         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7916         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7917         and dumped_main_arena_end to cover the dumped heap.
7919 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7921         * conform/data/time.h-data (getdate_err): Do not expect for
7922         [XPG3].
7923         (getdate): Likewise.
7924         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7925         variable.
7927         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7928         (F_ULOCK): Likewise.
7929         (F_TEST): Likewise.
7930         (F_TLOCK): Likewise.
7931         (useconds_t): Likewise.
7932         (intptr_t): Do not expect for [XPG3] or [XPG4].
7933         (brk): Do not expect for [XPG3]
7934         (fchown): Likewise.
7935         (fchdir): Likewise.
7936         (ftruncate): Likewise.
7937         (getdtablesize): Likewise.
7938         (gethostid): Likewise.
7939         (getpagesize): Likewise.
7940         (getpgid): Likewise.
7941         (getsid): Likewise.
7942         (getwd): Likewise.
7943         (lchown): Likewise.
7944         (lockf): Likewise.
7945         (readlink): Likewise.
7946         (sbrk): Likewise.
7947         (setpgrp): Likewise.
7948         (setregid): Likewise.
7949         (setreuid): Likewise.
7950         (symlink): Likewise.
7951         (sync): Likewise.
7952         (truncate): Likewise.
7953         (ualarm): Likewise.
7954         (usleep): Likewise.
7955         (vfork): Likewise.
7956         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7957         variable.
7959         [BZ #20054]
7960         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7961         not [__USE_UNIX98].
7962         * conform/data/unistd.h-data (gethostname): Do not expect for
7963         [XPG3].
7965         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7966         [!POSIX] (S_IFBLK): Likewise.
7967         [!POSIX] (S_IFCHR): Likewise.
7968         [!POSIX] (S_IFIFO): Likewise.
7969         [!POSIX] (S_IFREG): Likewise.
7970         [!POSIX] (S_IFDIR): Likewise.
7971         [!POSIX] (S_IFLNK): Likewise.
7972         [!POSIX] (S_IFSOCK): Likewise.
7973         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7974         variable.
7975         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7977 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7979         * sysdeps/aarch64/memset.S (__memset):
7980         Rewrite of optimized memset.
7982 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7984         [BZ #19703]
7985         Partially async-signal-safe fork for single-threaded processes.
7986         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7987         variable.  Do not acquire and reset/release malloc and libio locks
7988         in single-threaded processes.
7989         * malloc/tst-mallocfork2.c: New file.
7990         * malloc/Makefile (tests): Add it.
7992 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7994         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
7995         argument.  Use scratch buffer instead of extend_alloca.
7996         (gethosts): Use scratch buffer instead of extend_alloca.
7997         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
7998         extend_alloca.
7999         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8001 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8003         [BZ #20055]
8004         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8005         instead of [__USE_UNIX98].
8006         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8007         [__USE_UNIX98].
8008         * conform/data/termios.h-data (tcgetsid): Do not expect for
8009         [XPG3].
8010         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8011         variable.
8012         (test-xfail-XPG4/termios.h/conform): Likewise.
8014 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8016         Do not use mcheck in localedef.
8017         * locale/programs/localedef.c (turn_on_mcheck)
8018         (__malloc_initialize_hook): Remove.
8020 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8022         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8023         * sysdeps/s390/s390-64/Makefile: Likewise.
8025 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8027         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8028         Remove ifunc-defines.sym.
8029         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8030         Likewise.
8031         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8032         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8033         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8034         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8035         rtld-global-offsets.sym.
8036         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8037         * sysdeps/x86/cpu-features-offsets.sym: This.
8038         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8039         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8041 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8043         [BZ #20073]
8044         * io/sys/stat.h (fchmod): Declare for
8045         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8046         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8047         variable.
8049         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8050         [XPG3] (S_IFSOCK): Likewise.
8051         [XPG3] (S_ISVTX): Likewise.
8052         [XPG3] (S_ISLNK): Likewise.
8053         [XPG3] (S_ISSOCK): Likewise.
8054         [XPG3] (fchmod): Likewise.
8055         [XPG3] (lstat): Likewise.
8056         [XPG3] (mknod): Likewise.
8058         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8059         [XPG3].  Expect type long and XFAIL for [XPG4].
8060         (st_blocks): Likewise.
8062         [BZ #20044]
8063         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8064         (pthread_atfork): New prototype.
8065         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8066         variable.
8068         [BZ #20043]
8069         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8070         prototype.
8072 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8074         [BZ #20017]
8075         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8076         gmtime.
8078 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8080         [BZ #19994]
8081         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8082         flag in _res.options.
8084 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8086         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8087         [XPG3 || XPG4].
8088         (blksize_t): Likewise.
8089         (clockid_t): Likewise.
8090         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8091         variable.
8092         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8094 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8096         * sysdeps/unix/sysv/linux/s390/init-first.c:
8097         Add VDSO_SYMBOL(getcpu).
8098         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8099         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8100         Add VDSO_SYMBOL(getcpu).
8101         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8102         New define HAVE_GETCPU_VSYSCALL.
8103         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8105 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8107         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8108         instead of <sysdeps/x86_64/cacheinfo.c>.
8109         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8110         * sysdeps/x86/cacheinfo.c: Here.
8112 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8114         * malloc/malloc-internal.h: Adjust header file guard.
8116 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8118         [BZ #19787]
8119         * inet/getnameinfo.c (check_sprintf_result): New function.
8120         (CHECKED_SNPRINTF): New macro.
8121         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8122         to the host buffer.
8123         (gni_host_local): Use checked_copy to copy the host name.
8124         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8125         (gni_serv_local): Use checked_copy to copy the service name.
8126         (getnameinfo): Remove unnecessary truncation of result buffers.
8128 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8130         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
8131         in case of inet_ntop failure.
8133 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8135         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
8136         avoid long lines.
8137         (gni_host_inet_numeric): Likewise.  Reduce scope of local
8138         variables.
8139         (gni_host_inet, gni_host_local): Add comment.
8140         (gni_host): Add comment.  Use temporary to avoid long lines.
8142 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8144         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
8145         registers specifiers where general purpose registers specifiers should
8146         have been used.
8148 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8150         [BZ #19779]
8151         CVE-2016-1234
8152         Avoid copying names of directory entries.
8153         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
8154         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
8155         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
8156         (struct readdir_result): New type.
8157         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
8158         (GL_READDIR): New macros.
8159         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
8160         (convert_dirent, convert_dirent64): New functions.
8161         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
8162         convert_dirent64.  Adjust references to the readdir result.
8163         * sysdeps/unix/sysv/linux/i386/glob64.c:
8164         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
8165         * posix/bug-glob2.c (LONG_NAME): Define.
8166         (filesystem): Add LONG_NAME.
8167         (my_DIR): Increase the size of room_for_dirent.
8169 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
8171         [BZ #20041]
8172         * misc/sys/select.h (__need_timespec): Only define if
8173         [__USE_XOPEN2K].
8174         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
8175         variable.
8176         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8177         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8178         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8180 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8181             Segher Boessenkool  <segher@gcc.gnu.org>
8183         [BZ #20004]
8184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
8185         (__novec_swapcontext): Add missing load.
8187 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
8189         [BZ #20023]
8190         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
8191         <time.h>.
8192         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
8193         variable.
8194         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8196 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
8199         flags CLONE_VM compare.
8201 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8203         [BZ #20031]
8204         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
8205         completely empty.
8207 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8209         [BZ #19573]
8210         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
8211         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
8212         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
8213         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
8214         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
8215         (hesiod_free_list): Mark as hidden.
8216         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
8217         res_set, res_get.
8218         * hesiod/hesiod.c: Remove unnecessary forward declarations.
8219         (init, __hesiod_res_get, __hesiod_res_set): Remove.
8220         (hesiod_init): Remove obsolete res_ninit call.
8221         (hesiod_end): Do not free resolver state.  Do not invoke callback.
8222         (hesiod_bind): Do not call init.
8223         (get_txt_records): Use res_mkquery, res_send instead of
8224         res_nmkquery, res_nsend.
8225         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
8226         instead of _nss_hesiod_init.
8227         (_nss_hesiod_initgroups_dyn): Likewise.
8228         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
8229         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
8230         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
8232 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8234         * hesiod/hesiod_p.h (DEF_RHS): Remove.
8235         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
8237 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8239         * hesiod/hesiod.h: Remove RCS keyword.
8240         * hesiod/hesiod_p.h: Likewise.
8242         * hesiod/hesiod.c: Likewise.
8244 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
8246         [BZ #12450]
8247         * locale/iso-639.def: Add Samogitian/sgs.
8249 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
8251         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
8253         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
8255 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
8256             Carlos O'Donell  <carlos@redhat.com>
8258         [BZ #19072]
8259         * grp/Makefile (headers): Add grp-merge.h
8260         (routines): Add grp-merge.
8261         * grp/getgrgid_r.c: Include grp-merge.h.
8262         (DEEPCOPY_FN): Define.
8263         (MERGE_FN): Define.
8264         * grp/getgrname_r.c: Include grp-merge.h.
8265         (DEEPCOPY_FN): Define.
8266         (MERGE_FN): Define.
8267         * grp/grp-merge.c: New file.
8268         * grp/grp-merge.h: New file.
8269         * include/grp-merge.h: New file.
8270         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
8271         __copy_grp@GLIBC_PRIVATE.
8272         * manual/nss.texi (Actions in the NSS configuration): Describe
8273         return, continue, and merge.
8274         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
8275         (DEEPCOPY_FN): Define.
8276         (MERGE_FN): Define.
8277         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
8278         (DEEPCOPY_FN): Define.
8279         (MERGE_FN): Define.
8280         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
8281         [!MERGE_FN]: Define __merge_einval.
8282         (CHECK_MERGE): Define.
8283         (REENTRANT_NAME): Process merge if do_merge is true.
8284         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
8285         (__nss_getent_r): Likewise.
8286         * nss/nsswitch.c (nss_parse_service_list): Likewise.
8287         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
8289 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8291         [BZ #20012]
8292         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
8293         length to calculate the buffer to read.
8294         (fmemopen_write): Set the buffer position based on bytes written.
8295         (fmemopen_seek): Return EINVAL for invalid whence modes.
8297         [BZ #19957]
8298         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
8299         tst-getpid2.
8300         (test): Add tst-clone2.
8301         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
8302         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
8303         pid/tid fields for CLONE_VM.
8304         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8305         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8306         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8307         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
8308         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8309         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8310         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8311         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8313         Likewise.
8314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8315         Likewise.
8316         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8317         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8318         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8319         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8320         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8321         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8322         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8323         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8325 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8327         [BZ #19642]
8328         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8329         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8330         (gni_serv_local, gni_serv): New functions extracted from
8331         getnameinfo.
8332         (getnameinfo): Call gni_host and gni_serv to perform the
8333         processing.  Always free scratch buffer.
8335 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8337         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8338         remaining bytes in the dest string, with zeros.
8340 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8342         [BZ #20010]
8343         CVE-2016-3706
8344         * sysdeps/posix/getaddrinfo.c
8345         (convert_hostent_to_gaih_addrtuple): New function.
8346         (gethosts): Call convert_hostent_to_gaih_addrtuple.
8347         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8348         AF_INET data.
8350 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8352         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8353         callback function gl_readdir.
8354         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8355         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8356         (glob_in_dir): Remove len.  Use strdup instead of malloc and
8357         memcpy to copy the name.
8358         * manual/pattern.texi (Calling Glob): Document requirements for
8359         implementations of the gl_readdir callback function.
8360         * manual/examples/mkdirent.c: New example.
8361         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8362         per the manual guidance.
8363         * posix/tst-gnuglob.c (my_readdir): Likewise.
8365 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
8367         [BZ #20014]
8368         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8369         not [__USE_POSIX].
8370         (getchar_unlocked): Likewise.
8371         (putc_unlocked): Likewise.
8372         (putchar_unlocked): Likewise.
8373         (flockfile): Likewise.
8374         (ftrylockfile): Likewise.
8375         (funlockfile): Likewise.
8376         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8377         variable.
8378         (test-xfail-XPG4/stdio.h/conform): Likewise.
8380         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8381         Expect constant.
8382         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8383         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8384         variable.
8385         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8386         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8388         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8389         [__USE_LARGEFILE64] (off64_t): Likewise.
8390         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8391         variable.
8393 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8395         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8397 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8399         * resolv/inet_addr.c: Reindent preprocessor conditionals.
8400         * resolv/res_init.c: Likewise.
8401         * resolv/res_mkquery.c: Likewise.
8403 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8405         * resolv/res_init.c (isascii): Do not define.  Use definition in
8406         <ctype.h>.
8407         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8408         (LOG_AUTH): Remove.
8409         (SPRINTF): Remove, adjust caller.
8410         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8412 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8414         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
8415         SUNSECURITY conditional.
8416         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
8418 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8420         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
8421         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
8422         Remove BSD-related preprocessor conditionals.
8423         * conf/portability.h: Remove.
8425 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8427         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
8428         * resolv/res_data.c: Likewise.
8430 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8432         * resolv/res_comp.c: Remove code conditional on __ultrix__.
8433         * resolv/res_data.c: Remove code conditional on ultrix.
8435 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8437         * resolv/res_init.c (RFC1535): Do not define.  Remove
8438         RFC1535 preprocessor conditionals.
8439         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
8440         because there configuration options which make the resolver
8441         behavior different.
8443 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8445         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
8446         RESOLVSORT preprocessor conditionals.
8447         * resolv/nss_dns/dns-host.c: Likewise.
8448         * resolv/res_init.c: Likewise.
8450 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8452         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
8453         is never defined.
8455 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8457         * inet/inet_lnaof.c: Remove SCSS keyword.
8458         * inet/inet_mkadr.c: Likewise.
8459         * inet/inet_net.c: Likewise.
8460         * inet/inet_netof.c: Likewise.
8461         * inet/rcmd.c: Likewise.
8462         * inet/rexec.c: Likewise.
8463         * inet/ruserpass.c: Likewise.
8465 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8467         * resolv/inet_addr.c: Remove _LIBC conditionals.
8468         * resolv/res_data.c: Likewise.
8469         * resolv/res_init.c: Likewise.
8470         * resolv/res_mkquery.c: Likewise.
8471         * resolv/res_libc.c: Update comment.
8472         * resolv/README: Update.
8474 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8476         * resolv/gethnamaddr.c: Remove SCSS keyword.
8477         * resolv/herror.c: Likewise.
8478         * resolv/inet_addr.c: Likewise.
8479         * resolv/inet_net_ntop.c: Likewise.
8480         * resolv/inet_net_pton.c: Likewise.
8481         * resolv/inet_neta.c: Likewise.
8482         * resolv/inet_ntop.c: Likewise.
8483         * resolv/inet_pton.c: Likewise.
8484         * resolv/ns_date.c: Remove RCS keyword.
8485         * resolv/ns_name.c: Likewise.
8486         * resolv/ns_netint.c: Likewise.
8487         * resolv/ns_parse.c: Likewise.
8488         * resolv/ns_print.c: Likewise.
8489         * resolv/ns_samedomain.c: Likewise.
8490         * resolv/ns_ttl.c: Likewise.
8491         * resolv/nsap_addr.c: Likewise.
8492         * resolv/res_comp.c: Remove SCSS and RCS keyword.
8493         * resolv/res_data.c: Remove RCS keyword.
8494         * resolv/res_debug.c: Remove SCSS and RCS keyword.
8495         * resolv/res_init.c: Likewise.
8496         * resolv/res_mkquery.c: Likewise.
8497         * resolv/res_query.c: Likewise.
8498         * resolv/res_send.c: Likewise.
8500 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8502         * conform/data/stdio.h-data (fdopen): Expect also for
8503         [XPG3 || XPG4].
8505         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
8506         (fseeko): Likewise.
8507         (ftello): Likewise.
8508         (ftrylockfile): Likewise.
8509         (funlockfile): Likewise.
8510         (getc_unlocked): Likewise.
8511         (getchar_unlocked): Likewise.
8512         (putc_unlocked): Likewise.
8513         (putchar_unlocked): Likewise.
8515 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8517         [BZ #19868]
8518         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
8519         DNS packet syntax checks (which were not needed before).  Skip
8520         over non-PTR records.
8522 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8524         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
8525         definition.  Include <stddef.h> instead.
8527 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8529         [BZ #19831]
8530         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
8531         function.
8532         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
8533         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
8535 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8537         [BZ #19862]
8538         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
8539         (getanswer_r): Do not call syslog.
8540         (gaih_getanswer_slice): Likewise.
8541         * resolv/gethnamaddr.c (AskedForGot): Remove.
8542         (getanswer): Do not call syslog.
8543         (gethostbyaddr): Likewise.
8545 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8547         * conform/data/signal.h-data (union sigval): Expect also if
8548         [XOPEN2K].
8549         (struct sigevent): Likewise.
8550         (SIGEV_NONE): Likewise.
8551         (SIGEV_SIGNAL): Likewise.
8552         (SIGEV_THREAD): Likewise.
8553         (SIGRTMIN): Likewise.
8554         (SIGRTMAX): Likewise.
8555         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
8556         variable.
8557         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8559 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8561         [BZ #19830]
8562         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
8563         (gaih_getanswer_slice): Likewise.
8564         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
8565         Also check for availability of RR metadata.
8567 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8569         [BZ #19825]
8570         * resolv/res_send.c (send_vc): Remove early *resplen2
8571         initialization.  Set *resplen2 on socket error.  Call
8572         close_and_return_error for other errors.
8574 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8576         * sysdeps/unix/sysv/linux/netiucv/iucv.h
8577         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
8578         (SCM_IUCV_TRGCLS): New define.
8580 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8582         [BZ #20005]
8583         * libio/fmemopen.c (fmemopen_write): Update internal position after
8584         write.
8585         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
8586         * stdio-common/tst-fmemopen4.c: New file..
8588 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
8590         [BZ #19996]
8591         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
8592         not [__USE_XOPEN2K].
8593         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
8594         variable.
8596         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
8597         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
8598         variable.
8600         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
8601         [__USE_XOPEN2K8].
8602         [__USE_LARGEFILE64] (off64_t): Likewise.
8603         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
8604         variable.
8606 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
8608         [BZ #19989]
8609         * libio/stdio.h (cuserid): Do not declare if
8610         [__USE_XOPEN2K && !__USE_GNU].
8611         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
8612         variable.
8614 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8616         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8617         (sysdep_routines): Add P8 and PPC64 strcspn targets.
8618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8619         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8620         ifunc'ed strcspn.
8621         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8622         [EALIGN]: Removed.
8623         [END]: Likewise
8624         [STRSPN]: Define instead of the above to control symbol name.
8625         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
8626         New file.
8627         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
8628         Likewise.
8629         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
8630         Likewise.
8631         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
8632         Likewise.
8633         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8634         [INITIAL_MASK]: New macro.
8635         [STRCSPN]: Likewise.
8636         [UPDATE_MASK]: Likewise.
8637         [USE_AS_STRCSPN]: Lisewise.
8639 2016-04-25  Florian Weimer  <fweimer@redhat.com>
8641         [BZ #19931]
8642         * stdio-common/tst-vfprintf-width-prec.c: New file.
8643         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
8644         (tests-special): Add tst-vfprintf-width-prec-mem.out.
8645         (generated): Add mtrace-related files.
8646         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
8647         (tst-%-mem.out): New pattern rule, replaces
8648         tst-printf-bz18872-mem.out.
8649         * stdio-common/vfprintf.c (vfprintf): When handling a precision
8650         specifier, deallocate any previously allocated work buffer.
8652 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
8654         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
8655         Add nop before __startcontext, add explaining comments.
8657 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
8659         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
8660         any more. Notably since IPV6_PKTINFO has been reintroduced with a
8661         completely different API.
8663         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
8664         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
8665         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
8666         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
8667         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
8668         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
8669         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
8670         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
8671         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
8672         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
8674 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
8676         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
8678 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
8680         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
8681         when it is the default of 0.
8683 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8685         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
8686         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8687         (sysdep_routines): Add new strcasestr targets.
8688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8689         (__libc_ifunc_impl_list): Likewise.
8690         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
8691         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
8692         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
8693         * sysdeps/powerpc/powerpc64/power8/Makefile:
8694         New file to add strcasestr-ppc64 to sysdep_routines.
8695         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
8696         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
8698 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
8700         * benchtests/Makefile (wcsmbs-benchset): Include only for
8701         native builds and runs.
8702         (LOCALES): Likewise.
8703         (bench-build): Build timing-type here instead of the bench
8704         target.  Generate locale only for native builds.
8705         * benchtests/README: Add note for cross-building.
8707         * benchtests/Makefile (bench-clean): Clean up extra-objs.
8709         * benchtests/README: Update README to include instructions on
8710         using bench-build.
8712         * Makefile.in (bench-build): New target.
8713         * Rules (PHONY): Add bench-build target.
8714         * benchtests/Makefile (bench): Depend on bench-build.
8715         (bench-build): New target.
8717 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8719         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
8720         profil_reply_port.
8721         (profile_waiter): Do not initialize profil_reply_port.
8722         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
8723         frequency instead of tick length in us.
8725 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
8727         [BZ #18712]
8728         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
8729         (__old_mempcpy_small): Likewise.
8730         (__old_strcpy_small): Likewise.
8731         (__old_stpcpy_small): Likewise.
8732         (__old_strpbrk_c2): Fix compat symbol name.
8733         (__old_strpbrk_c3): Likewise.
8734         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
8735         (__mempcpy_small): Remove.
8736         (__strcpy_small): Remove.
8737         (__stpcpy_small): Remove.
8739 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
8741         [BZ #19400]
8742         * locale/iso-639.def: Add the Talossan/tzl language.
8744 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8746         [BZ #16983]
8747         * locale/programs/ld-address.c (address_finish): Update postal_fmt
8748         comment.  Add "ln" to strchr check on postal_fmt.
8750 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8752         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
8753         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
8754         tel_dom_fmt.
8756 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8758         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8759         (sysdep_routines): Added __strlen_power8.
8760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
8761         __strlen_power8 entry.
8762         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
8763         Implementation for POWER8.
8764         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
8765         for __strlen_power8.
8766         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
8767         Implementation for POWER8.
8769 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
8771         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
8773 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
8775         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
8776         Goldmont and Airmont processors.
8778 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
8780         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8781         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8782         (__STRING2_SMALL_GET32): Remove.
8783         (memset): Remove.
8784         (__memset_1): Remove.
8785         (__memset_gc): Remove.
8786         (__mempcpy): Remove.
8787         (mempcpy): Remove.
8788         (__mempcpy_args): Remove.
8789         (strchr): Remove.
8790         (strcpy): Remove.
8791         (strcpy_args): Remove.
8792         (__stpcpy_args): Remove.
8793         (__strcmp_cc): Remove.
8794         (__strcmp_gc): Remove.
8795         (strstr): Remove.
8797 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8799         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8800         * nis/nis_call.c (nis_server_cache_add): Likewise.
8802 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8804         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8806 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8808         * malloc/arena.c (__malloc_fork_lock_parent)
8809         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8810         internal_function attribute.
8812 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8814         * stdio-common/printf_fp.c (__printf_fp_l):
8815         Rename ___printf_fp_l to __printf_fp_l and
8816         remove strong alias. Use libc_hidden_def instead
8817         of ldbl_hidden_def macro.
8819 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8821         Remove malloc hooks from fork handler.  They are no longer needed
8822         because malloc runs right before fork, and no malloc calls from
8823         other fork handlers are not possible anymore.
8824         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8825         declarations.
8826         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8827         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8828         (atfork_recursive_cntr): Remove.
8829         (__malloc_fork_lock_parent): Do not override malloc hooks and
8830         thread_arena.
8831         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8832         thread_arena.
8833         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8834         thread_arena instead of save_arena.
8836 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8838         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8839         (thread_atfork, thread_atfork_static): Remove.
8840         * sysdeps/mach/hurd/malloc-machine.h:
8841         (thread_atfork, thread_atfork_static): Remove.
8843 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8845         [BZ #19431]
8846         Run the malloc fork handler as late as possible to avoid deadlocks.
8847         * malloc/malloc-internal.h: New file.
8848         * malloc/malloc.c: Include it.
8849         * malloc/arena.c (ATFORK_MEM): Remove.
8850         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8851         Update comment.
8852         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8853         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8854         Remove outdated comment.
8855         (ptmalloc_init): Do not call thread_atfork.  Remove
8856         thread_atfork_static.
8857         * malloc/tst-malloc-fork-deadlock.c: New file.
8858         * Makefile (tests): Add tst-malloc-fork-deadlock.
8859         (tst-malloc-fork-deadlock): Link against libpthread.
8860         * manual/memory.texi (Aligned Memory Blocks): Update safety
8861         annotation comments.
8862         * sysdeps/nptl/fork.c (__libc_fork): Call
8863         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8864         __malloc_fork_unlock_child.
8865         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8867 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8869         [BZ #19613]
8870         Remove union wait.
8871         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8872         (w_stopsig, w_stopval): Remove.
8873         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8874         stat_loc argument.
8875         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8876         (__WAIT_STATUS_DEFN): Remove.
8877         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8878         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8879         (wait, wait3, wait4): Use int * for the stat_loc argument.
8880         * posix/wait.c (__wait): Likewise.
8881         * posix/wait3.c (__wait3): Likewise.
8882         * posix/wait4.c (__wait4): Likewise.
8883         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8884         (__WAIT_STATUS_DEFN): Remove.
8885         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8886         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8887         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8888         argument.
8889         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8890         * sysdeps/posix/wait3.c (__wait3): Likewise.
8891         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8892         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8893         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8894         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8895         stat_loc argument.
8896         * manual/process.texi (BSD Wait Functions): Remove union wait.
8898 2016-04-13  Andreas Schwab  <schwab@suse.de>
8900         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8901         (test-extras): Add tst-tlsalign-vars.
8902         * math/Makefile: Wrap long lines.
8903         (libm-vec-test-wrappers): Define.
8904         (test-extras): Add $(libm-vec-test-wrappers).
8905         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8906         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8907         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8908         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8909         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8910         (extra-test-objs): Add corresponding objects.
8912 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8914         [BZ #19928]
8915         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8916         New.
8917         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8918         times of shared cache size.
8919         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8920         (VMOVNT): New.
8921         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8922         (VMOVNT): Likewise.
8923         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8924         (VMOVNT): Likewise.
8925         (VMOVU): Changed to movups for smaller code sizes.
8926         (VMOVA): Changed to movaps for smaller code sizes.
8927         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8928         comments.
8929         (PREFETCH): New.
8930         (PREFETCH_SIZE): Likewise.
8931         (PREFETCHED_LOAD_SIZE): Likewise.
8932         (PREFETCH_ONE_SET): Likewise.
8933         Rewrite to use forward and backward loops, which move 4 vector
8934         registers at a time, to support overlapping addresses and use
8935         non temporal store if size is above the threshold and there is
8936         no overlap between destination and source.
8938 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8940         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8941         Include dl-vdso.
8942         * sysdeps/unix/sysv/linux/mips/Versions: Add
8943         __vdso_clock_gettime.
8944         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8945         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8946         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8947         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8948         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8949         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8950         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8951         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8952         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8954 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8956         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8957         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8958         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8959         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8960         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8961         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8964         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8965         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8966         syscalls generation.
8967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8968         [__NR_pwrite64] (__NR_write): Remove define.
8969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8970         [__NR_pwrite64] (__NR_write): Remove define.
8971         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8972         Remove define.
8973         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8974         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8975         Remove define.
8976         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8977         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8978         Linux implementation as base.
8979         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8981         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8982         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8984         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8987         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8988         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8989         syscall generation.
8990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8991         [__NR_pread64] (__NR_pread): Remove define.
8992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8993         [__NR_pread64] (__NR_pread): Likewise.
8994         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
8995         define.
8996         (__libc_pread): Use SYSCALL_LL macro on offset argument.
8997         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
8998         Remove define.
8999         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9000         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9001         Linux implementation as base.
9002         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9003         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9004         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9006         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9007         definition.
9008         (__ALIGNMENT_COUNT): Likewise.
9009         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9010         (__ALIGNMENT_COUNT): Likewise.
9011         (SYSCALL_LL): New define.
9012         (SYSCALL_LL64): Likewise.
9013         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9014         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9015         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9016         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9018         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9019         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9020         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9021         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9022         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9023         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9025 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9027         [BZ #19865]
9028         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9029         original buffer before retry.
9031 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9033         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9034         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9035         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9036         GLRO(dl_auxv) list.
9037         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9038         including <ldsodefs.h>.
9039         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9041 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9043         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9044         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9045         $(CPPFLAGS).
9047 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9049         [BZ #17950]
9050         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9051         Add -mfpmath=387.
9053 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9055         * sysdeps/i386/configure.ac: Change == to = when calling test.
9056         * sysdeps/x86_64/configure.ac: Likewise.
9057         * sysdeps/i386/configure: Regenerated.
9058         * sysdeps/x86_64/configure: Likewise.
9060 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9062         [BZ #16137]
9063         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9064         * benchtests/bench-strcoll.c (input_files): Likewise.
9065         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9066         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9067         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9069 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9071         [BZ #19929]
9072         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9073         [__USE_XOPEN2K8 && !__USE_GNU].
9074         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9075         variable.
9077         [BZ #19925]
9078         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9079         define if [!__USE_MISC && __USE_XOPEN2K].
9080         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9081         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9082         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9083         Likewise.
9084         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9085         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9086         variable.
9087         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9089 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9091         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9092         (sysdep_routines): Add new strspn targets.
9093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9094         (__libc_ifunc_impl_list): Add strspn.
9095         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9096         New file.
9097         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9098         Likewise.
9099         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9100         Likewise.
9101         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9102         Likewise.
9104 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9106         * misc/hsearch_r.c: Include <limits.h>.
9108 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9110         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9112 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9114         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9115         (MEMCPY_SYMBOL): New.
9116         (MEMPCPY_SYMBOL): Likewise.
9117         (MEMMOVE_CHK_SYMBOL): Likewise.
9118         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9119         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9120         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9121         Provide alias for memcpy in libc.a and ld.so.
9123 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9125         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9126         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
9127         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9128         Disabled fro now.
9129         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
9130         symbols.  Properly check USE_MULTIARCH on __memset symbols.
9132 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9134         * benchtests/Makefile (string-benchset): Add memcpy-large,
9135         memmove-large and memset-large.
9136         * benchtests/bench-memcpy-large.c: New file.
9137         * benchtests/bench-memmove-large.c: Likewise.
9138         * benchtests/bench-memmove-large.c: Likewise.
9139         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
9141 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9143         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
9144         32-bit displacement to avoid long nop between instructions.
9146 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9148         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9149         a comment on VMOVU and VMOVA.
9151 2016-04-04  Florian Weimer  <fweimer@redhat.com>
9153         [BZ #19633]
9154         Use specified locale for number formatting in strfmon_l.
9155         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
9156         (__nl_lookup_word): New inline functions.
9157         * include/printf.h (__print_fp_l): Declare.
9158         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
9159         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
9160         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
9161         (___printf_fp): New function.
9162         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
9163         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
9164         * stdlib/tst-strfmon_l.c (do_test): New test.
9165         * stdlib/Makefile (tests): Add kt.
9166         (LOCALES): Build additional locales.
9167         (tst-strfmon_l.out): Require locales.
9169 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9171         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
9172         if not in libc.
9173         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9174         Likewise.
9175         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
9176         Likewise.
9177         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9178         Likewise.
9180 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9182         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9183         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
9184         with unaligned_erms.
9185         (__memmove_erms): Skip if source == destination.
9186         (__memmove_unaligned_erms): Don't check source == destination
9187         first.
9189 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9191         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9192         bit_arch_Fast_Copy_Backward for Intel Core proessors.
9194 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9196         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
9197         * string/strspn.c (strspn): Likewise.
9199 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9201         * benchtests/bench-memset.c (do_test): Support 64-byte
9202         alignment.
9203         (test_main): Test 64-byte alignment.
9205 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9207         * benchtests/bench-memmove.c (test_main): Test 64-byte
9208         alignment.
9210 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9212         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
9214 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9216         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
9217         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
9218         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
9220         * string/strpbrk.c (strpbrk): Rewrite function.
9221         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9222         (__strpbrk_c2): Likewise.
9223         (__strpbrk_c3): Likewise.
9224         * string/string-inlines.c
9225         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
9226         Likewise.
9227         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
9228         Likewise.
9230         * string/strspn.c (strcspn): Rewrite function.
9231         * string/bits/string2.h (strspn): Use __builtin_strcspn.
9232         (__strspn_c1): Remove inline function.
9233         (__strspn_c2): Likewise.
9234         (__strspn_c3): Likewise.
9235         * string/string-inlines.c
9236         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
9237         compatibility symbol.
9238         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
9239         Likewise.
9240         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
9241         Likewise.
9242         * string/string-inlines.c: Include generic version.
9244 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
9245             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9247         * string/Version (libc): Add GLIBC_2.24.
9248         * string/strcspn.c (strcspn): Rewrite function.
9249         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
9250         (__strcspn_c1): Remove inline function.
9251         (__strcspn_c2): Likewise.
9252         (__strcspn_c3): Likewise.
9253         * string/string-inline.c
9254         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
9255         compatibility symbol.
9256         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
9257         Likewise.
9258         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
9259         Likewise.
9260         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
9262 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9264         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9265         Use ahi instead of aghi to adjust stack pointer.
9267 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9269         [BZ #19853]
9270         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
9271         TEST to take significant digits as second parameter.
9272         [TEST]: Redefine in terms of TEST_N taking 30
9273         significant digits.
9274         (do_test): Add test case to demonstrate precision
9275         failure in the ldbl-128ibm printf.
9276         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
9277         (__mpn_extract_long_double): Carry 7 extra intermediate
9278         bits of precision to aide computing difference when
9279         signs differ.
9281 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9283         [BZ #19881]
9284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9285         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
9286         memset-avx512-unaligned-erms.
9287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9288         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
9289         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
9290         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
9291         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
9292         __memset_sse2_unaligned_erms, __memset_erms,
9293         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
9294         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9295         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
9296         file.
9297         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9298         Likewise.
9299         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
9300         Likewise.
9301         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
9302         Likewise.
9304 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9306         [BZ #19776]
9307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9308         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9309         memmove-avx512-unaligned-erms.
9310         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9311         (__libc_ifunc_impl_list): Test
9312         __memmove_chk_avx512_unaligned_2,
9313         __memmove_chk_avx512_unaligned_erms,
9314         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9315         __memmove_chk_sse2_unaligned_2,
9316         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9317         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9318         __memmove_avx512_unaligned_erms, __memmove_erms,
9319         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9320         __memcpy_chk_avx512_unaligned_2,
9321         __memcpy_chk_avx512_unaligned_erms,
9322         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9323         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9324         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9325         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9326         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9327         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9328         __mempcpy_chk_avx512_unaligned_erms,
9329         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9330         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9331         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9332         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9333         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9334         __mempcpy_erms.
9335         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9336         file.
9337         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9338         Likwise.
9339         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9340         Likwise.
9341         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9342         Likwise.
9344 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9346         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9347         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9348         (La_s390_64_regs): Likewise.
9349         (La_s390_32_retval): Append vector register lrv_v24.
9350         (La_s390_64_retval): Likeweise.
9351         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9352         Handle extended structs La_s390_32_regs and La_s390_32_retval.
9353         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9354         Handle extended structs La_s390_64_regs and La_s390_64_retval.
9356 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9358         [BZ #19916]
9359         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
9360         to create a non-vector/vector version for _dl_runtime_resolve and
9361         _dl_runtime_profile. Move implementation to ...
9362         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
9363         (_dl_runtime_resolve) Save and restore fpr/vrs.
9364         (_dl_runtime_profile) Save and restore vrs and fix some issues
9365         if _dl_call_pltexit is called.
9366         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9367         Choose the correct resolver function if running on a machine with vx.
9368         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9369         to create a non-vector/vector version for _dl_runtime_resolve and
9370         _dl_runtime_profile. Move implementation to ...
9371         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9372         (_dl_runtime_resolve) Save and restore fpr/vrs.
9373         (_dl_runtime_profile) Save and restore vrs and fix some issues
9374         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9375         Choose the correct resolver function if running on a machine with vx.
9377 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9379         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9381 2016-03-31  Florian Weimer  <fweimer@redhat.com>
9383         [BZ #19509]
9384         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9385         skip_map != NULL.
9386         * elf/tst-dlsym-error.c: New file.
9387         * elf/Makefile (tests): Add tst-dlsym-error.
9388         (tst-dlsym-error): Link against libdl.
9390 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
9392         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9393         (__ASSUME_FUTIMESAT): Remove macro.
9394         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9396 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9398         [BZ #19879]
9399         CVE-2016-3075
9400         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9401         copy name.
9403 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9405         [BZ #19837]
9406         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9407         error if parse_line fails.
9409 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9411         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9412         (index_cpu_ERMS): Likewise.
9413         (reg_ERMS): Likewise.
9415 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
9417         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
9418         PER_LINUX_FDPIC): Add.
9420 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9423         memcpy-avx512-no-vzeroupper.
9424         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
9425         to ...
9426         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
9427         (MEMCPY): Don't define.
9428         (MEMCPY_CHK): Likewise.
9429         (MEMPCPY): Likewise.
9430         (MEMPCPY_CHK): Likewise.
9431         (MEMPCPY_CHK): Renamed to ...
9432         (__mempcpy_chk_avx512_no_vzeroupper): This.
9433         (MEMPCPY_CHK): Renamed to ...
9434         (__mempcpy_chk_avx512_no_vzeroupper): This.
9435         (MEMCPY_CHK): Renamed to ...
9436         (__memmove_chk_avx512_no_vzeroupper): This.
9437         (MEMCPY): Renamed to ...
9438         (__memmove_avx512_no_vzeroupper): This.
9439         (__memcpy_avx512_no_vzeroupper): New alias.
9440         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
9442 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9444         [BZ #18858]
9445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9446         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
9447         and mempcpy-avx512-no-vzeroupper.
9448         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
9449         New.
9450         (MEMPCPY): Likewise.
9451         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
9452         (MEMPCPY_CHK): New.
9453         (MEMPCPY): Likewise.
9454         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
9455         (MEMPCPY): Likewise.
9456         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
9457         (MEMPCPY): Likewise.
9458         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
9459         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
9460         Likewise.
9461         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
9462         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
9464 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9465              Amit Pawar  <Amit.Pawar@amd.com>
9467         [BZ #19583]
9468         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9469         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
9470         processors.  Set Fast_Copy_Backward for AMD Excavator
9471         processors.
9472         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
9473         New.
9474         (index_arch_Fast_Unaligned_Copy): Likewise.
9475         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
9476         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
9478 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9480         [BZ #19791]
9481         * resolv/res_send.c (close_and_return_error): New function.
9482         (send_dg): Initialize *resplen2 after reopen failure.  Call
9483         close_and_return_error for error returns.  On error paths without
9484         __res_iclose, initialze *resplen2 explicitly.  Update comment for
9485         successful return.
9487 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9489         [BZ# 19860]
9490         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
9491         zero if the compiler does not provide the AVX512F bit.
9493 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
9495         [BZ #19848]
9496         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
9497         from 8 to 4.
9498         (__ieee754_powl): Compare integer exponent against 4 not 8.
9499         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
9500         from 8 to 4.
9501         (__ieee754_powl): Compare integer exponent against 4 not 8.
9502         * math/auto-libm-test-in: Add more tests of pow.
9503         * math/auto-libm-test-out: Regenerated.
9504         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9507 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9509         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
9510         Make code unconditional.
9511         [!__NR_utimensat]: Remove conditional code.
9512         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
9513         Make code unconditional.
9514         [!__NR_utimensat]: Remove conditional code.
9515         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
9516         Make code unconditional.
9517         [!__NR_utimensat]: Remove conditional code.
9519 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9521         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
9522         Make code unconditional.
9524 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
9526         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
9527         call-clobbered %eax on retry path.
9528         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9530 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9532         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
9533         Don't set %rcx twice before "rep movsb".
9535 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9537         [BZ #19583]
9538         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
9539         inline.  Check family before setting family, model and
9540         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
9541         bits here.
9542         (init_cpu_features): Replace HAS_CPU_FEATURE and
9543         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
9544         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
9545         for Intel processors with usable AVX2.  Call get_common_indeces
9546         for other processors with family == NULL.
9547         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
9548         (CPU_FEATURES_ARCH_P): Likewise.
9549         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
9550         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
9552 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9554         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
9555         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
9556         $(shared-thread-library) instead of hardcoding the path to libpthread.
9558 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
9560         * sysdeps/unix/sysv/linux/kernel-features.h
9561         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
9562         * sysdeps/unix/sysv/linux/getdents.c
9563         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
9564         [!have_no_getdents64_defined]: Likewise.
9565         (__GETDENTS): Remove __have_no_getdents64 conditional.
9567 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
9569         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
9570         Remove macro.
9571         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
9572         <kernel-features.h>.
9573         (signalfd) [__NR_signalfd4]: Make code unconditional.
9574         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
9576 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9578         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
9579         style.
9581 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
9583         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
9584         (__pthread_enable_asynccancel): Use JUMPTARGET to call
9585         __pthread_unwind.
9586         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9587         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
9588         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9589         (__condvar_cleanup1): Likewise.
9591 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
9593         [BZ #19822]
9594         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
9595         move it to the final $@ location.
9597 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9599         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
9600         access where posix_spawn success and pid argument is null.
9601         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
9602         success case.
9604 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
9606         * sysdeps/mach/hurd/i386/c++-types.data: New file.
9608         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
9610         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
9611         and __fcntl.
9612         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
9613         __fcntl only.
9614         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
9615         adding attribute_hidden to __open and __fcntl.
9617         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
9618         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
9619         depend on libc-modules.h,
9620         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
9622 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
9624         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
9625         Remove macro.
9626         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
9627         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
9628         entry.
9630         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
9631         Remove macro.
9632         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
9633         include <kernel-features.h>.
9634         [!__ASSUME_FALLOCATE]: Remove conditional code.
9635         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
9637 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9639         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
9640         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
9641         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
9642         (_ZGVdN4v_cos_avx2): Likewise.
9643         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
9644         (_ZGVdN4v_cos): Likewise.
9645         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
9646         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
9647         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
9648         (_ZGVdN4v_exp_avx2): Likewise.
9649         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
9650         (_ZGVdN4v_exp): Likewise.
9651         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
9652         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
9653         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
9654         (_ZGVdN4v_log_avx2): Likewise.
9655         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
9656         (_ZGVdN4v_log): Likewise.
9657         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
9658         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
9659         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
9660         (_ZGVdN4vv_pow_avx2): Likewise.
9661         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
9662         (_ZGVdN4vv_pow): Likewise.
9663         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
9664         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
9665         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
9666         (_ZGVdN4v_sin_avx2): Likewise.
9667         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
9668         (_ZGVdN4v_sin): Likewise.
9669         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
9670         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
9671         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
9672         (_ZGVdN4vvv_sincos_avx2): Likewise.
9673         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
9674         (_ZGVdN4vvv_sincos): Likewise.
9675         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
9676         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
9677         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
9678         (_ZGVbN4v_cosf_sse4): Likewise.
9679         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
9680         (_ZGVdN8v_cosf_avx2): Likewise.
9681         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
9682         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
9683         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
9684         (_ZGVbN4v_expf_sse4): Likewise.
9685         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
9686         (_ZGVdN8v_expf_avx2): Likewise.
9687         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
9688         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
9689         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
9690         (_ZGVbN4v_logf_sse4): Likewise.
9691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
9692         (_ZGVdN8v_logf_avx2): Likewise.
9693         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
9694         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
9695         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
9696         (_ZGVbN4vv_powf_sse4): Likewise.
9697         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
9698         (_ZGVdN8vv_powf_avx2): Likewise.
9699         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9700         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
9701         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9702         (_ZGVbN4vvv_sincosf_sse4): Likewise.
9703         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9704         (_ZGVdN8vvv_sincosf_avx2): Likewise.
9705         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
9706         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
9707         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
9708         (_ZGVbN4v_sinf_sse4): Likewise.
9709         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
9710         (_ZGVdN8v_sinf_avx2): Likewise.
9711         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9712         Use JUMPTARGET to call callee.
9713         (WRAPPER_IMPL_SSE2_ff): Likewise.
9714         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9715         (WRAPPER_IMPL_AVX): Likewise.
9716         (WRAPPER_IMPL_AVX_ff): Likewise.
9717         (WRAPPER_IMPL_AVX_fFF): Likewise.
9718         (WRAPPER_IMPL_AVX512): Likewise.
9719         (WRAPPER_IMPL_AVX512_ff): Likewise.
9720         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9721         Likewise.
9722         (WRAPPER_IMPL_SSE2_ff): Likewise.
9723         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9724         (WRAPPER_IMPL_AVX): Likewise.
9725         (WRAPPER_IMPL_AVX_ff): Likewise.
9726         (WRAPPER_IMPL_AVX_fFF): Likewise.
9727         (WRAPPER_IMPL_AVX512): Likewise.
9728         (WRAPPER_IMPL_AVX512_ff): Likewise.
9729         (WRAPPER_IMPL_AVX512_fFF): Likewise.
9731 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9733         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
9734         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
9735         qualifier.
9736         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
9737         internal_function qualifiers.
9739 2016-03-15  Carlos O'Donell <carlos@redhat.com>
9741         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
9742         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
9743         * math/atest-exp.c (exp_mpn): Mark chk unused.
9744         * math/atest-exp2.c (exp_mpn): Likwise.
9745         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
9746         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
9748 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
9750         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
9751         Remove macro.
9752         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
9753         <kernel-features.h>.
9754         [__NR_ppoll]: Make code unconditional.
9755         [!__ASSUME_PPOLL]: Remove conditional code.
9757         * sysdeps/unix/sysv/linux/kernel-features.h
9758         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
9759         (__ASSUME_ACCEPT4): Likewise.
9760         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9761         Define.
9762         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9763         Likewise.
9764         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9765         Likewise.
9766         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
9767         Likewise.
9768         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
9769         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
9770         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9771         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9772         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9773         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9774         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9775         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9776         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9777         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9778         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9779         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9780         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9781         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9782         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9783         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9784         Likewise.
9785         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9786         Likewise.
9787         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9788         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9789         0x040300].
9790         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9791         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9792         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9793         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9794         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9795         0x030300].
9796         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9797         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9798         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9799         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9800         0x040300].
9801         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9802         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9804         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9805         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9806         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9807         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9808         0x030300].
9809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9810         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9811         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9812         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9813         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9814         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9815         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9816         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9817         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9818         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9819         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9820         0x040300].
9821         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9822         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9823         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9824         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9825         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9826         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9827         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9828         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9829         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9830         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9831         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9832         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9833         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9834         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9835         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9836         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9837         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9838         Likewise.
9839         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9840         Likewise.
9842 2016-03-15  Andreas Schwab  <schwab@suse.de>
9844         [BZ #19257]
9845         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9846         statp->_u._ext.nscount as loop count.
9848 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9850         * math/test-signgam-finite-c99.c: Also #undef
9851         __LIBC_INTERNAL_MATH_INLINES.
9852         * math/test-signgam-main.c: Likewise.
9854 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9856         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9857         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9858         (MADV_FREE): Likewise.
9859         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9860         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9861         EPOLLEXCLUSIVE.
9863 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9865         * timezone/README: Remove mention of checktab.awk. Mention wiki
9866         SharedSourceFiles.
9868 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9870         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9871         WUNTRACED.
9873 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9875         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9876         order to match the type of p when calling atomic_exchange_acq().
9878 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9880         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9881         cfi_offset calls.
9882         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9883         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9884         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9885         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9886         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9888 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9890         * timezone/checktab.awk: Removed.
9892 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9894         * manual/math.texi (Errors in Math Functions): Document relaxed
9895         accuracy goals for IBM long double.
9896         * math/libm-test.inc (test_exceptions): Always allow spurious
9897         "underflow" and "inexact" exceptions for IBM long double.
9899 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9901         [BZ #19762]
9902         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9903         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9904         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9905         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9906         (bit_arch_*): This for feature array.
9907         (bit_*): Renamed to ...
9908         (bit_cpu_*): This for cpu array.
9909         (index_*): Renamed to ...
9910         (index_arch_*): This for feature array.
9911         (index_*): Renamed to ...
9912         (index_cpu_*): This for cpu array.
9913         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9914         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9915         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9916         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9917         bit_##name with index_cpu_##name and bit_cpu_##name.
9918         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9919         bit_##name with index_arch_##name and bit_arch_##name.
9921 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9923         [BZ #19792]
9924         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9925         Terminate FDE before return label.
9927 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9929         [BZ #19790]
9930         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9931         (rintl): Define as macro.
9932         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9933         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9934         of fesetround.  Ensure results are evaluated before end of scope.
9935         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9936         USE_AS_NEARBYINTL and include s_rintl.c.
9937         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9938         Disable exception traps in new environment.
9939         (libc_feholdsetround_ppc_ctx): Likewise.
9941 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9943         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9944         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9945         (tst_audit10_aux) [__AVX512F__]: ... here.
9947 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9949         * include/sys/auxv.h: New file.
9951 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9953         [BZ #19759]
9954         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9956 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9958         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9959         operand modifier.
9960         (feclearexcept): Likewise.
9962 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9964         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9965         to reflect the entire 32-bit HWCAP.
9966         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9967         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9969 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9971         [BZ #19783]
9972         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9973         $(test-via-rtld-prefix).
9974         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9976 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9978         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9979         union wait.  Report any non-zero exit status as error.
9981 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9983         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9984         configured with --enable-hardcoded-path-in-tests.
9986 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9988         [BZ #19677]
9989         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9990         (__ieee754_remainderl): Put zero low parts in canonical form.
9991         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9992         file.  Based on
9993         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9994         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
9995         with wrapper round test-fmodrem-ldbl-128ibm.c.
9996         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
9997         file.
9998         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
9999         Likewise.
10000         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10001         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10003 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10005         [BZ #19610]
10006         * elf/ldconfig.c (opt_link): Update comment.
10007         (options): Update help string for option -X.
10008         (search_dir): Unlink stale symbolic link only if updating symbolic
10009         links.
10010         * elf/tst-ldconfig-X.sh: New file.
10011         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10012         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10014 2016-03-07  Andreas Schwab  <schwab@suse.de>
10016         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10017         needed arguments.
10019 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10021         [BZ #15333]
10022         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10023         to lstat64.
10025 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10027         * libio/filedoalloc.c (isatty): Remove.
10028         (local_isatty): Add comment.  Call __isatty directly.
10029         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10030         * libio/wfiledoalloc.c (isatty): Remove.
10031         (_IO_wfile_doallocate): Update comment.
10033 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10035         [BZ #19269]
10036         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10037         tst-audit4-aux.o.
10038         (tst-audit10): Depend on tst-audit10-aux.o.
10039         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10040         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10041         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10042         instead of inline AVX code.
10043         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10044         instead of inline AVX512 code.
10045         * sysdeps/x86_64/tst-audit4-aux.c: New file
10046         * sysdeps/x86_64/tst-audit10-aux.c: New file
10048         [BZ #19648]
10049         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10051 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10053         [BZ #14750]
10054         [BZ #10354]
10055         [BZ #18433]
10056         * include/sched.h (__clone): Add hidden prototype.
10057         (__clone2): Likewise.
10058         * include/unistd.h (__dup): Likewise.
10059         * posix/Makefile (tests): Add tst-spawn2.
10060         * posix/tst-spawn2.c: New file.
10061         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10062         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10063         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10064         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10065         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10066         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10067         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10068         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10069         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10070         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10071         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10073         Likewise.
10074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10075         Likewise.
10076         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10077         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10078         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10079         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10080         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10081         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10082         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10083         * sysdeps/unix/sysv/linux/nptl-signals.h
10084         (____nptl_is_internal_signal): New function.
10085         * sysdeps/unix/sysv/linux/spawni.c: New file.
10087         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10088         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10089         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10090         * posix/tst-execvp2.c (do_test): Likewise.
10091         * posix/tst-execvp3.c (do_test): Likewise.
10092         * posix/tst-execvp4.c (do_test): Likewise.
10093         * posix/tst-execvpe1.c: New file.
10094         * posix/tst-execvpe2.c: Likewise.
10095         * posix/tst-execvpe3.c: Likewise.
10096         * posix/tst-execvpe4.c: Likewise.
10097         * posix/tst-execvpe5.c: Likewise.
10098         * posix/tst-execvpe6.c: Likewise.
10100         [BZ #19534]
10101         * posix/execl.c (execl): Remove dynamic memory allocation.
10102         * posix/execle.c (execle): Likewise.
10103         * posix/execlp.c (execlp): Likewise.
10105 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10107         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10108         Replace .text with .text.avx512.
10109         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10110         Likewise.
10112 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10114         * sysdeps/generic/libnsl.abilist: New file.
10115         * sysdeps/generic/libutil.abilist: New file.
10117 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10119         [BZ #19762]
10120         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10121         HAS_ARCH_FEATURE with Fast_Rep_String.
10122         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10123         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10124         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10125         Likewise.
10126         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10127         Likewise.
10128         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10129         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
10130         Likewise.
10131         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
10132         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
10133         Likewise.
10135 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10137         [BZ #19745]
10138         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10139         with *%rax in call.
10141 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10143         [BZ #19745]
10144         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
10145         with *__libc_start_main@GOTPCREL(%rip) in call.
10147 2016-03-04  Roland McGrath  <roland@hack.frob.com>
10149         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
10150         inside conditional for nonempty $(CXX).
10152         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
10153         nonempty.
10155         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
10156         to test for empty $(CXX) rather than $(CXX) of "no".
10158 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10160         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
10162 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
10163             H.J. Lu  <hongjiu.lu@intel.com>
10165         [BZ #18880]
10166         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
10167         instead of Slow_BSF, and also check for Fast_Copy_Backward to
10168         enable __memcpy_ssse3_back.
10170 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10172         [BZ #19758]
10173         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10174         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
10176 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10178         [BZ #19490]
10179         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
10180         (__fentry__): Likewise.
10182 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10184         * gmon/Makefile (noprof): Add $(sysdep_noprof).
10185         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
10187 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10189         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
10190         __mcount_internal directly.
10191         (C_LABEL(__fentry__)): Likewise.
10192         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
10193         directly.
10195 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10197         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10198         (__start_context): Call __setcontext directly.
10200 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
10202         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10203         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10204         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
10205         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10206         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10207         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10208         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
10209         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10210         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10211         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
10212         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10213         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10214         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10215         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10216         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10217         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10218         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
10219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10220         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10221         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10222         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
10223         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10224         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10225         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10226         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
10227         Remove conditional code.
10228         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10229         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
10230         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10231         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10232         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
10233         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10234         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10235         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10236         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10237         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10238         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10239         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10241 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
10243         * NEWS (2.23): Fix typo in bug 19048 text.
10245 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
10247         [BZ #14259]
10248         * Makeconfig: Rename msgcatdir to localedir.
10249         Rename inst_msgcatdir to inst_localedir.
10250         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
10251         * config.make.in: Add localedir.
10252         * elf/Makefile ($(objpfx)sotruss): Use localedir.
10253         (ldd-rewrite): Likewise.
10254         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
10255         (install-others): Use inst_localedir.
10256         (CPPFLAGS): Use localedir.
10257         * locale/Makefile (locale-CPPFLAGS): Likewise.
10258         * po/Makefile (mo-installed): Use inst_localedir.
10260         [BZ #19575]
10261         * localedata/charmaps/GB18030: Update comments regarding PAU to
10262         non-PUA mappings.
10264 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
10266         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
10267         test for header.
10268         * sysdeps/unix/sysv/linux/configure: Regenerated.
10269         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
10270         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
10271         Remove conditional code.
10272         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
10274         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10275         Define to 3.2.0.
10276         (arch_minimum_kernel): Likewise.
10277         * sysdeps/unix/sysv/linux/configure: Regenerated.
10278         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10279         Define to 2.6.32.
10280         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
10281         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
10282         (arch_minimum_kernel): Define to 2.6.32.
10283         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
10284         * README: Document Linux 3.2 requirement.
10285         * manual/install.texi (Linux): Document Linux 3.2 headers
10286         requirement.
10287         * INSTALL: Regenerated.
10289 2016-02-24  Andreas Schwab  <schwab@suse.de>
10291         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
10292         if !NO_LONG_DOUBLE.
10294 2016-02-22  Roland McGrath  <roland@hack.frob.com>
10296         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
10297         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
10299 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
10301         [BZ #19512]
10302         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
10304 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10306         * posix/tst-dir.c: Include libc-internal.h.
10308 2016-02-20  Florian Weimer  <fweimer@redhat.com>
10310         [BZ #19056]
10311         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10312         * manual/filesys.texi (Reading/Closing Directory): Mention
10313         deprecaion.
10314         * posix/tst-dir.c (main): Disable deprecation warning in test.
10316 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10318         [BZ #19679]
10319         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10320         Renamed to ...
10321         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10322         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10323         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10324         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10325         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10326         * sysdeps/x86_64/dl-trampoline.h
10327         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10328         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10330 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10332         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10334 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10336         * elf/elf.h (R_386_GOT32X): New.
10337         (R_386_NUM): Update.
10338         (R_X86_64_GOTPCRELX: New.
10339         (R_X86_64_REX_GOTPCRELX): New.
10340         (R_X86_64_NUM): Update.
10342 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
10344         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10346 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
10348         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10349         assign attr->stackaddr to it, and adjust it down when
10350         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
10351         [_STACK_GROWS_UP]: Delete assert.
10352         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10353         Implement stack grows up logic.
10354         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10355         stack grows up logic.
10357 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10359         * NEWS: Update with 2.24 template.
10361 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10363         [BZ #19678]
10364         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10365         Ensure +0.0 is returned when taking the next value below the least
10366         positive value.
10368 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10370         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10371         available.  Do not define NO_THREADS.
10372         * malloc/malloc.c: Do not check NO_THREADS.
10373         * malloc/arena.c: Likewise.
10375 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10377         * malloc/malloc.c (__libc_mallinfo): Update comment.
10378         (struct malloc_par): Remove max_total_mem member, it was always 0.
10379         (int_mallinfo): Store 0 into usmblks (no functional change).
10380         * malloc/hooks.c (struct malloc_state): Document that
10381         max_total_mem is always 0.
10382         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10383         always 0.
10384         * manual/memory.texi (Statistics of Malloc): Likewise.
10386 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10388         * malloc/malloc.c (sysmalloc): Do not update arena_max.
10389         * malloc/arena.c (arena_max): Remove.
10390         (heap_trim, _int_new_arena): Do not update arena_max.
10392 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10394         * resolv/res_init.c (res_ninit): Update comment.
10396 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10398         [BZ #19505]
10399         * posix/spawn_int.h: Add headers and include guard.
10400         (__spawn_valid_fd): New function.
10401         * posix/spawn_faction_addopen.c
10402         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10403         * posix/spawn_faction_addclose.c
10404         (posix_spawn_file_actions_addclose): Likewise.
10405         * posix/spawn_faction_adddup2.c
10406         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
10407         second file descriptor.
10408         * posix/spawn_valid_fd.c: New file.
10409         * posix/tst-posix_spawn-fd.c: New file.
10410         * posix/Makefile (routines): Add spawn_valid_fd.
10411         (tests): Add tst-posix_spawn-fd.
10413 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10415         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
10416         (do_test): Limit the number of arenas, so that we can use fewer
10417         outer threads.  Limit timeout to 3 seconds, in preparation for a
10418         larger TIMEOUT value.
10420 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10422         [BZ #19674]
10423         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
10424         sign in overflowing and underflowing results when overflow or
10425         underflow is detected early.  Include sign in result before rather
10426         than after scaling.
10428         [BZ #19603]
10429         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10430         (__ieee754_remainderl): Adjust sign of integer version of low part
10431         when taking absolute value of high part.
10432         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10433         * math/libm-test.inc (remainder_test_data): Add another test.
10434         (remquo_test_data): Likewise.
10436 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
10438         [BZ #19602]
10439         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
10440         equal high parts and both low parts zero specially.
10441         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
10442         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10443         Add test-fmodl-ldbl-128ibm.
10445         [BZ #19595]
10446         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
10447         common logic for all cases of shifting subnormal results.  Do not
10448         insert sign bit in shifted mantissa.  Always pass -1023 as biased
10449         exponent to ldbl_insert_mantissa in subnormal case.
10451         [BZ #19594]
10452         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
10453         on high and low parts then adjust result and use
10454         ldbl_canonicalize_int if needed.
10456         [BZ #19593]
10457         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
10458         on high part and __floor or __ceil on low part then use
10459         ldbl_canonicalize_int if needed.
10461         [BZ #19592]
10462         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
10463         high and low parts then use ldbl_canonicalize_int if needed.
10465         [BZ #17899]
10466         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
10467         New function.
10468         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
10469         on high and low parts then use ldbl_canonicalize_int if needed.
10471 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10473         * configure: Regenerated.
10475         * po/libc.pot: Regenerated.
10477         * po/be.po: Updated translation.
10478         * po/bg.po: Likewise.
10479         * po/ca.po: Likewise.
10480         * po/cs.po: Likewise.
10481         * po/da.po: Likewise.
10482         * po/el.po: Likewise.
10483         * po/eo.po: Likewise.
10484         * po/es.po: Likewise.
10485         * po/fi.po: Likewise.
10486         * po/fr.po: Likewise.
10487         * po/gl.po: Likewise.
10488         * po/hr.po: Likewise.
10489         * po/hu.po: Likewise.
10490         * po/ia.po: Likewise.
10491         * po/id.po: Likewise.
10492         * po/it.po: Likewise.
10493         * po/ja.po: Likewise.
10494         * po/lt.po: Likewise.
10495         * po/nb.po: Likewise.
10496         * po/nl.po: Likewise.
10497         * po/pt_BR.po: Likewise.
10498         * po/rw.po: Likewise.
10499         * po/sk.po: Likewise.
10500         * po/sl.po: Likewise.
10501         * po/sv.po: Likewise.
10502         * po/tr.po: Likewise.
10503         * po/zh_CN.po: Likewise.
10504         * po/zh_TW.po: Likewise.
10506         * version.h (RELEAES): Set to "development".
10507         (VERSION): Set to 2.23.90.
10509         * version.h (RELEASE): Set to "stable".
10510         (VERSION): Set to 2.23.
10511         * include/feature.h (__GLIBC_MINOR__): Set to 23.
10513         * NEWS: Updated fixed bugs.
10515 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
10516             Wilco Dijkstra  <wdijkstr@arm.com>
10518         [BZ #19462]
10519         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
10520         (_STRING_INLINE_unaligned): This.
10521         * include/string.h: Include <string_private.h>.
10522         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
10523         _STRING_INLINE_unaligned.
10524         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
10525         (_STRING_INLINE_unaligned): New.
10526         * sysdeps/aarch64/string_private.h: New file.
10527         * sysdeps/generic/string_private.h: Likewise.
10528         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
10529         * sysdeps/s390/string_private.h: Likewise.
10530         * sysdeps/x86/string_private.h: Likewise.
10531         * sysdeps/m68k/m680x0/m68020/bits/string.h
10532         (_STRING_ARCH_unaligned): Renamed to ...
10533         (_STRING_INLINE_unaligned): This.
10534         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
10535         to ...
10536         (_STRING_INLINE_unaligned): This.
10537         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
10538         to ...
10539         (_STRING_INLINE_unaligned): This.
10540         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
10541         to ...
10542         (_STRING_INLINE_unaligned): This.
10544 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10545             H.J. Lu  <hongjiu.lu@intel.com>
10547         [BZ #19590]
10548         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
10549         relocation.
10551 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
10553         [BZ #18665]
10554         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
10555         *herrno_p.
10556         (gaih_getanswer): Document functional behviour. Return tryagain
10557         if any result is tryagain.
10558         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
10559         when freed.
10560         * resolv/res_send.c: Add copyright text.
10561         (__libc_res_nsend): Document that MAXPACKET is expected.
10562         (send_vc): Document. Remove buffer reuse.
10563         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
10564         size of the buffer. Add Dprint for truncated UDP buffer.
10566 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
10568         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
10569         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
10570         * INSTALL: Regenerate.
10572 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
10573             Jonathan Wakely  <jwakely@redhat.com>
10574             Carlos O'Donell  <carlos@redhat.com>
10576         [BZ 19439]
10577         * math/Makefile (tests): Add test-math-isinff.
10578         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
10579         * math/bits/mathcalls.h [__USE_MISC]: Use
10580         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
10581         functions not in C++11 and which don't conflict e.g. isinff,
10582         isinfl etc.
10583         * math/test-math-isinff.cc: New file.
10585 2016-02-12  Florian Weimer  <fweimer@redhat.com>
10587         * misc/bug18240.c (do_test): Set RLIMIT_AS.
10589 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10591         [BZ #19529]
10592         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
10594 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10596         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10598 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
10600         [BZ #19550]
10601         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
10602         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
10603         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
10604         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
10605         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
10606         New syscall entry.
10607         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
10608         New syscall entry.
10609         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
10610         syscall entry.
10612 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
10614         [BZ #18240]
10615         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
10616         unsigned int wraparound.
10618 2016-01-27  Florian Weimer  <fweimer@redhat.com>
10620         [BZ #18240]
10621         * misc/bug18240.c: New test.
10622         * misc/Makefile (tests): Add it.
10624 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
10625             Joseph Myers  <joseph@codesourcery.com>
10627         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
10628         load in branch delay slot when less than a word of input left.
10630 2016-01-27  Andreas Schwab  <schwab@suse.de>
10632         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
10633         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
10634         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
10635         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
10637 2016-01-26  David S. Miller  <davem@davemloft.net>
10639         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
10641 2016-01-25  David S. Miller  <davem@davemloft.net>
10643         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
10644         __sqrtl_finite.
10645         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
10646         instead using versioned_symbol.
10647         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
10648         of entries.
10650         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
10651         __sqrtl_finite to GLIBC_2.23
10653 2016-01-25  Ricchard Henderson  <rth@redhat.com>
10655         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10657 2016-01-25  Andreas Schwab  <schwab@suse.de>
10659         [BZ #17514]
10660         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
10661         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
10662         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
10663         * nptl/tst-mutex-errorcheck.c: New file.
10665 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10667         [BZ #18560]
10668         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
10669         (IPCOP_semop): Likewise.
10670         (IPCOP_semget): Likewise.
10671         (IPCOP_semctl): Likewise.
10672         (IPCOP_msgsnd): Likewise.
10673         (IPCOP_msgrcv): Likewise.
10674         (IPCOP_msgget): Likewise.
10675         (IPCOP_msgctl): Likewise.
10676         (IPCOP_shmat): Likewise.
10677         (IPCOP_shmdt): Likewise.
10678         (IPCOP_shmget): Likewise.
10679         (IPCOP_shmctl): Likewise.
10681 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10683         * string/tst-endian.c: Include <libc-internal.h>.
10684         (do_test): Ignore tautological-compare warnings around
10685         "htobeXX (beXXtoh (i)) != i" and
10686         "htoleXX (leXXtoh (i)) != i" if-statements.
10688 2016-01-24  David S. Miller  <davem@davemloft.net>
10690         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
10691         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
10692         alias.
10693         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10694         __sqrtl_finite.
10696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10698 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
10700         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
10701         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
10702         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10704 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10706         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
10707         (thread_func): Use new function to simplify barrier check.
10708         (do_test): Use new function to simplify checking barrier exit
10709         code, and actually join the child thread.
10711 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10713         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
10714         semicolon.
10715         (__libc_tend): Likewise.
10716         (__libc_tabort): Likewise.
10718 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
10720         * sysdeps/nios2/libm-test-ulps: Update.
10721         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
10722         (__gtsf2): Likewise.
10723         (__unorddf2): Likewise.
10724         (__unordsf2): Likewise.
10725         (__ledf2): Likewise.
10727 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
10729         * nis/nis_table.c (__follow_path): Disable diagnostic for
10730         uninitialized variable that is a false positive for gcc 4.7.
10731         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
10733 2016-01-20  Roland McGrath  <roland@hack.frob.com>
10735         * sysdeps/nacl/lowlevellock-futex.h
10736         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
10737         Always evaluate PRIVATE argument.
10739 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
10741         [BZ #19490]
10742         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
10743         (pthread_cond_broadcast): Use ENTRY/END
10744         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
10745         (pthread_cond_signal): Likewise.
10746         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
10747         Likewise.
10748         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
10749         Likewise.
10750         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
10751         Likewise.
10753 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
10755         * sysdeps/ieee754/dbl-64/s_finite.c
10756         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
10757         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
10758         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
10759         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
10760         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
10762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10763         (__gtsf2): Add as optional for libc.so.
10764         (__unordsf2): Likewise.
10765         (__signbit): Remove for libc.so.
10766         (__signbitl): Likewise.
10768 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10770         * iconvdata/bug-iconv11.c (test_ibm93x):
10771         Use %zu printf format specifier for size_t argument.
10773 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
10775         * math/gen-libm-test.pl (parse_ulps): Do not reduce
10776         already-recorded ulps.
10777         * sysdeps/arm/libm-test-ulps: Regenerated.
10778         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10779         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10780         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10782 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10783             Paul Pluzhnikov  <ppluzhnikov@google.com>
10785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10786         assembler not supporting AVX-512.
10788 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10790         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10792 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10794         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10795         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10797         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10799         * sysdeps/arm/libm-test-ulps: Regenerated.
10801 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10803         [BZ #19451]
10804         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10806 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10808         [BZ #19486]
10809         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10810         * sysdeps/generic/fix-fp-int-convert-overflow.h
10811         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10812         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10813         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10814         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10815         Likewise.
10816         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10817         Avoid conversions to long int where inexact exceptions
10818         could be raised.
10819         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10820         Likewise.
10821         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10822         Avoid conversions to long long int where inexact exceptions
10823         could be raised.
10824         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10825         Likewise.
10827 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10829         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10830         * configure: Regenerated.
10832 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10834         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10836 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10838         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10839         outside of comment.
10841 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10843         * nptl/tst-barrier1.c: Add description on first line.
10844         * nptl/tst-barrier2.c: Likewise.
10845         * nptl/tst-barrier3.c: Likewise.
10846         * nptl/tst-barrier4.c: Likewise.
10847         * nptl/tst-barrier5.c: Likewise.
10849 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10851         [BZ #18868]
10852         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10854 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10857         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10858         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10859         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10860         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10861         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10862         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10863         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10864         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10865         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10866         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10868 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10870         [BZ #13065]
10871         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10872         new implementation.
10873         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10874         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10875         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10876         (BARRIER_IN_THRESHOLD): New macro.
10877         * nptl/pthread_barrierattr_setpshared.c
10878         (pthread_barrierattr_setpshared): Clean up.
10879         * nptl/tst-barrier4.c: Correct comment.
10880         * nptl/tst-barrier5.c: New file.
10881         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10882         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10883         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10884         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10885         * nptl/lowlevelbarrier.sym: Remove.
10886         * nptl/DESIGN-barrier.txt: Remove.
10887         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10888         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10889         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10890         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10891         error.
10892         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10893         implementation.
10895 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10897         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10898         (do_child): Mask SIGRTMIN while thr is running.
10900 2016-01-15  Martin Sebor  <msebor@redhat.com>
10902         [BZ #19432]
10903         * iconvdata/Makefile: Add bug-iconv11.
10904         * iconvdata/bug-iconv11.c: New test.
10905         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10906         * iconvdata/ibm933.c: Same.
10907         * iconvdata/ibm935.c: Same.
10908         * iconvdata/ibm937.c: Same.
10909         * iconvdata/ibm939.c: Same.
10911 2016-01-15  Martin Sebor  <msebor@redhat.com>
10913         [BZ #19443]
10914         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10915         [DEBUG] (_ufc_set_bits): Declare used.
10916         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10917         [DEBUG] (print_all): Declare used.
10918         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10919         operands of the ternary ?: expression to target type.
10920         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10921         calling the undeclared abort.
10922         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10924 2016-01-15  Martin Sebor  <msebor@redhat.com>
10926         [BZ #18755]
10927         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10928         warnings.
10929         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10930         (__gai_create_helper_thread): Same.
10931         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10932         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10933         to suppress -Wmaybe-uninitialized warnings.
10935 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10937         [BZ #19465]
10938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10939         inside if.
10940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10941         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10944 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10946         [BZ #19466]
10947         * time/tst-mktime2.c (time_t_max): Removed.
10948         (time_t_min): Likewise.
10949         (TYPE_SIGNED): New.
10950         (TYPE_MINIMUM): Likewise.
10951         (TYPE_MAXIMUM): Likewise.
10952         (TIME_T_MIN): Likewise.
10953         (TIME_T_MAX): Likewise.
10954         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10955         and TIME_T_MIN.
10956         (do_test): Likewise.
10958 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10960         [BZ #19467]
10961         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10962         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10964 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10966         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10968 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10970         * benchtests/Makefile (PYTHON): Define.
10971         (bench-func): Use $(PYTHON) to run python scripts.
10972         ($(objpfx)bench-%.c): Likewise.
10974 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10976         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10977         leading slash when `file_name' is "/".
10979 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10981         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10982         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10983         Likewise.
10984         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10985         Likewise.
10986         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10987         Likewise.
10988         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10989         enum constant and macro.
10990         (PTRACE_SETSIGMASK): Likewise.
10991         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10992         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10993         (PTRACE_GETSIGMASK): Likewise.
10994         (PTRACE_SETSIGMASK): Likewise.
10995         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10996         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
10997         Likewise.
10998         (PTRACE_SETSIGMASK): Likewise.
10999         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11000         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11001         (PTRACE_GETSIGMASK): Likewise.
11002         (PTRACE_SETSIGMASK): Likewise.
11003         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11004         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11005         Likewise.
11006         (PTRACE_SETSIGMASK): Likewise.
11007         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11008         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11009         Likewise.
11010         (PTRACE_SETSIGMASK): Likewise.
11011         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11012         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11013         Likewise.
11014         (PTRACE_SETSIGMASK): Likewise.
11015         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11017 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11018             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11020         [BZ #19439]
11021         * math/bits/mathcalls.h
11022         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11023         prototype.
11024         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11026 2016-01-11  Andreas Schwab  <schwab@suse.de>
11028         [BZ #19253]
11029         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11030         cache when TZDEFRULES was used.
11031         * time/tst-tzname.c: New file.
11032         * time/Makefile (test): Add tst-tzname.
11033         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11034         * timezone/Makefile (test-zones): Add $(posixrules-file).
11035         ($(testdata)/$(posixrules-file)): New rule.
11037 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11039         Fix doc quoting problems with Texinfo 5
11040         Without this change, in the info file output, Texinfo 5 quotes code
11041         in text with undirected single quotes 'like this' and generates
11042         code examples that with many PDF readers cannot be cut out of PDFs
11043         and pasted into code.
11044         * manual/libc.texinfo: Configure the libc manual like the GNU
11045         Emacs manual, by using @documentencoding and setting
11046         txicodequoteundirected and txicodequotebacktick.  This way,
11047         Texinfo 5 quotes code in text with directed single quotes ‘like
11048         this’ and produces examples that can be cut out of PDFs.  This
11049         change causes Texinfo 5 to generate info files that contain UTF-8
11050         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11051         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11053 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11055         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11056         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11057         barriers to their respective compiler built-ins.
11058         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11059         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11060         * sysdeps/powerpc/sysdep.h: Likewise.
11061         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11062         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11063         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11065 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11067         * scripts/config.guess: Revert previous shebang change.
11068         * scripts/config.sub: Likewise.
11069         * scripts/mkinstalldirs: Likewise.
11071 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11073         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11074         PPC_FEATURE2_HAS_IEEE128.
11075         * sysdeps/powerpc/dl-procinfo.c:
11076         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11078 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11080         [BZ #19415]
11081         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11082         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11083         (_dl_lookup_address): Rewrite using function resolver trampoline.
11084         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11085         two bits in address.
11087 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11089         * longlong.h: Change !__SHMEDIA__ to
11090         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11091         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11093 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11094             Joseph Myers  <joseph@codesourcery.com>
11095             Mark Shinwell  <shinwell@codesourcery.com>
11096             Andrew Stubbs  <ams@codesourcery.com>
11097             Rich Felker <dalias@libc.org>
11099         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11101 2016-01-07  Richard Henderson  <rth@redhat.com>
11103         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11105 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11107         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11108         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11109         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11110         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11111         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11113 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11114             Joseph Myers  <joseph@codesourcery.com>
11116         * timezone/private.h: Update from tzcode 2015g.
11117         * timezone/tzfile.h: Likewise.
11118         * timezone/tzselect.ksh: Likewise.
11119         * timezone/zdump.c: Likewise.
11120         * timezone/zic.c: Likewise.
11121         * timezone/ialloc.c: Remove file.
11122         * timezone/scheck.c: Likewise.
11123         * timezone/Makefile (extra-objs): Remove variable.
11124         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11125         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11126         -Wno-maybe-uninitialized.
11127         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11128         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11129         (CFLAGS-ialloc.c): Remove variable.
11130         (CFLAGS-scheck.c): Likewise.
11131         * timezone/README: Update list of files from tzcode.
11133 2016-01-07  Khem Raj  <raj.khem@gmail.com>
11135         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
11136         instead of __fxprintf when _LIBC is undefined.
11138 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
11140         * catgets/test-gencat.sh: Remove space after shebang.
11141         * conform/GlibcConform.pm: Likewise.
11142         * conform/check-header-lists.sh: Likewise.
11143         * conform/conformtest.pl: Likewise.
11144         * conform/linknamespace.pl: Likewise.
11145         * conform/list-header-symbols.pl: Likewise.
11146         * debug/catchsegv.sh: Likewise.
11147         * elf/genrtldtbl.awk: Likewise.
11148         * elf/tst-pathopt.sh: Likewise.
11149         * elf/tst-rtld-load-self.sh: Likewise.
11150         * grp/tst_fgetgrent.sh: Likewise.
11151         * iconvdata/gen-8bit-gap-1.sh: Likewise.
11152         * iconvdata/gen-8bit-gap.sh: Likewise.
11153         * iconvdata/gen-8bit.sh: Likewise.
11154         * iconvdata/run-iconv-test.sh: Likewise.
11155         * intl/tst-gettext.sh: Likewise.
11156         * intl/tst-gettext2.sh: Likewise.
11157         * intl/tst-gettext4.sh: Likewise.
11158         * intl/tst-gettext6.sh: Likewise.
11159         * intl/tst-translit.sh: Likewise.
11160         * io/ftwtest-sh: Likewise.
11161         * libio/test-freopen.sh: Likewise.
11162         * locale/gen-translit.pl: Likewise.
11163         * malloc/tst-mtrace.sh: Likewise.
11164         * manual/check-safety.sh: Likewise.
11165         * manual/libc-texinfo.sh: Likewise.
11166         * manual/tsort.awk: Likewise.
11167         * manual/xtract-typefun.awk: Likewise.
11168         * nptl/tst-cancel-wrappers.sh: Likewise.
11169         * nptl/tst-tls6.sh: Likewise.
11170         * posix/globtest.sh: Likewise.
11171         * posix/tst-getconf.sh: Likewise.
11172         * posix/wordexp-tst.sh: Likewise.
11173         * scripts/check-c++-types.sh: Likewise.
11174         * scripts/check-local-headers.sh: Likewise.
11175         * scripts/config.guess: Likewise.
11176         * scripts/config.sub: Likewise.
11177         * scripts/cpp: Likewise.
11178         * scripts/cross-test-ssh.sh: Likewise.
11179         * scripts/documented.sh: Likewise.
11180         * scripts/evaluate-test.sh: Likewise.
11181         * scripts/gen-libc-abis: Likewise.
11182         * scripts/gen-sorted.awk: Likewise.
11183         * scripts/list-fixed-bugs.py: Likewise.
11184         * scripts/merge-test-results.sh: Likewise.
11185         * scripts/mkinstalldirs: Likewise.
11186         * scripts/rellns-sh: Likewise.
11187         * scripts/test-installation.pl: Likewise.
11188         * scripts/update-copyrights: Likewise.
11189         * stdio-common/tst-printf.sh: Likewise.
11190         * stdio-common/tst-unbputc.sh: Likewise.
11191         * stdlib/tst-fmtmsg.sh: Likewise.
11192         * stdlib/tst-setcontext3.sh: Likewise.
11193         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
11194         * sysdeps/unix/make-syscalls.sh: Likewise.
11196 2016-01-06  John David Anglin  <dave.anglin@bell.net>
11198         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
11199         asm stw with atomic_exchange_rel.  Add explanatory comment.
11200         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
11201         Likewise.
11203 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11205         [BZ #19122]
11206         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
11207         * sysdeps/generic/dl-unistd.h: New file.
11208         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
11210 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11212          [BZ #19122]
11213          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
11214          * sysdeps/generic/dl-mman.h: New file.
11215          * sysdeps/mach/hurd/dl-mman.h: Likewise.
11217 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
11219         * manual/texinfo.tex: Update to version 2016-01-04.21 with
11220         trailing whitespace removed.
11221         * scripts/config.guess: Update to version 2016-01-01.
11222         * scripts/config.sub: Update to version 2016-01-01.
11223         * scripts/move-if-change: Update from gnulib.
11225 2016-01-04  Anton Blanchard  <anton@samba.org>
11227         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
11228         for array indices.
11229         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
11231 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
11233         * NEWS: Update copyright dates.
11234         * catgets/gencat.c (print_version): Likewise.
11235         * csu/version.c (banner): Likewise.
11236         * debug/catchsegv.sh: Likewise.
11237         * debug/pcprofiledump.c (print_version): Likewise.
11238         * debug/xtrace.sh (do_version): Likewise.
11239         * elf/ldconfig.c (print_version): Likewise.
11240         * elf/ldd.bash.in: Likewise.
11241         * elf/pldd.c (print_version): Likewise.
11242         * elf/sotruss.sh: Likewise.
11243         * elf/sprof.c (print_version): Likewise.
11244         * iconv/iconv_prog.c (print_version): Likewise.
11245         * iconv/iconvconfig.c (print_version): Likewise.
11246         * locale/programs/locale.c (print_version): Likewise.
11247         * locale/programs/localedef.c (print_version): Likewise.
11248         * login/programs/pt_chown.c (print_version): Likewise.
11249         * malloc/memusage.sh (do_version): Likewise.
11250         * malloc/memusagestat.c (print_version): Likewise.
11251         * malloc/mtrace.pl: Likewise.
11252         * manual/libc.texinfo: Likewise.
11253         * nptl/version.c (banner): Likewise.
11254         * nscd/nscd.c (print_version): Likewise.
11255         * nss/getent.c (print_version): Likewise.
11256         * nss/makedb.c (print_version): Likewise.
11257         * posix/getconf.c (main): Likewise.
11258         * scripts/test-installation.pl: Likewise.
11259         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11261         * All files with FSF copyright notices: Update copyright dates
11262         using scripts/update-copyrights.
11263         * intl/plural.c: Regenerated.
11264         * locale/programs/charmap-kw.h: Likewise.
11265         * locale/programs/locfile-kw.h: Likewise.
11267 2016-01-02  Helge Deller  <deller@gmx.de>
11269         [BZ #19285]
11270         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
11271         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
11272         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
11273         (MADV_xxK_PAGES): Remove.
11275 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
11277         [BZ #15421]
11278         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
11279         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
11280         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
11281         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
11283 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
11285         [BZ #19408]
11286         * sysdeps/unix/sysv/linux/personality.c: New file.
11287         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
11288         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
11289         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
11290         (sysdep_routines): Add personality.
11291         (tests): Add tst-personality.
11292         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11293         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
11294         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
11295         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
11296         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
11297         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
11298         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
11299         Likewise.
11300         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
11301         Likewise.
11302         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
11303         Likewise.
11304         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
11305         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
11306         Likewise.
11308 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
11310         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11311         (PATH_ARM_SYSTYPE): Remove.
11312         (PATH_CPUINFO): Likewise.
11313         (IO_BASE_FOOTBRIDGE): Likewise.
11314         (IO_SHIFT_FOOTBRIDGE): Likewise.
11315         (struct platform): Likewise.
11316         (init_iosys): Remove compatibility code for 2.4 kernels.
11317         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11319 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11321         * malloc/tst-malloc-thread-fail.c: New file.
11322         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11323         (tst-malloc-thread-fail): Link against libpthread.
11325 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11327         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11328         (get_parser): New function.
11329         (main): New function.
11331 2015-12-29  Rob Wu  <rob@robwu.nl>
11333         [BZ #19369]
11334         * resolv/res_init.c (__res_vinit): Reset defdname before use.
11336 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
11338         [BZ #19270]
11339         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11341 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
11343         [BZ #15421]
11344         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11346 2015-12-23  Torvald Riegel  <triegel@redhat.com>
11348         [BZ #13690]
11349         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11350         after releasing it.
11351         (__lll_robust_unlock): Likewise.
11352         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11353         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11354         (lll_robust_unlock): Likewise.
11355         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11356         Prevent warnings in callers.
11358 2015-12-23  Florian Weimer  <fweimer@redhat.com>
11360         * malloc/arena.c (list_lock): Update comment.
11362 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11364         * sysdeps/powerpc/hwcapinfo.c: Export symbol
11365         __parse_hwcap_and_convert_at_platform to libc.a.
11367 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11369         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11370         platform and feature support for POWER9.
11371         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11372         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11373         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11374         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11375         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11376         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11377         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11378         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11380 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11382         Harmonize generic stdio-lock support with nptl
11384         This fixes build when _IO_funlockfile is a macro, fixes build where
11385         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11386         stack unwind.
11388         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11389         _IO_release_lock ): Use cleanup attribute on new
11390         _IO_acquire_lock_file variable instead of assuming that
11391         _IO_release_lock will be called.
11392         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11393         _IO_acquire_lock_needs_exceptions_enabled.
11394         (_IO_acquire_lock_clear_flags2): New macro.
11396 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11398         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11400 2015-12-21  Florian Weimer  <fweimer@redhat.com>
11402         [BZ #19182]
11403         * malloc/arena.c (list_lock): Document lock ordering requirements.
11404         (free_list_lock): New lock.
11405         (ptmalloc_lock_all): Comment on free_list_lock.
11406         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11407         (detach_arena): Update comment.  free_list_lock is now needed.
11408         (_int_new_arena): Use free_list_lock around detach_arena call.
11409         Acquire arena lock after list_lock.  Add comment, including FIXME
11410         about incorrect synchronization.
11411         (get_free_list): Switch to free_list_lock.
11412         (reused_arena): Acquire free_list_lock around detach_arena call
11413         and attached threads counter update.  Add two FIXMEs about
11414         incorrect synchronization.
11415         (arena_thread_freeres): Switch to free_list_lock.
11416         * malloc/malloc.c (struct malloc_state): Update comments to
11417         mention free_list_lock.
11419 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11421         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
11422         Remove functions.
11423         (sloww, sloww1): Accept argument to offset quadrant.
11424         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
11425         quadrant.
11426         (__sin, __cos): Consolidate common code into new functions.
11427         (reduce_sincos_1, do_sincos_1): New functions.
11428         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11430         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
11431         code to new functions.
11432         (reduce_sincos_2, do_sincos_2): New functions.
11433         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11435         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
11436         common code for sincos.
11437         (__cos) [!IN_SINCOS]: Likewise.
11438         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
11439         New function.
11440         (__sincos): Use it.
11442 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
11444         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
11445         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
11446         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11448 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11450         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
11451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11453         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
11454         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11455         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
11456         index_Prefer_No_VZEROUPPER): New feature.
11457         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
11458         Prefer_No_VZEROUPPER for Knights Landing.
11460 015-12-18  Torvald Riegel  <triegel@redhat.com>
11462         * math/atest-exp2.c (mp_exp_m1): Remove.
11464 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11466         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
11467         syscalls.
11468         (__SYSCALL0): New macro.
11469         (__SYSCALL1): Likewise.
11470         (__SYSCALL2): Likewise.
11471         (__SYSCALL3): Likewise.
11472         (__SYSCALL4): Likewise.
11473         (__SYSCALL5): Likewise.
11474         (__SYSCALL6): Likewise.
11475         (__SYSCALL_CONCAT_X): Likewise.
11476         (__SYSCALL_CONCAT): Likewise.
11477         (__SYSCALL_DIST): Likewise.
11478         (__SYSCALL_CALL): Likewise.
11480 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
11482         [BZ #19363]
11483         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
11485 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11487         [BZ #19375]
11488         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
11489         negative subnormals.
11491 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
11493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11494         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
11495         (INTERNAL_SYSCALL_NCS): Use it.
11496         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11498 2015-12-16  Florian Weimer  <fweimer@redhat.com>
11500         [BZ #19243]
11501         * malloc/arena.c (get_free_list): Remove assert and adjust
11502         reference count handling.  Add comment about reused_arena
11503         interaction.
11504         (reused_arena): Add comments abount get_free_list interaction.
11505         * malloc/tst-malloc-thread-exit.c: New file.
11506         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
11507         (tst-malloc-thread-exit): Link against libpthread.
11509 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11511         [BZ #19367]
11512         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
11513         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
11514         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
11515         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
11516         (index_Prefer_MAP_32BIT_EXEC): Likewise.
11518 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11520         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
11521         Silvermont optimizations for Knights Landing.
11523 2015-12-15  Andreas Schwab  <schwab@suse.de>
11525         [BZ #17197]
11526         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
11527         immediately after emitting SI.
11528         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
11529         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
11530         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
11531         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
11532         * iconvdata/bug-iconv10.c: New file.
11533         * iconvdata/Makefile (tests): Add bug-iconv10.
11534         ($(objpfx)bug-iconv10.out): New rule.
11536 2015-12-15  Florian Weimer  <fweimer@redhat.com>
11538         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
11539         aliasing violation.
11541 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
11543         [BZ #18472]
11544         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
11545         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
11546         conditionals for them.
11547         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
11548         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
11549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
11550         sys/kdaemon.h.
11551         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
11552         compat-only syscall, obsoleted in glibc 2.23.
11553         (create_module): Likewise.
11554         (get_kernel_syms): Likewise.
11555         (query_module): Likewise.
11556         (uselib): Likewise.
11557         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
11559 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
11561         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
11562         <linux/version.h>.
11563         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
11564         conditional code.
11565         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
11566         and ioshift_name initialization.
11568 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11570         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11571         Fix indentation.
11573 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11575         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
11577 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11579         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
11581 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
11582             Jakub Wilk  <jwilk@debian.org>
11584         [BZ #19347]
11585         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
11586         to change the group of the device to the tty group.
11588 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
11590         Split large string section; add truncation advice
11591         * manual/examples/strncat.c: Remove.
11592         This example was misleading, as the code would have undefined
11593         behavior if "hello" was longer than SIZE.  Anyway, the manual
11594         shouldn't encourage strncpy+strncat for this sort of thing.
11595         * manual/string.texi (Copying Strings and Arrays): Split into
11596         three sections Copying Strings and Arrays, Concatenating Strings,
11597         and Truncating Strings, as this section was way too long.  All
11598         cross-referenced changed.  Add advice about string-truncation
11599         functions.  Remove misleading strncat example.
11601 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
11603         * manual/nss.texi (NSS Modules Interface): Document
11604         NSS_STATUS_NOTFOUND and SUCCESS.
11606 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11608         [BZ 18568]
11609         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11610         201505L, for Unicode 8.
11612 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
11614         * locale/C-translit.h: Regenerate.
11616 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11618         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
11619         and U+0153.
11621 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
11623         [BZ #19351]
11624         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
11625         expanding log(1+z), compare z rather than its square with epsilon
11626         to determine when to avoid evaluating the expansion.
11628         [BZ #19350]
11629         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11630         Increase overflow threshold.
11632         [BZ #19349]
11633         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
11634         when small.
11636         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11637         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11638         New macro.
11639         [__LINUX_KERNEL_VERSION >= 0x040300]
11640         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11641         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11642         Likewise.
11643         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11644         Likewise.
11645         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11646         Likewise.
11647         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11648         Likewise.
11649         [__LINUX_KERNEL_VERSION >= 0x040300]
11650         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11651         [__LINUX_KERNEL_VERSION >= 0x040300]
11652         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11653         [__LINUX_KERNEL_VERSION >= 0x040300]
11654         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11655         [__LINUX_KERNEL_VERSION >= 0x040300]
11656         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11657         [__LINUX_KERNEL_VERSION >= 0x040300]
11658         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11659         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11660         Likewise.
11661         [__LINUX_KERNEL_VERSION >= 0x040300]
11662         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11663         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11664         Likewise.
11665         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11666         Likewise.
11667         [__LINUX_KERNEL_VERSION >= 0x040300]
11668         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11669         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11670         Likewise.
11671         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11672         Likewise.
11673         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11674         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
11675         Likewise.
11676         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
11677         Likewise.
11678         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11679         Likewise.
11680         [__LINUX_KERNEL_VERSION >= 0x040300]
11681         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11682         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11683         Likewise.
11684         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11685         Likewise.
11686         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11687         Likewise.
11688         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11689         Likewise.
11690         [__LINUX_KERNEL_VERSION >= 0x040300]
11691         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11692         [__LINUX_KERNEL_VERSION >= 0x040300]
11693         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11694         [__LINUX_KERNEL_VERSION >= 0x040300]
11695         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11696         [__LINUX_KERNEL_VERSION >= 0x040300]
11697         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11698         [__LINUX_KERNEL_VERSION >= 0x040300]
11699         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11700         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11701         Likewise.
11702         [__LINUX_KERNEL_VERSION >= 0x040300]
11703         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11704         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11705         Likewise.
11706         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11707         Likewise.
11708         [__LINUX_KERNEL_VERSION >= 0x040300]
11709         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11710         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11711         Likewise.
11712         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11713         Likewise.
11714         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11715         (__ASSUME_SOCKET_SYSCALL): Likewise.
11716         (__ASSUME_BIND_SYSCALL): Likewise.
11717         (__ASSUME_CONNECT_SYSCALL): Likewise.
11718         (__ASSUME_LISTEN_SYSCALL): Likewise.
11719         (__ASSUME_ACCEPT_SYSCALL): Likewise.
11720         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11721         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11722         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11723         (__ASSUME_SEND_SYSCALL): Likewise.
11724         (__ASSUME_SENDTO_SYSCALL): Likewise.
11725         (__ASSUME_RECV_SYSCALL): Likewise.
11726         (__ASSUME_RECVFROM_SYSCALL): Likewise.
11727         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
11728         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11729         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11730         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11731         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11732         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11733         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
11734         Likewise.
11735         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
11736         Likewise.
11737         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
11738         Likewise.
11739         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
11740         Likewise.
11741         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
11742         Likewise.
11743         [__LINUX_KERNEL_VERSION >= 0x020625]
11744         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11745         [__LINUX_KERNEL_VERSION >= 0x020625]
11746         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11747         [__LINUX_KERNEL_VERSION >= 0x020625]
11748         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11749         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
11750         Likewise.
11751         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
11752         Likewise.
11753         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
11754         Likewise.
11755         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
11756         Likewise.
11757         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
11758         Likewise.
11759         [__LINUX_KERNEL_VERSION >= 0x020625]
11760         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11761         [__LINUX_KERNEL_VERSION >= 0x020625]
11762         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11763         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
11764         Likewise.
11765         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
11766         Likewise.
11768 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11770         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
11771         record the current if the current ABI and CPU support the FP64
11772         extension.
11773         (has-modd-spreg): Define to record the current if the current ABI and
11774         CPU support 32-bit floating point values in odd FPU registers.
11775         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11776         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
11777         $(has-modd-spreg) equals yes.
11778         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
11779         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11780         $(has-modd-spreg) equal yes.
11782 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11784         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11785         basename.
11787 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11789         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11790         (bench-string): ... here.
11791         (bench): Add bench-string.
11792         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11793         to *-benchset to reflect what they are.
11794         (benchset): Adjust.
11796         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11797         cos-inputs.
11799 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11801         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11802         __attribute__ ((__simd__)) for vector math function declarations.
11804 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11806         Fix typo in strncat, wcsncat manual entries
11807         * manual/string.texi (Copying and Concatenation): Fix typos in
11808         sample implementations of strncat and wcsncat, by having them use
11809         the old value of the destination length, not the new one.
11811 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11813         [BZ #16961]
11814         [BZ #16962]
11815         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11816         string on the stack for strtod.
11817         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11818         a string on the stack for strtof.
11819         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11820         constructing a string on the stack for strtold.
11821         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11822         __strtold_nan to GLIBC_PRIVATE.
11823         * math/test-nan-overflow.c: New file.
11824         * math/test-nan-payload.c: Likewise.
11825         * math/Makefile (tests): Add test-nan-overflow and
11826         test-nan-payload.
11828 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11830         Consistency about byte vs character in string.texi
11831         * manual/string.texi (String and Array Utilities):
11832         Distinguish more carefully among bytes, multibyte characters,
11833         and wide characters.  Use "byte" when talking about C 'char',
11834         to distinguish it more clearly from multibyte characters.
11835         Say "wide character" or "multibyte character" instead of
11836         "character", when a wide or multibyte character is intended.
11837         Similarly for "multibyte string" versus "string".
11838         Define these terms more carefully.
11840 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11842         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11843         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11844         Likewise.
11845         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11846         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11847         * sysdeps/sh/math_private.h: New file.
11848         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11849         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11850         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11851         long double function name.
11852         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11853         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11854         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11855         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11856         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11858         Remove __finitel, __isinfl, and __isnanl.
11859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11860         Likewise.
11861         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11863         Remove __finitel.
11864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11865         Likewise.
11866         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11868 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11870         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11871         installed libmvec_nonshared.a.
11873 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11875         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11876         (sysdep_routines): Likewise.
11877         (sysdep-rtld-routines): Likewise.
11878         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11879         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11880         * sysdeps/powerpc/Versions: Added new
11881         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11882         * sysdeps/powerpc/hwcapinfo.c: New file.
11883         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11884         and parse hwcap, hwcap2 and platform number information.
11885         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11886         to store HWCAP+HWCAP2 and platform number.
11887         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11888         for HWCAP+HWCAP2 and platform number in the TCB.
11889         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11890         the HWCAP, HWCAP2 and platform number in the TCB.
11891         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11892         (TLS_INIT_TP): Included calls to add the hwcap and
11893         at_platform values in the TCB in TP initialization.
11894         (TLS_DEFINE_INIT_TP): Likewise.
11895         (THREAD_GET_HWCAP): New macro.
11896         (THREAD_SET_HWCAP): Likewise.
11897         (THREAD_GET_AT_PLATFORM): Likewise.
11898         (THREAD_SET_AT_PLATFORM): Likewise.
11899         * sysdeps/powerpc/powerpc32/dl-machine.h:
11900         (dl_platform_init): New function that calls
11901         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11902         powerpc32.
11903         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11904         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11905         this functionality, static linking case.
11906         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11907         linking case.
11908         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11909         __parse_hwcap_and_convert_at_platform for the static linking case.
11910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11911         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11912         ABI list for GLIBC 2.23.
11913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11914         Likewise.
11915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11916         Likewise.
11918 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11920         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11921         * configure: Regenerate.
11922         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11923         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11925 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11927         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11928         * iconvdata/ibm933.c: Likewise.
11929         * iconvdata/ibm935.c: Likewise.
11930         * iconvdata/ibm937.c: Likewise.
11931         * iconvdata/ibm939.c: Likewise.
11933 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11935         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11936         pthread_join.
11937         * nptl/tst-cancel21.c (tf): Likewise.
11939 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11941         [BZ #19313]
11942         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11943         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11944         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11945         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11946         Likewise.
11947         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11948         Likewise.
11949         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11950         Likewise.
11951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11952         Likewise.
11953         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11954         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11955         unsigned long int with __CPU_MASK_TYPE.
11957 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11959         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11961 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11963         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11964         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11965         t512.x.
11966         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11968 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11970         [BZ #19214]
11971         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11972         argument to return extended model.  Update family and model
11973         with extended family and model when family == 0x0f.
11974         (init_cpu_features): Updated.
11976 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11978         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11979         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11981         * sysdeps/mach/hurd/mmap64.c: New file.
11983 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11985         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11986         rights for its main user thread in NEWTASK.
11988 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11990         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11991         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11993 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
11995         [BZ #14259]
11996         * Makeconfig: Rename localedir to complocaledir.
11997         Rename inst_localedir to inst_complocaledir.
11998         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
11999         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12000         * configure.ac: Use libc_cv_complocaledir.
12001         * configure: Regenerate.
12002         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12003         -DCOMPLOCALEDIR.
12004         * locale/findlocale.c: Use COMPLOCALEDIR.
12005         * locale/loadarchive.c: Likewise.
12006         * locale/programs/locale.c: Likewise.
12007         * locale/programs/localedef.c: Likewise.
12008         * locale/programs/locarchive.c: Likewise.
12009         * localedata/Makefile: Use inst_complocaledir.
12010         * sysdeps/gnu/configure: Regenerate.
12011         * sysdeps/hppa/configure: Regenerate.
12012         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12013         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12015         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12016         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12017         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12018         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12020 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12022         [BZ #19058]
12023         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12024         AS_NEEDED.
12025         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12026         workaround.
12027         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12028         libmvec-static-only-routines): Added new file.
12029         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12031 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12033         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12034         of interrupted RPC instead of restoring it.
12036         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12037         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12038         libc_hidden_def.
12039         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12040         into initialized data instead of common. Define rtld_hidden_data_def.
12041         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12042         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12043         libc_hidden_def.
12044         (if_freenameindex): Add libc_hidden_weak.
12045         (if_nameindex): Add libc_hidden_weak.
12046         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12047         __open64.
12048         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12049         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12050         * sysdeps/mach/nanosleep.c: Include <time.h>
12051         (__nanosleep): Rename to __libc_nanosleep.
12052         (__nanosleep): Add weak_alias.
12053         (nanosleep): Update alias.
12055 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12057         * stdlib/strtod_nan.c: New file.
12058         * stdlib/strtod_nan_double.h: Likewise.
12059         * stdlib/strtod_nan_float.h: Likewise.
12060         * stdlib/strtod_nan_main.c: Likewise.
12061         * stdlib/strtod_nan_narrow.h: Likewise.
12062         * stdlib/strtod_nan_wide.h: Likewise.
12063         * stdlib/strtof_nan.c: Likewise.
12064         * stdlib/strtold_nan.c: Likewise.
12065         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12066         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12067         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12068         * wcsmbs/wcstod_nan.c: Likewise.
12069         * wcsmbs/wcstof_nan.c: Likewise.
12070         * wcsmbs/wcstold_nan.c: Likewise.
12071         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12072         strtold_nan.
12073         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12074         wcstof_nan.
12075         * include/stdlib.h (__strtof_nan): Declare and use
12076         libc_hidden_proto.
12077         (__strtod_nan): Likewise.
12078         (__strtold_nan): Likewise.
12079         (__wcstof_nan): Likewise.
12080         (__wcstod_nan): Likewise.
12081         (__wcstold_nan): Likewise.
12082         * include/wchar.h (____wcstoull_l_internal): Declare.
12083         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12084         (____strtoull_l_internal): Remove declaration.
12085         (STRTOF_NAN): Define macro.
12086         (SET_MANTISSA): Remove macro.
12087         (STRTOULL): Likewise.
12088         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12089         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12090         (STRTOF_NAN): Define macro.
12091         (SET_MANTISSA): Remove macro.
12092         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12093         (SET_MANTISSA): Remove macro.
12094         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12095         macro.
12096         (SET_MANTISSA): Remove macro.
12097         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12098         macro.
12099         (SET_MANTISSA): Remove macro.
12100         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12101         (SET_MANTISSA): Remove macro.
12102         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12103         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12104         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12106         [BZ #19266]
12107         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12108         upper case and lower case letters inside NAN(), not using TOLOWER.
12109         * stdlib/tst-strtod-nan-locale-main.c: New file.
12110         * stdlib/tst-strtod-nan-locale.c: Likewise.
12111         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12112         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12113         Depend on $(gen-locales).
12114         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12115         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12116         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12117         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12118         Depend on $(gen-locales).
12119         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12121 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12123         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12125         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12127         __finitel, __isinfl, and __isnanl.
12128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12129         Likewise.
12130         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
12132         __finitel.
12133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12134         Likewise.
12135         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12137 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12139         * malloc/memusage.c (me): Remove redundant getenv call.
12141 2015-10-24  Florian Weimer  <fweimer@redhat.com>
12143         [BZ #19143]
12144         [BZ #19164]
12145         * nptl/check-cpuset.h: Remove.
12146         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
12147         Remove CPU set size check.
12148         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
12149         Likewise.
12150         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
12151         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12152         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
12153         (__pthread_setaffinity_new): Remove CPU set size check.
12154         * sysdeps/unix/sysv/linux/sched_setaffinity.c
12155         (__kernel_cpumask_size): Remove.
12156         (__sched_setaffinity_new): Remove CPU set size check.
12157         * manual/threads.texi (Default Thread Attributes): Remove stale
12158         reference to check_cpuset_attr, determine_cpumask_size in comment.
12159         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
12160         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
12161         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
12162         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
12163         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
12164         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
12165         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
12166         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
12167         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
12168         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
12169         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
12170         skeleton test file.
12171         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
12172         tst-affinity-pid.
12174 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12176         * scripts/update-abilist.sh: New file.
12177         * Makefile (+subdir_targets): Add subdir_update-all-abi.
12178         * Makerules (update-all-abi-%, update-all-abi)
12179         (subdir_update-all-abi): New targets.
12180         * elf/Makefile (update-all-abi): New target.
12182 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12184         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
12185         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
12186         (__libc_lock_define_initialized): Use it.
12187         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
12188         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
12189         * malloc/malloc.c (main_arena): Likewise.
12190         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12191         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12193 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
12195         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12196         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
12197         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12198         (PTRACE_O_MASK): Update value.
12199         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
12200         New value in enum __ptrace_setoptions.
12201         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12202         (PTRACE_O_MASK): Update value.
12203         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12204         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12205         (PTRACE_O_MASK): Update value.
12206         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12207         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12208         (PTRACE_O_MASK): Update value.
12209         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12210         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12211         (PTRACE_O_MASK): Update value.
12212         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
12213         New value in enum __ptrace_setoptions.
12214         (PTRACE_O_MASK): Update value.
12215         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
12216         New value in enum __ptrace_setoptions.
12217         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12218         (PTRACE_O_MASK): Update value.
12220         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
12221         New macro.
12222         (PACKET_AUXDATA): Likewise.
12223         (PACKET_ORIGDEV): Likewise.
12224         (PACKET_VERSION): Likewise.
12225         (PACKET_HDRLEN): Likewise.
12226         (PACKET_RESERVE): Likewise.
12227         (PACKET_TX_RING): Likewise.
12228         (PACKET_LOSS): Likewise.
12229         (PACKET_VNET_HDR): Likewise.
12230         (PACKET_TX_TIMESTAMP): Likewise.
12231         (PACKET_TIMESTAMP): Likewise.
12232         (PACKET_FANOUT): Likewise.
12233         (PACKET_TX_HAS_OFF): Likewise.
12234         (PACKET_QDISC_BYPASS): Likewise.
12235         (PACKET_ROLLOVER_STATS): Likewise.
12236         (PACKET_FANOUT_DATA): Likewise.
12237         (PACKET_MR_UNICAST): Likewise.
12239         [BZ #19242]
12240         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
12241         (TOUPPER): Likewise.
12242         * stdlib/tst-strtol-locale-main.c: New file.
12243         * stdlib/tst-strtol-locale.c: Likewise.
12244         * stdlib/Makefile (tests): Add tst-strtol-locale.
12245         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
12246         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
12247         Depend on $(gen-locales).
12248         * wcsmbs/tst-wcstol-locale.c: New file.
12249         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
12250         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
12251         tr_TR.ISO-8859-9.
12252         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
12253         Depend on $(gen-locales).
12255 2015-11-20  Roland McGrath  <roland@hack.frob.com>
12257         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
12258         __glibc_likely instead of __builtin_expect.  After falling back to
12259         dyncode_create in a non-ET_DYN case, use the allocate_code_data
12260         system interface to register the code pages as occupied.
12262 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
12264         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12265         [!ARM_MATH_PRIVATE_H].
12266         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
12267         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12268         [!HPPA_MATH_PRIVATE_H].
12269         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
12270         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
12271         to [!I386_MATH_PRIVATE_H].
12272         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
12273         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
12274         Change guard to [!M68K_MATH_PRIVATE_H].
12275         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
12276         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
12277         guard to [!MICROBLAZE_MATH_PRIVATE_H].
12278         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
12279         macro.
12280         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12281         [!MIPS_MATH_PRIVATE_H].
12282         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
12283         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12284         [!NIO2_MATH_PRIVATE_H].
12285         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
12286         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12287         [!TILE_MATH_PRIVATE_H].
12288         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
12290         [BZ #15421]
12291         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
12292         initialize with 0 and define as weak alias of __signgam.
12293         * include/math.h [!_ISOMAC] (__signgam): Declare.
12294         * math/Makefile (libm-calls): Add w_lgamma_compat.
12295         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
12296         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
12297         test-signgam-ullong-init.
12298         (tests-static): Add test-signgam-uchar-static,
12299         test-signgam-uchar-init-static, test-signgam-uint-static,
12300         test-signgam-uint-init-static, test-signgam-ullong-static and
12301         test-signgam-ullong-init-static.
12302         (CFLAGS-test-signgam-uchar.c): New variable.
12303         (CFLAGS-test-signgam-uchar-init.c): Likewise.
12304         (CFLAGS-test-signgam-uchar-static.c): Likewise.
12305         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
12306         (CFLAGS-test-signgam-uint.c): Likewise.
12307         (CFLAGS-test-signgam-uint-init.c): Likewise.
12308         (CFLAGS-test-signgam-uint-static.c): Likewise.
12309         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12310         (CFLAGS-test-signgam-ullong.c): Likewise.
12311         (CFLAGS-test-signgam-ullong-init.c): Likewise.
12312         (CFLAGS-test-signgam-ullong-static.c): Likewise.
12313         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12314         * math/Versions (libm): Add GLIBC_2.23.
12315         * math/lgamma-compat.h: New file.
12316         * math/test-signgam-main.c: Likewise.
12317         * math/test-signgam-uchar-init-static.c: Likewise.
12318         * math/test-signgam-uchar-init.c: Likewise.
12319         * math/test-signgam-uchar-static.c: Likewise.
12320         * math/test-signgam-uchar.c: Likewise.
12321         * math/test-signgam-uint-init-static.c: Likewise.
12322         * math/test-signgam-uint-init.c: Likewise.
12323         * math/test-signgam-uint-static.c: Likewise.
12324         * math/test-signgam-uint.c: Likewise.
12325         * math/test-signgam-ullong-init-static.c: Likewise.
12326         * math/test-signgam-ullong-init.c: Likewise.
12327         * math/test-signgam-ullong-static.c: Likewise.
12328         * math/test-signgam-ullong.c: Likewise.
12329         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12330         wrapper of w_lgamma_main.c.
12331         * math/w_lgamma_compat.c: New file.
12332         * math/w_lgamma_compatf.c: Likewise.
12333         * math/w_lgamma_compatl.c: Likewise.
12334         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
12335         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12336         defining compatibility symbols.
12337         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
12338         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12339         wrapper of w_lgammaf_main.c.
12340         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
12341         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12342         defining compatibility symbols.
12343         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
12344         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12345         wrapper of w_lgammal_main.c.
12346         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
12347         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12348         defining compatibility symbols.
12349         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
12350         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12351         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12352         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
12353         <lgamma-compat.h>.
12354         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
12355         (__ieee754_gamma): Define as alias.
12356         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12357         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
12358         <lgamma-compat.h>.
12359         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
12360         (__ieee754_gammaf): Define as alias.
12361         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12362         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
12363         <lgamma-compat.h>.
12364         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
12365         (__ieee754_gammal): Define as alias.
12366         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12367         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
12368         <math/w_lgamma_compat.c>.
12369         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12370         Define as alias of __lgamma_compat and use in defining lgammal.
12371         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12372         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
12373         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12374         (USE_AS_COMPAT): New macro.
12375         (LGAMMA_OLD_VER): Undefine and redefine.
12376         (lgammal): Do not define here.
12377         (gammal): Only define here if [GAMMA_ALIAS].
12378         * conform/linknamespace.pl (@whitelist): Remove signgam.
12379         * sysdeps/nacl/libm.abilist: Update.
12380         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12381         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12382         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12383         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12384         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12385         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12386         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12387         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12388         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12389         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12390         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12391         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12393         Likewise.
12394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12395         Likewise.
12396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12397         Likewise.
12398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12399         Likewise.
12400         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12401         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12402         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12403         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12404         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12406         Likewise.
12407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12408         Likewise.
12409         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12410         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12411         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12413 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12415         [BZ #16364]
12416         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
12417         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
12419 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12421         * sysdeps/s390/fpu/bits/mathinline.h:
12422         Use __asm__ [__volatile__] instead of asm [volatile].
12423         * sysdeps/s390/abort-instr.h: Likewise.
12424         * sysdeps/s390/atomic-machine.h: Likewise.
12425         * sysdeps/s390/bits/string.h: Likewise.
12426         * sysdeps/s390/dl-tls.h: Likewise.
12427         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12428         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12429         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12430         * sysdeps/s390/fpu/fesetround.c: Likewise.
12431         * sysdeps/s390/fpu/fpu_control.h: Likewise.
12432         * sysdeps/s390/fpu/s_fma.c: Likewise.
12433         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
12434         * sysdeps/s390/memusage.h: Likewise.
12435         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
12436         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
12437         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
12438         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
12439         * sysdeps/s390/nptl/tls.h: Likewise.
12440         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
12441         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12442         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12443         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12444         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12445         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12446         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
12447         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12448         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12449         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
12450         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12451         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12452         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12453         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
12454         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12455         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12456         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
12457         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12458         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
12459         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12460         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
12461         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12462         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
12464 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12465             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12467         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12468         Add lwarx hint, and use macro for acquire instruction.
12469         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12470         Likewise.
12471         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
12472         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
12473         update to use new atomic macros.
12475 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12477         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12478         (__lll_trylock_elision): Fix setting of adapt_count.
12479         * sysdeps/unix/sysv/linux/powerpc/htm.h
12480         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
12481         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
12482         (_ABORT_SYSCALL): Renumber, and clarify definition.
12483         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
12485 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12487         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
12488         after system headers to prevent MIN/MAX redefinition.  Define
12489         HAVE_ALLOCA to preserve builtin alloca usage.
12491 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
12494         static and don't set or restore rounding.
12495         (__cos)[IN_SINCOS]: Likewise.
12496         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
12497         (__sincos): Set and restore rounding mode.  Remove check for infinite
12498         or NaN input.
12500         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
12502         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
12503         as used.
12505 2015-11-16  Florian Weimer  <fweimer@redhat.com>
12507         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
12509 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12511         * config.make.in (have-glob-dat-reloc): New.
12512         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
12513         target supports GLOB_DAT relocaton. AC_SUBST.
12514         * configure: Regenerated.
12515         * elf/Makefile (tests): Add tst-prelink.
12516         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12517         (tst-prelink-ENV): New.
12518         ($(objpfx)tst-prelink-conflict.out): Likewise.
12519         ($(objpfx)tst-prelink-cmp.out): Likewise.
12520         * sysdeps/x86/tst-prelink.c: Moved to ...
12521         * elf/tst-prelink.c: Here.
12522         * sysdeps/x86/tst-prelink.exp: Moved to ...
12523         * elf/tst-prelink.exp: Here.
12524         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
12525         (tst-prelink-ENV): Removed.
12526         ($(objpfx)tst-prelink-conflict.out): Likewise.
12527         ($(objpfx)tst-prelink-cmp.out): Likewise.
12528         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
12530 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
12532         [BZ #14551]
12533         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
12534         (__mpn_construct_long_double): If high part overflows to infinity,
12535         set errno and recompute overflowed result of the correct sign.
12536         * sysdeps/ieee754/ldbl-128ibm/Makefile
12537         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
12538         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
12539         $(libm).
12540         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
12542 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
12544         [BZ #15479]
12545         [BZ #19238]
12546         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
12547         floating-point state after first operation on input.  Restore full
12548         state rather than just rounding mode.
12549         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12550         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12551         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12553         [BZ #19235]
12554         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
12555         add 0.5 to integer arguments.
12556         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
12557         Likewise.
12558         (.LC2): New object.
12560 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
12562         * scripts/pylintrc (reports): Set to no.
12564 2015-11-10  Roland McGrath  <roland@hack.frob.com>
12566         * elf/dl-load.c (open_verify): Take new argument FD.
12567         Skip __open call if passed FD is not -1.
12568         (_dl_map_object, open_path): Update callers.
12569         * elf/dl-sysdep-open.h: New file.
12570         * elf/dl-load.c: Include it.
12571         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
12572         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
12573         * sysdeps/nacl/dl-sysdep-open.h: New file.
12574         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
12575         from libc to rtld.
12577 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12579         [BZ #19228]
12580         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
12581         and restore full floating-point state.
12582         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12583         Likewise.
12584         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12585         Likewise.
12586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12587         Likewise.
12588         * math/test-nearbyint-except-2.c: New file.
12589         * math/Makefile (tests): Add test-nearbyint-except-2.
12591 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
12593         [BZ #19178]
12594         * sysdeps/x86/Makefile (tests): Add tst-prelink.
12595         (tst-prelink-ENV): New.
12596         ($(objpfx)tst-prelink-conflict.out): Likewise.
12597         ($(objpfx)tst-prelink-cmp.out): Likewise.
12598         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12599         * sysdeps/x86/tst-prelink.c: New file.
12600         * sysdeps/x86/tst-prelink.exp: Likewise.
12602 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12604         * math/auto-libm-test-in: Add another test of pow.
12605         * math/auto-libm-test-out: Regenerated.
12606         * math/libm-test.inc (pow_test_data): Add another test.
12608 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12610         [BZ #19219]
12611         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
12612         weak_alias to nearbyintl.
12614 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12616         * sysdeps/aarch64/bits/string.h: New file.
12617         (_STRING_ARCH_unaligned): Define.
12619 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12621         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
12622         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12623         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12624         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
12625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
12627 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
12629         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
12630         for original name of the DSO.  Add it to the name list of the DSO
12631         if it is actually given.
12632         (_dl_map_object): Keep track of whether an audit module rewrote
12633         the file name.  If yes, pass the original name to
12634         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
12635         debugging is enabled, log the change of the file name.
12636         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
12637         _dl_map_object_from_fd.
12638         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
12639         * elf/tst-audit11.c: New file
12640         * elf/tst-auditmod11.c: New file.
12641         * elf/tst-audit11mod1.c: New file.
12642         * elf/tst-audit11mod2.c: New file.
12643         * elf/tst-audit11mod2.map: New file.
12644         * elf/tst-audit12.c: New file
12645         * elf/tst-auditmod12.c: New file.
12646         * elf/tst-audit12mod1.c: New file.
12647         * elf/tst-audit12mod2.c: New file.
12648         * elf/tst-audit12mod2.map: New file.
12649         * elf/tst-audit12mod3.c: New file.
12651 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12653         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
12654         Don't create weak aliases,
12655         because versioned symbols are created later.
12656         * sysdeps/s390/s390-32/setjmp.S
12657         (setjmp, _setjmp): Remove weak and rename to an unique name
12658         in SHARED case due to existing versioned symbols.
12659         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12660         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
12661         (getcontext): Create weak alias only in non SHARED case.
12662         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12664 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12666         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
12667         (__ASSUME_*_SYSCALL) Define new macros.
12668         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
12669         Remove socketcall syscalls.
12670         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
12671         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
12672         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
12673         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
12674         * sysdeps/unix/sysv/linux/send.c (__libc_send):
12675         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
12677 2015-11-09  Florian Weimer  <fweimer@redhat.com>
12679         [BZ #12926]
12680         Terminate process on invalid netlink response.
12681         * sysdeps/unix/sysv/linux/netlinkaccess.h
12682         (__netlink_assert_response): Declare.
12683         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
12684         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
12685         (sysdep_routines): Add netlink_assert_response.
12686         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
12687         __netlink_assert_response.
12688         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12689         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12690         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
12691         __netlink_assert_response.
12693 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12695         [BZ #19178]
12696         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
12697         (RTYPE_CLASS_PLT): Likewise.
12698         (RTYPE_CLASS_COPY): Likewise.
12699         (RTYPE_CLASS_TLS): Likewise.
12700         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
12701         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
12702         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
12703         DL_DEBUG_PRELINK.
12705 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
12707         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
12708         calls with argument -0.5.
12709         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
12711         * configure.ac (libc_cv_z_nodelete): Remove configure test.
12712         (libc_cv_z_nodlopen): Likewise.
12713         (libc_cv_z_initfirst): Likewise.
12714         * configure: Regenerated.
12716 2015-11-06  Florian Weimer  <fweimer@redhat.com>
12718         Simplify abilist format to be line-based.
12719         * scripts/abilist.awk: Collect descriptors in the descs variable.
12720         (emit): Write descs variable and sort it
12721         externally, with sort.
12722         * sysdeps/**/*.abilist: Convert to new format.
12724 2015-11-06  Mark Wielaard  <mjw@redhat.com>
12726         [BZ #11460]
12727         * io/Makefile (routines): Add fts64.
12728         (tests): Add tst-fts and tst-fts-lfs.
12729         (CFLAGS-fts64.c): New.
12730         * io/Versions (GLIBC_2.23): New.
12731         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
12732         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
12733         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
12734         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
12735         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
12736         (FTSENT64): Likewise.
12737         (fts64_children): Likewise.
12738         (fts64_close): Likewise.
12739         (fts64_open): Likewise.
12740         (fts64_read): Likewise.
12741         (fts64_set): Likewise.
12742         * io/fts64.c: New file.
12743         * io/tst-fts.c: New test.
12744         * io/tst-fts-lfs.c: Likewise.
12745         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
12746         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
12747         fts64_set.
12748         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12749         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12750         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12751         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12752         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12753         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12754         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12755         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12756         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12757         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12758         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12759         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12760         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12762         Likewise.
12763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12764         Likewise.
12765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12767         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12768         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12769         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12770         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12771         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12774         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12775         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12776         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12777         * sysdeps/wordsize-64/fts.c: New file.
12778         * sysdeps/wordsize-64/fts64.c: Likewise.
12779         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12780         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12781         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12782         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12784 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12786         * math/libm-test.inc (NON_FINITE): New macro.
12787         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12788         * math/gen-libm-test.pl (show_exceptions): Add argument
12789         $non_finite.
12790         (parse_args): Update call to show_exceptions.
12791         * math/test-math-finite.h: New file.
12792         * math/test-math-no-finite.h: Likewise.
12793         * math/test-double-finite.c: Likewise.
12794         * math/test-float-finite.c: Likewise.
12795         * math/test-ldouble-finite.c: Likewise.
12796         * math/test-double.c: Include "test-math-no-finite.h".
12797         * math/test-float.c: Include "test-math-no-finite.h".
12798         * math/test-ldouble.c: Include "test-math-no-finite.h".
12799         * math/test-math-inline.h (TEST_FINITE): New macro.
12800         * math/test-math-vector.h (TEST_FINITE): Likewise.
12801         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12802         (libm-tests): Add test-float-finite and test-double-finite.
12803         ($(objpfx)test-float-finite.o): New dependency on
12804         $(objpfx)libm-test.stmp.
12805         ($(objpfx)test-double-finite.o): Likewise.
12806         ($(objpfx)test-ldouble-finite.o): Likewise.
12807         (libm-test-no-inline-cflags): New variable.
12808         (libm-test-finite-cflags): Likewise.
12809         (CFLAGS-test-float-finite.c): Likewise.
12810         (CFLAGS-test-double-finite.c): Likewise.
12811         (CFLAGS-test-ldouble-finite.c): Likewise.
12812         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12813         (CFLAGS-test-double.c): Likewise.
12814         (CFLAGS-test-ldouble.c): Likewise.
12816 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12818         * io/fcntl.c (__fcntl): Add ... to prototype.
12819         * misc/ioctl.c (__ioctl): Likewise.
12820         * misc/syscall.c (syscall): Likewise.
12822 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12824         * scripts/list-fixed-bugs.py: New file.
12826         [BZ #19213]
12827         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12828         returned for argument 1.
12829         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12830         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12831         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12832         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12833         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12834         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12836         [BZ #19211]
12837         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12838         __USE_XOPEN], not if [!__USE_ISOC99].
12839         (lgammaf): Likewise.
12840         (lgammal): Likewise.
12841         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12842         (gammaf): Likewise.
12843         (gammal): Likewise.
12844         * math/test-signgam-finite-c11.c: New file.
12845         * math/test-signgam-finite-c99.c: Likewise.
12846         * math/test-signgam-finite.c: Likewise.
12847         * math/Makefile (tests): Add test-signgam-finite,
12848         test-signgam-finite-c99 and test-signgam-finite-c11.
12849         (CFLAGS-test-signgam-finite.c): New variable.
12850         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12851         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12853         [BZ #19212]
12854         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12855         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12856         500].
12857         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12858         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12859         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12860         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12861         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12862         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12863         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12864         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12865         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12866         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12868         [BZ #19209]
12869         * math/bits/math-finite.h (ldexp): Remove declaration.
12870         (ldexpf): Likewise.
12871         (ldexpl): Likewise.
12873         [BZ #19205]
12874         * math/bits/math-finite.h (acosf): Condition declaration on
12875         [__USE_ISOC99].
12876         (acosl): Likewise.
12877         (acoshf): Likewise.
12878         (acoshl): Likewise.
12879         (asinf): Likewise.
12880         (asinl): Likewise.
12881         (atan2f): Likewise.
12882         (atan2l): Likewise.
12883         (atanhf): Likewise.
12884         (atanhl): Likewise.
12885         (coshf): Likewise.
12886         (coshl): Likewise.
12887         (expf): Likewise.
12888         (expl): Likewise.
12889         (fmodf): Likewise.
12890         (fmodl): Likewise.
12891         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12892         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12893         (j0l): Likewise.
12894         (y0f): Likewise.
12895         (y0l): Likewise.
12896         (j1f): Likewise.
12897         (j1l): Likewise.
12898         (y1f): Likewise.
12899         (y1l): Likewise.
12900         (jnf): Likewise.
12901         (jnl): Likewise.
12902         (ynf): Likewise.
12903         (ynl): Likewise.
12904         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12905         (lgammal_r): Likewise.
12906         (__lgamma_r_finite): New declaration.
12907         (__lgammaf_r_finite): Likewise.
12908         (__lgammal_r_finite): Likewise.
12909         (lgamma): Use __lgamma_r_finite.
12910         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12911         __lgammaf_r_finite.
12912         (lgammal): Condition definition on [__USE_ISOC99].  Use
12913         __lgammal_r_finite.
12914         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12915         __lgamma_r_finite.
12916         (gammaf): Condition definition on [__USE_ISOC99].  Use
12917         __lgammaf_r_finite.
12918         (gammal): Condition definition on [__USE_ISOC99].  Use
12919         __lgammal_r_finite.
12920         (logf): Condition declaration on [__USE_ISOC99].
12921         (logl): Likewise.
12922         (log10f): Likewise.
12923         (log10l): Likewise.
12924         (ldexpf): Likewise.
12925         (ldexpl): Likewise.
12926         (powf): Likewise.
12927         (powl): Likewise.
12928         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12929         __USE_ISOC99].
12930         (remainderf): Condition declaration on [__USE_ISOC99].
12931         (remainderl): Likewise.
12932         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12933         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12934         (scalbl): Likewise.
12935         (sinhf): Condition declaration on [__USE_ISOC99].
12936         (sinhl): Likewise.
12937         (sqrtf): Likewise.
12938         (sqrtl): Likewise.
12940 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12942         * sysdeps/arm/atomic-machine.h
12943         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12944         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12945         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12946         Remove conditional code.
12947         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12948         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12949         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12950         Change conditional to [__ASSEMBLER__].
12951         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12952         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12953         [!__ASSEMBLER__].
12954         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12955         code.
12956         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12957         conditional macro definitions.
12958         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12959         (__arch_compare_and_exchange_val_16_acq): Likewise.
12960         (__arch_compare_and_exchange_val_32_acq): Likewise.
12961         (atomic_exchange_and_add): Likewise.
12962         (atomic_add): Likewise.
12963         (atomic_add_negative): Likewise.
12964         (atomic_add_zero): Likewise.
12965         (atomic_bit_set): Likewise.
12966         (atomic_bit_test_set): Likewise.
12967         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12968         code unconditional.
12969         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12971         * math/test-math-errno.h: New file.
12972         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12973         empty.
12974         (TEST_ERRNO): New macro.
12975         (TEST_EXCEPTIONS): Likewise.
12976         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12977         (TEST_EXCEPTIONS): Likewise.
12978         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12979         * math/test-double.c: Include "test-math-errno.h".
12980         * math/test-float.c: Likewise.
12981         * math/test-ldouble.c: Likewise.
12982         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12983         code unconditional.
12984         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12985         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12986         unconditional.
12987         (test_errno): Only run code if TEST_ERRNO.
12988         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12990 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12992         * nptl/tst-once5.cc: Remove attribution.
12994 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12996         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
12997         sqrt, tan, tanh, y0, y1 and yn.
12998         * math/auto-libm-test-out: Regenerated.
12999         * math/libm-test.inc (scalb_test_data): Add more tests.
13000         (scalbn_test_data): Likewise.
13001         (scalbln_test_data): Likewise.
13002         (signbit_test_data): Likewise.
13003         (sin_test_data): Likewise.
13004         (sincos_test_data): Likewise.
13005         (sinh_test_data): Likewise.
13006         (sqrt_test_data): Likewise.
13007         (tan_test_data): Likewise.
13008         (tanh_test_data): Likewise.
13009         (tgamma_test_data): Likewise.
13010         (y0_test_data): Likewise.
13011         (y1_test_data): Likewise.
13012         (yn_test_data): Likewise.
13013         (significand_test_data): Likewise.
13014         * sysdeps/i386/fpu/libm-test-ulps: Update.
13016 2015-11-03  David Kastrup  <dak@gnu.org>
13018         [BZ #18604]
13019         * assert/assert.h (assert): Don't macro-expand failed assertion
13020         expression in error message.
13021         * malloc/malloc.c (assert): Likewise.
13023 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13025         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13026         test.
13027         * configure: Regenerated.
13029 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13031         * math/libm-test.inc (modf_test_data): Add more tests.
13032         (nearbyint_test_data): Likewise.
13033         (nextafter_test_data): Likewise.
13034         (nexttoward_test_data): Likewise.
13035         (pow_test_data): Likewise.
13036         (remainder_test_data): Likewise.
13037         (remquo_test_data): Likewise.
13038         (rint_test_data): Likewise.
13040         [BZ #19201]
13041         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13042         Check for zero remainder in case of large exponents and ensure
13043         correct sign of result in that case.
13044         * math/libm-test.inc (remainder_test_data): Add more tests.
13046         [BZ #6799]
13047         * math/s_nextafter.c: Include <errno.h>.
13048         (__nextafter): Set errno on overflow and underflow.
13049         * math/s_nexttowardf.c: Include <errno.h>.
13050         (__nexttowardf): Set errno on overflow and underflow.
13051         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13052         (__nextafterl): Set errno on overflow and underflow.
13053         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13054         (__nexttoward): Set errno on overflow and underflow.
13055         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13056         (__nexttowardf): Set errno on overflow and underflow.
13057         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13058         (__nextafterf): Set errno on overflow and underflow.
13059         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13060         (__nextafterl): Set errno on overflow and underflow.
13061         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13062         (__nexttoward): Set errno on overflow and underflow.
13063         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13064         (__nexttowardf): Set errno on overflow and underflow.
13065         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13066         (__nextafterl): Set errno on overflow and underflow.
13067         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13068         (__nexttoward): Set errno on overflow and underflow.
13069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13070         (__nexttowardf): Set errno on overflow and underflow.
13071         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13072         (__nexttoward): Set errno on overflow and underflow.
13073         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13074         (__nexttowardf): Set errno on overflow and underflow.
13075         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13076         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13077         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13078         (__nextafterl): Set errno on overflow and underflow.
13079         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13080         setting to be missing on overflow.  Add more tests.
13081         (nexttoward_test_data): Likewise.
13083         * configure.ac (libc_cv_initfini_array): Remove configure test.
13084         * configure: Regenerated.
13086 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13088         [BZ #19189]
13089         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13090         non-finite argument handle arguments with negative sign.
13092         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13093         result from infinite argument.
13094         (j1_test_data): Likewise.
13095         (jn_test_data): Likewise.
13096         (y0_test_data): Likewise.
13097         (y1_test_data): Likewise.
13098         (yn_test_data): Likewise.
13100         [BZ #16171]
13101         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13102         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13103         * math/w_remainderf.c (dremf): Define as weak alias of
13104         __remainderf.
13105         * math/w_remainderl.c (dreml): Define as weak alias of
13106         __remainderl.
13107         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13108         __remainder.
13109         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13110         __remainderf.
13111         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13112         __remainderl.
13113         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13114         weak alias of remainderl.
13115         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13116         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13117         alias of __remainder.
13118         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13119         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13120         strong alias of __remainderl.
13121         (dreml): Use long_double_symbol.
13122         * math/Makefile (libm-calls): Remove w_drem.
13123         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13124         (CFLAGS-nldbl-drem.c): Remove variable.
13125         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13126         * math/w_drem.c: Remove file.
13127         * math/w_dremf.c: Likewise.
13128         * math/w_dreml.c: Likewise.
13129         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
13130         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
13131         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
13133         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
13134         * sysdeps/i386/configure: Regenerated.
13135         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
13136         * sysdeps/x86_64/configure: Regenerated.
13138         * configure.ac (libc_cv_asm_protected_directive): Remove configure
13139         test.
13140         (libc_cv_visibility_attribute): Likewise.
13141         (libc_cv_protected_data): Test unconditionally.
13142         (libc_cv_broken_visibility_attribute): Remove configure test.
13143         (libc_cv_have_sdata_section): Test unconditionally.
13144         * configure: Regenerated.
13146         * include/libc-internal.h (libc_max_align_t): Remove typedef.
13147         * include/scratch_buffer.h: Include <stddef.h> instead of
13148         <libc-internal.h>.
13149         (struct scratch_buffer): Use max_align_t instead of
13150         libc_max_align_t.
13152 2015-10-29  Florian Weimer  <fweimer@redhat.com>
13154         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
13155         instead of extend_alloca.  Change control flow to avoid a goto.
13156         Remove assert which is trivially always true.
13158 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13160         [BZ #16068]
13161         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
13162         (FE_ALL_EXCEPT_X86): New macro.
13163         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13164         FE_ALL_EXCEPT.  Ensure precision control is included in
13165         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13166         handle "denormal operand exception" and clear FZ and DAZ bits.
13167         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
13168         (FE_ALL_EXCEPT_X86): New macro.
13169         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13170         FE_ALL_EXCEPT.  Ensure precision control is included in
13171         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13172         handle "denormal operand exception" and clear FZ and DAZ bits.
13173         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
13174         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
13175         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13176         test-fenv-x87 and test-fenv-sse-2.
13177         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
13179         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
13180         * math/test-double.h (BUILD_COMPLEX): New macro.
13181         * math/test-float.h (BUILD_COMPLEX): Likewise.
13182         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
13184         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
13185         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
13186         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
13187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
13188         instead of DBL_DENORM_MIN in comment.
13189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
13190         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13191         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
13192         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
13193         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
13194         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13196 2015-10-28  Florian Weimer  <fweimer@redhat.com>
13198         [BZ# 19048]
13199         * malloc/malloc.c (struct malloc_state): Update comment.  Add
13200         attached_threads member.
13201         (main_arena): Initialize attached_threads.
13202         * malloc/arena.c (list_lock): Update comment.
13203         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
13204         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
13205         (deattach_arena): New function.
13206         (_int_new_arena): Initialize arena reference count and deattach
13207         replaced arena.
13208         (get_free_list, reused_arena): Update reference count and deattach
13209         replaced arena.
13210         (arena_thread_freeres): Update arena reference count and only put
13211         unreferenced arenas on the free list.
13213 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13215         [BZ #19181]
13216         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
13217         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
13218         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
13219         * math/test-fenv-clear-main.c: New file.
13220         * math/test-fenv-clear.c: Likewise.
13221         * math/Makefile (tests): Add test-fenv-clear.
13222         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
13223         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13224         test-fenv-clear-sse.
13225         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
13227         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
13228         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
13229         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
13231 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13233         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
13234         static libc.
13236 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13238         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
13239         test.
13240         * sysdeps/i386/configure: Regenerated.
13241         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
13242         test.
13243         * sysdeps/x86_64/configure: Regenerated.
13244         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
13245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13246         memset-avx2 unconditionally instead of conditionally on
13247         [$(config-cflags-avx2) = yes].
13248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13249         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
13250         unconditional.
13251         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
13252         * sysdeps/x86_64/multiarch/memset_chk.S
13253         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
13254         to [IS_IN (libc) && SHARED].
13256 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13258         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
13259         configure test.
13260         * sysdeps/arm/configure: Regenerated.
13261         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
13262         Define variable if not already defined.
13264         [BZ #17404]
13265         * sysdeps/mips/atomic-machine.h
13266         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
13267         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
13268         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13270         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
13271         unconditional.
13272         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
13273         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13274         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
13275         unconditional.
13276         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13277         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
13278         unconditional.
13279         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13280         * stdlib/setenv.c
13281         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
13282         code unconditional.
13283         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
13284         Remove conditional code.
13285         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13286         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
13287         unconditional.
13288         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13289         code.
13290         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13291         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
13292         unconditional.
13293         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13294         code.
13295         * sysdeps/ieee754/ldbl-128/k_tanl.c
13296         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13297         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13298         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
13299         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13300         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13301         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
13302         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
13303         unconditional.
13304         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13305         code.
13306         * sysdeps/ieee754/ldbl-96/k_tanl.c
13307         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13308         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13310         * nptl/tst-initializers1-c11.c: New file.
13311         * nptl/tst-initializers1-gnu11.c: Likewise.
13312         * nptl/Makefile (tests): Add these new tests.
13313         (CFLAGS-tst-initializers1-c11.c): New variable.
13314         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13316         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13317         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13318         instead of -std=gnu99.
13319         * configure.ac (systemtap): Test with -std=gnu11 instead of
13320         -std=gnu99.
13321         * configure: Regenerated.
13322         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13323         in compilation command in comment.
13325         * sysdeps/nptl/configure.ac: Remove file.
13326         * sysdeps/nptl/configure: Remove generated file.
13327         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13328         * configure: Regenerated.
13329         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13330         * config.make.in (have-forced-unwind): Remove variable.
13331         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13332         unconditional.
13333         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13334         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13335         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13336         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13337         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13338         unconditional.
13340 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13342         [BZ #19174]
13343         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13344         .skip_lock_out_of_tbegin_retries.
13345         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13346         (__lll_lock_elision): Likewise, and respect a value of
13347         try_tbegin <= 0.
13349 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13351         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13352         statement.
13354 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13356         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13357         variable.
13358         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13359         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13361         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13362         of -std=c1x -D_ISOC11_SOURCE.
13364         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13365         * configure: Regenerated.
13366         * manual/install.texi (Tools for Compilation): Document
13367         requirement for GCC 4.7 or later.
13368         * INSTALL: Regenerated.
13370 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
13372         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13373         on CNT to a conditional jump to 'puntdata'.
13375 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13377         * configure.ac (libc_cv_gcc___thread): Remove configure test.
13378         (libc_cv_gcc_tls_model_attr): Likewise.
13379         * configure: Regenerated.
13381         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13382         * configure: Regenerated.
13383         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13385 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
13387         * configure.ac (old_glibc_headers): Remove configure test.
13388         * configure: Regenerated.
13389         * config.make.in (old-glibc-headers): Remove variable.
13390         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13391         (install): Remove dependency on remove-old-headers.
13392         (headers2_0): Remove variable.
13393         (remove-old-headers): Remove rule.
13395         * configure.ac (libc_cv_dot_text): Remove configure test.
13396         (libc_cv_asm_set_directive): Use .text instead of
13397         ${libc_cv_dot_text} in configure test.
13398         * configure: Regenerated.
13400 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13402         [BZ #19168]
13403         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13405 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13407         * configure.ac (CXX): Clear the variable if the C++ toolchain does
13408         not support static linking.
13409         * configure: Regenerate.
13411 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
13413         * math/libm-test.inc (check_float_internal): Do not special-case
13414         errors up to 0.5 ulp.
13416         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13417         log2.
13418         * math/auto-libm-test-out: Regenerated.
13419         * math/libm-test.inc (MAX_EXP): New macro.
13420         (ilogb_test_data): Add more tests.
13421         (isfinite_test_data): Likewise.
13422         (isgreater_test_data): Likewise.
13423         (isgreaterequal_test_data): Likewise.
13424         (isinf_test_data): Likewise.
13425         (isless_test_data): Likewise.
13426         (islessequal_test_data): Likewise.
13427         (islessgreater_test_data): Likewise.
13428         (isnan_test_data): Likewise.
13429         (isnormal_test_data): Likewise.
13430         (issignaling_test_data): Likewise.
13431         (isunordered_test_data): Likewise.
13432         (j0_test_data): Likewise.
13433         (j1_test_data): Likewise.
13434         (jn_test_data): Likewise.
13435         (lgamma_test_data): Likewise.
13436         (log_test_data): Likewise.
13437         (log10_test_data): Likewise.
13438         (log1p_test_data): Likewise.
13439         (log2_test_data): Likewise.
13440         (logb_test_data): Likewise.
13441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13443         [BZ #18611]
13444         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
13445         avoid excess range and precision on underflow.
13446         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13447         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13448         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13449         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
13450         underflow.
13451         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13452         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13453         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13454         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13455         * math/auto-libm-test-in: Do not allow missing errno setting for
13456         tests of j1 and jn.
13457         * math/auto-libm-test-out: Regenerated.
13459 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
13461         [BZ #15491]
13462         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
13463         floating-point environment instead of clearing all exceptions.
13464         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13465         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
13466         merging in "invalid" exceptions from frndint.
13467         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13468         * math/test-nearbyint-except.c: New file.
13469         * math/Makefile (tests): Add test-nearbyint-except.
13471 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
13473         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
13475         * sysdeps/tile/libm-test-ulps: Regenerated.
13477 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
13480         (__NR_sync_file_range2): Assume it is always defined.
13481         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13482         (__NR_sync_file_range): Assume it is always defined.
13484 2015-10-22  Andreas Schwab  <schwab@suse.de>
13486         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13487         INTERNAL_SYSCALL_ERRNO.
13488         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13489         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13490         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13491         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13492         Likewise.
13493         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13495 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13497         * io/tst-fcntl.c (fd): New static variable.
13498         (do_prepare): Open temporary file here....
13499         (do_test): ...not here.
13501         * io/ftwtest-sh: Also trap on exit to remove temporary files.
13503 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13505         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
13506         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13507         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13508         Moved before "#ifdef __ASSEMBLER__".
13510 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13512         [BZ #19156]
13513         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
13514         arguments very close to 0.
13516 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
13518         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
13519         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
13521 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13523         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13524         New.  Defined for GCC 5 and above when not compiling for
13525         profiling.
13526         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13528         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13529         Renamed to ...
13530         (CFLAGS-epoll_pwait.o): This.
13531         (CFLAGS-mmap.c): Renamed to ...
13532         (CFLAGS-mmap.o): This.
13533         (CFLAGS-mmap64.c): Renamed to ...
13534         (CFLAGS-mmap64.o): This.
13535         (CFLAGS-epoll_pwait.os): New.
13536         (CFLAGS-mmap.os): Likewise.
13537         (CFLAGS-mmap64.os): Likewise.
13538         (CFLAGS-semtimedop.os): Likewise.
13539         (CFLAGS-semtimedop.c): Renamed to ...
13540         (CFLAGS-semtimedop.o): This.
13542 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13544         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
13545         warning message.
13547 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13549         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
13550         * Makefile ($(objpfx)c++-types-check.out): Filter out
13551         $(+gccwarn-c) instead of -Wstrict-prototypes.
13553         * io/fts.c (fts_open): Convert to prototype-style function
13554         definition.
13555         * malloc/mcheck.c (mcheck): Likewise.
13556         (mcheck_pedantic): Likewise.
13557         * posix/regexec.c (re_search_2_stub): Likewise.  Use
13558         internal_function.
13559         (re_search_internal): Likewise.
13560         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
13561         prototype-style function definition.
13562         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13563         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13564         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
13565         (xdr_utmpptr): Likewise.
13566         (xdr_utmparr): Likewise.
13567         (xdr_utmpidle): Likewise.
13568         (xdr_utmpidleptr): Likewise.
13569         (xdr_utmpidlearr): Likewise.
13571         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
13572         log, log10 and log2.
13573         * math/auto-libm-test-out: Regenerated.
13574         * math/libm-test.inc (fmod_test_data): Add more tests.
13575         (fpclassify_test_data): Likewise.
13576         (frexp_test_data): Likewise.
13577         (hypot_test_data): Likewise.
13578         (ilogb_test_data): Likewise.
13580 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
13582         * debug/fortify_fail.c (__fortify_fail): Convert to
13583         prototype-style function definition.  Use internal_function.
13584         * libio/genops.c (save_for_backup): Convert to prototype-style
13585         function definition.
13586         * libio/wgenops.c (save_for_wbackup): Likewise.
13587         * login/grantpt.c (grantpt): Likewise.
13588         * login/ptsname.c (ptsname): Likewise.
13589         (__ptsname_r): Likewise.
13590         * login/unlockpt.c (unlockpt): Likewise.
13591         * mach/msgserver.c (__mach_msg_server): Likewise.
13592         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
13593         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
13594         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
13595         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
13596         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
13597         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
13598         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
13599         Likewise.
13600         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
13601         internal_function.
13602         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
13603         prototype-style function definition.
13604         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
13605         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
13606         (__pthread_create_2_0): Likewise.
13607         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
13608         * nptl/register-atfork.c (__register_atfork): Likewise.
13609         * posix/glob.c (glob): Likewise.
13610         * posix/regcomp.c (re_comp): Likewise.
13611         * posix/regexec.c (re_exec): Likewise.
13612         * stdlib/add_n.c [__STDC__]: Make code unconditional.
13613         [!__STDC__]: Remove conditional code.
13614         * stdlib/cmp.c [__STDC__]: Make code unconditional.
13615         [!__STDC__]: Remove conditional code.
13616         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
13617         [!__STDC__]: Remove conditional code.
13618         * stdlib/divrem.c [__STDC__]: Make code unconditional.
13619         [!__STDC__]: Remove conditional code.
13620         * stdlib/lshift.c [__STDC__]: Make code unconditional.
13621         [!__STDC__]: Remove conditional code.
13622         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
13623         [!__STDC__]: Remove conditional code.
13624         * stdlib/mul.c [__STDC__]: Make code unconditional.
13625         [!__STDC__]: Remove conditional code.
13626         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
13627         [!__STDC__]: Remove conditional code.
13628         * stdlib/rshift.c [__STDC__]: Make code unconditional.
13629         [!__STDC__]: Remove conditional code.
13630         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
13631         function definition.
13632         (STRTOF): Likewise.
13633         * stdlib/strtod_l.c (__STRTOF): Likewise.
13634         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
13635         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
13636         (__strtol_l): Likewise.
13637         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
13638         [!__STDC__]: Remove conditional code.
13639         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
13640         definition.
13641         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13642         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13643         type.
13644         (__strcasecmp): Convert to prototype-style function definition.
13645         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
13646         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13647         type.
13648         (__strncasecmp): Convert to prototype-style function definition.
13649         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
13650         * sunrpc/xdr.c (xdr_union): Likewise.
13651         * sunrpc/xdr_array.c (xdr_array): Likewise.
13652         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
13653         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
13654         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
13655         Likewise.
13656         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
13657         Likewise.
13658         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
13659         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13660         Likewise.
13661         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
13662         (LOCALE_PARAM_PROTO): Likewise.
13663         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
13664         argument type.
13665         (ut_argument_spec): Remove macro.
13666         (ut_argument_spec_iso): Rename to ut_argument_spec.
13667         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
13668         prototype-style function definition.
13669         (memcpy_uppcase): Likewise.
13670         (__strftime_internal): Likewise.
13671         (my_strftime): Likewise.
13672         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
13673         (LOCALE_PARAM_DECL): Likewise.
13674         [_LIBC] (LOCALE_PARAM): Include argument type.
13675         (__strptime_internal): Convert to prototype-style function
13676         definition.
13677         (strptime): Likewise.
13678         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13679         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13680         type.
13681         (__wcscasecmp): Convert to prototype-style function definition.
13682         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
13683         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13684         type.
13685         (__wcsncasecmp): Convert to prototype-style function definition.
13687         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
13688         function definition.
13689         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13690         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13691         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
13692         * elf/dl-minimal.c (_itoa): Likewise.
13693         * hurd/hurdmalloc.c (malloc): Likewise.
13694         (free): Likewise.
13695         (realloc): Likewise.
13696         * inet/inet6_option.c (inet6_option_space): Likewise.
13697         (inet6_option_init): Likewise.
13698         (inet6_option_append): Likewise.
13699         (inet6_option_alloc): Likewise.
13700         (inet6_option_next): Likewise.
13701         (inet6_option_find): Likewise.
13702         * io/ftw.c (FTW_NAME): Likewise.
13703         (NFTW_NAME): Likewise.
13704         (NFTW_NEW_NAME): Likewise.
13705         (NFTW_OLD_NAME): Likewise.
13706         * libio/iofwide.c (_IO_fwide): Likewise.
13707         * libio/strops.c (_IO_str_init_static_internal): Likewise.
13708         (_IO_str_init_static): Likewise.
13709         (_IO_str_init_readonly): Likewise.
13710         (_IO_str_overflow): Likewise.
13711         (_IO_str_underflow): Likewise.
13712         (_IO_str_count): Likewise.
13713         (_IO_str_seekoff): Likewise.
13714         (_IO_str_pbackfail): Likewise.
13715         (_IO_str_finish): Likewise.
13716         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
13717         (_IO_wstr_overflow): Likewise.
13718         (_IO_wstr_underflow): Likewise.
13719         (_IO_wstr_count): Likewise.
13720         (_IO_wstr_seekoff): Likewise.
13721         (_IO_wstr_pbackfail): Likewise.
13722         (_IO_wstr_finish): Likewise.
13723         * locale/programs/localedef.c (normalize_codeset): Likewise.
13724         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13725         (add_locales_to_archive): Likewise.
13726         (delete_locales_from_archive): Likewise.
13727         * malloc/malloc.c (__libc_mallinfo): Likewise.
13728         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
13729         * misc/tsearch.c (__tfind): Likewise.
13730         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
13731         * nptl/pthread_attr_getdetachstate.c
13732         (__pthread_attr_getdetachstate): Likewise.
13733         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
13734         Likewise.
13735         * nptl/pthread_attr_getinheritsched.c
13736         (__pthread_attr_getinheritsched): Likewise.
13737         * nptl/pthread_attr_getschedparam.c
13738         (__pthread_attr_getschedparam): Likewise.
13739         * nptl/pthread_attr_getschedpolicy.c
13740         (__pthread_attr_getschedpolicy): Likewise.
13741         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
13742         Likewise.
13743         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
13744         Likewise.
13745         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13746         Likewise.
13747         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13748         Likewise.
13749         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
13750         (__pthread_attr_init_2_0): Likewise.
13751         * nptl/pthread_attr_setdetachstate.c
13752         (__pthread_attr_setdetachstate): Likewise.
13753         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13754         Likewise.
13755         * nptl/pthread_attr_setinheritsched.c
13756         (__pthread_attr_setinheritsched): Likewise.
13757         * nptl/pthread_attr_setschedparam.c
13758         (__pthread_attr_setschedparam): Likewise.
13759         * nptl/pthread_attr_setschedpolicy.c
13760         (__pthread_attr_setschedpolicy): Likewise.
13761         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
13762         Likewise.
13763         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
13764         Likewise.
13765         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13766         Likewise.
13767         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13768         Likewise.
13769         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
13770         Likewise.
13771         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
13772         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13773         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
13774         use internal_function.
13775         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
13776         prototype-style function definition.
13777         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13778         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
13779         internal_function.
13780         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13781         Convert to prototype-style function definition.
13782         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13783         Likewise.
13784         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13785         Likewise.
13786         (__pthread_mutex_unlock): Likewise.
13787         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13788         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13789         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13790         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13791         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13792         * nss/makedb.c (process_input): Likewise.
13793         * posix/fnmatch.c (__strchrnul): Likewise.
13794         (__wcschrnul): Likewise.
13795         (fnmatch): Likewise.
13796         * posix/fnmatch_loop.c (FCT): Likewise.
13797         * posix/glob.c (globfree): Likewise.
13798         (__glob_pattern_type): Likewise.
13799         (__glob_pattern_p): Likewise.
13800         * posix/regcomp.c (re_compile_pattern): Likewise.
13801         (re_set_syntax): Likewise.
13802         (re_compile_fastmap): Likewise.
13803         (regcomp): Likewise.
13804         (regerror): Likewise.
13805         (regfree): Likewise.
13806         * posix/regexec.c (regexec): Likewise.
13807         (re_match): Likewise.
13808         (re_search): Likewise.
13809         (re_match_2): Likewise.
13810         (re_search_2): Likewise.
13811         (re_search_stub): Likewise.  Use internal_function
13812         (re_copy_regs): Likewise.
13813         (re_set_registers): Convert to prototype-style function
13814         definition.
13815         (prune_impossible_nodes): Likewise.  Use internal_function.
13816         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13817         prototype-style function definition.
13818         (inet_net_pton_ipv4): Likewise.
13819         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13820         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13821         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13822         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13823         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13824         Make variadic.
13825         * time/strptime_l.c (localtime_r): Convert to prototype-style
13826         function definition.
13827         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13828         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13829         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13830         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13832         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13833         definition.
13834         (_ufc_doit_r): Likewise.
13835         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13836         (_ufc_output_conversion_r): Likewise.
13837         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13838         * inet/rcmd.c (rcmd_af): Likewise.
13839         (rcmd): Likewise.
13840         (ruserok_af): Likewise.
13841         (ruserok): Likewise.
13842         (ruserok2_sa): Likewise.
13843         (ruserok_sa): Likewise.
13844         (iruserok_af): Likewise.
13845         (iruserok): Likewise.
13846         (__ivaliduser): Likewise.
13847         (__validuser2_sa): Likewise.
13848         * inet/rexec.c (rexec_af): Likewise.
13849         (rexec): Likewise.
13850         * inet/ruserpass.c (ruserpass): Likewise.
13851         * locale/programs/xmalloc.c (xcalloc): Likewise.
13852         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13853         * math/w_drem.c (__drem): Likewise.
13854         * math/w_dremf.c (__dremf): Likewise.
13855         * math/w_dreml.c (__dreml): Likewise.
13856         * misc/daemon.c (daemon): Likewise.
13857         * resolv/res_debug.c (p_fqnname): Likewise.
13858         * stdlib/div.c (div): Likewise.
13859         * string/memcmp.c (memcmp_bytes): Likewise.
13860         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13861         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13863         * crypt/cert.c (main): Convert to prototype-style function
13864         definition.
13865         * io/pipe.c (__pipe): Likewise.
13866         * io/pipe2.c (__pipe2): Likewise.
13867         * misc/futimesat.c (futimesat): Likewise.
13868         * misc/utimes.c (__utimes): Likewise.
13869         * posix/execve.c (__execve): Likewise.
13870         * posix/execvp.c (execvp): Likewise.
13871         * posix/execvpe.c (__execvpe): Likewise.
13872         * posix/fexecve.c (fexecve): Likewise.
13873         * socket/socketpair.c (socketpair): Likewise.
13874         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13875         * stdlib/erand48.c (erand48): Likewise.
13876         * stdlib/erand48_r.c (__erand48_r): Likewise.
13877         * stdlib/jrand48.c (jrand48): Likewise.
13878         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13879         * stdlib/lcong48.c (lcong48): Likewise.
13880         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13881         * stdlib/nrand48.c (nrand48): Likewise.
13882         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13883         * stdlib/seed48.c (seed48): Likewise.
13884         * stdlib/seed48_r.c (__seed48_r): Likewise.
13885         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13886         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13887         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13889 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13891         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13892         * configure: Regenerated.
13893         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13894         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13895         unconditional.
13896         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13897         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13898         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13899         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13900         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13901         unconditional.
13902         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13904         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13905         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13907         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13908         function definition.
13909         * crypt/crypt_util.c (__encrypt_r): Likewise.
13910         * libio/genops.c (_IO_no_init): Likewise.
13911         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13912         (_IO_old_fopencookie): Likewise.
13913         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13914         * libio/iogetline.c (_IO_getline): Likewise.
13915         (_IO_getline_info): Likewise.
13916         * libio/iogetwline.c (_IO_getwline): Likewise.
13917         (_IO_getwline_info): Likewise.
13918         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13919         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13920         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13921         (find_entry): Likewise.
13922         (iterate_table): Likewise.
13923         (lookup): Likewise.
13924         * login/forkpty.c (forkpty): Likewise.
13925         * misc/hsearch_r.c (__hsearch_r): Likewise.
13926         * misc/select.c (__select): Likewise.
13927         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13928         Likewise.
13929         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13930         Likewise.
13931         * nptl/old_pthread_cond_timedwait.c
13932         (__pthread_cond_timedwait_2_0): Likewise.
13933         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13934         * nptl/pthread_barrierattr_getpshared.c
13935         (pthread_barrierattr_getpshared): Likewise.
13936         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13937         Likewise.
13938         * nptl/pthread_mutex_setprioceiling.c
13939         (pthread_mutex_setprioceiling): Likewise.
13940         * nptl/pthread_mutexattr_getprioceiling.c
13941         (pthread_mutexattr_getprioceiling): Likewise.
13942         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13943         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13944         Likewise.
13945         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13946         Likewise.
13947         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13948         Likewise.
13949         * socket/recvfrom.c (__recvfrom): Likewise.
13950         * socket/sendto.c (__sendto): Likewise.
13951         * socket/setsockopt.c (__setsockopt): Likewise.
13952         * stdio-common/_itoa.c (_itoa): Likewise.
13953         * stdio-common/_itowa.c (_itowa): Likewise.
13954         * stdio-common/reg-printf.c (__register_printf_specifier):
13955         Likewise.
13956         (__register_printf_function): Likewise.
13957         * stdio-common/tempname.c (__path_search): Likewise.
13958         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13959         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13960         * stdlib/random_r.c (__initstate_r): Likewise.
13961         * stdlib/setenv.c (__add_to_environ): Likewise.
13962         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13963         * streams/getpmsg.c (getpmsg): Likewise.
13964         * streams/putmsg.c (putmsg): Likewise.
13965         * streams/putpmsg.c (putpmsg): Likewise.
13966         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13967         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13968         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13969         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13970         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13971         * sunrpc/svc_udp.c (cache_get): Likewise.
13972         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13973         * sysdeps/mach/hurd/getcwd.c
13974         (__canonicalize_directory_name_internal): Likewise.
13975         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13976         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13977         * sysdeps/mach/hurd/select.c (__select): Likewise.
13978         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13979         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13980         * sysdeps/sparc/nptl/pthread_barrier_init.c
13981         (__pthread_barrier_init): Likewise.
13982         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13983         (__pthread_cond_timedwait): Likewise.
13984         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13985         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13986         Likewise.
13987         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13988         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13989         Likewise.
13990         * sysvipc/semtimedop.c (semtimedop): Likewise.
13991         * time/setitimer.c (__setitimer): Likewise.
13992         * time/strftime_l.c (emacs_strftime): Likewise.
13994 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13996         * config.make.in (have-ssp): Delete.
13997         (stack-protector): New variable.
13998         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
13999         cache test for -fstack-protector-strong.  Export stack_protector to
14000         the best ssp flag.
14001         * configure: Regenerated.
14002         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14003         * nscd/Makefile (CFLAGS-nscd): Likewise.
14004         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14006 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14008         [BZ #19122]
14009         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14010         attribute_hidden.
14012 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14014         [BZ #18743]
14015         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14016         code to...
14017         (ELIDE_LOCK): ...here.
14018         (__get_new_count): New function with part of the code from
14019         __elide_lock that updates the value of adapt_count after a
14020         transaction abort.
14021         (__elided_trylock): Moved this code to...
14022         (ELIDE_TRYLOCK): ...here.
14024 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14026         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14027         * configure: Regenerate.
14028         * INSTALL: Regenerate.
14029         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14030         and tweak grammar.
14032 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14034         * login/programs/pt_chown.c: Include signal.h
14035         (main): Clear any signal mask from the parent process.
14037 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14039         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14040         * configure: Regenerated.
14041         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14042         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14043         $(gnu89-inline-CFLAGS).
14045         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14046         test.
14047         (libc_cv_asm_weakext_directive): Likewise.
14048         * configure: Regenerated.
14049         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14050         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14051         * include/libc-symbols.h
14052         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14053         #error.
14054         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14055         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14057         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14058         prototype-style function definition.
14059         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14060         * sysdeps/i386/ffs.c (__ffs): Likewise.
14061         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14062         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14063         Likewise.
14064         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14065         Likewise.
14066         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14067         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14068         Likewise.
14069         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14070         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14071         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14072         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14073         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14074         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14075         * sysdeps/mach/hurd/access.c (__access): Likewise.
14076         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14077         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14078         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14079         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14080         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14081         (cthread_getspecific): Likewise.
14082         (cthread_setspecific): Likewise.
14083         (__libc_getspecific): Likewise.
14084         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14085         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14086         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14087         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14088         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14089         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14090         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14091         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14092         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14093         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14094         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14095         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14096         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14097         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14098         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14099         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14100         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14101         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14102         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14103         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14104         * sysdeps/mach/hurd/link.c (__link): Likewise.
14105         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14106         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14107         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14108         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14109         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14110         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14111         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14112         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14113         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14114         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14115         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14116         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14117         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14118         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14119         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14120         * sysdeps/mach/hurd/send.c (__send): Likewise.
14121         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14122         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14123         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14124         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14125         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14126         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14127         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14128         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14129         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
14130         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
14131         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
14132         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
14133         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
14134         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
14135         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
14136         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14137         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
14138         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14139         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
14140         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14141         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
14142         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
14143         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
14144         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
14145         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
14146         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
14147         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
14148         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
14149         * sysdeps/posix/alarm.c (alarm): Likewise.
14150         * sysdeps/posix/cuserid.c (cuserid): Likewise.
14151         * sysdeps/posix/dirfd.c (dirfd): Likewise.
14152         * sysdeps/posix/dup.c (__dup): Likewise.
14153         * sysdeps/posix/dup2.c (__dup2): Likewise.
14154         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
14155         (main): Likewise.
14156         * sysdeps/posix/flock.c (__flock): Likewise.
14157         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
14158         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14159         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
14160         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
14161         * sysdeps/posix/isatty.c (__isatty): Likewise.
14162         * sysdeps/posix/killpg.c (killpg): Likewise.
14163         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14164         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
14165         * sysdeps/posix/raise.c (raise): Likewise.
14166         * sysdeps/posix/remove.c (remove): Likewise.
14167         * sysdeps/posix/rename.c (rename): Likewise.
14168         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
14169         * sysdeps/posix/seekdir.c (seekdir): Likewise.
14170         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14171         * sysdeps/posix/sigignore.c (sigignore): Likewise.
14172         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
14173         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14174         * sysdeps/posix/sigset.c (sigset): Likewise.
14175         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
14176         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
14177         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
14178         * sysdeps/posix/time.c (time): Likewise.
14179         * sysdeps/posix/ttyname.c (getttyname): Likewise.
14180         (ttyname): Likewise.
14181         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
14182         * sysdeps/posix/utime.c (utime): Likewise.
14183         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
14184         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14185         Likewise.
14186         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
14187         (pthread_spin_trylock): Likewise.
14188         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
14189         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
14190         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
14191         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
14192         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
14193         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
14194         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
14195         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
14196         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
14197         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
14198         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
14199         * sysdeps/s390/ffs.c (__ffs): Likewise.
14200         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
14201         Likewise.
14202         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14203         Likewise.
14204         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
14205         Likewise.
14206         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
14207         (pthread_barrier_destroy): Likewise.
14208         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14209         (__pthread_barrier_wait): Likewise.
14210         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
14211         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14212         (__pthread_barrier_wait): Likewise.
14213         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
14214         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
14215         (memcmp_not_common_alignment): Likewise.
14216         (MEMCMP): Likewise.
14217         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
14218         (_wordcopy_fwd_dest_aligned): Likewise.
14219         (_wordcopy_bwd_aligned): Likewise.
14220         (_wordcopy_bwd_dest_aligned): Likewise.
14221         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
14222         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
14223         * sysdeps/unix/bsd/stty.c (stty): Likewise.
14224         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
14225         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
14226         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
14227         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
14228         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
14229         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
14230         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
14231         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
14232         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14233         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
14234         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
14235         * sysdeps/unix/stime.c (stime): Likewise.
14236         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
14237         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
14238         Likewise.  Use internal_function.
14239         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
14240         Convert to prototype-style function definition.
14241         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14242         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14243         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
14244         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14245         Likewise.  Use internal_function.
14246         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
14247         prototype-style function definition
14248         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14249         Likewise.
14250         (__getlogin_r): Likewise.
14251         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
14252         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
14253         (__pthread_cond_broadcast): Likewise.
14254         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
14255         (__pthread_cond_destroy): Likewise.
14256         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
14257         (__pthread_cond_init): Likewise.
14258         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
14259         (__pthread_cond_signal): Likewise.
14260         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
14261         (__pthread_cond_wait): Likewise.
14262         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
14263         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14264         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
14265         Likewise.
14266         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
14267         Likewise.
14268         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14269         Likewise.
14270         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
14271         Likewise.
14272         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
14273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
14274         (__ftruncate64): Likewise.
14275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
14276         (truncate64): Likewise.
14277         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
14278         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
14279         (pthread_getcpuclockid): Likewise.
14280         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14281         Likewise.
14282         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14283         Likewise.
14284         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
14285         Likewise.
14286         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14287         Likewise.
14288         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
14289         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
14290         (__libc_sigaction): Likewise.
14291         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
14292         Likewise.
14293         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14294         (__sigprocmask): Likewise.
14295         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
14296         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
14297         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
14298         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14299         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14300         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
14301         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14302         Likewise.
14303         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
14304         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
14305         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14306         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
14307         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
14308         Likewise.
14309         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14310         (__sigprocmask): Likewise.
14311         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14312         (cfgetispeed): Likewise.
14313         (cfsetospeed): Likewise.
14314         (cfsetispeed): Likewise.
14315         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14316         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14317         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14318         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14319         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14320         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14321         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14322         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14323         Likewise.
14324         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14325         Likewise.
14326         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14327         Likewise.
14328         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14329         Likewise.
14330         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14332 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14334         sunrpc: Rewrite with explicit TLS access using __thread.
14335         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14336         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14337         directly.
14338         (__rpc_thread_variables): Access thread_rpc_vars directly.
14339         Eliminate redundant assignment of the tvp variable.
14341 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14343         malloc: Rewrite with explicit TLS access using __thread.
14344         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14345         (tsd_setspecific, tsd_getspecific): Remove.
14346         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14347         (tsd_setspecific, tsd_getspecific): Likewise.
14348         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14349         (tsd_setspecific, tsd_getspecific): Likewise.
14350         * malloc/arena.c (thread_arena): New TLS variable.
14351         (arena_key): Remove variable.
14352         (arena_get): Use thread_arena.
14353         (arena_lookup): Remove macro.
14354         (malloc_atfork, free_atfork, ptmalloc_lock_all)
14355         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14356         (_int_new_arena, get_free_list, reused_arena)
14357         (arena_thread_freeres): Use thread_arena.
14358         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14359         tsd_getspecific, tsd_setspecific from safety annotations.
14360         (Allocating Cleared Space): Remove arena_lookup from safety
14361         annotations.
14363 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14365         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14366         struct scratch_buffer instead of extend_alloca.
14368 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14370         * sysdeps/unix/sysv/linux/kernel-features.h
14371         (__ASSUME_SOCK_CLOEXEC): Remove.
14372         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14373         (__have_paccept): Remove unused macro.
14374         * include/unistd.h (__have_sock_cloexec): Remove declaration.
14375         * misc/syslog.c (openlog_internal): Remove fallback code for
14376         !__ASSUME_SOCK_CLOEXEC.
14377         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14378         missing SOCK_CLOEXEC.
14379         * nscd/connections.c (have_sock_cloexec): Remove definition.
14380         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14381         * nscd/nscd_helper.c (open_socket): Remove fallback code for
14382         !__ASSUME_SOCK_CLOEXEC.
14383         * resolv/res_send.c (__have_o_nonblock): Remove definition.
14384         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14385         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14386         definition.
14387         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14388         code for !__ASSUME_SOCK_CLOEXEC.
14390 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14392         [BZ #18982]
14393         * manual/stdio.texi (Variable Arguments Output): Add portability
14394         note, explaining that vfprintf clobbers the va_list pointer.
14396 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14398         * math/libm-test.inc (fabs_test_data): Add more tests.
14399         (fdim_test_data): Likewise.
14400         (fma_test_data): Likewise.
14401         (fmax_test_data): Likewise.
14402         (fmin_test_data): Likewise.
14403         (fmod_test_data): Likewise.
14405 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
14407         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
14408         data.
14410 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14412         * math/libm-test.inc (ceil_test_data): Add more tests and more
14413         expectations for "inexact".
14414         (floor_test_data): Add more tests.
14415         (round_test_data): Likewise.
14416         (trunc_test_data): Likewise.
14418         * crypt/cert.c (good_bye): Convert to prototype-style function
14419         definition.
14420         (get8): Likewise.
14421         (put8): Likewise.
14422         * crypt/crypt-entry.c (crypt): Likewise.
14423         (__fcrypt): Likewise.
14424         * crypt/crypt_util.c (_ufc_prbits): Likewise.
14425         (_ufc_set_bits): Likewise.
14426         (_ufc_clearmem): Likewise.
14427         (__init_des_r): Likewise.
14428         (shuffle_sb): Likewise.
14429         (shuffle_sb): Likewise.
14430         (_ufc_setup_salt_r): Likewise.
14431         (_ufc_mk_keytab_r): Likewise.
14432         (_ufc_dofinalperm_r): Likewise.
14433         (encrypt): Likewise.
14434         (__setkey_r): Likewise.
14435         (setkey): Likewise.
14436         * crypt/md5.c (md5_init_ctx): Likewise.
14437         (md5_read_ctx): Likewise.
14438         (md5_finish_ctx): Likewise.
14439         (md5_stream): Likewise.
14440         (md5_buffer): Likewise.
14441         (md5_process_bytes): Likewise.
14442         * crypt/sha256.c (__sha256_init_ctx): Likewise.
14443         (__sha256_finish_ctx): Likewise.
14444         (__sha256_process_bytes): Likewise.
14445         * crypt/sha512.c (__sha512_init_ctx): Likewise.
14446         (__sha512_finish_ctx): Likewise.
14447         (__sha512_process_bytes): Likewise.
14448         * ctype/isctype.c (__isctype): Likewise.
14449         * debug/backtrace.c (__backtrace): Likewise.
14450         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
14451         * debug/fgets_chk.c (__fgets_chk): Likewise.
14452         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
14453         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
14454         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14455         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14456         * debug/memset_chk.c (__memset_chk): Likewise.
14457         * debug/strcat_chk.c (__strcat_chk): Likewise.
14458         * debug/strncat_chk.c (__strncat_chk): Likewise.
14459         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
14460         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
14461         * dirent/dirfd.c (dirfd): Likewise.
14462         * dirent/getdents.c (__getdirentries): Likewise.
14463         * dirent/getdents64.c (getdirentries64): Likewise.
14464         * dirent/rewinddir.c (__rewinddir): Likewise.
14465         * dirent/seekdir.c (seekdir): Likewise.
14466         * dirent/telldir.c (telldir): Likewise.
14467         * elf/sln.c (makesymlinks): Likewise.
14468         (makesymlink): Likewise.
14469         * gmon/gmon.c (__moncontrol): Likewise.
14470         (__monstartup): Likewise.
14471         (write_hist): Likewise.
14472         (write_call_graph): Likewise.
14473         (write_bb_counts): Likewise.
14474         * grp/setgroups.c (setgroups): Likewise.
14475         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14476         * inet/inet_net.c (inet_network): Likewise.
14477         * inet/inet_netof.c (inet_netof): Likewise.
14478         * inet/rcmd.c (rresvport_af): Likewise.
14479         (rresvport): Likewise.
14480         * io/access.c (__access): Likewise.
14481         * io/chdir.c (__chdir): Likewise.
14482         * io/chmod.c (__chmod): Likewise.
14483         * io/chown.c (__chown): Likewise.
14484         * io/close.c (__close): Likewise.
14485         * io/creat.c (creat): Likewise.
14486         * io/creat64.c (creat64): Likewise.
14487         * io/dup.c (__dup): Likewise.
14488         * io/dup2.c (__dup2): Likewise.
14489         * io/dup3.c (__dup3): Likewise.
14490         * io/euidaccess.c (__euidaccess): Likewise.
14491         * io/faccessat.c (faccessat): Likewise.
14492         * io/fchmod.c (__fchmod): Likewise.
14493         * io/fchmodat.c (fchmodat): Likewise.
14494         * io/fchown.c (__fchown): Likewise.
14495         * io/fchownat.c (fchownat): Likewise.
14496         * io/fcntl.c (__fcntl): Likewise.
14497         * io/flock.c (__flock): Likewise.
14498         * io/fts.c (fts_load): Likewise.
14499         (fts_close): Likewise.
14500         (fts_read): Likewise.
14501         (fts_set): Likewise.
14502         (fts_children): Likewise.
14503         (fts_build): Likewise.
14504         (fts_stat): Likewise.
14505         (fts_sort): Likewise.
14506         (fts_alloc): Likewise.
14507         (fts_lfree): Likewise.
14508         (fts_palloc): Likewise.
14509         (fts_padjust): Likewise.
14510         (fts_maxarglen): Likewise.
14511         (fts_safe_changedir): Likewise.
14512         * io/getwd.c (getwd): Likewise.
14513         * io/isatty.c (__isatty): Likewise.
14514         * io/lchown.c (__lchown): Likewise.
14515         * io/link.c (__link): Likewise.
14516         * io/linkat.c (linkat): Likewise.
14517         * io/lseek.c (__libc_lseek): Likewise.
14518         * io/mkdir.c (__mkdir): Likewise.
14519         * io/mkdirat.c (mkdirat): Likewise.
14520         * io/mkfifo.c (mkfifo): Likewise.
14521         * io/mkfifoat.c (mkfifoat): Likewise.
14522         * io/open.c (__libc_open): Likewise.
14523         * io/open64.c (__libc_open64): Likewise.
14524         * io/readlink.c (__readlink): Likewise.
14525         * io/readlinkat.c (readlinkat): Likewise.
14526         * io/rmdir.c (__rmdir): Likewise.
14527         * io/symlink.c (__symlink): Likewise.
14528         * io/symlinkat.c (symlinkat): Likewise.
14529         * io/ttyname.c (ttyname): Likewise.
14530         * io/ttyname_r.c (__ttyname_r): Likewise.
14531         * io/umask.c (__umask): Likewise.
14532         * io/unlink.c (__unlink): Likewise.
14533         * io/unlinkat.c (unlinkat): Likewise.
14534         * io/utime.c (utime): Likewise.
14535         * libio/clearerr.c (clearerr): Likewise.
14536         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
14537         * libio/feof.c (_IO_feof): Likewise.
14538         * libio/feof_u.c (feof_unlocked): Likewise.
14539         * libio/ferror.c (_IO_ferror): Likewise.
14540         * libio/ferror_u.c (ferror_unlocked): Likewise.
14541         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14542         * libio/fileno.c (__fileno): Likewise.
14543         * libio/fputc.c (fputc): Likewise.
14544         * libio/fputc_u.c (fputc_unlocked): Likewise.
14545         * libio/fputwc.c (fputwc): Likewise.
14546         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
14547         * libio/freopen.c (freopen): Likewise.
14548         * libio/freopen64.c (freopen64): Likewise.
14549         * libio/fseek.c (fseek): Likewise.
14550         * libio/fseeko.c (fseeko): Likewise.
14551         * libio/fseeko64.c (fseeko64): Likewise.
14552         * libio/ftello.c (__ftello): Likewise.
14553         * libio/ftello64.c (ftello64): Likewise.
14554         * libio/fwide.c (fwide): Likewise.
14555         * libio/genops.c (_IO_un_link): Likewise.
14556         (_IO_link_in): Likewise.
14557         (_IO_least_marker): Likewise.
14558         (_IO_switch_to_main_get_area): Likewise.
14559         (_IO_switch_to_backup_area): Likewise.
14560         (_IO_switch_to_get_mode): Likewise.
14561         (_IO_free_backup_area): Likewise.
14562         (_IO_switch_to_put_mode): Likewise.
14563         (__overflow): Likewise.
14564         (__underflow): Likewise.
14565         (__uflow): Likewise.
14566         (_IO_setb): Likewise.
14567         (_IO_doallocbuf): Likewise.
14568         (_IO_default_underflow): Likewise.
14569         (_IO_default_uflow): Likewise.
14570         (_IO_default_xsputn): Likewise.
14571         (_IO_sgetn): Likewise.
14572         (_IO_default_xsgetn): Likewise.
14573         (_IO_sync): Likewise.
14574         (_IO_default_setbuf): Likewise.
14575         (_IO_default_seekpos): Likewise.
14576         (_IO_default_doallocate): Likewise.
14577         (_IO_init): Likewise.
14578         (_IO_old_init): Likewise.
14579         (_IO_default_sync): Likewise.
14580         (_IO_default_finish): Likewise.
14581         (_IO_default_seekoff): Likewise.
14582         (_IO_sputbackc): Likewise.
14583         (_IO_sungetc): Likewise.
14584         (_IO_set_column): Likewise.
14585         (_IO_set_column): Likewise.
14586         (_IO_adjust_column): Likewise.
14587         (_IO_get_column): Likewise.
14588         (_IO_init_marker): Likewise.
14589         (_IO_remove_marker): Likewise.
14590         (_IO_marker_difference): Likewise.
14591         (_IO_marker_delta): Likewise.
14592         (_IO_seekmark): Likewise.
14593         (_IO_unsave_markers): Likewise.
14594         (_IO_nobackup_pbackfail): Likewise.
14595         (_IO_default_pbackfail): Likewise.
14596         (_IO_default_seek): Likewise.
14597         (_IO_default_stat): Likewise.
14598         (_IO_default_read): Likewise.
14599         (_IO_default_write): Likewise.
14600         (_IO_default_showmanyc): Likewise.
14601         (_IO_default_imbue): Likewise.
14602         (_IO_iter_next): Likewise.
14603         (_IO_iter_file): Likewise.
14604         * libio/getc.c (_IO_getc): Likewise.
14605         * libio/getwc.c (_IO_getwc): Likewise.
14606         * libio/iofclose.c (_IO_new_fclose): Likewise.
14607         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14608         * libio/iofflush.c (_IO_fflush): Likewise.
14609         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
14610         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
14611         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
14612         * libio/iofgets.c (_IO_fgets): Likewise.
14613         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
14614         * libio/iofgetws.c (fgetws): Likewise.
14615         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14616         * libio/iofopen64.c (_IO_fopen64): Likewise.
14617         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14618         (_IO_cookie_write): Likewise.
14619         (_IO_cookie_seek): Likewise.
14620         (_IO_cookie_close): Likewise.
14621         (_IO_cookie_seekoff): Likewise.
14622         (_IO_old_cookie_seek): Likewise.
14623         * libio/iofputs.c (_IO_fputs): Likewise.
14624         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
14625         * libio/iofputws.c (fputws): Likewise.
14626         * libio/iofputws_u.c (fputws_unlocked): Likewise.
14627         * libio/iofread.c (_IO_fread): Likewise.
14628         * libio/iofread_u.c (__fread_unlocked): Likewise.
14629         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
14630         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14631         * libio/ioftell.c (_IO_ftell): Likewise.
14632         * libio/iofwrite.c (_IO_fwrite): Likewise.
14633         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14634         * libio/iogets.c (_IO_gets): Likewise.
14635         * libio/iopadn.c (_IO_padn): Likewise.
14636         * libio/iopopen.c (_IO_new_proc_open): Likewise.
14637         (_IO_new_popen): Likewise.
14638         (_IO_new_proc_close): Likewise.
14639         * libio/ioputs.c (_IO_puts): Likewise.
14640         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
14641         (_IO_seekoff): Likewise.
14642         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
14643         (_IO_seekpos): Likewise.
14644         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
14645         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
14646         * libio/ioungetc.c (_IO_ungetc): Likewise.
14647         * libio/ioungetwc.c (ungetwc): Likewise.
14648         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14649         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
14650         * libio/iowpadn.c (_IO_wpadn): Likewise.
14651         * libio/libc_fatal.c (__libc_fatal): Likewise.
14652         * libio/memstream.c (__open_memstream): Likewise.
14653         (_IO_mem_sync): Likewise.
14654         (_IO_mem_finish): Likewise.
14655         * libio/oldfileops.c (_IO_old_file_init): Likewise.
14656         (_IO_old_file_close_it): Likewise.
14657         (_IO_old_file_finish): Likewise.
14658         (_IO_old_file_fopen): Likewise.
14659         (_IO_old_file_attach): Likewise.
14660         (_IO_old_file_setbuf): Likewise.
14661         (_IO_old_do_write): Likewise.
14662         (old_do_write): Likewise.
14663         (_IO_old_file_underflow): Likewise.
14664         (_IO_old_file_overflow): Likewise.
14665         (_IO_old_file_sync): Likewise.
14666         (_IO_old_file_seekoff): Likewise.
14667         (_IO_old_file_write): Likewise.
14668         (_IO_old_file_xsputn): Likewise.
14669         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
14670         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14671         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
14672         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
14673         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14674         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
14675         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
14676         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
14677         (_IO_old_popen): Likewise.
14678         (_IO_old_proc_close): Likewise.
14679         * libio/oldpclose.c (__old_pclose): Likewise.
14680         * libio/pclose.c (__new_pclose): Likewise.
14681         * libio/peekc.c (_IO_peekc_locked): Likewise.
14682         * libio/putc.c (_IO_putc): Likewise.
14683         * libio/putc_u.c (putc_unlocked): Likewise.
14684         * libio/putchar.c (putchar): Likewise.
14685         * libio/putchar_u.c (putchar_unlocked): Likewise.
14686         * libio/putwc.c (putwc): Likewise.
14687         * libio/putwc_u.c (putwc_unlocked): Likewise.
14688         * libio/putwchar.c (putwchar): Likewise.
14689         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
14690         * libio/rewind.c (rewind): Likewise.
14691         * libio/setbuf.c (setbuf): Likewise.
14692         * libio/setlinebuf.c (setlinebuf): Likewise.
14693         * libio/vasprintf.c (_IO_vasprintf): Likewise.
14694         * libio/vscanf.c (_IO_vscanf): Likewise.
14695         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
14696         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
14697         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14698         * libio/wgenops.c (_IO_least_wmarker): Likewise.
14699         (_IO_switch_to_main_wget_area): Likewise.
14700         (_IO_switch_to_wbackup_area): Likewise.
14701         (_IO_wsetb): Likewise.
14702         (_IO_wdefault_pbackfail): Likewise.
14703         (_IO_wdefault_finish): Likewise.
14704         (_IO_wdefault_uflow): Likewise.
14705         (__woverflow): Likewise.
14706         (__wuflow): Likewise.
14707         (__wunderflow): Likewise.
14708         (_IO_wdefault_xsputn): Likewise.
14709         (_IO_wdefault_xsgetn): Likewise.
14710         (_IO_wdoallocbuf): Likewise.
14711         (_IO_wdefault_doallocate): Likewise.
14712         (_IO_switch_to_wget_mode): Likewise.
14713         (_IO_free_wbackup_area): Likewise.
14714         (_IO_switch_to_wput_mode): Likewise.
14715         (_IO_sputbackwc): Likewise.
14716         (_IO_sungetwc): Likewise.
14717         (_IO_adjust_wcolumn): Likewise.
14718         (_IO_init_wmarker): Likewise.
14719         (_IO_wmarker_delta): Likewise.
14720         (_IO_seekwmark): Likewise.
14721         (_IO_unsave_wmarkers): Likewise.
14722         * libio/wmemstream.c (open_wmemstream): Likewise.
14723         (_IO_wmem_sync): Likewise.
14724         (_IO_wmem_finish): Likewise.
14725         * locale/nl_langinfo.c (nl_langinfo): Likewise.
14726         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
14727         * locale/programs/simple-hash.c (init_hash): Likewise.
14728         (delete_hash): Likewise.
14729         (insert_entry): Likewise.
14730         (set_entry): Likewise.
14731         (next_prime): Likewise.
14732         (is_prime): Likewise.
14733         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
14734         (xmalloc): Likewise.
14735         (xrealloc): Likewise.
14736         * locale/programs/xstrdup.c (xstrdup): Likewise.
14737         * localedata/collate-test.c (xstrcoll): Likewise.
14738         * localedata/xfrm-test.c (xstrcmp): Likewise.
14739         * login/getlogin_r.c (__getlogin_r): Likewise.
14740         * login/getpt.c (__posix_openpt): Likewise.
14741         * login/login_tty.c (login_tty): Likewise.
14742         * login/setlogin.c (setlogin): Likewise.
14743         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
14744         (mach_msg_destroy_port): Likewise.
14745         (mach_msg_destroy_memory): Likewise.
14746         * malloc/mcheck.c (flood): Likewise.
14747         * misc/acct.c (acct): Likewise.
14748         * misc/brk.c (__brk): Likewise.
14749         * misc/chflags.c (chflags): Likewise.
14750         * misc/chroot.c (chroot): Likewise.
14751         * misc/fchflags.c (fchflags): Likewise.
14752         * misc/fstab.c (getfsspec): Likewise.
14753         (getfsfile): Likewise.
14754         * misc/fsync.c (fsync): Likewise.
14755         * misc/ftruncate.c (__ftruncate): Likewise.
14756         * misc/ftruncate64.c (__ftruncate64): Likewise.
14757         * misc/getdomain.c (getdomainname): Likewise.
14758         (getdomainname): Likewise.
14759         * misc/gethostname.c (__gethostname): Likewise.
14760         * misc/getpass.c (getpass): Likewise.
14761         * misc/getttyent.c (skip): Likewise.
14762         (value): Likewise.
14763         * misc/gtty.c (gtty): Likewise.
14764         * misc/hsearch.c (hsearch): Likewise.
14765         (hcreate): Likewise.
14766         * misc/hsearch_r.c (__hcreate_r): Likewise.
14767         (__hdestroy_r): Likewise.
14768         * misc/ioctl.c (__ioctl): Likewise.
14769         * misc/mkdtemp.c (mkdtemp): Likewise.
14770         * misc/mkostemp.c (mkostemp): Likewise.
14771         * misc/mkostemp64.c (mkostemp64): Likewise.
14772         * misc/mkostemps.c (mkostemps): Likewise.
14773         * misc/mkostemps64.c (mkostemps64): Likewise.
14774         * misc/mkstemp.c (mkstemp): Likewise.
14775         * misc/mkstemp64.c (mkstemp64): Likewise.
14776         * misc/mkstemps.c (mkstemps): Likewise.
14777         * misc/mkstemps64.c (mkstemps64): Likewise.
14778         * misc/mktemp.c (__mktemp): Likewise.
14779         * misc/preadv.c (preadv): Likewise.
14780         * misc/preadv64.c (preadv64): Likewise.
14781         * misc/pwritev.c (pwritev): Likewise.
14782         * misc/pwritev64.c (pwritev64): Likewise.
14783         * misc/readv.c (__readv): Likewise.
14784         * misc/revoke.c (revoke): Likewise.
14785         * misc/setdomain.c (setdomainname): Likewise.
14786         * misc/setegid.c (setegid): Likewise.
14787         * misc/seteuid.c (seteuid): Likewise.
14788         * misc/sethostid.c (sethostid): Likewise.
14789         * misc/sethostname.c (sethostname): Likewise.
14790         * misc/setregid.c (__setregid): Likewise.
14791         * misc/setreuid.c (__setreuid): Likewise.
14792         * misc/sstk.c (sstk): Likewise.
14793         * misc/stty.c (stty): Likewise.
14794         * misc/syscall.c (syscall): Likewise.
14795         * misc/syslog.c (setlogmask): Likewise.
14796         * misc/truncate.c (__truncate): Likewise.
14797         * misc/truncate64.c (truncate64): Likewise.
14798         * misc/ualarm.c (ualarm): Likewise.
14799         * misc/usleep.c (usleep): Likewise.
14800         * misc/ustat.c (ustat): Likewise.
14801         * misc/writev.c (__writev): Likewise.
14802         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14803         * nptl/old_pthread_cond_broadcast.c
14804         (__pthread_cond_broadcast_2_0): Likewise.
14805         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14806         Likewise.
14807         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14808         Likewise.
14809         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14810         Likewise.
14811         * nptl/pt-raise.c (raise): Likewise.
14812         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14813         Likewise.
14814         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14815         * nptl/pthread_barrierattr_destroy.c
14816         (pthread_barrierattr_destroy): Likewise.
14817         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14818         Likewise.
14819         * nptl/pthread_barrierattr_setpshared.c
14820         (pthread_barrierattr_setpshared): Likewise.
14821         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14822         Likewise.
14823         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14824         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14825         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14826         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14827         Likewise.
14828         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14829         Likewise.
14830         * nptl/pthread_condattr_getpshared.c
14831         (pthread_condattr_getpshared): Likewise.
14832         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14833         Likewise.
14834         * nptl/pthread_condattr_setpshared.c
14835         (pthread_condattr_setpshared): Likewise.
14836         * nptl/pthread_detach.c (pthread_detach): Likewise.
14837         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14838         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14839         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14840         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14841         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14842         Likewise.
14843         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14844         Likewise.
14845         * nptl/pthread_mutex_getprioceiling.c
14846         (pthread_mutex_getprioceiling): Likewise.
14847         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14848         Likewise.
14849         * nptl/pthread_mutexattr_getprotocol.c
14850         (pthread_mutexattr_getprotocol): Likewise.
14851         * nptl/pthread_mutexattr_getpshared.c
14852         (pthread_mutexattr_getpshared): Likewise.
14853         * nptl/pthread_mutexattr_getrobust.c
14854         (pthread_mutexattr_getrobust): Likewise.
14855         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14856         Likewise.
14857         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14858         Likewise.
14859         * nptl/pthread_mutexattr_setprioceiling.c
14860         (pthread_mutexattr_setprioceiling): Likewise.
14861         * nptl/pthread_mutexattr_setprotocol.c
14862         (pthread_mutexattr_setprotocol): Likewise.
14863         * nptl/pthread_mutexattr_setpshared.c
14864         (pthread_mutexattr_setpshared): Likewise.
14865         * nptl/pthread_mutexattr_setrobust.c
14866         (pthread_mutexattr_setrobust): Likewise.
14867         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14868         Likewise.
14869         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14870         Likewise.
14871         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14872         Likewise.
14873         * nptl/pthread_rwlockattr_getkind_np.c
14874         (pthread_rwlockattr_getkind_np): Likewise.
14875         * nptl/pthread_rwlockattr_getpshared.c
14876         (pthread_rwlockattr_getpshared): Likewise.
14877         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14878         Likewise.
14879         * nptl/pthread_rwlockattr_setkind_np.c
14880         (pthread_rwlockattr_setkind_np): Likewise.
14881         * nptl/pthread_rwlockattr_setpshared.c
14882         (pthread_rwlockattr_setpshared): Likewise.
14883         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14884         Likewise.
14885         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14886         Likewise.
14887         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14888         Likewise.
14889         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14890         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14891         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14892         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14893         * nptl/sem_close.c (sem_close): Likewise.
14894         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14895         * nptl/sem_init.c (__old_sem_init): Likewise.
14896         * nptl/sigaction.c (__sigaction): Likewise.
14897         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14898         * posix/_exit.c (_exit): Likewise.
14899         * posix/alarm.c (alarm): Likewise.
14900         * posix/confstr.c (confstr): Likewise.
14901         * posix/fpathconf.c (__fpathconf): Likewise.
14902         * posix/getgroups.c (__getgroups): Likewise.
14903         * posix/getpgid.c (__getpgid): Likewise.
14904         * posix/group_member.c (__group_member): Likewise.
14905         * posix/pathconf.c (__pathconf): Likewise.
14906         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14907         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14908         * posix/setgid.c (__setgid): Likewise.
14909         * posix/setpgid.c (__setpgid): Likewise.
14910         * posix/setuid.c (__setuid): Likewise.
14911         * posix/sleep.c (__sleep): Likewise.
14912         * posix/sysconf.c (__sysconf): Likewise.
14913         * posix/times.c (__times): Likewise.
14914         * posix/uname.c (__uname): Likewise.
14915         * posix/waitid.c (__waitid): Likewise.
14916         * pwd/getpw.c (__getpw): Likewise.
14917         * resolv/base64.c (b64_pton): Likewise.
14918         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14919         * resolv/gethnamaddr.c (Dprintf): Likewise.
14920         (gethostbyname): Likewise.
14921         (gethostbyname2): Likewise.
14922         (gethostbyaddr): Likewise.
14923         (_sethtent): Likewise.
14924         (_gethtbyname): Likewise.
14925         (_gethtbyname2): Likewise.
14926         (_gethtbyaddr): Likewise.
14927         (map_v4v6_address): Likewise.
14928         (map_v4v6_hostent): Likewise.
14929         (addrsort): Likewise.
14930         (ht_sethostent): Likewise.
14931         (ht_gethostbyname): Likewise.
14932         (ht_gethostbyaddr): Likewise.
14933         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14934         (inet_net_ntop_ipv4): Likewise.
14935         * resolv/inet_neta.c (inet_neta): Likewise.
14936         * resolv/inet_ntop.c (inet_ntop): Likewise.
14937         (inet_ntop4): Likewise.
14938         (inet_ntop6): Likewise.
14939         * resolv/inet_pton.c (__inet_pton): Likewise.
14940         (inet_pton4): Likewise.
14941         (inet_pton6): Likewise.
14942         * resolv/res_debug.c (loc_aton): Likewise.
14943         (loc_ntoa): Likewise.
14944         * resource/getpriority.c (__getpriority): Likewise.
14945         * resource/getrusage.c (__getrusage): Likewise.
14946         * resource/nice.c (nice): Likewise.
14947         * resource/setpriority.c (__setpriority): Likewise.
14948         * resource/setrlimit64.c (setrlimit64): Likewise.
14949         * resource/vlimit.c (vlimit): Likewise.
14950         * resource/vtimes.c (vtimes): Likewise.
14951         * rt/aio_error.c (aio_error): Likewise.
14952         * rt/aio_return.c (aio_return): Likewise.
14953         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14954         * signal/kill.c (__kill): Likewise.
14955         * signal/killpg.c (killpg): Likewise.
14956         * signal/raise.c (raise): Likewise.
14957         * signal/sigaction.c (__sigaction): Likewise.
14958         * signal/sigaddset.c (sigaddset): Likewise.
14959         * signal/sigaltstack.c (sigaltstack): Likewise.
14960         * signal/sigandset.c (sigandset): Likewise.
14961         * signal/sigblock.c (__sigblock): Likewise.
14962         * signal/sigdelset.c (sigdelset): Likewise.
14963         * signal/sigempty.c (sigemptyset): Likewise.
14964         * signal/sigfillset.c (sigfillset): Likewise.
14965         * signal/sighold.c (sighold): Likewise.
14966         * signal/sigignore.c (sigignore): Likewise.
14967         * signal/sigintr.c (siginterrupt): Likewise.
14968         * signal/sigisempty.c (sigisemptyset): Likewise.
14969         * signal/sigismem.c (sigismember): Likewise.
14970         * signal/signal.c (signal): Likewise.
14971         * signal/sigorset.c (sigorset): Likewise.
14972         * signal/sigpause.c (__sigpause): Likewise.
14973         * signal/sigpending.c (sigpending): Likewise.
14974         * signal/sigprocmask.c (__sigprocmask): Likewise.
14975         * signal/sigrelse.c (sigrelse): Likewise.
14976         * signal/sigreturn.c (__sigreturn): Likewise.
14977         * signal/sigset.c (sigset): Likewise.
14978         * signal/sigsetmask.c (__sigsetmask): Likewise.
14979         * signal/sigstack.c (sigstack): Likewise.
14980         * signal/sigsuspend.c (__sigsuspend): Likewise.
14981         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14982         * signal/sysv_signal.c (__sysv_signal): Likewise.
14983         * socket/accept.c (accept): Likewise.
14984         * socket/accept4.c (__libc_accept4): Likewise.
14985         * socket/bind.c (__bind): Likewise.
14986         * socket/connect.c (__connect): Likewise.
14987         * socket/getpeername.c (getpeername): Likewise.
14988         * socket/getsockname.c (__getsockname): Likewise.
14989         * socket/getsockopt.c (getsockopt): Likewise.
14990         * socket/listen.c (__listen): Likewise.
14991         * socket/recv.c (__recv): Likewise.
14992         * socket/recvmsg.c (__recvmsg): Likewise.
14993         * socket/send.c (__send): Likewise.
14994         * socket/sendmsg.c (__sendmsg): Likewise.
14995         * socket/shutdown.c (shutdown): Likewise.
14996         * socket/sockatmark.c (sockatmark): Likewise.
14997         * socket/socket.c (__socket): Likewise.
14998         * stdio-common/ctermid.c (ctermid): Likewise.
14999         * stdio-common/cuserid.c (cuserid): Likewise.
15000         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15001         * stdio-common/remove.c (remove): Likewise.
15002         * stdio-common/rename.c (rename): Likewise.
15003         * stdio-common/renameat.c (renameat): Likewise.
15004         * stdio-common/tempname.c (__gen_tempname): Likewise.
15005         * stdio-common/xbug.c (InitBuffer): Likewise.
15006         (AppendToBuffer): Likewise.
15007         (ReadFile): Likewise.
15008         * stdlib/a64l.c (a64l): Likewise.
15009         * stdlib/drand48_r.c (drand48_r): Likewise.
15010         * stdlib/getcontext.c (getcontext): Likewise.
15011         * stdlib/getenv.c (getenv): Likewise.
15012         * stdlib/l64a.c (l64a): Likewise.
15013         * stdlib/llabs.c (llabs): Likewise.
15014         * stdlib/lldiv.c (lldiv): Likewise.
15015         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15016         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15017         * stdlib/putenv.c (putenv): Likewise.
15018         * stdlib/random.c (__srandom): Likewise.
15019         (__initstate): Likewise.
15020         (__setstate): Likewise.
15021         * stdlib/random_r.c (__srandom_r): Likewise.
15022         (__setstate_r): Likewise.
15023         (__random_r): Likewise.
15024         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15025         * stdlib/setcontext.c (setcontext): Likewise.
15026         * stdlib/setenv.c (setenv): Likewise.
15027         (unsetenv): Likewise.
15028         * stdlib/srand48.c (srand48): Likewise.
15029         * stdlib/srand48_r.c (__srand48_r): Likewise.
15030         * stdlib/swapcontext.c (swapcontext): Likewise.
15031         * stdlib/system.c (__libc_system): Likewise.
15032         * stdlib/tst-strtod.c (expand): Likewise.
15033         * stdlib/tst-strtol.c (expand): Likewise.
15034         * stdlib/tst-strtoll.c (expand): Likewise.
15035         * streams/fattach.c (fattach): Likewise.
15036         * streams/fdetach.c (fdetach): Likewise.
15037         * streams/getmsg.c (getmsg): Likewise.
15038         * streams/isastream.c (isastream): Likewise.
15039         * string/ffs.c (__ffs): Likewise.
15040         * string/ffsll.c (ffsll): Likewise.
15041         * string/memcmp.c (memcmp_common_alignment): Likewise.
15042         (memcmp_not_common_alignment): Likewise.
15043         (MEMCMP): Likewise.
15044         * string/memcpy.c (memcpy): Likewise.
15045         * string/memmove.c (MEMMOVE): Likewise.
15046         * string/memset.c (memset): Likewise.
15047         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15048         * string/strchrnul.c (STRCHRNUL): Likewise.
15049         * string/strerror.c (strerror): Likewise.
15050         * string/strndup.c (__strndup): Likewise.
15051         * string/strverscmp.c (__strverscmp): Likewise.
15052         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15053         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15054         (clnttcp_freeres): Likewise.
15055         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15056         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15057         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15058         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15059         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15060         (xdr_callhdr): Likewise.
15061         * sunrpc/rpcinfo.c (udpping): Likewise.
15062         (tcpping): Likewise.
15063         (pstatus): Likewise.
15064         (pmapdump): Likewise.
15065         (brdcst): Likewise.
15066         (deletereg): Likewise.
15067         (getprognum): Likewise.
15068         (getvers): Likewise.
15069         (get_inet_address): Likewise.
15070         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15071         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15072         (svcudp_stat): Likewise.
15073         (svcudp_recv): Likewise.
15074         (svcudp_reply): Likewise.
15075         (svcudp_getargs): Likewise.
15076         (svcudp_freeargs): Likewise.
15077         (svcudp_destroy): Likewise.
15078         * sunrpc/xdr.c (xdr_bytes): Likewise.
15079         (xdr_netobj): Likewise.
15080         (xdr_string): Likewise.
15081         (xdr_wrapstring): Likewise.
15082         * sunrpc/xdr_float.c (xdr_float): Likewise.
15083         (xdr_double): Likewise.
15084         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15085         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15086         * sysvipc/ftok.c (ftok): Likewise.
15087         * sysvipc/msgctl.c (msgctl): Likewise.
15088         * sysvipc/msgget.c (msgget): Likewise.
15089         * sysvipc/msgrcv.c (msgrcv): Likewise.
15090         * sysvipc/msgsnd.c (msgsnd): Likewise.
15091         * sysvipc/semget.c (semget): Likewise.
15092         * sysvipc/semop.c (semop): Likewise.
15093         * sysvipc/shmat.c (shmat): Likewise.
15094         * sysvipc/shmctl.c (shmctl): Likewise.
15095         * sysvipc/shmdt.c (shmdt): Likewise.
15096         * sysvipc/shmget.c (shmget): Likewise.
15097         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15098         * termios/speed.c (cfgetospeed): Likewise.
15099         (cfgetispeed): Likewise.
15100         (cfsetospeed): Likewise.
15101         (cfsetispeed): Likewise.
15102         * termios/tcflow.c (tcflow): Likewise.
15103         * termios/tcflush.c (tcflush): Likewise.
15104         * termios/tcgetattr.c (__tcgetattr): Likewise.
15105         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15106         * termios/tcgetsid.c (tcgetsid): Likewise.
15107         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15108         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15109         * time/adjtime.c (__adjtime): Likewise.
15110         * time/dysize.c (dysize): Likewise.
15111         * time/ftime.c (ftime): Likewise.
15112         * time/getitimer.c (__getitimer): Likewise.
15113         * time/gettimeofday.c (__gettimeofday): Likewise.
15114         * time/gmtime.c (__gmtime_r): Likewise.
15115         (gmtime): Likewise.
15116         * time/localtime.c (__localtime_r): Likewise.
15117         (localtime): Likewise.
15118         * time/offtime.c (__offtime): Likewise.
15119         * time/settimeofday.c (__settimeofday): Likewise.
15120         * time/stime.c (stime): Likewise.
15121         * time/strftime_l.c (tm_diff): Likewise.
15122         (iso_week_days): Likewise.
15123         * time/strptime.c (strptime): Likewise.
15124         * time/time.c (time): Likewise.
15125         * time/timespec_get.c (timespec_get): Likewise.
15126         * time/tzset.c (tzset_internal): Likewise.
15127         (compute_change): Likewise.
15128         (__tz_compute): Likewise.
15129         * wcsmbs/btowc.c (__btowc): Likewise.
15130         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
15131         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
15132         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
15133         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
15134         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
15135         * wcsmbs/wcscat.c (__wcscat): Likewise.
15136         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15137         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
15138         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
15139         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15140         * wcsmbs/wcsdup.c (wcsdup): Likewise.
15141         * wcsmbs/wcslen.c (__wcslen): Likewise.
15142         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
15143         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
15144         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
15145         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
15146         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15147         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
15148         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15149         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15150         * wcsmbs/wcstok.c (wcstok): Likewise.
15151         * wcsmbs/wctob.c (wctob): Likewise.
15152         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
15153         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15154         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
15155         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
15156         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
15157         * wcsmbs/wmemset.c (__wmemset): Likewise.
15158         * wctype/wcfuncs.c (__towlower): Likewise.
15159         (__towupper): Likewise.
15161         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
15162         (lll_unlock_elision): Add adapt_count parameter.
15164 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15166         * sysdeps/nptl/configure.ac: Do not give errors based on the
15167         results of top-level configure tests.
15168         * sysdeps/nptl/configure: Regenerated.
15170         * configure.ac (libc_cv_Bgroup): Remove configure test.
15171         * configure: Regenerated.
15172         * config.make.in (have-Bgroup): Remove variable.
15174         * configure.ac (sizeof_long_double): Remove configure test.
15175         * configure: Regenerated.
15176         * config.make.in (sizeof-long-double): Remove variable.
15178         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
15179         * configure: Regenerated.
15180         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
15181         variable.
15182         (exceptions): Likewise.
15183         * sysdeps/arm/configure: Regenerated.
15184         * config.make.in (exceptions): Remove variable.
15185         * Makeconfig (uses-callbacks): Use -fexceptions instead of
15186         $(exceptions).
15187         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
15188         (CFLAGS-vdprintf_chk.c): Likewise.
15189         (CFLAGS-printf_chk.c): Likewise.
15190         (CFLAGS-fprintf_chk.c): Likewise.
15191         (CFLAGS-vprintf_chk.c): Likewise.
15192         (CFLAGS-vfprintf_chk.c): Likewise.
15193         (CFLAGS-gets_chk.c): Likewise.
15194         (CFLAGS-fgets_chk.c): Likewise.
15195         (CFLAGS-fgets_u_chk.c): Likewise.
15196         (CFLAGS-fread_chk.c): Likewise.
15197         (CFLAGS-fread_u_chk.c): Likewise.
15198         (CFLAGS-wprintf_chk.c): Likewise.
15199         (CFLAGS-fwprintf_chk.c): Likewise.
15200         (CFLAGS-vwprintf_chk.c): Likewise.
15201         (CFLAGS-vfwprintf_chk.c): Likewise.
15202         (CFLAGS-fgetws_chk.c): Likewise.
15203         (CFLAGS-fgetws_u_chk.c): Likewise.
15204         * libio/Makefile (CFLAGS-fileops.c): Likewise.
15205         (CFLAGS-fputc.c): Likewise.
15206         (CFLAGS-fputwc.c): Likewise.
15207         (CFLAGS-freopen64.c): Likewise.
15208         (CFLAGS-freopen.c): Likewise.
15209         (CFLAGS-fseek.c): Likewise.
15210         (CFLAGS-fseeko64.c): Likewise.
15211         (CFLAGS-fseeko.c): Likewise.
15212         (CFLAGS-ftello64.c): Likewise.
15213         (CFLAGS-ftello.c): Likewise.
15214         (CFLAGS-fwide.c): Likewise.
15215         (CFLAGS-genops.c): Likewise.
15216         (CFLAGS-getc.c): Likewise.
15217         (CFLAGS-getchar.c): Likewise.
15218         (CFLAGS-getwc.c): Likewise.
15219         (CFLAGS-getwchar.c): Likewise.
15220         (CFLAGS-iofclose.c): Likewise.
15221         (CFLAGS-iofflush.c): Likewise.
15222         (CFLAGS-iofgetpos64.c): Likewise.
15223         (CFLAGS-iofgetpos.c): Likewise.
15224         (CFLAGS-iofgets.c): Likewise.
15225         (CFLAGS-iofgetws.c): Likewise.
15226         (CFLAGS-iofputs.c): Likewise.
15227         (CFLAGS-iofputws.c): Likewise.
15228         (CFLAGS-iofread.c): Likewise.
15229         (CFLAGS-iofsetpos64.c): Likewise.
15230         (CFLAGS-iofsetpos.c): Likewise.
15231         (CFLAGS-ioftell.c): Likewise.
15232         (CFLAGS-iofwrite.c): Likewise.
15233         (CFLAGS-iogetdelim.c): Likewise.
15234         (CFLAGS-iogetline.c): Likewise.
15235         (CFLAGS-iogets.c): Likewise.
15236         (CFLAGS-iogetwline.c): Likewise.
15237         (CFLAGS-ioputs.c): Likewise.
15238         (CFLAGS-ioseekoff.c): Likewise.
15239         (CFLAGS-ioseekpos.c): Likewise.
15240         (CFLAGS-iosetbuffer.c): Likewise.
15241         (CFLAGS-iosetvbuf.c): Likewise.
15242         (CFLAGS-ioungetc.c): Likewise.
15243         (CFLAGS-ioungetwc.c): Likewise.
15244         (CFLAGS-oldfileops.c): Likewise.
15245         (CFLAGS-oldiofclose.c): Likewise.
15246         (CFLAGS-oldiofgetpos64.c): Likewise.
15247         (CFLAGS-oldiofgetpos.c): Likewise.
15248         (CFLAGS-oldiofsetpos64.c): Likewise.
15249         (CFLAGS-oldiofsetpos.c): Likewise.
15250         (CFLAGS-peekc.c): Likewise.
15251         (CFLAGS-putc.c): Likewise.
15252         (CFLAGS-putchar.c): Likewise.
15253         (CFLAGS-putwc.c): Likewise.
15254         (CFLAGS-putwchar.c): Likewise.
15255         (CFLAGS-rewind.c): Likewise.
15256         (CFLAGS-wfileops.c): Likewise.
15257         (CFLAGS-wgenops.c): Likewise.
15258         (CFLAGS-oldiofopen.c): Likewise.
15259         (CFLAGS-iofopen.c): Likewise.
15260         (CFLAGS-iofopen64.c): Likewise.
15261         (CFLAGS-oldtmpfile.c): Likewise.
15262         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15263         (CFLAGS-fprintf.c): Likewise.
15264         (CFLAGS-printf.c): Likewise.
15265         (CFLAGS-vfwprintf.c): Likewise.
15266         (CFLAGS-vfscanf.c): Likewise.
15267         (CFLAGS-vfwscanf.c): Likewise.
15268         (CFLAGS-fscanf.c): Likewise.
15269         (CFLAGS-scanf.c): Likewise.
15270         (CFLAGS-isoc99_vfscanf.c): Likewise.
15271         (CFLAGS-isoc99_vscanf.c): Likewise.
15272         (CFLAGS-isoc99_fscanf.c): Likewise.
15273         (CFLAGS-isoc99_scanf.c): Likewise.
15274         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
15275         (CFLAGS-isoc99_fwscanf.c): Likewise.
15276         (CFLAGS-isoc99_vwscanf.c): Likewise.
15277         (CFLAGS-isoc99_vfwscanf.c): Likewise.
15279         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
15280         after mkstemp64.
15281         * login/tst-utmp.c (do_prepare): Likewise.
15282         * rt/tst-aio.c (do_prepare): Likewise.
15283         * rt/tst-aio64.c (do_prepare): Likewise.
15285 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15287         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15288         (__lll_lock_elision): Remove adapt_count decrement...
15289         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15290         (__lll_trylock_elision): Likewise.
15291         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15292         (__lll_unlock_elision): ... to here. And utilize
15293         new adapt_count parameter.
15294         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15295         (__lll_unlock_elision): Update to include adapt_count
15296         parameter.
15297         (lll_unlock_elision): Pass pointer to adapt_count
15298         variable.
15300 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15302         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
15303         Add elision adapt_count parameter to list of arguments.
15304         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15305         (lll_unlock_elision): Update with new parameter list
15306         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
15307         (lll_unlock_elision): Likewise.
15308         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15309         (lll_unlock_elision): Likewise.
15311 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15313         [BZ #19122]
15314         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15315         attribute_hidden.
15317         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15318         attribute_hidden.
15319         [IS_IN (rtld)] (__strdup): Likewise.
15320         [IS_IN (rtld)] (__strerror_r): Likewise.
15321         [IS_IN (rtld)] (__strsep_g): Likewise.
15322         [IS_IN (rtld)] (memchr): Likewise.
15323         [IS_IN (rtld)] (memcmp): Likewise.
15324         [IS_IN (rtld)] (memcpy): Likewise.
15325         [IS_IN (rtld)] (memmove): Likewise.
15326         [IS_IN (rtld)] (memset): Likewise.
15327         [IS_IN (rtld)] (rawmemchr): Likewise.
15328         [IS_IN (rtld)] (stpcpy): Likewise.
15329         [IS_IN (rtld)] (strchr): Likewise.
15330         [IS_IN (rtld)] (strcmp): Likewise.
15331         [IS_IN (rtld)] (strlen): Likewise.
15332         [IS_IN (rtld)] (strnlen): Likewise.
15333         [IS_IN (rtld)] (strsep): Likewise.
15335         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15336         attribute_hidden.
15337         [IS_IN (rtld)] (__strtoul_internal): Likewise.
15339         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15340         attribute_hidden.
15341         [IS_IN (rtld)] (__libc_sigaction): Likewise.
15343         * include/setjmp.h (__longjmp): Add attribute_hidden.
15344         [IS_IN (rtld)] (__sigsetjmp): Likewise.
15346         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15347         Add attribute_hidden.
15349         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15350         [IS_IN (rtld)] (__open): Likewise.
15351         [IS_IN (rtld)] (__fcntl): Likewise.
15353         * include/dirent.h (__opendirat): Add attribute_hidden.
15354         (__getdents): Likewise.
15355         (__getdents64): Likewise.
15356         (__alloc_dir): Likewise.
15357         [IS_IN (rtld)] (__closedir): Likewise.
15358         [IS_IN (rtld)] (__fdopendir): Likewise.
15359         [IS_IN (rtld)] (__readdir): Likewise.
15360         [IS_IN (rtld)] (__readdir64): Likewise.
15361         [IS_IN (rtld)] (__rewinddir): Likewise.
15363         * include/dlfcn.h (_dl_catch_error): Moved to ...
15364         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15365         attribute_hidden.
15367         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15368         (_itoa_word): Likewise.
15370         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15371         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15372         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15373         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15374         (_dl_higher_prime_number): Likewise.
15375         (_dl_debug_printf_c): Likewise.
15376         (_dl_signal_cerror): Likewise.
15377         (_dl_receive_error): Likewise.
15378         (_dl_reloc_bad_type): Likewise.
15379         (_dl_resolve_conflicts): Likewise.
15380         (_dl_check_all_versions): Likewise.
15381         (_dl_check_map_versions): Likewise.
15382         (_dl_sort_fini): Likewise.
15383         (_dl_debug_initialize): Likewise.
15384         (_dl_init_paths): Likewise.
15385         (_dl_show_auxv): Likewise.
15386         (_dl_next_ld_env_entry): Likewise.
15387         (_dl_important_hwcaps): Likewise.
15388         (_dl_load_cache_lookup): Likewise.
15389         (_dl_update_slotinfo): Likewise.
15390         (_dl_show_scope): Likewise.
15392         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15393         attribute_hidden.
15394         (_wordcopy_fwd_dest_aligned): Likewise.
15395         (_wordcopy_bwd_aligned): Likewise.
15396         (_wordcopy_bwd_dest_aligned): Likewise.
15398         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15399         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15400         Likewise.
15401         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15402         Likewise.
15403         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15405 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15407         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15408         GCC 5 requirement.
15410 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15412         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15413         test.
15414         * sysdeps/i386/configure: Regenerated.
15415         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
15416         code unconditional.
15418         * configure.ac (libc_cv_asm_previous_directive): Remove configure
15419         test.
15420         (libc_cv_asm_popsection_directive): Likewise.
15421         * configure: Regenerated.
15422         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
15423         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
15424         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
15425         (__make_section_unallocated): Make definition unconditional.
15426         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
15427         Remove conditional definition.
15428         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
15429         (__make_section_unallocated): Likewise.
15431         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
15432         * configure: Regenerated.
15433         * config.make.in (static-libgcc): Remove variable.
15434         * Makerules (build-shlib-helper): Use -static-libgcc instead of
15435         $(static-libgcc).
15436         (build-module-helper): Likewise.
15438         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
15439         * configure: Regenerated.
15441 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15443         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
15444         (struct char_buffer): New type.
15445         (char_buffer_start, char_buffer_size, char_buffer_error)
15446         (char_buffer_rewind, char_buffer_add): New functions.
15447         (ADDW): Remove macro, replaced by the char_buffer_add function.
15448         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
15449         of extend_alloca.  Make control flow more explicit.
15451 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15453         [BZ #19137]
15454         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15455         Add -fomit-frame-pointer.
15456         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
15458 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15460         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
15461         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
15462         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
15463         only if !__GNUC_PREREQ (5,0).
15464         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
15465         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15466         (INTERNAL_SYSCALL_NCS): Likewise.
15467         (LOADREGS_0): New macro for GCC 5.
15468         (ASMARGS_0): Likewise.
15469         (LOADREGS_1): Likewise.
15470         (ASMARGS_1): Likewise.
15471         (LOADREGS_2): Likewise.
15472         (ASMARGS_2): Likewise.
15473         (LOADREGS_3): Likewise.
15474         (ASMARGS_3): Likewise.
15475         (LOADREGS_4): Likewise.
15476         (ASMARGS_4): Likewise.
15477         (LOADREGS_5): Likewise.
15478         (ASMARGS_5): Likewise.
15479         (LOADREGS_6): Likewise.
15480         (ASMARGS_6): Likewise.
15482 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15484         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
15485         -fomit-frame-pointer.
15486         (CFLAGS-mmap64.c): Likewise.
15487         (CFLAGS-semtimedop.c): Likewise.
15488         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
15489         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
15490         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15491         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15493 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15495         [BZ #18928]
15496         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
15497         _dl_pointer_guard member.
15498         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
15499         initializer.
15500         (security_init): Always set up pointer guard.
15501         (process_envvars): Do not process LD_POINTER_GUARD.
15503 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
15505         [BZ #19134]
15506         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
15507         (.LC2): Likewise.
15508         (.LC3): Likewise.
15509         (__lround): Do not add 0.5 to integer or out-of-range arguments.
15511 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15513         [BZ #19129]
15514         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
15515         r0 and r1.
15517 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
15519         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
15521 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
15523         * include/stap-probe.h: Fix macro definition formatting.
15525 2015-10-14  Florian Weimer  <fweimer@redhat.com>
15527         [BZ #19074]
15528         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
15529         load and store num_ifs.
15531 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15533         [BZ #18822]
15534         * sysdeps/unix/sysv/linux/sched_getaffinity.c
15535         (__sched_getaffinity_new): Add libc_hidden_proto and
15536         libc_hidden_def.
15538 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15540         [BZ #19007]
15541         * scripts/localplt.awk: Also allow GOT references.
15542         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
15543         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
15544         with "+ REL R_386_GLOB_DAT".
15545         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
15546         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
15548 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15550         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
15551         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15552         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
15553         Likewise.
15554         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15555         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
15556         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15557         INTERNAL_SYSCALLINTERNAL_SYSCALL and
15558         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15559         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15560         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15561         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15562         Likewise.
15563         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15565 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15567         [BZ #19125]
15568         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
15569         <math_private.h> and <stdint.h>.
15570         (__llround): Avoid conversions to and from long long int, and
15571         subtractions, where those might raise spurious exceptions.
15572         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
15573         <math_private.h> and <stdint.h>.
15574         (__llroundf): Avoid conversions to and from long long int, and
15575         subtractions, where those might raise spurious exceptions.
15577 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15579         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
15580         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15581         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15582         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
15583         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15584         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15585         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
15586         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
15587         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
15588         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15589         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15590         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15591         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
15592         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15593         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15594         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
15595         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
15596         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15597         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
15598         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
15599         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15600         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
15601         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
15602         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15603         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
15604         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15605         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
15606         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15607         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15608         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
15609         (__xstat64_conv): Likewise.
15610         (__xstat32_conv): Likewise.
15612 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15614         * sysdeps/unix/sysv/linux/sysdep.h: New file.
15615         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
15616         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
15617         <sysdeps/unix/sysv/linux/sysdep.h>.
15618         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15619         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
15620         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
15621         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15622         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15623         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
15624         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
15625         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15626         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15630         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15631         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15632         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15634         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
15635         (sysdep-dl-routines): Add sysdep.
15636         [$(subdir) == nptl] (libpthread-routines): Likewise.
15637         [$(subdir) == rt] (librt-routines): Likewise.
15638         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
15639         PIC when branching to SYSCALL_ERROR_LABEL.
15640         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
15641         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
15642         <sysdeps/unix/sysv/linux/sysdep.h>.
15643         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
15644         (SYSCALL_ERROR_ERRNO): Removed.
15645         (SYSCALL_ERROR_HANDLER): Changed to empty.
15646         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
15647         (__syscall_error): New prototype.
15648         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
15649         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
15651 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15653         [BZ #19124]
15654         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
15655         (_dl_runtime_resolve_avx512): Make it a hidden alias of
15656         _dl_runtime_resolve_avx.
15657         (_dl_runtime_profile_avx512): Make it a hidden alias of
15658         _dl_runtime_profile_avx.
15660 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15662         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
15663         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
15664         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
15665         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
15667         [BZ #16422]
15668         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
15669         New configure test.
15670         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
15671         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
15672         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
15673         <math_private.h> and <stdint.h>.
15674         (__llrint): Avoid conversions to long long int where those might
15675         raise spurious exceptions.
15676         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15677         <math_private.h> and <stdint.h>.
15678         (__llrintf): Avoid conversions to long long int where those might
15679         raise spurious exceptions.
15681 2015-10-12  Andreas Schwab  <schwab@suse.de>
15683         [BZ #18969]
15684         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
15685         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
15686         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
15687         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
15688         $(gen-locales).
15689         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
15690         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
15691         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
15692         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
15693         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
15694         $(gen-locales).
15695         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
15696         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
15697         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
15698         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
15699         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
15700         ($(objpfx)tst-ftell-active-handler.out)
15701         ($(objpfx)tst-ftell-append.out)
15702         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
15703         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
15704         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
15705         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
15706         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
15707         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
15708         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
15709         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
15710         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
15711         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
15712         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
15713         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
15714         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
15715         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
15716         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
15717         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
15718         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
15719         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
15720         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
15721         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
15722         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
15723         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
15724         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
15725         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
15726         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
15727         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
15728         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
15729         $(gen-locales).
15730         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
15731         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
15732         $(gen-locales).
15733         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
15734         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
15735         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
15736         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
15737         $(gen-locales).
15738         * libio/tst_wprintf2.c (main): Use explicit locale.
15739         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
15741 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15743         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
15744         __msg_sig_post.
15745         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
15747 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15749         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15750         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15752         * sysdeps/arm/libm-test-ulps: Regenerated.
15754         [BZ #15470]
15755         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
15757         [BZ #16399]
15758         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
15759         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
15760         and <fix-fp-int-convert-overflow.h>.
15761         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15762         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15763         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
15764         and <fix-fp-int-convert-overflow.h>.
15765         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
15766         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15767         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
15768         <fix-fp-int-convert-overflow.h>.
15769         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15770         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15771         * sysdeps/ieee754/dbl-64/s_lround.c: Include
15772         <fix-fp-int-convert-overflow.h>.
15773         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
15774         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15775         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
15776         and <fix-fp-int-convert-overflow.h>.
15777         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15778         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15779         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15780         <limits.h> and <fix-fp-int-convert-overflow.h>.
15781         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15782         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15783         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15784         and <fix-fp-int-convert-overflow.h>.
15785         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15786         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15787         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15788         and <fix-fp-int-convert-overflow.h>.
15789         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15790         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15791         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15793 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15795         [BZ #18589]
15796         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15797         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15798         $(gen-locales).
15800 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15801             Phil Blundell <pb@pbcl.net>
15803         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15804         * nptl/tst-cancel26.c: New file.
15805         * nptl/tst-cancel27.c: Likewise.
15807 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15809         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15810         __ILP32__ isn't defined.
15811         (lrint): Likewise.
15812         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15813         (lrintf): Likewise.
15814         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15815         (lrintl): Likewise.
15816         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15817         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15818         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15820 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15822         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15823         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15825         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15826         file.
15827         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15828         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15830 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15832         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15833         configure test.
15834         * sysdeps/i386/configure: Regenerated.
15835         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15836         configure test.
15837         * sysdeps/x86_64/configure: Regenerated.
15838         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15839         Make code unconditional.
15841         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15842         test.
15843         * sysdeps/i386/configure: Regenerated.
15844         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15845         test.
15846         * sysdeps/x86_64/configure: Regenerated.
15847         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15848         Make code unconditional.
15849         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15850         Likewise.
15851         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15852         Likewise.
15853         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15854         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15855         code unconditional.
15856         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15857         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15858         code unconditional.
15859         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15860         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15861         code unconditional.
15862         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15863         code unconditional.
15864         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15865         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15866         code unconditional.
15867         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15868         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15869         code unconditional.
15870         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15871         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15872         code unconditional.
15873         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15874         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15875         code unconditional.
15876         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15877         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15879         [BZ #19095]
15880         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15881         mantissa to long int before shifting left.
15883 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15885         [BZ #19094]
15886         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15887         <limits.h>.
15888         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15889         when result overflows but exception would not result from cast.
15890         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15891         <limits.h>.
15892         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15893         when result overflows but exception would not result from cast.
15894         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15895         <limits.h>.
15896         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15897         when result overflows but exception would not result from cast.
15898         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
15899         <limits.h>.
15900         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15901         when result overflows but exception would not result from cast.
15902         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15903         <limits.h>.
15904         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15905         when result overflows but exception would not result from cast.
15906         * math/libm-test.inc (lrint_test_data): Add more tests.
15907         (llrint_test_data): Likewise.
15909 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15911         [BZ #18872]
15912         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15913         Move out from under [$(run-built-tests) = yes] conditional.
15914         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15915         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15917 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15919         [BZ #18589]
15920         * string/Makefile (tests): Add bug-strcoll2.
15921         (LOCALES): Add cs_CZ.UTF-8.
15922         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15924         [BZ #18589]
15925         * string/bug-strcoll2.c: New file.
15926         * locale/categories.def: Revert commit
15927         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15928         * locale/langinfo.h: Likewise.
15929         * locale/localeinfo.h: Likewise.
15930         * locale/C-collate.c: Likewise.
15931         * locale/programs/ld-collate.c (collate_output): Likewise.
15932         * string/strcoll_l.c (STRDIFF): Likewise.
15933         (STRCOLL): Likewise.
15934         * wcsmbs/wcscoll_l.c: Likewise.
15936 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15938         * math/libm-test.inc (lround_test_data): Do not expect the absence
15939         of "inexact" for some tests with non-integer arguments.
15940         (llround_test_data): Likewise.
15942         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15943         test.
15944         (libc_cv_cc_sse2avx): Likewise.
15945         * sysdeps/i386/configure: Regenerated.
15946         * sysdeps/i386/i686/multiarch/Makefile
15947         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15948         [$(subdir) = math].
15949         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15950         code unconditional.
15951         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15952         Likewise.
15953         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15954         Likewise.
15955         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15956         Likewise.
15957         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15958         test.
15959         (libc_cv_cc_sse2avx): Likewise.
15960         * sysdeps/x86_64/configure: Regenerated.
15961         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15962         unconditional.
15963         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15964         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15965         unconditional.
15966         (_dl_runtime_profile)
15967         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15968         conditional code.
15969         * sysdeps/x86_64/fpu/multiarch/Makefile
15970         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15971         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15972         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15973         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15974         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15975         * sysdeps/x86_64/fpu/multiarch/e_log.c
15976         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15977         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15978         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15979         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15980         Likewise.
15981         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15982         Likewise.
15983         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15984         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15985         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15986         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15987         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15988         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15989         (HAVE_SSE2AVX_SUPPORT): Likewise.
15991 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15993         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15994         instead of #pragma optimize.
15996 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15998         [BZ #17195]
15999         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16000         as is similarly done in systrim and _int_free already.
16002 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16004         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16006 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16008         [BZ #19088]
16009         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16010         <limits.h>.
16011         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16012         overflows but exception would not result from cast.
16013         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16014         and <limits.h>.
16015         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16016         overflows but exception would not result from cast.
16017         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16018         <limits.h>.
16019         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16020         overflows but exception would not result from cast.
16021         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16022         <limits.h>.
16023         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16024         overflows but exception would not result from cast.
16025         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16026         <limits.h>.
16027         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16028         overflows but exception would not result from cast.
16029         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16030         <limits.h>.
16031         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16032         overflows but exception would not result from cast.
16033         * math/libm-test.inc (lround_test_data): Add more tests.
16034         (llround_test_data): Likewise.
16036 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16038         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16039         (CFLAGS-ialloc.c): Ditto.
16040         (CFLAGS-scheck.c): Ditto.
16042 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16044         [BZ #19086]
16045         * manual/filesys.texi (Storage Allocation): Fix argument order for
16046         posix_fallocate64.
16048 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16050         [BZ #19085]
16051         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16052         exponent below 48 inside case for non-overflowing exponent.
16053         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16055 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16057         * iconvdata/cp737.h (from_idx): Add const.
16058         * iconvdata/cp775.h (from_idx): Likewise.
16060 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16062         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16063         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16064         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16066         [BZ #19079]
16067         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16068         file, conditioned on [!_LP64].
16069         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16070         [!_LP64] (__lround): Do not define as function or alias.
16071         [!_LP64] (lround): Likewise.
16072         [!_LP64] (__lroundl): Likewise.
16073         [!_LP64] (lroundl): Likewise.
16074         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16075         macro.
16076         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16077         Likewise.
16079 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16081         * math/libm-test.inc (lrint_test_data): Add more tests.
16082         (llrint_test_data): Likewise.
16083         (lround_test_data): Likewise.
16084         (llround_test_data): Likewise.
16086         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16087         (llrint_test_data): Add tests used for lrint.
16089         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16090         test.
16091         * sysdeps/i386/configure: Regenerated.
16092         * sysdeps/i386/i686/multiarch/Makefile
16093         [$(config-cflags-sse4) = yes]: Make code unconditional.
16094         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16095         Likewise.
16096         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16097         Likewise.
16098         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16099         test.
16100         * sysdeps/x86_64/configure: Regenerated.
16101         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16102         Make code unconditional.
16103         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16104         Likewise.
16105         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16106         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16108         * scripts/rpm2dynsym.sh: Remove file.
16110 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16112         * configure.ac (libc_cv_cxx_thread_local): Define.
16113         * configure: Regenerate.
16114         * config.make.in (have-cxx-thread_local): Define.
16115         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16116         (LDLIBS-tst-thread_local1): Define.
16117         (tests): Add tst-thread_local1.
16118         [have-cxx-thread_local != yes] (tests-unsupported): Add
16119         tst-thread_local1.
16120         * nptl/tst-thread_local1.cc: New file.
16122 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16124         [BZ #19078]
16125         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16126         (u_thres): Likewise.
16127         (__expl): Determine whether to call __kernel_standard_l based on
16128         value of result, not argument.
16130         * math/libm-test.inc (scalb_test_data): Add more expectations for
16131         the "inexact" exception.
16133         [BZ #19077]
16134         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
16135         0.0L for argument 1.0L.
16137         [BZ #19076]
16138         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
16139         constant 0.0L when computing infinite result.
16141 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16143         [BZ #10432]
16144         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
16145         malloc_usable_size.
16147 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16149         [BZ #19018]
16150         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16151         Mangle function pointer before storing it.
16152         (__call_tls_dtors): Demangle function pointer before calling it.
16154 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16156         [BZ #19012]
16157         * iconv/gconv_db.c (gen_steps): Check for additional errors.
16158         Clean up on failure.
16160 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
16162         [BZ #19071]
16163         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
16164         long int variable to store possibly incremented high part of
16165         mantissa.
16166         * math/libm-test.inc (lround_test_data): Add tests used for
16167         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
16168         for tests requiring 64-bit long.  Do not condition tests on
16169         [TEST_FLOAT] unnecessarily.
16170         (llround_test_data): Add tests used for lround.  Add another
16171         expectation for the "inexact" exception.  Do not condition tests
16172         on [TEST_FLOAT] unnecessarily.
16174         [BZ #887]
16175         [BZ #19049]
16176         [BZ #19050]
16177         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
16178         * sysdeps/ieee754/dbl-64/e_log10.c: Include
16179         <fix-int-fp-convert-zero.h>.
16180         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16181         * sysdeps/ieee754/dbl-64/e_log2.c: Include
16182         <fix-int-fp-convert-zero.h>.
16183         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16184         * sysdeps/ieee754/dbl-64/s_erf.c: Include
16185         <fix-int-fp-convert-zero.h>.
16186         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16187         * sysdeps/ieee754/dbl-64/s_logb.c: Include
16188         <fix-int-fp-convert-zero.h>.
16189         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16190         * sysdeps/ieee754/flt-32/e_log10f.c: Include
16191         <fix-int-fp-convert-zero.h>.
16192         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16193         * sysdeps/ieee754/flt-32/e_log2f.c: Include
16194         <fix-int-fp-convert-zero.h>.
16195         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16196         * sysdeps/ieee754/flt-32/s_erff.c: Include
16197         <fix-int-fp-convert-zero.h>.
16198         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16199         * sysdeps/ieee754/flt-32/s_logbf.c: Include
16200         <fix-int-fp-convert-zero.h>.
16201         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16202         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
16203         <fix-int-fp-convert-zero.h>.
16204         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16205         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
16206         <fix-int-fp-convert-zero.h>.
16207         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16208         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
16209         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
16210         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
16211         file.
16212         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
16214 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16216         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16218 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
16220         [BZ #19059]
16221         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
16222         overflowing computation.
16223         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16224         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16225         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16226         Likewise.
16227         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16228         Likewise.
16229         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16230         Likewise.
16231         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16232         Likewise.
16233         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16234         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16235         Likewise.
16236         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16237         Likewise.
16238         * math/libm-test.inc (nexttoward_test_data): Add more tests.
16240         * nss/rewrite_field.c (__nss_rewrite_field): Use
16241         internal_function.
16242         * nss/valid_field.c (__nss_valid_field): Likewise.
16243         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16245 2015-10-02  Florian Weimer  <fweimer@redhat.com>
16247         [BZ #18724]
16248         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
16249         (__nss_invalid_field_characters, __nss_valid_field)
16250         (__nss_valid_list_field, __nss_rewrite_field): Declare.
16251         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
16252         tst-field.c: New file.
16253         * nss/Makefile (routines): Add valid_field, rewrite_field.
16254         (tests-static): Define unconditionally.
16255         (tests): Include tests-static.
16256         [build-static-nss] (tests-static): Use append.
16257         [build-static-nss] (tests): Remove modification.
16258         * nss/getent.c (print_group): Call putgrent.  Report error.
16259         (print_gshadow): Call putsgent.  Report error.
16260         (print_passwd): Call putpwent.  Report error.
16261         (print_shadow): Call putspent.  Report error.
16262         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
16263         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
16264         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
16265         name, password, directory, shell fields for valid syntax.  Rewrite
16266         GECOS field to match syntax.
16267         * pwd/Makefile (tests): Add tst-putpwent.
16268         * pwd/tst-putpwent.c: New file.
16269         * grp/putgrent.c (putgrent): Convert to ISO function definition.
16270         Check grName, grpasswd, gr_mem fields for valid syntax.
16271         Change loop variable i to size_t.
16272         * grp/Makefile (tests): Add tst-putgrent.
16273         * grp/tst-putgrent.c: New file.
16274         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
16275         valid syntax.
16276         * shadow/Makefile (tests): Add tst-putspent.
16277         * shadow/tst-putspent.c: New file.
16278         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
16279         sg_mem fields for valid syntax.
16280         * gshadow/Makefile (tests): Add tst-putsgent.
16281         * gshadow/tst-putsgent.c: New file.
16283 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16285         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
16286         assembly instructions.
16288 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16290         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
16291         prefix from operands.
16293 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
16295         [BZ #16347]
16296         [BZ #19046]
16297         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16298         <libc-internal.h>.
16299         (MAXLGM): Do not use diagnostic control macros.
16300         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
16301         threshold for ldbl-128ibm.
16302         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16303         instead of multiplying by log then subtracting.
16304         * math/auto-libm-test-in: Add more tests of lgamma.
16305         * math/auto-libm-test-out: Regenerated.
16307         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
16308         (TYPE_HEX_DIG): Likewise.
16309         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16310         precisions when printing floating-point numbers.
16311         (check_float_internal): Likewise.
16313 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16315         [BZ #16620]
16316         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16317         of log (10) rounded downward to 48 bits.
16318         (log10_low): Use corresponding low part of log (10).
16320         [BZ #19032]
16321         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16322         compute result as (x - x) / (x - x) not as 0 / 0.
16323         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16324         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16326         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16327         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16328         and expm1.
16329         * math/auto-libm-test-out: Regenerated.
16330         * math/libm-test.inc (acos_test_data): Add more tests.
16331         (asin_test_data): Likewise.
16332         (asinh_test_data): Likewise.
16333         (atan_test_data): Likewise.
16334         (atanh_test_data): Likewise.
16335         (atan2_test_data): Likewise.
16336         (cbrt_test_data): Likewise.
16337         (ceil_test_data): Likewise.
16338         (copysign_test_data): Likewise.
16339         (cos_test_data): Likewise.
16340         (cosh_test_data): Likewise.
16341         (erf_test_data): Likewise.
16342         (erfc_test_data): Likewise.
16343         (exp_test_data): Likewise.
16344         (exp10_test_data): Likewise.
16345         (exp2_test_data): Likewise.
16346         (expm1_test_data): Likewise.
16347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16349 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
16351         [BZ #19006]
16352         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16353         to ...
16354         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16355         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16356         to ...
16357         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16358         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16359         to ...
16360         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16361         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16362         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16363         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16364         to ...
16365         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16366         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16367         Moved to ...
16368         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16369         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16370         Moved to ...
16371         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16372         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16373         to ...
16374         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16375         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16376         Moved to ...
16377         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16378         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16379         to ...
16380         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16381         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16382         Removed.
16383         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16384         Likewise.
16385         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16386         Likewise.
16387         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16388         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16389         Likewise.
16390         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16391         Likewise.
16392         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16393         Likewise.
16394         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16395         Likewise.
16396         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16397         Likewise.
16398         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16399         Likewise.
16400         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16401         Likewise.
16402         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16403         Likewise.
16404         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16405         Likewise.
16406         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16407         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16408         Likewise.
16409         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16410         Likewise.
16411         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16412         Likewise.
16413         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16414         Likewise.
16415         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
16416         Likewise.
16417         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16418         Replace ../i486/pthread_cond_timedwait.S with
16419         ../pthread_cond_timedwait.S.
16421 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16423         * math/libm-test.inc (acos_test_data): Refine expectations for
16424         errno and "inexact" exceptions.
16425         (acosh_test_data): Likewise.
16426         (asin_test_data): Likewise.
16427         (asinh_test_data): Likewise.
16428         (atan_test_data): Likewise.
16429         (atanh_test_data): Likewise.
16430         (atan2_test_data): Likewise.
16431         (cbrt_test_data): Likewise.
16432         (ceil_test_data): Likewise.
16433         (copysign_test_data): Likewise.
16434         (cosh_test_data): Likewise.
16435         (erf_test_data): Likewise.
16436         (erfc_test_data): Likewise.
16437         (exp_test_data): Likewise.
16438         (exp10_test_data): Likewise.
16439         (exp2_test_data): Likewise.
16440         (expm1_test_data): Likewise.
16441         (fabs_test_data): Likewise.
16442         (floor_test_data): Likewise.
16443         (fma_test_data): Likewise.
16444         (fmax_test_data): Likewise.
16445         (fmin_test_data): Likewise.
16446         (fmod_test_data): Likewise.
16447         (fpclassify_test_data): Likewise.
16448         (frexp_test_data): Likewise.
16449         (hypot_test_data): Likewise.
16450         (ilogb_test_data): Likewise.
16451         (isgreater_test_data): Likewise.
16452         (isgreaterequal_test_data): Likewise.
16453         (isinf_test_data): Likewise.
16454         (isless_test_data): Likewise.
16455         (islessequal_test_data): Likewise.
16456         (islessgreater_test_data): Likewise.
16457         (isnan_test_data): Likewise.
16458         (isnormal_test_data): Likewise.
16459         (issignaling_test_data): Likewise.
16460         (isunordered_test_data): Likewise.
16461         (j0_test_data): Likewise.
16462         (j1_test_data): Likewise.
16463         (jn_test_data): Likewise.
16464         (lgamma_test_data): Likewise.
16465         (lrint_test_data): Likewise.
16466         (llrint_test_data): Likewise.
16467         (log_test_data): Likewise.
16468         (log10_test_data): Likewise.
16469         (log1p_test_data): Likewise.
16470         (log2_test_data): Likewise.
16471         (logb_test_data): Likewise.
16472         (lround_test_data): Likewise.
16473         (llround_test_data): Likewise.
16474         (modf_test_data): Likewise.
16475         (nearbyint_test_data): Likewise.
16476         (nextafter_test_data): Likewise.
16477         (nexttoward_test_data): Likewise.
16478         (pow_test_data): Likewise.
16479         (remainder_test_data): Likewise.
16480         (remquo_test_data): Likewise.
16481         (rint_test_data): Likewise.
16482         (round_test_data): Likewise.
16483         (signbit_test_data): Likewise.
16484         (sinh_test_data): Likewise.
16485         (sqrt_test_data): Likewise.
16486         (tanh_test_data): Likewise.
16487         (tgamma_test_data): Likewise.
16488         (trunc_test_data): Likewise.
16489         (y0_test_data): Likewise.
16490         (y1_test_data): Likewise.
16491         (yn_test_data): Likewise.
16492         (significand_test_data): Likewise.
16494 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
16496         * manual/filesys.texi (Storage Allocation): Document that
16497         posix_fallocate emulation fails when fd is open with O_WRONLY.
16499 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
16501         [BZ #19016]
16502         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
16503         allow more cases with X^2 + Y^2 >= 0.5.
16504         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
16505         normal element in sum instead of special-casing based on values of
16506         arguments.
16507         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
16508         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
16509         -1 as normal element in sum instead of special-casing based on
16510         values of arguments.
16511         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
16512         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
16513         (__x2y2m1): Update comment.
16514         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
16515         as normal element in sum instead of special-casing based on values
16516         of arguments.
16517         * math/s_clog.c (__clog): Handle more cases using log1p without
16518         hypot.
16519         * math/s_clog10.c (__clog10): Likewise.
16520         * math/s_clog10f.c (__clog10f): Likewise.
16521         * math/s_clog10l.c (__clog10l): Likewise.
16522         * math/s_clogf.c (__clogf): Likewise.
16523         * math/s_clogl.c (__clogl): Likewise.
16524         * math/auto-libm-test-in: Add more tests of clog and clog10.
16525         * math/auto-libm-test-out: Regenerated.
16526         * sysdeps/i386/fpu/libm-test-ulps: Update.
16527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16529 2015-09-28  Martin Sebor  <msebor@redhat.com>
16531         [BZ #18969]
16532         * string/Makefile (LOCALES): Define.
16533         (gen-locales.mk): Include.
16534         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
16535         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
16536         * string/tst-strxfrm2.c (do_test): Print the name of the locale
16537         on setlocale failure.
16539 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16541         [BZ #18985]
16542         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
16543         (__strftime_internal): Likewise.
16544         * time/tst-strftime.c (do_bz18985): New test.
16545         (do_test): Call it.
16547 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
16549         [BZ #18956]
16550         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
16551         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
16552         extracting high part.
16553         * math/auto-libm-test-in: Add another test of pow.
16554         * math/auto-libm-test-out: Regenerated.
16555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16557 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16559         [BZ #18825]
16560         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
16561         New macro.
16562         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
16563         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16564         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
16565         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
16566         DBL_NARROW_EVAL, reloading the PIC register as needed.
16567         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
16568         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
16569         FLT_NARROW_EVAL.  Use separate return path for case when first
16570         argument is NaN.
16571         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
16572         DEFINE_LDBL_MIN.
16573         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
16574         PIC register.
16575         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
16576         math_check_force_underflow_nonneg.
16577         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
16578         underflow for subnormal result.
16579         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16580         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
16581         math_check_force_underflow_nonneg.
16582         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
16583         math_check_force_underflow.
16584         * sysdeps/x86_64/fpu/x86_64-math-asm.h
16585         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
16586         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
16587         DEFINE_LDBL_MIN.
16588         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
16589         * math/auto-libm-test-in: Add more tests of pow.
16590         * math/auto-libm-test-out: Regenerated.
16592 2015-09-25  Florian Weimer  <fweimer@redhat.com>
16594         * nss/bug17079.c (init_test_items): Add diagnostic for
16595         inconsistent entries.
16596         (test_buffer_size): Skip inconsistent entries.
16598 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16600         [BZ #13304]
16601         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
16602         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16603         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
16605         [BZ #13304]
16606         * sysdeps/microblaze/s_fma.c: New file.
16607         * sysdeps/microblaze/s_fmaf.c: Likewise.
16608         * sysdeps/microblaze/sfp-machine.h: Likewise.
16610 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
16612         [BZ #17250]
16613         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
16614         member.
16616 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16618         [BZ #18803]
16619         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
16620         (MO): New macro.
16621         (__ieee754_hypot) [PIC]: Load PIC register.
16622         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
16623         DBL_NARROW_EVAL.
16624         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
16625         math_check_force_underflow_nonneg in case where result might be
16626         tiny.
16627         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16628         Likewise.
16629         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16630         Likewise.
16631         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16632         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16633         * math/auto-libm-test-in: Add more tests of hypot.
16634         * math/auto-libm-test-out: Regenerated.
16636 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
16638         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
16640 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16642         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
16643         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
16644         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16645         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16646         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
16647         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16648         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16650         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
16651         LOAD_PIC_REG.
16653         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
16654         (FLT_CHECK_FORCE_UFLOW): Likewise.
16655         (DBL_CHECK_FORCE_UFLOW): Likewise.
16656         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
16657         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
16658         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
16659         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16660         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16661         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16662         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16663         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16664         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
16665         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16666         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
16667         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
16668         (flt_min): Replace with use of DEFINE_FLT_MIN.
16669         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
16670         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
16671         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16672         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
16673         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
16674         (flt_min): Replace with use of DEFINE_FLT_MIN.
16675         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
16676         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
16677         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16678         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
16679         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
16680         (flt_min): Replace with use of DEFINE_FLT_MIN.
16681         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
16682         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
16683         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16684         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16685         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
16686         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16687         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16688         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
16689         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16690         (__atan): Use DBL_CHECK_FORCE_UFLOW.
16691         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
16692         (flt_min): Replace with use of DEFINE_FLT_MIN.
16693         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
16694         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
16695         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16696         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
16697         main computation.
16698         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
16699         (flt_min): Replace with use of DEFINE_FLT_MIN.
16700         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
16701         main computation.
16702         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
16703         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16704         (MO): New macro.
16705         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
16706         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
16707         (flt_min): Replace with use of DEFINE_FLT_MIN.
16708         (MO): New macro.
16709         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
16710         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
16711         (__log1pl): Use MO.
16713         [BZ #19003]
16714         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
16715         $(config-cflags-nofma).
16717 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16719         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16721 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
16723         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
16724         (TWO127): Likewise.
16726         * sysdeps/generic/math_private.h (fabs_tg): New macro.
16727         (min_of_type): Likewise.
16728         (math_check_force_underflow): Likewise.
16729         (math_check_force_underflow_nonneg): Likewise.
16730         (math_check_force_underflow_complex): Likewise.
16731         * math/e_exp2l.c (__ieee754_exp2l): Use
16732         math_check_force_underflow_nonneg.
16733         * math/k_casinh.c (__kernel_casinh): Likewise.
16734         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16735         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16736         * math/s_catan.c (__catan): Use
16737         math_check_force_underflow_complex.
16738         * math/s_catanf.c (__catanf): Likewise.
16739         * math/s_catanh.c (__catanh): Likewise.
16740         * math/s_catanhf.c (__catanhf): Likewise.
16741         * math/s_catanhl.c (__catanhl): Likewise.
16742         * math/s_catanl.c (__catanl): Likewise.
16743         * math/s_ccosh.c (__ccosh): Likewise.
16744         * math/s_ccoshf.c (__ccoshf): Likewise.
16745         * math/s_ccoshl.c (__ccoshl): Likewise.
16746         * math/s_cexp.c (__cexp): Likewise.
16747         * math/s_cexpf.c (__cexpf): Likewise.
16748         * math/s_cexpl.c (__cexpl): Likewise.
16749         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
16750         * math/s_clog10.c (__clog10): Likewise.
16751         * math/s_clog10f.c (__clog10f): Likewise.
16752         * math/s_clog10l.c (__clog10l): Likewise.
16753         * math/s_clogf.c (__clogf): Likewise.
16754         * math/s_clogl.c (__clogl): Likewise.
16755         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
16756         * math/s_csinf.c (__csinf): Likewise.
16757         * math/s_csinh.c (__csinh): Likewise.
16758         * math/s_csinhf.c (__csinhf): Likewise.
16759         * math/s_csinhl.c (__csinhl): Likewise.
16760         * math/s_csinl.c (__csinl): Likewise.
16761         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
16762         * math/s_csqrtf.c (__csqrtf): Likewise.
16763         * math/s_csqrtl.c (__csqrtl): Likewise.
16764         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
16765         * math/s_ctanf.c (__ctanf): Likewise.
16766         * math/s_ctanh.c (__ctanh): Likewise.
16767         * math/s_ctanhf.c (__ctanhf): Likewise.
16768         * math/s_ctanhl.c (__ctanhl): Likewise.
16769         * math/s_ctanl.c (__ctanl): Likewise.
16770         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
16771         instead of volatile.
16772         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
16773         math_check_force_underflow.
16774         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16775         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
16776         volatile when forcing underflow.
16777         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16778         math_check_force_underflow_nonneg.
16779         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16780         Likewise.
16781         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16782         math_check_force_underflow.
16783         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16784         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16785         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16786         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16787         math_check_force_underflow_nonneg.
16788         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16789         math_check_force_underflow.
16790         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16791         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16792         instead of volatile.
16793         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16794         math_check_force_underflow.
16795         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16796         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16797         math_check_force_underflow_nonneg.
16798         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16799         math_check_force_underflow.
16800         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16801         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16802         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16803         math_check_force_underflow_nonneg.
16804         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16805         Likewise.
16806         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16807         math_check_force_underflow.
16808         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16809         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16810         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16811         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16812         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16813         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16814         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16815         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16816         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16817         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16818         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16819         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16820         Likewise.
16821         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16822         math_check_force_underflow_nonneg.
16823         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16824         Likewise.
16825         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16826         math_check_force_underflow.
16827         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16828         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16829         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16830         Likewise.
16831         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16832         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16833         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16834         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16835         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16836         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16838         instead of volatile.
16839         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16840         math_check_force_underflow.
16841         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16842         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16843         math_check_force_underflow.
16844         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16845         Likewise.
16846         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16847         Use math_check_force_underflow_nonneg.
16848         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16849         math_check_force_underflow.
16850         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16851         Likewise.
16852         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16853         Likewise.
16854         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16855         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16856         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16857         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16859         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16860         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16861         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16862         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16863         math_check_force_underflow_nonneg.
16864         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16865         math_check_force_underflow.
16866         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16867         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16868         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16869         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16870         math_check_force_underflow_nonneg.
16871         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16872         math_check_force_underflow.
16873         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16874         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16875         instead of volatile.
16876         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16877         math_check_force_underflow.
16879         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16880         * stdlib/strtod_l.c: Include <math_private.h>.
16881         (overflow_value): Use math_narrow_eval.
16882         (underflow_value): Likewise.
16883         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16884         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16885         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16886         (__ieee754_gamma_r): Likewise.
16887         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16888         Likewise.
16889         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16890         Likewise.
16891         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16892         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16893         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16894         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16895         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16896         (__ieee754_gammaf_r): Likewise.
16897         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16898         Likewise.
16899         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16900         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16901         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16902         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16903         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16904         volatile.
16905         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16906         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16907         math_narrow_eval.
16908         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16909         Likewise.
16910         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16911         Likewise.
16912         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16913         Likewise.
16914         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16915         volatile.
16916         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16917         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16918         math_narrow_eval.
16919         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16920         Likewise.
16921         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16922         Likewise.
16924 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16926         * nptl/Versions: Remove ignored symbols.
16928 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16930         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16931         * nss/Makefile (tests): Update.
16933 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16935         * nss/bug18287.c: New file.
16936         * nss/Makefile (tests): Add bug18287.
16938 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16940         * mach/Versions (__mach_host_self_): Add symbol.
16942 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16944         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16945         vm_page_size.
16947 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16949         Really fix sysdeps/i386/fpu/s_scalbn.S build
16951         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16952         (libc: GLIBC_2_22): Remove unused version set.
16954 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16956         * config.make.in (enable-timezone-tools): New variable.
16957         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16958         (enable_timezone_tools): Export to generated files.
16959         * configure: Regenerate.
16960         * INSTALL: Regenerate.
16961         * manual/install.texi (--disable-timezone-tools): Document new flag.
16962         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16963         ifeq ($(enable-timezone-tools),yes) check.
16965 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16967         * timezone/Makefile: Revert previous change.
16969         [BZ #18980]
16970         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16971         (DEFINE_DBL_MIN): Likewise.
16972         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16973         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16974         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16975         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16976         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16977         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16978         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16979         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16980         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16981         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16982         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16983         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16984         (flt_min): Replace with use of DEFINE_FLT_MIN.
16985         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16986         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16987         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16988         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16989         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16990         (flt_min): Replace with use of DEFINE_FLT_MIN.
16991         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16992         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16993         (flt_min): Replace with use of DEFINE_FLT_MIN.
16994         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16995         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
16996         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
16997         (__ieee754_hypot): Use DBL_NARROW_EVAL.
16998         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
16999         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17000         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17001         (__ieee754_pow): Use DBL_NARROW_EVAL.
17002         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17003         (__ieee754_powf): Use FLT_NARROW_EVAL.
17004         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17005         (__ieee754_expf_sse2): Convert double-precision result to single
17006         precision.
17007         * sysdeps/i386/fpu/libm-test-ulps: Update.
17009 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17011         * timezone/Makefile: Ignore unused variable errors due to private.h
17012         (time_t_min) and (time_t_max).
17013         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17014         Likewise.
17016 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17018         [BZ #18981]
17019         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17020         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17021         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17022         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17023         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17024         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17025         (__scalbn): Use DBL_NARROW_EVAL.
17026         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17027         (__scalbnf): Use FLT_NARROW_EVAL.
17029 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17031         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17032         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17033         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17034         * stdio-common/printf_fp.c (___printf_fp):
17035         Use signbit to get the sign. Use isinf macro to allow inlining.
17036         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17037         * stdio-common/printf_size.c (__printf_size): Likewise.
17039 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17041         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17043 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17045         [BZ #18980]
17046         * sysdeps/generic/math_private.h: Include <float.h>.
17047         (math_narrow_eval): New macro.
17048         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17049         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17050         math_narrow_eval on overflowing return value.
17051         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17052         Likewise.
17053         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17054         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17055         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17056         Likewise.
17057         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17059 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17061         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17062         * math/Makefile: Remove isinf_ns.c.
17063         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17064         * math/multc3.c (__multc3): Likewise.
17065         * math/s_casin.c (__casin): Likewise.
17066         * math/s_casinf.c (__casinf): Likewise.
17067         * math/s_casinl.c (__casinl): Likewise.
17068         * math/s_cproj.c (__cproj): Likewise.
17069         * math/s_cprojf.c (__cprojf): Likewise.
17070         * math/s_cprojl.c (__cprofl): Likewise.
17071         * math/s_ctan.c (__ctan): Likewise.
17072         * math/s_ctanf.c (__ctanf): Likewise.
17073         * math/s_ctanh.c (__ctanh): Likewise.
17074         * math/s_ctanhf.c (__ctanhf): Likewise.
17075         * math/s_ctanhl.c (__ctanhl): Likewise.
17076         * math/s_ctanl.c (__ctanl): Likewise.
17077         * math/w_fmod.c (__fmod): Likewise.
17078         * math/w_fmodf.c (__fmodf): Likewise.
17079         * math/w_fmodl.c (_fmodl): Likewise.
17080         * math/w_remainder.c (__remainder): Likewise.
17081         * math/w_remainderf.c (__remainderf): Likewise.
17082         * math/w_remainderl.c (__remainderl): Likewise.
17083         * math/w_scalb.c (__scalb): Likewise.
17084         * math/w_scalbf.c (__scalbf): Likewise.
17085         * math/w_scalbl.c (__scalbl): Likewise.
17086         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17087         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17088         with isinf.
17089         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17090         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17091         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17092         __isinf_nsf with isinf.
17093         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17094         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17095         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17096         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17097         with isinf.
17098         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17099         __isinf_nsl with isinf.
17100         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17101         with isinf.
17102         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17103         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17104         __isinf_nsl with isinf.
17105         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17106         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17107         with isinf.
17109 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17111         * resolv/base64.c (rcsid): Remove unused static.
17112         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17113         static.  (tqpi1): Likewise.
17114         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17115         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17116         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17117         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17118         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17119         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17120         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17121         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17122         Likewise.
17124 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
17126         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17127         <nptl/pthreadP.h>.
17128         (_longjmp_unwind): Use __libc_ptf_call.
17129         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
17131 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
17133         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
17134         * sysdeps/arm/__longjmp.S: Likewise.
17136 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17138         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
17139         Use __builtin_signbit.
17140         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
17141         Use __builtin_signbitf.
17142         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
17143         Use __builtin_signbitl.
17144         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17145         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
17147 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17149         [BZ #15367]
17150         [BZ #17441]
17152         * math/Makefile: Build test-snan.c with -fsignaling-nans.
17153         * math/math.h (fpclassify): Use __builtin_fpclassify when
17154         available.  (signbit): Use __builtin_signbit(f/l).
17155         (isfinite): Use__builtin_isfinite.  (isnormal): Use
17156         __builtin_isnormal.  (isnan): Use __builtin_isnan.
17157         (isinf): Use __builtin_isinf_sign.
17159 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17161         * benchtests/Makefile: Add bench-math-inlines, link with libm.
17162         * benchtests/bench-math-inlines.c: New benchmark.
17163         * benchtests/bench-util.h: New file.
17164         * benchtests/bench-util.c: New file.
17165         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
17167 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
17169         * elf/tst-dlmopen1.c: Define TEST_SO.
17170         (do_test): Use TEST_SO.
17172         * elf/dl-load.c: Include libc-internal.h.
17173         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
17175 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17177         [BZ #17887]
17178         * time/strptime_l.c (__strptime_internal): Make %z accept
17179         [+-]HH:MM time zones.
17181 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17183         [BZ #17886]
17184         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
17185         valid time zone.
17187 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
17189         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
17190         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
17191         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17192         (__ASSUME_FDATASYNC): Delete.
17194 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17196         * conform/linknamespace.pl: Require weak undefined symbols to be
17197         in the standard namespace.
17198         (%strong_syms): Rename to %seen_syms.
17199         (%strong_seen): Rename to %seen_where.
17201 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
17203         [BZ #18970]
17204         * misc/error.c (error): Replace pthread_setcancelstate with
17205         __pthread_setcancelstate.
17206         (error_at_line): Likewise.
17207         * posix/wordexp.c (parse_comm): Likewise.
17208         * stdlib/fmtmsg.c (fmtmsg): Likewise.
17209         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
17210         (__pthread_setcancelstate): This.
17211         (pthread_setcancelstate): Add an alias.
17212         * nptl/nptl-init.c (pthread_functions): Replace
17213         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
17214         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
17215         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
17216         hidden_proto.
17217         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
17218         it with hidden_def.
17219         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
17220         (pthread_setcancelstate): Renamed to ...
17221         (__pthread_setcancelstate): This.
17222         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
17223         __libc_ptf_call with __pthread_setcancelstate.
17225 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17226             Andreas Schwab  <schwab@suse.de>
17228         [BZ #17118]
17229         * math/s_ctan.c (__ctan): Determine sign of zero real part of
17230         result when imaginary part of argument is infinite using sine and
17231         cosine.
17232         * math/s_ctanf.c (__ctanf): Likewise.
17233         * math/s_ctanl.c (__ctanl): Likewise.
17234         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
17235         of result when real part of argument is infinite using sine and
17236         cosine.
17237         * math/s_ctanhf.c (__ctanhf): Likewise.
17238         * math/s_ctanhl.c (__ctanhl): Likewise.
17239         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
17240         (ctanh_test_data): Add more tests of ctanh.
17242 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17244         [BZ #15384]
17245         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
17246         bit-mask as in subtraction.
17247         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
17248         Likewise.
17249         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17250         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17251         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
17253         [BZ #18951]
17254         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
17255         underflow exception for small results.
17256         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17257         Likewise.
17258         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17259         Likewise.
17260         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17261         Likewise.
17262         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17263         Likewise.
17264         * math/auto-libm-test-in: Add more tests of tgamma.
17265         * math/auto-libm-test-out: Regenerated.
17267 2015-09-17  Andreas Schwab  <schwab@suse.de>
17269         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
17271 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17273         [BZ #18977]
17274         * math/bits/mathcalls.h
17275         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
17276         not declare.
17277         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
17278         Likewise.
17279         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
17280         Likewise.
17281         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
17282         Likewise.
17283         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
17284         Likewise.
17285         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
17286         Likewise.
17287         * conform/data/math.h-data
17288         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
17289         function.
17290         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
17291         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
17292         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
17293         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
17294         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
17295         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
17296         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
17297         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
17298         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
17299         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
17300         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
17302         [BZ #6803]
17303         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
17304         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
17305         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
17306         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
17307         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
17308         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17309         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17310         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17311         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17312         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17313         Likewise.
17314         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17315         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17316         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17317         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17318         long_double_symbol calls.
17319         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17320         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17321         strong alias of __ldexpl.
17322         (scalbnl): Define using long_double_symbol.
17323         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17324         Remove alias.
17325         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17326         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17327         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17328         (scalbln_test_data): Add more errno expectations.
17330 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
17332         Cache the host port like we cache the task port.  This way we do not
17333         need to call the kernel just to get the port.  Furthermore, we no
17334         longer increase the reference count on every invocation of
17335         `mach_host_self'.
17337         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17338         Protect declarations against the macro expansion.
17339         * mach/mach_init.c (__mach_host_self_): New variable.
17340         (mach_init): Initialize `__mach_host_self_'.
17341         * mach/mach_init.h (__mach_host_self_): New declaration.
17342         (__mach_host_self, mach_host_self): New macros.
17343         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17344         Release reference.
17346 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17348         [BZ #4404]
17349         * po/de.po: Update from Translation Project.
17351         [BZ #16415]
17352         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17353         (__expm1l): Remove code to handle positive infinity and overflow.
17354         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17355         variable.
17356         (__expm1l): Remove code to handle positive infinity and overflow.
17358 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
17359             Paul Pluzhnikov  <ppluzhnikov@google.com>
17361         [BZ #18872]
17362         * stdio-common/Makefile (tst-printf-bz18872): New test.
17363         (tst-printf-bz18872-mem.out): Likewise.
17364         * stdio-common/tst-printf-bz18872.sh: Generate new test.
17365         * stdio-common/vfprintf.c: Fix memory leaks.
17367 2015-09-16  Andreas Schwab  <schwab@suse.de>
17369         [BZ #17244]
17370         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17371         Remove extra va_start/va_end calls.
17373         [BZ #17243]
17374         * posix/execl.c (execl): Add missing va_end.
17375         * posix/execle.c (execle): Likewise.
17376         * posix/execlp.c (execlp): Likewise.
17378 2015-09-15  Roland McGrath  <roland@hack.frob.com>
17380         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17381         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17383 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
17385         [BZ #18967]
17386         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
17387         undefine around includes of <bits/mathcalls.h>.
17388         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17389         not declare function.
17390         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17391         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17392         (scalb): Likewise.
17393         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17394         not define macro.
17395         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17396         variable.
17397         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17398         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17399         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17401         [BZ #18857]
17402         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17403         return non-finite argument without doing ordered comparisons on
17404         it.
17406         [BZ #16296]
17407         * math/fenv.h (fegetround): Use __attribute_pure__.
17408         * include/fenv.h (__fegetround): Likewise.
17410         [BZ #18595]
17411         * math/s_ctan.c (__ctan): Force underflow exception for results
17412         whose real or imaginary part has small absolute value.
17413         * math/s_ctanf.c (__ctanf): Likewise.
17414         * math/s_ctanh.c (__ctanh): Likewise.
17415         * math/s_ctanhf.c (__ctanhf): Likewise.
17416         * math/s_ctanhl.c (__ctanhl): Likewise.
17417         * math/s_ctanl.c (__ctanl): Likewise.
17418         * math/auto-libm-test-in: Do not allow missing underflow for ctan
17419         and ctanh.  Add more tests of ctan and ctanh.
17421         [BZ #15918]
17422         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
17423         handling of cases where one argument is an infinity.
17425         [BZ #18875]
17426         [BZ #18966]
17427         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
17428         (MO): New macro.
17429         (__ieee754_exp10): For small results, force underflow exception
17430         and remove excess range and precision from return value.
17431         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
17432         (MO): New macro.
17433         (__ieee754_exp10f): For small results, force underflow exception
17434         and remove excess range and precision from return value.
17435         * math/auto-libm-test-in: Add more tests of exp10.
17436         * math/auto-libm-test-out: Regenerated.
17438 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
17440         [BZ #18875]
17441         [BZ #18961]
17442         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
17443         (MO): New macro.
17444         (__ieee754_exp): For small results, force underflow exception and
17445         remove excess range and precision from return value.
17446         (__exp_finite): Likewise.
17447         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
17448         (MO): New macro.
17449         (__ieee754_expf): For small results, force underflow exception and
17450         remove excess range and precision from return value.
17451         (__expf_finite): Likewise.
17452         * math/auto-libm-test-in: Add more tests of exp.
17453         * math/auto-libm-test-out: Regenerated.
17455         [BZ #16521]
17456         [BZ #18875]
17457         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
17458         small results.
17459         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
17460         (MO): New macro.
17461         (__ieee754_exp2): For small results, force underflow exception and
17462         remove excess range and precision from return value.
17463         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
17464         (MO): New macro.
17465         (__ieee754_exp2f): For small results, force underflow exception
17466         and remove excess range and precision from return value.
17467         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
17468         (MO): New macro.
17469         (__ieee754_exp2l): Force underflow exception for small results.
17470         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17471         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17472         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
17473         (MO): New macro.
17474         (__ieee754_exp2l): Force underflow exception for small results.
17475         * math/auto-libm-test-in: Add more tests or exp2.
17476         * math/auto-libm-test-out: Regenerated.
17478 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
17480         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
17482         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
17483         /dev/null.
17485 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17487         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17488         io fs process)): Drop spurious backslash.
17490 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17492         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
17493         Use sysinfo system call instead of parsing /proc/meminfo.
17494         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
17495         Likewise.
17497 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
17499         [BZ #16985]
17500         * programs/localedef.c (main): Display argv[remaining] when
17501         output_path is NULL.
17503 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17505         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17506         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
17507         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
17508         tanh.
17509         * math/auto-libm-test-out: Regenerated.
17510         * sysdeps/i386/fpu/libm-test-ulps: Update.
17511         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17512         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17515 2015-09-11  Roland McGrath  <roland@hack.frob.com>
17517         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
17518         Use 'override' keyword to freeze the value here, preventing
17519         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
17521 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17523         [BZ #14912]
17524         * sysdeps/aarch64/bits/atomic.h: Move to ...
17525         * sysdeps/aarch64/atomic-machine.h: ...here.
17526         (_AARCH64_BITS_ATOMIC_H): Rename macro to
17527         _AARCH64_ATOMIC_MACHINE_H.
17528         * sysdeps/alpha/bits/atomic.h: Move to ...
17529         * sysdeps/alpha/atomic-machine.h: ...here.
17530         * sysdeps/arm/bits/atomic.h: Move to ...
17531         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
17532         * bits/atomic.h: Move to ...
17533         * sysdeps/generic/atomic-machine.h: ...here.
17534         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17535         * sysdeps/i386/bits/atomic.h: Move to ...
17536         * sysdeps/i386/atomic-machine.h: ...here.
17537         * sysdeps/ia64/bits/atomic.h: Move to ...
17538         * sysdeps/ia64/atomic-machine.h: ...here.
17539         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
17540         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
17541         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17542         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
17543         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
17544         * sysdeps/microblaze/bits/atomic.h: Move to ...
17545         * sysdeps/microblaze/atomic-machine.h: ...here.
17546         * sysdeps/mips/bits/atomic.h: Move to ...
17547         * sysdeps/mips/atomic-machine.h: ...here.
17548         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
17549         * sysdeps/powerpc/bits/atomic.h: Move to ...
17550         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
17551         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
17552         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
17553         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
17554         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
17555         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
17556         <atomic-machine.h> instead of <bits/atomic.h>.
17557         * sysdeps/s390/bits/atomic.h: Move to ...
17558         * sysdeps/s390/atomic-machine.h: ...here.
17559         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
17560         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
17561         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17562         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
17563         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
17564         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
17565         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
17566         * sysdeps/tile/bits/atomic.h: Move to ...
17567         * sysdeps/tile/atomic-machine.h: ...here.
17568         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
17569         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
17570         <sysdeps/tile/atomic-machine.h> instead of
17571         <sysdeps/tile/bits/atomic.h>.
17572         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17573         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
17574         * sysdeps/tile/tilepro/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/unix/sysv/linux/arm/bits/atomic.h: Move to ...
17579         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
17580         <sysdeps/arm/atomic-machine.h> instead of
17581         <sysdeps/arm/bits/atomic.h>.
17582         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
17583         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
17584         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17585         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
17586         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
17587         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17588         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
17589         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
17590         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
17591         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
17592         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
17593         * sysdeps/x86_64/bits/atomic.h: Move to ...
17594         * sysdeps/x86_64/atomic-machine.h: ...here.
17595         * include/atomic.h: Include <atomic-machine.h> instead of
17596         <bits/atomic.h>.
17598         * sysdeps/mips/mips32/libm-test-ulps: Update.
17599         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17601         [BZ #18952]
17602         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
17603         not convert non-integer negative arguments to int to determine the
17604         value of signgam.
17605         * math/auto-libm-test-in: Add more tests of lgamma.
17606         * math/auto-libm-test-out: Regenerated.
17608         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
17609         cosh, csqrt, erfc, expm1 and lgamma.
17610         * math/auto-libm-test-out: Regenerated.
17611         * sysdeps/i386/fpu/libm-test-ulps: Update.
17612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17614 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
17616         [BZ #2542]
17617         [BZ #2543]
17618         [BZ #2558]
17619         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
17620         __lgamma_neg for arguments from -28.0 to -2.0.
17621         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
17622         __lgamma_negf for arguments from -15.0 to -2.0.
17623         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17624         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
17625         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
17626         Call __lgamma_negl for arguments from -33.0 to -2.0.
17627         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
17628         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17629         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17630         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
17631         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17632         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17633         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
17634         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
17635         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
17636         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17637         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
17638         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
17639         (__lgamma_neg): Likewise.
17640         (__lgamma_negl): Likewise.
17641         (__lgamma_product): Likewise.
17642         (__lgamma_productl): Likewise.
17643         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
17644         * math/auto-libm-test-in: Add more tests of lgamma.
17645         * math/auto-libm-test-out: Regenerated.
17646         * sysdeps/i386/fpu/libm-test-ulps: Update.
17647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17649 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
17651         [BZ #18675]
17652         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
17654 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
17656         [BZ #14912]
17657         * bits/libc-lock.h: Move to ...
17658         * sysdeps/generic/libc-lock.h: ...here.
17659         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17660         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
17661         * sysdeps/mach/hurd/libc-lock.h: ...here.
17662         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17663         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
17664         * sysdeps/mach/bits/libc-lock.h: Move to ...
17665         * sysdeps/mach/libc-lock.h: ...here.
17666         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17667         * sysdeps/nptl/bits/libc-lock.h: Move to ...
17668         * sysdeps/nptl/libc-lock.h: ...here.
17669         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17670         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
17671         * sysdeps/nptl/libc-lockP.h: ...here.
17672         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
17673         * crypt/crypt_util.c: Include <libc-lock.h> instead of
17674         <bits/libc-lock.h>.
17675         * dirent/scandir-tail.c: Likewise.
17676         * dlfcn/dlerror.c: Likewise.
17677         * elf/dl-close.c: Likewise.
17678         * elf/dl-iteratephdr.c: Likewise.
17679         * elf/dl-lookup.c: Likewise.
17680         * elf/dl-open.c: Likewise.
17681         * elf/dl-support.c: Likewise.
17682         * elf/dl-writev.h: Likewise.
17683         * elf/rtld.c: Likewise.
17684         * grp/fgetgrent.c: Likewise.
17685         * gshadow/fgetsgent.c: Likewise.
17686         * gshadow/sgetsgent.c: Likewise.
17687         * iconv/gconv_conf.c: Likewise.
17688         * iconv/gconv_db.c: Likewise.
17689         * iconv/gconv_dl.c: Likewise.
17690         * iconv/gconv_int.h: Likewise.
17691         * iconv/gconv_trans.c: Likewise.
17692         * include/link.h: Likewise.
17693         * inet/getnameinfo.c: Likewise.
17694         * inet/getnetgrent.c: Likewise.
17695         * inet/getnetgrent_r.c: Likewise.
17696         * intl/bindtextdom.c: Likewise.
17697         * intl/dcigettext.c: Likewise.
17698         * intl/finddomain.c: Likewise.
17699         * intl/gettextP.h: Likewise.
17700         * intl/loadmsgcat.c: Likewise.
17701         * intl/localealias.c: Likewise.
17702         * intl/textdomain.c: Likewise.
17703         * libidn/idn-stub.c: Likewise.
17704         * libio/libioP.h: Likewise.
17705         * locale/duplocale.c: Likewise.
17706         * locale/freelocale.c: Likewise.
17707         * locale/newlocale.c: Likewise.
17708         * locale/setlocale.c: Likewise.
17709         * login/getutent_r.c: Likewise.
17710         * login/getutid_r.c: Likewise.
17711         * login/getutline_r.c: Likewise.
17712         * login/utmp-private.h: Likewise.
17713         * login/utmpname.c: Likewise.
17714         * malloc/mtrace.c: Likewise.
17715         * misc/efgcvt.c: Likewise.
17716         * misc/error.c: Likewise.
17717         * misc/fstab.c: Likewise.
17718         * misc/getpass.c: Likewise.
17719         * misc/mntent.c: Likewise.
17720         * misc/syslog.c: Likewise.
17721         * nis/nis_call.c: Likewise.
17722         * nis/nis_callback.c: Likewise.
17723         * nis/nss-default.c: Likewise.
17724         * nis/nss_compat/compat-grp.c: Likewise.
17725         * nis/nss_compat/compat-initgroups.c: Likewise.
17726         * nis/nss_compat/compat-pwd.c: Likewise.
17727         * nis/nss_compat/compat-spwd.c: Likewise.
17728         * nis/nss_nis/nis-alias.c: Likewise.
17729         * nis/nss_nis/nis-ethers.c: Likewise.
17730         * nis/nss_nis/nis-grp.c: Likewise.
17731         * nis/nss_nis/nis-hosts.c: Likewise.
17732         * nis/nss_nis/nis-network.c: Likewise.
17733         * nis/nss_nis/nis-proto.c: Likewise.
17734         * nis/nss_nis/nis-pwd.c: Likewise.
17735         * nis/nss_nis/nis-rpc.c: Likewise.
17736         * nis/nss_nis/nis-service.c: Likewise.
17737         * nis/nss_nis/nis-spwd.c: Likewise.
17738         * nis/nss_nisplus/nisplus-alias.c: Likewise.
17739         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
17740         * nis/nss_nisplus/nisplus-grp.c: Likewise.
17741         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
17742         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
17743         * nis/nss_nisplus/nisplus-network.c: Likewise.
17744         * nis/nss_nisplus/nisplus-proto.c: Likewise.
17745         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
17746         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
17747         * nis/nss_nisplus/nisplus-service.c: Likewise.
17748         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
17749         * nis/ypclnt.c: Likewise.
17750         * nptl/libc_pthread_init.c: Likewise.
17751         * nss/getXXbyYY.c: Likewise.
17752         * nss/getXXent.c: Likewise.
17753         * nss/getXXent_r.c: Likewise.
17754         * nss/nss_db/db-XXX.c: Likewise.
17755         * nss/nss_db/db-netgrp.c: Likewise.
17756         * nss/nss_db/nss_db.h: Likewise.
17757         * nss/nss_files/files-XXX.c: Likewise.
17758         * nss/nss_files/files-alias.c: Likewise.
17759         * nss/nsswitch.c: Likewise.
17760         * posix/regex_internal.h: Likewise.
17761         * posix/wordexp.c: Likewise.
17762         * pwd/fgetpwent.c: Likewise.
17763         * resolv/res_hconf.c: Likewise.
17764         * resolv/res_libc.c: Likewise.
17765         * shadow/fgetspent.c: Likewise.
17766         * shadow/lckpwdf.c: Likewise.
17767         * shadow/sgetspent.c: Likewise.
17768         * socket/opensock.c: Likewise.
17769         * stdio-common/reg-modifier.c: Likewise.
17770         * stdio-common/reg-printf.c: Likewise.
17771         * stdio-common/reg-type.c: Likewise.
17772         * stdio-common/vfprintf.c: Likewise.
17773         * stdio-common/vfscanf.c: Likewise.
17774         * stdlib/abort.c: Likewise.
17775         * stdlib/cxa_atexit.c: Likewise.
17776         * stdlib/fmtmsg.c: Likewise.
17777         * stdlib/random.c: Likewise.
17778         * stdlib/setenv.c: Likewise.
17779         * string/strsignal.c: Likewise.
17780         * sunrpc/auth_none.c: Likewise.
17781         * sunrpc/bindrsvprt.c: Likewise.
17782         * sunrpc/create_xid.c: Likewise.
17783         * sunrpc/key_call.c: Likewise.
17784         * sunrpc/rpc_thread.c: Likewise.
17785         * sysdeps/arm/backtrace.c: Likewise.
17786         * sysdeps/generic/ldsodefs.h: Likewise.
17787         * sysdeps/generic/stdio-lock.h: Likewise.
17788         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17789         * sysdeps/i386/backtrace.c: Likewise.
17790         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17791         * sysdeps/m68k/backtrace.c: Likewise.
17792         * sysdeps/mach/hurd/cthreads.c: Likewise.
17793         * sysdeps/mach/hurd/dirstream.h: Likewise.
17794         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17795         * sysdeps/nptl/malloc-machine.h: Likewise.
17796         * sysdeps/nptl/stdio-lock.h: Likewise.
17797         * sysdeps/posix/dirstream.h: Likewise.
17798         * sysdeps/posix/getaddrinfo.c: Likewise.
17799         * sysdeps/posix/system.c: Likewise.
17800         * sysdeps/pthread/aio_suspend.c: Likewise.
17801         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17802         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17803         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17804         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17805         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17806         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17807         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17808         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17809         * sysdeps/unix/sysv/linux/system.c: Likewise.
17810         * sysdeps/x86_64/backtrace.c: Likewise.
17811         * time/alt_digit.c: Likewise.
17812         * time/era.c: Likewise.
17813         * time/tzset.c: Likewise.
17814         * wcsmbs/wcsmbsload.c: Likewise.
17815         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17816         instead of <bits/libc-lock.h> in comment.
17818 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17820         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17821         Only use .set mips2 if the current ISA is below mips2.
17822         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17823         Likewise.
17824         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17825         mips32r2 if the current ISA is below mips32r2.
17826         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17827         (TLS_IE): Updated to use the TLD_RDHWR macro.
17828         (TLS_LE): Likewise.
17829         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17830         __ASSEMBLER__ condition.
17832 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17834         Fix parallel build of before-compile targets.
17836         * sysdeps/mach/Makefile ($(patsubst
17837         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17838         mach-before-compile target.
17839         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17840         io fs process)): Move rule to dedicated hurd-before-compile target.
17842 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17844         Fix rules generating headers in hurd/ and mach/ when initial make call
17845         has subdir= explicitly set.
17847         * sysdeps/mach/Makefile ($(patsubst
17848         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17849         calling $(MAKE).
17850         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17851         io fs process)): Force subdir to hurd when calling $(MAKE).
17852         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17853         subdir to mach when calling $(MAKE).
17855 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17857         Check sysheaders when looking for Mach and Hurd headers
17859         * sysdeps/mach/configure.ac: Add sysheaders check.
17860         * sysdeps/mach/configure: Regenerate.
17861         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17862         * sysdeps/mach/hurd/configure: Regenerate.
17864 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17866         [BZ #18921]
17867         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17868         Fix inverted sense of test of 'o_directory_works' value.
17869         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17870         Bernhard Voelker <mail@bernhard-voelker.de>.
17872 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17874         [BZ #14912]
17875         * bits/linkmap.h: Move to ...
17876         * sysdeps/generic/linkmap.h: ...here.
17877         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17878         * sysdeps/aarch64/linkmap.h: ...here.
17879         * sysdeps/arm/bits/linkmap.h: Move to ...
17880         * sysdeps/arm/linkmap.h: ...here.
17881         * sysdeps/hppa/bits/linkmap.h: Move to ...
17882         * sysdeps/hppa/linkmap.h: ...here.
17883         * sysdeps/ia64/bits/linkmap.h: Move to ...
17884         * sysdeps/ia64/linkmap.h: ...here.
17885         * sysdeps/mips/bits/linkmap.h: Move to ...
17886         * sysdeps/mips/linkmap.h: ...here.
17887         * sysdeps/s390/bits/linkmap.h: Move to ...
17888         * sysdeps/s390/linkmap.h: ...here.
17889         * sysdeps/sh/bits/linkmap.h: Move to ...
17890         * sysdeps/sh/linkmap.h: ...here.
17891         * sysdeps/x86/bits/linkmap.h: Move to ...
17892         * sysdeps/x86/linkmap.h: ...here.
17893         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17895 2015-09-04  Andreas Schwab  <schwab@suse.de>
17897         [BZ #18635]
17898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17899         (__makecontext): Terminate FDE before return label.
17900         (__novec_makecontext): Likewise.
17902 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17904         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17905         first member of struct sv in syscall macro.
17907 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17909         [BZ #14912]
17910         * bits/stdio-lock.h: Move to ...
17911         * sysdeps/generic/stdio-lock.h: ...here.
17912         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17913         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17914         * sysdeps/nptl/stdio-lock.h: ...here.
17915         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17916         * include/libio.h: Include <stdio-lock.h> instead of
17917         <bits/stdio-lock.h>.
17918         * sysdeps/nptl/fork.c: Likewise.
17919         * sysdeps/pthread/flockfile.c: Likewise.
17920         * sysdeps/pthread/ftrylockfile.c: Likewise.
17921         * sysdeps/pthread/funlockfile.c: Likewise.
17923         [BZ #14912]
17924         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17925         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17926         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17927         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17928         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17929         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17930         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17932 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17934         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17935         (test-xfail-tst-protected1b): New variable.
17937 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17939         [BZ #14912]
17940         * bits/libc-tsd.h: Move to ...
17941         * sysdeps/generic/libc-tsd.h: ...here.
17942         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17943         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17944         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17945         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17946         * include/ctype.h: Include <libc-tsd.h> instead of
17947         <bits/libc-tsd.h>.
17948         * include/rpc/rpc.h: Likewise.
17949         * locale/localeinfo.h: Likewise.
17950         * sunrpc/rpc_thread.c: Likewise.
17951         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17952         * sysdeps/nptl/malloc-machine.h: Likewise.
17954         * Makefile (headers): Remove bits/libc-lock.h.
17955         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17957         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17958         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17959         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17960         <bits/stdio-lock.h>.
17961         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17962         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17964 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17966         [BZ #18757]
17967         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17968         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17969         BZ #18757.
17971 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17973         * malloc/mtrace.pl: Filter out NULL entries.
17975 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17977         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17978         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17979         macro.
17981         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17982         (TCP_CC_INFO): Likewise.
17983         (TCP_SAVE_SYN): Likewise.
17984         (TCP_SAVED_SYN): Likewise.
17986 2015-08-31  Brett Neumeier <brett@neumeier.us>
17988         [BZ #18870]
17989         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17991 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17993         [BZ #18873]
17994         Fix broken overflow check in posix_fallocate
17995         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
17996         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17997         Fix parenthesization typo.
17999 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18001         [BZ #18887]
18002         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18003         tst-mntent-blank-passno.
18004         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18005         * misc/tst-mntent-blank-corrupt.c: New test.
18006         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18007         * misc/tst-mntent.c (do_test): ... here.
18009 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18011         [BZ #4404]
18012         * po/de.po: Fix SIGALRM typo.
18014 2015-08-28  James Perkins  <james@loowit.net>
18016         * time/tst-strptime2.c (tests): Replace short list of test
18017         strings for strptime %z specifier with code which exhaustively
18018         tests every combination of sign and 0 to 5 digits. Tests for
18019         rejection of invalid strings.
18021 2015-08-28  James Perkins  <james@loowit.net>
18023         [BZ #16141]
18024         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18025         calculation, removing incorrect decimal time rounding, so that
18026         all minute values result in a valid seconds value.
18027         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18028         offset range limits to UTC-99:59 through UTC+99:59 to parse
18029         current and historical use cases.
18030         * time/tst-strptime2.c (tests): Modify and add tests for the
18031         strptime %z input field descriptor, specifically conversion of
18032         minutes to seconds and validating an offset range of -9959 to
18033         +9959.
18035 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18036             Dmitry V. Levin  <ldv@altlinux.org>
18038         [BZ #18877]
18039         * posix/Makefile (tests): Add tst-mmap-offset.
18040         * posix/tst-mmap.c: New file.
18041         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18042         offset calculation for negative values.
18044 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18046         * sysdeps/i386/init-arch.h: New file.
18047         * sysdeps/i386/i586/init-arch.h: Likewise.
18048         * sysdeps/i386/i686/init-arch.h: Likewise.
18049         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18050         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18051         * sysdeps/x86/cpu-features.h (bit_I586): New.
18052         (bit_I686): Likewise.
18053         (bit_CX8): Likewise.
18054         (bit_CMOV): Likewise.
18055         (index_CX8): Likewise.
18056         (index_CMOV): Likewise.
18057         (index_I586): Likewise.
18058         (index_I686): Likewise.
18059         (reg_CX8): Likewise.
18060         (reg_CMOV): Likewise.
18061         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18062         available at compile-time.
18063         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18064         available at compile-time.
18065         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18066         (USE_I686): Likewise.
18068 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18070         * sysdeps/i386/bcopy.S: New file.
18071         * sysdeps/i386/bzero.S: Likewise.
18072         * sysdeps/i386/memcpy.S: Likewise.
18073         * sysdeps/i386/memmove.S: Likewise.
18074         * sysdeps/i386/mempcpy.S: Likewise.
18075         * sysdeps/i386/memset.S: Likewise.
18076         * sysdeps/i386/bzero.c: Removed.
18077         * sysdeps/i386/memset.c: Likewise.
18078         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18079         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18080         * sysdeps/i386/i586/memset_chk.S: Likewise.
18081         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18082         * sysdeps/i386/memcpy_chk.S: Here.
18083         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18084         * sysdeps/i386/memmove_chk.S: Here.
18085         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18086         * sysdeps/i386/mempcpy_chk.S: Likewise.
18087         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18088         * sysdeps/i386/memset_chk.S: Likewise.
18090 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18092         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18093         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18094         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18095         * soft-fp/fmadf4.c: Ditto.
18096         * soft-fp/fmatf4.c: Ditto.
18098 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18100         * sysdeps/i386/i586/Implies: Removed.
18101         * sysdeps/i386/i686/Implies: Likewise.
18103 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18105         * sysdeps/i386/i486/strlen.S: Moved to ...
18106         * sysdeps/i386/strlen.S: Here.
18108 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18110         * sysdeps/i386/i486/strcat.S: Moved to ...
18111         * sysdeps/i386/strcat.S: Here.
18113 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18115         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18116         * sysdeps/i386/pthread_spin_trylock.S: Here.
18117         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18118         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18120 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18122         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18123         * sysdeps/i386/string-inlines.c: Here.
18125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18127         * sysdeps/i386/i486/htonl.S: Moved ...
18128         * sysdeps/i386/htonl.S: here.
18130 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18132         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
18133         * sysdeps/i386/bits/atomic.h: Here.
18135 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18137         * sysdeps/i386/i486/Versions: Removed.
18139 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18141         [BZ #2898]
18142         * misc/mktemp.c: Add mkdtemp to the link_warning message.
18143         Based on patch by Aurelien Jarno.
18145 2015-08-26  Stan Shebs  <stanshebs@google.com>
18147         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
18148         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18150 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18152         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
18153         * sysdeps/powerpc/dl-procinfo.c:
18154         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
18155         feature so it shows when LD_SHOW_AUXV=1.
18157 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18159         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18160         (__arch_compare_and_exchange_val_32_acq): Remove and use common
18161         definition.  ISA 2.07B no longer requires full sync.
18163 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
18165         [BZ #18863]
18166         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
18167         (si_call_addr): Define.
18168         (si_syscall): Define.
18169         (si_arch): Define.
18171 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18173         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
18174         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
18175         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
18176         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18177         (__memset_zero_constant_len_parameter): New.
18178         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
18179         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18180         (__memset_zero_constant_len_parameter): Don't define if
18181         __memset_chk or USE_AS_BZERO are defined.
18183         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
18184         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
18185         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
18187         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
18188         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
18189         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
18190         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
18191         comments.
18192         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
18193         -mno-mmx for $(all-rtld-routines).
18194         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
18195         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
18196         i386.
18198 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18200         * sysdeps/generic/unwind.h
18201         (_Unwind_Word): Use __mode__(__unwind_word__)
18202         instead of __mode__(__word__).
18203         (_Unwind_Sword): Likewise.
18205         * sysdeps/s390/s390-64/utf8-utf16-z9.c
18206         (MAX_NEEDED_INPUT): New define.
18207         (MAX_NEEDED_OUTPUT): New define.
18209         * NEWS: New item for IBM z13 string optimizations.
18211         * sysdeps/s390/multiarch/memrchr-c.c: New File.
18212         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
18213         * sysdeps/s390/multiarch/memrchr.c: Likewise.
18214         * sysdeps/s390/multiarch/Makefile
18215         (sysdep_routines): Add memrchr functions.
18216         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18217         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
18219         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
18220         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
18221         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
18222         * sysdeps/s390/multiarch/Makefile
18223         (sysdep_routines): Add wmemcmp functions.
18224         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18225         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
18226         * benchtests/bench-wmemcmp.c: New File.
18227         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
18229         * sysdeps/s390/multiarch/wmemset-c.c: New File.
18230         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
18231         * sysdeps/s390/multiarch/wmemset.c: Likewise.
18232         * sysdeps/s390/multiarch/Makefile
18233         (sysdep_routines): Add wmemset functions.
18234         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18235         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
18236         * wcsmbs/wmemset.c: Use WMEMSET if defined.
18237         * string/test-memset.c: Add wmemset support.
18238         * wcsmbs/test-wmemset.c: New File.
18239         * wcsmbs/Makefile (strop-tests): Add wmemset.
18240         * benchtests/bench-memset.c: Add wmemset support.
18241         * benchtests/bench-wmemset.c: New File.
18242         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18244         * sysdeps/s390/multiarch/memccpy-c.c: New File.
18245         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
18246         * sysdeps/s390/multiarch/memccpy.c: Likewise.
18247         * sysdeps/s390/multiarch/Makefile
18248         (sysdep_routines): Add memccpy functions.
18249         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18250         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
18251         * string/memccpy.c: Use MEMCCPY if defined.
18253         * sysdeps/s390/multiarch/memchr-vx.S: New File.
18254         * sysdeps/s390/multiarch/memchr.c: Likewise.
18255         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
18256         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
18257         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
18258         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
18259         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
18260         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
18261         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
18262         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
18263         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
18264         and rawmemchr functions.
18265         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18266         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18267         and wmemchr.
18268         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
18269         * string/test-memchr.c: Add wmemchr support.
18270         * wcsmbs/test-wmemchr.c: New File.
18271         * wcsmbs/Makefile (strop-tests): Add wmemchr.
18272         * benchtests/bench-memchr.c: Add wmemchr support.
18273         * benchtests/bench-wmemchr.c: New File.
18274         * benchtests/Makefile (wcsmbs-bench): wmemchr.
18276         * sysdeps/s390/multiarch/strcspn-c.c: New File.
18277         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
18278         * sysdeps/s390/multiarch/strcspn.c: Likewise.
18279         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
18280         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
18281         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
18282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
18283         wcscspn functions.
18284         * sysdeps/s390/multiarch/ifunc-impl-list.c
18285         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
18286         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
18287         * string/test-strcspn.c: Add wcscspn support.
18288         * wcsmbs/test-wcscspn.c: New File.
18289         * wcsmbs/Makefile (strop-tests): Add wcscspn.
18290         * benchtests/bench-strcspn.c: Add wcscspn support.
18291         * benchtests/bench-wcscspn.c: New File.
18292         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
18294         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
18295         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
18296         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
18297         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
18298         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
18299         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
18300         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
18301         wcspbrk functions.
18302         * sysdeps/s390/multiarch/ifunc-impl-list.c
18303         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
18304         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
18305         * string/test-strpbrk.c: Add wcspbrk support.
18306         * wcsmbs/test-wcspbrk.c: New File.
18307         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
18308         * benchtests/bench-strpbrk.c: Add wcspbrk support.
18309         * benchtests/bench-wcspbrk.c: New File.
18310         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18312         * sysdeps/s390/multiarch/strspn-c.c: New File.
18313         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18314         * sysdeps/s390/multiarch/strspn.c: Likewise.
18315         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18316         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18317         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18318         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18319         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18320         wcsspn functions.
18321         * sysdeps/s390/multiarch/ifunc-impl-list.c
18322         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18323         * string/test-strspn.c: Add wcsspn support.
18324         * wcsmbs/test-wcsspn.c: New File.
18325         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18326         * benchtests/bench-strspn.c: Add wcsspn support.
18327         * benchtests/bench-wcsspn.c: New File.
18328         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18330         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18331         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18332         * sysdeps/s390/multiarch/strrchr.c: Likewise.
18333         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18334         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18335         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18336         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18337         wcsrchr functions.
18338         * sysdeps/s390/multiarch/ifunc-impl-list.c
18339         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18340         * benchtests/bench-wcsrchr.c: New File.
18341         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18343         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18344         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18345         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18346         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18347         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18348         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18349         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18350         wcschrnul functions.
18351         * sysdeps/s390/multiarch/ifunc-impl-list.c
18352         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18353         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18354         * string/test-strchr.c: Add wcschrnul support.
18355         * wcsmbs/test-wcschrnul.c: New File.
18356         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18357         * benchtests/bench-strchr.c: Add wcschrnul support.
18358         * benchtests/bench-wcschrnul.c: New File.
18359         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18361         * sysdeps/s390/multiarch/strchr-c.c: New File.
18362         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18363         * sysdeps/s390/multiarch/strchr.c: Likewise.
18364         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18365         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18366         * sysdeps/s390/multiarch/wcschr.c: Likewise.
18367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18368         wcschr functions.
18369         * sysdeps/s390/multiarch/ifunc-impl-list.c
18370         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18371         * string/strchr.c (STRCHR): Define and use macro.
18372         * benchtests/bench-wcschr.c: New File.
18373         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18375         * sysdeps/s390/multiarch/strncmp-c.c: New File.
18376         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18377         * sysdeps/s390/multiarch/strncmp.c: Likewise.
18378         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18379         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18380         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18381         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18382         wcsncmp functions.
18383         * sysdeps/s390/multiarch/ifunc-impl-list.c
18384         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18385         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18386         * benchtests/bench-strncmp.c: Add wcsncmp support.
18387         * benchtests/bench-wcsncmp.c: New File.
18388         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18390         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18391         * sysdeps/s390/multiarch/strcmp.c: Likewise.
18392         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18393         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18394         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18395         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18396         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18397         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18398         wcscmp functions.
18399         * sysdeps/s390/multiarch/ifunc-impl-list.c
18400         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18401         * string/strcmp.c (STRCMP): Define and use macro.
18402         * benchtests/bench-wcscmp.c: New File.
18403         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18404         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18405         instead of _HAVE_STRING_ARCH_memchr.
18407         * sysdeps/s390/multiarch/strncat-c.c: New File.
18408         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18409         * sysdeps/s390/multiarch/strncat.c: Likewise.
18410         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18411         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18412         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18413         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
18414         wcsncat functions.
18415         * sysdeps/s390/multiarch/ifunc-impl-list.c
18416         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
18417         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
18418         * string/test-strncat.c: Add wcsncat support.
18419         * wcsmbs/test-wcsncat.c: New File.
18420         * wcsmbs/Makefile (strop-tests): Add wcsncat.
18421         * benchtests/bench-strncat.c: Add wcsncat support.
18422         * benchtests/bench-wcsncat.c: New File.
18423         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
18425         * sysdeps/s390/multiarch/strcat-c.c: New File.
18426         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
18427         * sysdeps/s390/multiarch/strcat.c: Likewise.
18428         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
18429         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
18430         * sysdeps/s390/multiarch/wcscat.c: Likewise.
18431         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
18432         wcscat functions.
18433         * sysdeps/s390/multiarch/ifunc-impl-list.c
18434         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
18435         * string/strcat.c (STRCAT): Define and use macro.
18436         * wcsmbs/wcscat.c: Use WCSCAT if defined.
18437         * string/test-strcat.c: Add wcscat support.
18438         * wcsmbs/test-wcscat.c: New File.
18439         * wcsmbs/Makefile (strop-tests): Add wcscat.
18440         * benchtests/bench-strcat.c: Add wcscat support.
18441         * benchtests/bench-wcscat.c: New File.
18442         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
18444         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
18445         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
18446         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
18447         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
18448         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
18449         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
18450         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
18451         wcpncpy functions.
18452         * sysdeps/s390/multiarch/ifunc-impl-list.c
18453         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
18454         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
18455         * string/test-stpncpy.c: Add wcpncpy support.
18456         * wcsmbs/test-wcpncpy.c: New File.
18457         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
18458         * benchtests/bench-stpncpy.c: Add wcpncpy support.
18459         * benchtests/bench-wcpncpy.c: New File.
18460         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
18462         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
18463         * sysdeps/s390/multiarch/strncpy.c: Likewise.
18464         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
18465         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
18466         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
18467         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
18468         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
18469         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
18470         wcsncpy functions.
18471         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
18472         * sysdeps/s390/multiarch/ifunc-impl-list.c
18473         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
18474         * string/test-strncpy.c: Add wcsncpy support.
18475         * wcsmbs/test-wcsncpy.c: New File.
18476         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18477         * benchtests/bench-strncpy.c: Add wcsncpy support.
18478         * benchtests/bench-wcsncpy.c: New File.
18479         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
18481         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
18482         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
18483         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
18484         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
18485         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
18486         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
18487         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
18488         wcpcpy functions.
18489         * string/stpcpy.c: Use STPCPY if defined.
18490         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
18491         * sysdeps/s390/multiarch/ifunc-impl-list.c
18492         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
18493         * string/test-stpcpy.c: Add wcpcpy support.
18494         * wcsmbs/test-wcpcpy.c: New File.
18495         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
18496         * benchtests/bench-stpcpy.c: Add wcpcpy support.
18497         * benchtests/bench-wcpcpy.c: New File.
18498         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
18500         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
18501         * sysdeps/s390/multiarch/strcpy.c: Likewise.
18502         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
18503         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
18504         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
18505         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
18506         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
18507         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
18508         wcscpy functions.
18509         * sysdeps/s390/multiarch/ifunc-impl-list.c
18510         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
18511         * benchtests/bench-wcscpy.c: New File.
18512         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
18514         * sysdeps/s390/multiarch/strnlen-c.c: New File.
18515         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
18516         * sysdeps/s390/multiarch/strnlen.c: Likewise.
18517         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
18518         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
18519         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
18520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
18521         wcsnlen functions.
18522         * sysdeps/s390/multiarch/ifunc-impl-list.c
18523         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
18524         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
18525         * string/test-strnlen.c: Add wcsnlen support.
18526         * wcsmbs/test-wcsnlen.c: New File.
18527         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
18528         * benchtests/bench-strnlen.c: Add wcsnlen support.
18529         * benchtests/bench-wcsnlen.c: New File.
18530         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
18532         * sysdeps/s390/multiarch/Makefile: New File.
18533         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
18534         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
18535         * sysdeps/s390/multiarch/strlen.c: Likewise.
18536         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
18537         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
18538         * sysdeps/s390/multiarch/wcslen.c: Likewise.
18539         * string/strlen.c (STRLEN): Define and use macro.
18540         * sysdeps/s390/multiarch/ifunc-impl-list.c
18541         (IFUNC_VX_IMPL): New macro function.
18542         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
18543         * benchtests/Makefile (wcsmbs-bench): New variable.
18544         (string-bench-all): Added wcsmbs-bench.
18545         * benchtests/bench-wcslen.c: New File.
18547         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
18548         s390_vx_libc_ifunc2): New macro function.
18550         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
18551         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
18552         assembler support.
18553         * sysdeps/s390/configure: Regenerated.
18555         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
18556         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
18558         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
18559         * sysdeps/s390/dl-procinfo.h: Add vector capability.
18560         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
18562         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
18563         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
18564         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
18565         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
18566         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
18567         (memcmp, bcmp): Use __memcmp_default as alias source.
18568         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
18569         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
18570         Rename to __memcmp_default.
18571         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
18572         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
18573         (memcpy): Use __memcpy_default as alias source.
18574         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
18575         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
18576         Rename to __memcpy_default.
18577         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
18578         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
18579         (memset): Use __memset_default as alias source.
18580         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
18581         * sysdeps/s390/s390-32/memset.S (__memset_g5):
18582         Rename to __memset_default.
18583         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
18584         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
18585         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
18586         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
18587         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
18588         (memcmp, bcmp): Use __memcmp_default as alias source.
18589         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
18590         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
18591         Rename to __memcmp_default.
18592         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
18593         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
18594         (memcpy): Use __memcpy_default as alias source.
18595         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
18596         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
18597         Rename to __memcpy_default.
18598         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
18599         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
18600         (memset): Use __memset_default as alias source.
18601         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
18602         * sysdeps/s390/s390-64/memset.S (__memset_z900):
18603         Rename to __memset_default.
18604         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
18605         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
18607         [BZ #18610]
18608         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
18609         __ieee_instruction_pointer to __unused.
18610         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
18611         __ieee_instruction_pointer.
18612         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
18613         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
18614         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18615         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18616         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
18617         Mark dxc-field as reserved.
18619 2015-08-25  Roland McGrath  <roland@hack.frob.com>
18621         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
18622         if the weak reference is not null.
18624 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18626         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
18628         [BZ #11214]
18629         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
18631 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18633         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
18634         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
18635         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
18636         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
18637         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
18638         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
18639         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
18640         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
18641         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
18642         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
18643         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
18644         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
18645         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
18646         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
18647         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
18648         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
18649         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
18650         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
18652 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18654         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
18655         register other than r0 for tabort, it has special meaning.
18656         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
18657         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
18658         transaction before starting syscall.
18660 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18662         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
18664 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18666         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
18668         * sysdeps/x86_64/rtld-memcmp.c: Removed.
18669         * sysdeps/x86_64/rtld-memset.S: Likewise.
18670         * sysdeps/x86_64/rtld-strchr.S: Likewise.
18671         * sysdeps/x86_64/rtld-strlen.S: Likewise.
18672         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
18673         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18675         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
18677 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
18679         * debug/strcpy_chk.c: Improve performance.
18680         * debug/stpcpy_chk.c: Likewise.
18681         * sysdeps/x86_64/strcpy_chk.S: Remove.
18682         * sysdeps/x86_64/stpcpy_chk.S: Remove.
18684         [BZ #18240]
18685         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
18687 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18689         [BZ #15128]
18690         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
18691         ifuncmain8.
18692         (modules-names): Add ifuncmod8.
18693         ($(objpfx)ifuncmain8): New rule.
18694         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
18695         <cpuid.h>.
18696         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
18697         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
18698         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
18699         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
18700         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
18701         * sysdeps/x86_64/dl-trampoline.h: Likewise.
18702         * sysdeps/x86_64/ifuncmain8.c: New file.
18703         * sysdeps/x86_64/ifuncmod8.c: Likewise.
18704         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
18705         Removed.
18706         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
18707         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
18708         Change rtld_savespace_sse to __glibc_unused2.
18709         (RTLD_CHECK_FOREIGN_CALL): Removed.
18710         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
18711         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
18712         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
18714 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18716         * sysdeps/aarch64/bzero.S (__bzero): Remove.
18718 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18720         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
18721         Unconditionally set __fpcr to avoid uninialized warning.
18722         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
18724 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18726         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
18727         is corrupt.
18729         * malloc/arena.c (arena_get2): Drop unused argument.
18730         (arena_lock): Adjust.
18731         (arena_get_retry): Likewise.
18733 2015-08-24  Andreas Schwab  <schwab@suse.de>
18735         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
18736         Don't define.
18737         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18738         (__ASSUME_IPC64): Don't undef.
18739         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
18740         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18741         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18742         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
18743         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
18744         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
18745         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
18746         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
18747         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
18748         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
18749         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
18750         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
18751         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
18752         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
18753         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
18754         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
18755         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
18756         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
18757         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
18758         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
18759         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
18761 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
18763         * manual/Makefile (install): Only build manual when perl is available.
18765 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18767         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
18768         '#undef memcpy' by '#undef memchr'.
18770 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18772         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
18773         memchr not point to the internal __GI_memchr implementation.
18775 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18777         * timezone/Makefile (CFLAGS-zdump.c): Remove
18778         -Wno-strict-prototypes.
18779         (CFLAGS-zic.c): Likewise.
18780         (CFLAGS-ialloc.c): Likewise.
18781         (CFLAGS-scheck.c): Likewise.
18783         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18784         -Wno-error=undef.
18786 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18788         * i386/i686/multiarch/strcasestr-c.c: Removed.
18789         * x86_64/multiarch/strcasestr.c: Likewise.
18790         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18791         Remove strcasestr.
18793 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18795         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18797         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18798         variables for high and low parts before possibly modifying them.
18800 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18802         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18803         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18804         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18805         of "multiarch/init-arch.h".
18806         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18807         * sysdeps/x86/init-arch.h: This.
18809 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18811         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18812         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18814 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18816         [BZ #17787]
18817         * manual/macros.texi: Add twoexp macro.
18818         * manual/filesys.texi: Fix exponents.
18819         * manual/llio.texi: Likewise.
18820         * manual/stdio.texi: Likewise.
18822 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18824         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18825         incorrect use.
18827 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18829         [BZ #18370]
18830         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18831         whose real or imaginary part has small absolute value.
18832         * math/s_csqrtf.c (__csqrtf): Likewise.
18833         * math/s_csqrtl.c (__csqrtl): Likewise.
18834         * math/auto-libm-test-in: Add more tests of csqrt.
18835         * math/auto-libm-test-out: Regenerated.
18836         * sysdeps/i386/fpu/libm-test-ulps: Update.
18838 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18840         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18841         __ppc_set_ppr_very_low): New functions.
18842         * manual/platform.texi: Add documentation about
18843         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18845 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18847         * string/stpncpy.c (stpncpy): Improve performance using
18848         __strnlen/memcpy/memset.
18850 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18852         [BZ #18796]
18853         * scripts/test-installation.pl: Don't add -lmvec to build options if
18854         libmvec wasn't built.
18856 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18858         [BZ #14341]
18859         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18860         case when there is a gap between DT_REL and DT_JMPREL sections.
18861         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18862         (LDFLAGS-tst-split-dynreloc): New.
18863         (tst-split-dynreloc-ENV): Likewise.
18864         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18865         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18867 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18869         [BZ #18822]
18870         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18871         attribute_hidden.
18872         (__xstat64_conv): Likewise.
18873         (__xstat32_conv): Likewise.
18875 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18877         [BZ #18822]
18878         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18879         Don't load %ebx when calling __setcontext.  Call __setcontext
18880         with HIDDEN_JUMPTARGET.
18881         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18882         libc_hidden_def.
18884 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18886         * sysdeps/i386/i686/Makefile
18887         [$(subdir) == string] (sysdep_routines): Moved to ...
18888         * sysdeps/i386/Makefile: Here.
18889         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18890         * sysdeps/i386/cacheinfo.c: Here.
18891         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18892         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18893         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18894         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18896 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18898         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18899         __i586__ is defined.
18900         (HAS_I686): Defined to 1 if __i686__ is defined.
18902 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18904         * elf/Makefile [$(have-z-execstack) = yes]
18905         (CPPFLAGS-tst-execstack.c): New variable.
18907         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18908         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18909         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18910         UTMPX || _HAVE_UT_TV].
18911         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18912         UTMPX || _HAVE_UT_TV - 0].
18914 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18916         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18917         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18918         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18920 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18922         * sysdeps/powerpc/dl-procinfo.c:
18923         (_dl_powerpc_cap_flags): Added missing strings for some
18924         hwcap features.
18925         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18927 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18929         Port the 0x7efe...feff pattern to GCC 6.
18930         See Steve Ellcey's bug report in:
18931         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18932         * string/memrchr.c (MEMRCHR):
18933         * string/rawmemchr.c (RAWMEMCHR):
18934         * string/strchr.c (strchr):
18935         * string/strchrnul.c (STRCHRNUL):
18936         Rewrite code to avoid issues with signed shift overflow.
18938 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18940         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18941         whether cpuid is available only if HAS_CPUID is 0.
18942         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18943         (HAS_I586): Likewise.
18944         (HAS_I686): Likewise.
18946 2015-08-18  Zack Weinberg  <zackw@panix.com>
18948         * misc/Versions (libc): Add GLIBC_2.23.
18950 2015-08-18  Alan Modra  <amodra@gmail.com>
18952         [BZ #18421]
18953         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18954         .Lp__global.
18955         (_start): Load %dp via .Lp__global.
18956         [!SHARED]: Use .section .rodata.
18958 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18960         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18961         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18963 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18965         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18966         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18968 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18970         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18971         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18973 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18975         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18976         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18978 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18980         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18981         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18983 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18985         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18986         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18988 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18990         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18992 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18994         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
18995         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
18996         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18997         (__ASSUME_LWS_CAS): Delete.
18999 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19001         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19002         * sysdeps/hppa/configure: Regenerated.
19003         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19004         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19005         * sysdeps/hppa/nptl/tls.h: Likewise.
19007 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19009         [BZ #18823]
19010         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19011         for scaling up small arguments.
19012         * math/s_csqrtf.c (__csqrtf): Likewise.
19013         * math/s_csqrtl.c (__csqrtl): Likewise.
19014         * math/auto-libm-test-in: Add more tests of csqrt.
19015         * math/auto-libm-test-out: Regenerated.
19017 2015-08-17  Andreas Schwab  <schwab@suse.de>
19019         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19020         version set GLIBC_2.19.
19022 2015-08-16  Zack Weinberg  <zackw@panix.com>
19024         [BZ #18681]
19025         * misc/regexp.h: This interface is no longer supported.
19026         Remove all contents, leaving only an #error directive.
19027         * misc/regexp.c (loc1, loc2, locs, step, advance):
19028         Demote to compatibility symbols.
19030 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19032         [BZ #18084]
19033         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19034         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19035         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19036         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19037         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19038         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19039         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19040         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19041         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19043 2015-08-15  Zack Weinberg  <zackw@panix.com>
19045         [BZ #18795]
19046         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19047         buffer length is known to be too large, not if it's known to be
19048         small enough.
19049         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19050         overflow at runtime, involving a length parameter, twice: once
19051         with a compile-time constant length parameter, once without.
19053 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19055         [BZ #18824]
19056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19057         scaling x * y up instead of down.
19058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19059         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19060         * math/auto-libm-test-in: Add more tests of fma.
19061         * math/auto-libm-test-out: Regenerated.
19063 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19065         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19067 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19069         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19070         unnecessary movq.
19071         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19072         Likewise.
19074 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19076         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19077         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19078         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19079         and tgamma.
19080         * math/auto-libm-test-out: Regenerated.
19081         * sysdeps/i386/fpu/libm-test-ulps: Update.
19082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19084         [BZ #16520]
19085         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19086         (__tanh): Force underflow exception for arguments with small
19087         absolute value.
19088         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19089         (__tanhf): Force underflow exception for arguments with small
19090         absolute value.
19091         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19092         (__tanhl): Force underflow exception for arguments with small
19093         absolute value.
19094         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19095         (__tanhl): Force underflow exception for arguments with small
19096         absolute value.
19097         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19098         (__tanhl): Force underflow exception for arguments with small
19099         absolute value.
19100         * math/auto-libm-test-in: Add more tests of tanh.
19101         * math/auto-libm-test-out: Regenerated.
19102         * sysdeps/i386/fpu/libm-test-ulps: Update.
19104 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19106         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19107         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19109 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19111         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19112         <cpuid.h>.
19114 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19116         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19117         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19119 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19121         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19122         Remove $(objpfx)init-arch.o.
19123         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19124         init-arch.
19125         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19126         (INIT_ARCH_EXT): Defined as empty.
19127         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19128         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19129         __init_cpu_features call.  Replace HAS_XXX with
19130         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19131         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
19132         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
19133         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
19134         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
19135         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19136         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
19137         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
19138         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19139         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
19140         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
19141         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19142         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
19143         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
19144         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19145         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
19146         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
19147         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19148         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19149         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
19150         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
19151         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19152         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
19153         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
19154         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19155         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
19156         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
19157         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19158         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
19159         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
19160         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19161         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
19162         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
19163         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19164         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
19165         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
19167 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19169         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
19170         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19171         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19172         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19173         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
19174         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
19175         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
19176         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
19177         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
19178         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
19179         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
19180         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
19181         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19182         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19183         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19184         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19185         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19186         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19187         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19188         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19189         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19190         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19191         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19192         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19193         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19194         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19195         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19196         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19197         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19198         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19199         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19200         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19201         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19202         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19203         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19204         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19205         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19206         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19207         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19208         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19209         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19210         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19211         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19213 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19215         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
19216         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19217         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19218         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19219         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19220         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19221         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19222         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
19223         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19224         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19225         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19226         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
19227         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
19228         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
19229         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
19230         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19231         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
19232         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
19233         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
19234         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
19235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19236         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
19237         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
19238         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19239         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19240         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
19241         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
19242         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
19243         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19244         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19245         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19246         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19247         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19248         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19249         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19250         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19251         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19252         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19253         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19254         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19255         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19256         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19257         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19259 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19261         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
19262         (dl_platform_init): Call init_cpu_features.
19263         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
19264         * sysdeps/i386/i686/cacheinfo.c
19265         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
19266         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
19267         * sysdeps/i386/i686/multiarch/Versions: Removed.
19268         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
19269         Removed.
19270         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
19271         * sysdeps/unix/sysv/linux/x86/Makefile
19272         (libpthread-sysdep_routines): Remove init-arch.
19273         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
19274         <sysdeps/x86_64/dl-procinfo.c> instead of
19275         sysdeps/generic/dl-procinfo.c>.
19276         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
19277         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
19278         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
19279         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
19280         [$(subdir) == elf] (tests-static): Add
19281         tst-get-cpu-features-static.
19282         * sysdeps/x86/Versions: New file.
19283         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
19284         * sysdeps/x86/cpu-features.c: Likewise.
19285         * sysdeps/x86/cpu-features.h: Likewise.
19286         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
19287         * sysdeps/x86/libc-start.c: Likewise.
19288         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19289         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
19290         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
19291         * sysdeps/x86_64/dl-procinfo.c: Likewise.
19292         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
19293         Assume USE_MULTIARCH is defined and don't check it.
19294         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
19295         (is_amd): Likewise.
19296         (max_cpuid): Likewise.
19297         (intel_check_word): Likewise.
19298         (__cache_sysconf): Don't call __init_cpu_features.
19299         (__x86_preferred_memory_instruction): Removed.
19300         (init_cacheinfo): Don't call __init_cpu_features. Replace
19301         __cpu_features with GLRO(dl_x86_cpu_features).
19302         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
19303         (dl_platform_init): Call init_cpu_features.
19304         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
19305         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
19306         * sysdeps/x86_64/multiarch/Versions: Removed.
19307         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
19308         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19309         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19310         Removed.
19311         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19313 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19315         [BZ #18820]
19316         * libio/Makefile (test-fmemopen-mem): New test.
19317         * libio/test-fmemopen.c (do_bz18820): New test.
19318         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19319         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19321 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19323         [BZ #16734]
19324         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19325         (FREE_BUF): Delete.
19326         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19327         * libio/genops.c (_IO_setb): Use malloc and free directly.
19328         (_IO_default_doallocate, _IO_default_finish): Likewise.
19329         ( _IO_unbuffer_all): Likewise.
19330         ( libc_freeres_fn): Likewise.
19331         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19332         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19333         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19334         (_IO_wdefault_doallocate): Likewise.
19336 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19338         [BZ #18086]
19339         * sysdeps/posix/nice.c (nice): Restore old errno.
19340         * posix/tst-nice.c (do_test): Add test for BZ #18086.
19342 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
19344         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19346 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19348         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19349         __bcopy and add a weak_alias to bcopy.
19350         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19351         for static build.
19353         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19354         cleanup macro usage.
19355         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19356         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19358         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19359         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19360         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19361         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19362         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19363         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19364         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19365         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19366         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19367         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19368         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19369         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19370         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19371         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19372         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19373         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19375         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19376         libc_hidden_def.
19377         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19379         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19380         (sysdep_routines): Add strstr-ppc64.
19381         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19383 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
19385         [BZ #18778]
19386         * elf/Makefile (tests): Add Add tst-nodelete2.
19387         (modules-names): Add tst-nodelete2mod.
19388         (tst-nodelete2mod.so-no-z-defs): New.
19389         ($(objpfx)tst-nodelete2): Likewise.
19390         ($(objpfx)tst-nodelete2.out): Likewise.
19391         (LDFLAGS-tst-nodelete2): Likewise.
19392         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19393         out of loop through all loaded libraries.
19394         * elf/tst-nodelete2.c: New file.
19395         * elf/tst-nodelete2mod.c: Likewise.
19396         * elf/tst-znodelete-zlib.cc: Delete.
19398 2015-08-11  Andreas Schwab  <schwab@suse.de>
19400         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19401         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19402         (__openat64_nocancel): Likewise.
19404 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
19406         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19407         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19408         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19409         * math/auto-libm-test-out: Regenerated.
19410         * sysdeps/i386/fpu/libm-test-ulps: Update.
19411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19413 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19415         [BZ #18790]
19416         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
19417         threshold for returning +/- 1.
19418         * math/auto-libm-test-in: Add more tests of tanh.
19419         * math/auto-libm-test-out: Regenerated.
19420         * sysdeps/i386/fpu/libm-test-ulps: Update.
19422 2015-08-10  Andreas Schwab  <schwab@suse.de>
19424         [BZ #18781]
19425         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
19426         MORE_OFLAGS to oflag.
19427         * io/test-lfs.c (do_test): Test openat64.
19429 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19431         [BZ #18789]
19432         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
19433         smaller threshold for returning the argument.
19434         * math/auto-libm-test-in: Add more tests of sinh.
19435         * math/auto-libm-test-out: Regenerated.
19436         * sysdeps/i386/fpu/libm-test-ulps: Update.
19438 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19440         [BZ #18674]
19441         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
19442         break.
19444 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19446         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
19447         (generated): Don't add $(addprefix z.,$(tzfiles)).
19449 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19451         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
19452         * scripts/sysd-rules.awk: Likewise.
19454 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19456         * iconvdata/tst-tables.sh: Change echo -n to printf.
19457         * nss/db-Makefile: Likewise.
19458         * posix/tst-getconf.sh: Likewise.
19459         * stdio-common/tst-unbputc.sh: Likewise.
19461 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19463         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
19464         MADV_*_PAGES defines behind this feature check.
19466 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
19468         [BZ #18480]
19469         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
19470         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
19471         Define.
19472         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
19473         LOAD_REGS_5, LOAD_REGS_6): Update.
19474         (INTERNAL_SYSCALL): Update using new LOAD defines.
19475         (INTERNAL_SYSCALL_NCS): Likewise.
19476         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
19478 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19480         [BZ #16734]
19481         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
19483 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19485         [BZ #17905]
19486         * catgets/Makefile (tst-catgets-mem): New test.
19487         * catgets/catgets.c (catopen): Don't use unbounded alloca.
19488         * catgets/open_catalog.c (__open_catalog): Likewise.
19489         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
19491 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
19493         [BZ #18787]
19494         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
19495         clobber registers.
19496         (atomic_compare_and_exchange_val_acq): Use register asms to assign
19497         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
19498         Cast return to __typeof (oldval).
19500 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
19502         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
19503         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
19504         and delete sys/syscall.h include.
19506 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
19508         [BZ #16517]
19509         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
19510         (tan): Force underflow exception for arguments with small absolute
19511         value.
19512         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
19513         (__kernel_tanf): Force underflow exception for arguments with
19514         small absolute value.
19515         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
19516         (__kernel_tanl): Force underflow exception for arguments with
19517         small absolute value.
19518         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
19519         (__kernel_tanl): Force underflow exception for arguments with
19520         small absolute value.
19521         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
19522         (__kernel_tanl): Force underflow exception for arguments with
19523         small absolute value.
19524         * math/auto-libm-test-in: Add more tests of tan.
19525         * math/auto-libm-test-out: Regenerated.
19527 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19529         Fix sysdeps/i386/fpu/s_scalbn.S build
19531         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
19533 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
19535         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19537 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19539         Fix gcrt0.o compilation
19541         When static-start-installed-name is different from
19542         start-installed-name, we must not use the shared objects.
19544         * csu/Makefile
19545         (extra-objs): Add gmon-start.o when building shared library and
19546         $(static-start-installed-name) is different from
19547         $(start-installed-name).
19548         $(objpfx)g$(static-start-installed-name): When building shared
19549         library and $(static-start-installed-name) is different from
19550         $(static-start-installed-name), revert to non-shared rule,
19551         i.e. using $(objpfx)% and gmon-start.o.
19553 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
19555         [BZ #16519]
19556         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
19557         (__ieee754_sinh): Force underflow exception for arguments with
19558         small absolute value.
19559         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
19560         (__ieee754_sinhf): Force underflow exception for arguments with
19561         small absolute value.
19562         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
19563         (__ieee754_sinhl): Force underflow exception for arguments with
19564         small absolute value.
19565         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
19566         (__ieee754_sinhl): Force underflow exception for arguments with
19567         small absolute value.
19568         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
19569         (__ieee754_sinhl): Force underflow exception for arguments with
19570         small absolute value.
19571         * math/auto-libm-test-in: Add more tests of sinh.
19572         * math/auto-libm-test-out: Regenerated.
19573         * sysdeps/i386/fpu/libm-test-ulps: Update.
19575 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19577         * libio/oldfileops.c: Include unistd.h.
19579 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
19581         * stdlib/isomac.c: Include ctype.h.
19583 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
19585         * dirent/tst-seekdir.c (main): Converted to ...
19586         (do_test): ... this.
19587         (TEST_FUNCTION): New macro.
19588         Include test-skeleton.c.
19589         * elf/tst-dlmodcount.c (main): Converted to ...
19590         (do_test): ... this.
19591         (TEST_FUNCTION): New macro.
19592         Include test-skeleton.c.
19593         * elf/tst-order-main.c (main): Converted to ...
19594         (do_test): ... this.
19595         (TEST_FUNCTION): New macro.
19596         Include test-skeleton.c.
19597         * elf/tst-pie2.c (main): Converted to ...
19598         (do_test): ... this.
19599         (TEST_FUNCTION): New macro.
19600         Include test-skeleton.c.
19601         * inet/tst-ether_aton.c (main): Converted to ...
19602         (do_test): ... this.
19603         (TEST_FUNCTION): New macro.
19604         Include test-skeleton.c.
19605         * misc/tst-mntent.c (main): Converted to ...
19606         (do_test): ... this.
19607         (TEST_FUNCTION): New macro.
19608         Include test-skeleton.c.
19609         * misc/tst-tsearch.c (main): Converted to ...
19610         (do_test): ... this.
19611         (TEST_FUNCTION): New macro.
19612         Include test-skeleton.c.
19613         * posix/tst-regexloc.c (main): Converted to ...
19614         (do_test): ... this.
19615         (TEST_FUNCTION): New macro.
19616         Include test-skeleton.c.
19617         * resolv/tst-aton.c (main): Converted to ...
19618         (do_test): ... this.
19619         (TEST_FUNCTION): New macro.
19620         Include test-skeleton.c.
19621         * stdio-common/test-fwrite.c (main): Converted to ...
19622         (do_test): ... this.
19623         (TEST_FUNCTION): New macro.
19624         Include test-skeleton.c.
19625         * stdio-common/tst-ferror.c (main): Converted to ...
19626         (do_test): ... this.
19627         (TEST_FUNCTION): New macro.
19628         Include test-skeleton.c.
19629         * stdio-common/tst-printf.c (main): Converted to ...
19630         (do_test): ... this.
19631         (TEST_FUNCTION): New macro.
19632         Include test-skeleton.c.
19633         * stdio-common/tst-printfsz.c (main): Converted to ...
19634         (do_test): ... this.
19635         (TEST_FUNCTION): New macro.
19636         Include test-skeleton.c.
19637         * stdlib/tst-strtod.c (main): Converted to ...
19638         (do_test): ... this.
19639         (TEST_FUNCTION): New macro.
19640         Include test-skeleton.c.
19641         * string/tst-strlen.c (main): Converted to ...
19642         (do_test): ... this.
19643         (TEST_FUNCTION): New macro.
19644         Include test-skeleton.c.
19645         * string/tst-svc.c (main): Converted to ...
19646         (do_test): ... this.
19647         (TEST_FUNCTION): New macro.
19648         Include test-skeleton.c.
19649         * time/tst-strptime.c (main): Converted to ...
19650         (do_test): ... this.
19651         (TEST_FUNCTION): New macro.
19652         Include test-skeleton.c.
19653         * timezone/tst-timezone.c (main): Converted to ...
19654         (do_test): ... this.
19655         (TEST_FUNCTION): New macro.
19656         Include test-skeleton.c.
19658 2015-08-05  Zack Weinberg  <zackw@panix.com>
19660         * misc/regexp.h: Update comments.
19662 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
19664         [BZ #18635]
19665         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
19666         before return label.
19668 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19670         [BZ #18661]
19671         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
19672         when calling __errno_location.
19673         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
19674         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
19676 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19678         [BZ #18661]
19679         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
19680         (__lll_timedwait_tid): Align stack to 16 bytes when calling
19681         __gettimeofday.
19683 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19685         [BZ #18661]
19686         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19687         (__start_context): Don't use pop to restore %rdi so that stack
19688         is aligned to 16 bytes when calling __setcontext.
19690 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19692         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
19693         only for libc.
19694         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19696 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19698         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
19699         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
19700         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
19702 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19704         * string/memccpy.c (memccpy):
19705         Improve performance by using memchr/memcpy/__mempcpy.
19707 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19709         * string/strncpy.c (strncpy):
19710         Improve performance by using __strnlen/memcpy.
19712 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19714         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19715         Optimize to avoid an unnecessary FPCR read.
19717 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19719         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19720         Optimize to reduce FPCR/FPSR accesses.
19722 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19724         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
19725         dead->data[category] != NULL.
19727 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
19729         [BZ #18647]
19730         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
19731         and |x| close to 1, use absolute value of x when computing log.
19732         * math/auto-libm-test-in: Add more tests of pow.
19733         * math/auto-libm-test-out: Regenerated.
19735 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19737         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
19738         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
19739         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
19741 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
19743         [BZ #18525]
19744         * locales/km_KH: Remove timezone definition.
19745         * locales/lo_LA: Likewise.
19746         * locales/my_MM: Likewise.
19747         * locales/nan_TW@latin: Likewise.
19748         * locales/th_TH: Likewise.
19749         * locales/uk_UA: Likewise.
19751 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19753         [BZ #18265]
19754         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
19755         (wcsncat): Likewise.
19756         (wcscmp): Likewise.
19757         (wcsncmp): Likewise.
19759 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19761         * test-skeleton.c (usage): New function.
19762         (main): Call usage when opt is '?'.
19764 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19766         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
19767         before first use.
19769 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19771         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
19772         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
19773         in there too.
19775 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
19777         * version.h (RELEASE): Set to "development".
19778         (VERSION): Set to "2.22.90"
19780         * version.h (RELEASE): Set to "stable".
19781         (VERSION): Set to "2.22"
19782         * include/features.h (__GLIBC_MINOR__): Set to 22.
19784 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19786         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19787         Restructure macro to avoid "value computed is not used" warning.
19788         (atomic_compare_and_exchange_val_acq): Likewise.
19790 2015-08-04  Andreas Schwab  <schwab@suse.de>
19792         [BZ #18635]
19793         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19794         ret.
19795         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19797 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19799         * po/pl.po: Updated translation.
19800         * po/uk.po: Likewise.
19801         * po/fi.po: Likewise.
19802         * po/ko.po: Likewise.
19803         * po/ru.po: Likewise.
19804         * po/vi.po: Likewise.
19806 2015-07-31  Zack Weinberg  <zackw@panix.com>
19808         [BZ #18681]
19809         * regexp.h: Add unconditional #warning stating that this header
19810         will be removed soon.  Revise banner comment to match.
19811         (compile): Consistently use ERROR instead of RETURN to report
19812         errors (partial fix for bz#18681).
19813         * regexp.c: Don't include regexp.h. Remove some unnecessary
19814         declarations.
19816 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19818         * po/libc.pot: Regenerated.
19820 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19822         [BZ #18740]
19823         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19824         float-vlen4-arch-ext-cflags): Removed.
19825         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19826         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19828 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19830         [BZ #14113]
19831         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19832         aligned to __aligned__.
19833         (pthread_cond_t, pthread_rwlock_t): Likewise.
19835 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19837         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19839 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19841         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19842         (struct sigaction): Change sa_flags from a long to an int, and add
19843         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19845 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19847         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19848         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19849         sysdeps/generic/sysdep.h include.
19850         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19851         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19852         sysdeps/hppa/sysdep.h.
19853         (ENTRY, PSEUDO): Undefine before defining.
19855 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19857         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19858         from scratch to use INTERNAL_SYSCALL.
19860 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19862         [BZ #18078]
19863         * scripts/check-localplt.awk: Support alternate relocations.
19864         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19865         sections.
19866         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19867         malloc entries with + REL R_386_GLOB_DAT.
19868         * sysdeps/x86_64/localplt.data: New file.
19870 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19872         [BZ #18731]
19873         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19874         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19875         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19877 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19879         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19881 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19883         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19884         directly in terms of __sync_fetch_and_add and delete (int) cast.
19886 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19888         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19889         the -D_ASM_IA64_CURRENT_H flag.
19891 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19893         [BZ #18641]
19894         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19896 2015-07-27  Andreas Schwab  <schwab@suse.de>
19898         * conform/conformtest.pl (checknamespace): Filter out string
19899         literals while tokenizing.
19901 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19903         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19904         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19905         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19907 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19909         * nptl/tst-join7mod.c: Add #include <string.h>.
19911 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19913         * sysdeps/nios2/libm-test-ulps: Update.
19915 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19917         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19918         Fix order of arguments to the rt_sigprocmask syscall.
19919         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19920         Likewise.
19922 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19924         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19926 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19928         [BZ #18457]
19929         * nptl/Makefile (tests): New test case tst-join7.
19930         (modules-names): New test case module tst-join7mod.
19931         * nptl/tst-join7.c: New file.
19932         * nptl/tst-join7mod.c: New file.
19933         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19934         all translation units in libc.so, libpthread.so and rtld.
19936 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19940 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19942         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19943         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19944         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19945         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19946         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19947         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19948         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19949         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19950         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19951         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19952         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19953         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19954         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19955         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19956         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19957         implementation.
19959 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19961         [BZ #17711]
19962         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19963         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19964         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19965         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19966         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19967         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19969 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19971         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19972         instead of just saying load lock in the comments.
19974 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19976         * sysdeps/unix/Subdirs: Moved ...
19977         * sysdeps/posix/Subdirs: ... here.
19978         * login/pty.h (struct termios, struct winsize): Add forward decls.
19979         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19980         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19981         * sysdeps/arm/nacl/libc.abilist: Updated.
19982         * sysdeps/nacl/libutil.abilist: New file.
19984         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19985         (SIGWINCH): New macro.
19987         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19988         * sysdeps/arm/nacl/libc.abilist: Add it.
19990 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19992         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19994 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19996         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19997         Swap __glibc_reserved0 and sa_flags order.
19999 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20001         [BZ #18657]
20002         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20003         are pending TLS destructor calls.
20004         * include/link.h (struct link_map): Add concurrency note for
20005         L_TLS_DTOR_COUNT.
20006         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20007         Don't touch the link map flag.  Atomically increment
20008         l_tls_dtor_count.
20009         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20010         Avoid taking the load lock and don't touch the link map flag.
20011         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20012         * stdlib/Makefile (tests): Use it.
20013         * stdlib/tst-tls-atexit.c (do_test): dlopen
20014         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20015         to allow tst-tls-atexit-nodelete test case to use it.
20017 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20019         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20020         to bits/types.h.
20021         (msgqnum_t): New typedef.
20022         (msglen_t): Likewise.
20023         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20024         and msg_qbytes type to msglen_t.
20026 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20028         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20029         pad0 to __glibc_reserved0.
20030         (struct stat64): Likewise.
20032 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20034         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20035         Change sa_flags from a long to an int and add __glibc_reserved0 before
20036         it for padding.
20038 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20040         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20041         anonymous by deleting "siginfo" name.
20043 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20045         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20046         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20047         rather than __nacl_irt_filename.
20048         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20050         * NEWS: New item for arm-nacl port.
20051         * sysdeps/arm/nacl/libc.abilist: New file.
20052         * sysdeps/nacl/ld.abilist: New file.
20053         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20054         * sysdeps/nacl/libanl.abilist: New file.
20055         * sysdeps/nacl/libcrypt.abilist: New file.
20056         * sysdeps/nacl/libdl.abilist: New file.
20057         * sysdeps/nacl/libm.abilist: New file.
20058         * sysdeps/nacl/libpthread.abilist: New file.
20059         * sysdeps/nacl/libresolv.abilist: New file.
20060         * sysdeps/nacl/librt.abilist: New file.
20062 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20064         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20065         __startcontext to initialize the new context.
20066         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20067         up CFI directive to forbid further backtracing.
20069 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20071         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20072         reference.
20073         * charmaps/ANSI_X3.4-1968: Likewise.
20074         * charmaps/BS_4730: Likewise.
20075         * charmaps/BS_VIEWDATA: Likewise.
20076         * charmaps/CP1250: Likewise.
20077         * charmaps/CP1251: Likewise.
20078         * charmaps/CP1252: Likewise.
20079         * charmaps/CP1253: Likewise.
20080         * charmaps/CP1254: Likewise.
20081         * charmaps/CP1255: Likewise.
20082         * charmaps/CP1256: Likewise.
20083         * charmaps/CSN_369103: Likewise.
20084         * charmaps/EBCDIC-DK-NO: Likewise.
20085         * charmaps/GB_1988-80: Likewise.
20086         * charmaps/GREEK-CCITT: Likewise.
20087         * charmaps/GREEK7: Likewise.
20088         * charmaps/INIS-8: Likewise.
20089         * charmaps/ISIRI-3342: Likewise.
20090         * charmaps/ISO_2033-1983: Likewise.
20091         * charmaps/ISO_5427-EXT: Likewise.
20092         * locales/POSIX: Likewise.
20093         * locales/ar_SA: Likewise.
20094         * locales/be_BY: Likewise.
20095         * locales/be_BY@latin: Likewise.
20096         * locales/ca_ES: Likewise.
20097         * locales/cs_CZ: Likewise.
20098         * locales/da_DK: Likewise.
20099         * locales/de_BE: Likewise.
20100         * locales/de_CH: Likewise.
20101         * locales/de_LU: Likewise.
20102         * locales/en_AU: Likewise.
20103         * locales/en_BW: Likewise.
20104         * locales/en_CA: Likewise.
20105         * locales/en_DK: Likewise.
20106         * locales/en_GB: Likewise.
20107         * locales/en_IE: Likewise.
20108         * locales/en_NZ: Likewise.
20109         * locales/en_ZA: Likewise.
20110         * locales/en_ZW: Likewise.
20111         * locales/es_AR: Likewise.
20112         * locales/es_BO: Likewise.
20113         * locales/es_CL: Likewise.
20114         * locales/es_CO: Likewise.
20115         * locales/es_DO: Likewise.
20116         * locales/es_EC: Likewise.
20117         * locales/es_ES: Likewise.
20118         * locales/es_HN: Likewise.
20119         * locales/es_MX: Likewise.
20120         * locales/es_PA: Likewise.
20121         * locales/es_PE: Likewise.
20122         * locales/es_PY: Likewise.
20123         * locales/es_SV: Likewise.
20124         * locales/es_US: Likewise.
20125         * locales/es_UY: Likewise.
20126         * locales/es_VE: Likewise.
20127         * locales/et_EE: Likewise.
20128         * locales/fa_IR: Likewise.
20129         * locales/fo_FO: Likewise.
20130         * locales/fr_CA: Likewise.
20131         * locales/fr_CH: Likewise.
20132         * locales/gv_GB: Likewise.
20133         * locales/he_IL: Likewise.
20134         * locales/hr_HR: Likewise.
20135         * locales/id_ID: Likewise.
20136         * locales/is_IS: Likewise.
20137         * locales/it_CH: Likewise.
20138         * locales/iw_IL: Likewise.
20139         * locales/kl_GL: Likewise.
20140         * locales/ko_KR: Likewise.
20141         * locales/kw_GB: Likewise.
20142         * locales/lg_UG: Likewise.
20143         * locales/lt_LT: Likewise.
20144         * locales/lv_LV: Likewise.
20145         * locales/mi_NZ: Likewise.
20146         * locales/nhn_MX: Likewise.
20147         * locales/nl_BE: Likewise.
20148         * locales/pl_PL: Likewise.
20149         * locales/sk_SK: Likewise.
20150         * locales/sl_SI: Likewise.
20151         * locales/sv_FI: Likewise.
20152         * locales/tl_PH: Likewise.
20153         * locales/tr_TR: Likewise.
20154         * locales/vi_VN: Likewise.
20156 2015-07-21  Khem Raj  <raj.khem@gmail.com>
20158         [BZ #17475]
20159         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
20160         of tu_IN and bh_IN.
20162 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
20164         [BZ #18694]
20165         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
20166         bits/wordsize.h.
20167         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
20169 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20171         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
20172         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
20173         (spawn_thread): New function.
20174         (load): Rename to reg_dtor_and_close.  Move dlopen to...
20175         (do_test): ... here.  Use IS_LOADED to test for its
20176         availability.
20178 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
20180         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20182 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
20184         [BZ #18696]
20185         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
20186         si_addr_bnd.
20187         (si_lower): New.
20188         (si_upper): Likewise.
20190 2015-07-16  David S. Miller  <davem@davemloft.net>
20192         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
20194 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20196         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20197         buffer.
20198         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
20199         fail output information.
20201 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
20204         and strstr-ppc64..
20205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20206         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
20207         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
20208         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
20209         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
20211 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20213         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20214         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20215         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20216         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20218 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20220         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20221         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
20222         rtld_hidden_proto.
20223         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
20225 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20227         * tst-nodelete-opened.c (do_test): Add comment to clarify how
20228         the test can fail.
20230         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
20232         [BZ #18676]
20233         * elf/tst-nodelete-opened.c: New test case.
20234         * elf/tst-nodelete-opened-lib.c: New test case module.
20235         * elf/Makefile (tests, modules-names): Use them.
20236         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
20237         early.
20239 2015-07-15  David S. Miller  <davem@davemloft.net>
20241         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
20242         futex-intenal.h
20243         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
20244         * sysdeps/sparc/sparc64/Makefile: Likewise.
20245         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20246         Remove space from macro define.
20247         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
20249 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
20251         [BZ #17475]
20252         * locale/iso-639.def: Update Bhili and Tulu language codes as
20253         per iso639-3.
20255 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
20257         * elf/tst-leaks1.c (main): Converted to ...
20258         (do_test): ... this.
20259         (TEST_FUNCTION): New macro.
20260         Include test-skeleton.c.
20261         * localedata/tst-langinfo.c (main): Converted to ...
20262         (do_test): ... this.
20263         (TEST_FUNCTION): New macro.
20264         Include test-skeleton.c.
20265         * math/test-fpucw.c (main): Converted to ...
20266         (do_test): ... this.
20267         (TEST_FUNCTION): New macro.
20268         Include test-skeleton.c.
20269         * math/test-tgmath.c (main): Converted to ...
20270         (do_test): ... this.
20271         (TEST_FUNCTION): New macro.
20272         Include test-skeleton.c.
20273         * math/test-tgmath2.c (main): Converted to ...
20274         (do_test): ... this.
20275         (TEST_FUNCTION): New macro.
20276         Include test-skeleton.c.
20277         * setjmp/tst-setjmp.c (main): Converted to ...
20278         (do_test): ... this.
20279         (TEST_FUNCTION): New macro.
20280         Include test-skeleton.c.
20281         * stdio-common/tst-sscanf.c (main): Converted to ...
20282         (do_test): ... this.
20283         (TEST_FUNCTION): New macro.
20284         Include test-skeleton.c.
20285         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
20286         (do_test): ... this.
20287         (TEST_FUNCTION): New macro.
20288         Include test-skeleton.c.
20290         * elf/tst-audit9.c (main): Converted to ...
20291         (do_test): ... this.
20292         (TEST_FUNCTION): New macro.
20293         Include test-skeleton.c.
20295 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
20297         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
20299 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20301         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
20302         New variable.
20304 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20306         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20308 2015-07-14  Roland McGrath  <roland@hack.frob.com>
20310         * sysdeps/generic/dl-fileid.h: New file.
20311         * sysdeps/posix/dl-fileid.h: New file.
20312         * sysdeps/nacl/dl-fileid.h: New file.
20313         * include/link.h: Include <dl-fileid.h>.
20314         (struct link_map): Replace l_dev and l_ino with l_file_id.
20315         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20316         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20317         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20319 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20321         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20323 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20325         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20326         Add iff $CXX is set.
20327         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20328         Likewise.
20329         (tst-nodelete-zmodiff): Likewise.
20330         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20332 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20334         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20336 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20338         * sysdeps/aarch64/fpu/math_private.h
20339         (define math_opt_barrier): Add AArch64 version.
20340         (math_force_eval): Likewise.
20342 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20344         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20346 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
20348         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20349         %ld with %jd and cast to intmax_t.
20350         (do_test_length_zero): Likewise.
20352 2015-07-10  Roland McGrath  <roland@hack.frob.com>
20354         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20356 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
20358         * sysdeps/tile/libm-test-ulps: Regenerated.
20360         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20361         Comment out the whole function, not just its body.
20363 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20365         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20366         locks.
20368         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20370 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20372         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20373         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20375 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20377         * sysdeps/nptl/futex-internal.h: New file.
20378         * sysdeps/nacl/futex-internal.h: New file.
20379         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20380         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20381         error checking.
20382         (setxid_unmark_thread): Likewise.
20383         (__nptl_setxid): Likewise.
20384         (__wait_lookup_done): Likewise.
20385         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20386         * nptl/nptl-init.c (sighandler_setxid): Likewise.
20387         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20388         * nptl/pthread_once.c (clear_once_control): Likewise.
20389         (__pthread_once_slow): Likewise.
20390         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20391         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20392         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20393         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20394         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20395         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20396         Likewise.
20397         (__pthread_rwlock_rdlock): Likewise.
20398         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20399         Likewise.
20400         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20401         Likewise.
20402         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20403         Likewise.
20404         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20405         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20406         Likewise.
20407         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20408         __ASSUME_PRIVATE_FUTEX check.
20409         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20410         Check that shared futexes are supported.
20411         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20412         wrappers with error checking.
20413         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
20414         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
20415         * nptl/pthread_barrierattr_setpshared.c
20416         (pthread_barrierattr_setpshared): Check that shared futexes are
20417         supported.
20418         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
20419         Likewise.
20420         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
20421         Likewise.
20422         * nptl/sem_init.c (futex_private_if_supported): Remove.
20423         (__new_sem_init): Adapt and check that shared futexes are supported.
20424         * nptl/sem_open.c (sem_open): Likewise.
20425         * nptl/sem_post.c (futex_wake): Remove.
20426         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
20427         (do_futex_wait): Use futex wrappers with error checking.
20428         * nptl/sem_wait.c: Include lowlevellock.h.
20429         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
20430         Use futex_supports_pshared.
20431         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
20432         Use futex wrappers with error checking.
20433         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
20434         Likewise.
20435         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
20436         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
20437         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
20438         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
20439         (futex_wake): Likewise.
20440         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
20441         (do_futex_wait): Use futex wrappers with error checking.
20442         (__new_sem_wait_slow): Update EINTR handling.
20443         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
20445 2015-07-09  Martin Sebor  <msebor@redhat.com>
20447         [BZ #18435]
20448         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20449         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
20450         * nptl/Makefile (test-xfail-tst-once5): Define.
20452 2015-07-09  Roland McGrath  <roland@hack.frob.com>
20454         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
20455         * elf/dl-minimal.c: For readability, reorder some definitions and
20456         introduce more page breaks.  Include <stdio.h>.
20457         (__libc_fatal): New function.
20459         * include/unistd.h: Add rtld_hidden_proto for _exit.
20460         * posix/_exit.c: Add rtld_hidden_def.
20461         * sysdeps/mach/hurd/_exit.c: Likewise.
20462         * sysdeps/nacl/_exit.c: Likewise.
20463         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20464         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
20466 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
20468         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
20469         bndmov encoding with zero displacement.
20471 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20472             H.J. Lu  <hongjiu.lu@intel.com>
20474         [BZ #18134]
20475         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20476         * sysdeps/i386/configure: Regenerated.
20477         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20478         (_dl_runtime_profile): Save and restore Intel MPX return bound
20479         registers when calling _dl_call_pltexit.  Add
20480         PRESERVE_BND_REGS_PREFIX before return.
20481         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
20482         (LRV_BND1_OFFSET): Likewise.
20483         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
20484         lrv_bnd1.
20485         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
20486         typo in bndmov encoding.
20487         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
20488         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
20489         branch instructions to preserve bounds.
20491 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
20494         [GLIBC_2.22]: Add fmemopen.
20496 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20498         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
20499         returns an error, also try to use host port from __mach_host_self for
20500         the __vm_wire call.
20501         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
20503 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20505         [BZ #18400]
20506         [BZ #18648]
20507         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
20508         Fix pr_uid and pr_gid members.
20509         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
20510         definition to elf_greg_t.
20512 2015-07-08  Roland McGrath  <roland@hack.frob.com>
20514         [BZ #18383]
20515         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
20516         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
20517         * sysdeps/arm/configure: Regenerated.
20518         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
20519         (test-xfail-tst-tlsalign-static): Variable removed.
20521         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
20522         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
20523         rather than explicit 'ln -s'.
20525         * resolv/rpc/netdb.h: New file.
20526         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
20528 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20530         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
20531         length buffers.
20532         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20533         test-skeleton.c.
20535         [BZ #6544]
20536         [BZ #11216]
20537         [BZ #12836]
20538         [BZ #13151]
20539         [BZ #13152]
20540         [BZ #14292]
20541         * include/stdio.h (fmemopen): Remove hidden prototype.
20542         (__fmemopen): Add new hidden prototype.
20543         * libio/Makefile: Add oldfmemopen object.
20544         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
20545         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
20546         compliance.
20547         * libio/oldfmemopen.c: New file: old fmemopen implementation for
20548         symbol compatibility.
20549         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
20550         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
20551         fmemopen.
20552         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
20553         on append and read mode.
20554         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
20555         fmemopen.
20556         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
20557         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
20558         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
20559         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
20560         Likewise.
20561         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
20562         [GLIBC_2.22]: Likewise.
20563         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
20564         Likewise.
20565         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
20566         Likewise.
20567         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
20568         [GLIBC_2.22]: Likewise.
20569         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
20570         [GLIBC_2.22]: Likewise.
20571         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
20572         [GLIBC_2.22]: Likewise.
20573         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
20574         [GLIBC_2.22]: Likewise.
20575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
20576         [GLIBC_2.22]: Likewise.
20577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
20578         [GLIBC_2.22]: Likewise.
20579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
20580         [GLIBC_2.22]: Likewise.
20581         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
20582         Likewise.
20583         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
20584         Likewise.
20585         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
20586         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
20587         [GLIBC_2.22]: Likewise.
20588         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
20589         [GLIBC_2.22]: Likewise.
20590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
20591         [GLIBC_2.22]: Likewise.
20592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
20593         [GLIBC_2.22]: Likewise.
20594         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
20595         Likewise.
20596         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
20597         Likewise.
20598         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
20599         Likewise.
20600         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
20601         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
20603 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20605         [BZ #18643]
20606         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
20607         IPV6_PATHMTU, and IPV6_DONTFRAG.
20609 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
20611         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
20612         and _IO_UNBUFFERED.
20613         * libio/oldfileops.c: Likewise.
20614         * libio/wfileops.c: Likewise.
20616 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20618         * nscd/selinux.c: Delete selinux/flask.h include.
20620 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20622         [BZ #18641]
20623         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
20624         (putpwent): Likewise.
20625         (getpwnam): Likewise.
20626         (getpwent_r): Likewise.
20627         (getpwuid_r): Likewise.
20628         (getpwnam_r): Likewise.
20629         (fgetpwent_r): Likewise.
20631 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20633         [BZ #18557]
20634         * inet/rcmd.c (__validuser2_sa): Check user first to
20635         short-circuit host check.
20637 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
20638             Mikhail Ilin  <m.ilin@samsung.com>
20640         [BZ #17833]
20641         * elf/Makefile (tests): Add tst-nodelete.
20642         (modules-names): Add tst-nodelete-uniquemod.
20643         (tst-nodelete-uniquemod.so-no-z-defs): New.
20644         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
20645         (tst-nodelete-zmod.so-no-z-defs): Likewise.
20646         ($(objpfx)tst-nodelete): Likewise.
20647         ($(objpfx)tst-nodelete.out): Likewise.
20648         (LDFLAGS-tst-nodelete): Likewise.
20649         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
20650         * elf/dl-close.c (_dl_close_worker): Add a parameter to
20651         implement forced object deletion.
20652         (_dl_close): Pass false to _dl_close_worker.
20653         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
20654         * elf/tst-nodelete.cc: New file.
20655         * elf/tst-nodeletelib.cc: Likewise.
20656         * elf/tst-znodeletelib.cc: Likewise.
20657         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
20659 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20661         [BZ #18508]
20662         * stdlib/Makefile ($(objpfx)tst-makecontext3):
20663         Depend on $(libdl).
20664         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
20665         is not called infinitely times.
20666         (backtrace_helper): New function.
20667         (trace_arg): New struct.
20668         (st1): Enlarge stack size.
20669         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20670         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
20671         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20672         Likewise.
20674 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20676         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20678 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20680         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
20681         Include sys/types.h instead of bits/types.h.
20682         Remove inclusion of bits/wordsize.h.
20684 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20686         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
20687         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
20688         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
20689         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
20690         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
20691         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
20693 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20695         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
20696         link-defines.sym.
20697         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
20698         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
20699         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
20700         and LR_SIZE.
20701         * sysdeps/i386/link-defines.sym: New file.
20703 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20705         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
20706         (modules-names): Add tst-auditmod3a tst-auditmod3b.
20707         ($(objpfx)tst-audit3): New rule.
20708         ($(objpfx)tst-audit3.out): Likewise.
20709         * sysdeps/i386/tst-audit3.c: New file.
20710         * sysdeps/i386/tst-audit3.h: Likewise.
20711         * sysdeps/i386/tst-auditmod3a.c: Likewise.
20712         * sysdeps/i386/tst-auditmod3b.c: Likewise.
20714 2015-07-07  Torvald Riegel  <triegel@redhat.com>
20716         [BZ #18633]
20717         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
20718         pointer in C code.
20719         (__strcat_c): Likewise.
20720         (__strcat_g): Likewise.
20722 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
20724         [BZ #18592]
20725         * misc/sbrk.c: Set errno to ENOMEM on overflow.
20727 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20729         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
20730         New function.  (__ieee754_sqrtf): New function.
20731         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
20732         New function.
20733         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
20734         New function.
20736 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20738         * sysdeps/ieee754/support.c: Remove unused file.
20740 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20742         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
20743         registers instead of d ones so the layout is kernel abi compatible.
20744         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
20745         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
20746         Likewise.
20748 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20750         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20752 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20754         [BZ #18619]
20755         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
20756         and return argument in case of subnormal argument.
20758 2015-07-01  Martin Sebor  <msebor@redhat.com>
20760         [BZ #18435]
20761         * nptl/Makefile: Add tst-once5.cc.
20762         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20763         Remove macro redefinitions.
20764         * nptl/tst-once5.cc: New test.
20766 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20768         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20770         * sysdeps/arm/libm-test-ulps: Regenerated.
20772         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20773         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20775 2015-06-30  Torvald Riegel  <triegel@redhat.com>
20777         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
20778         lll_lock_wait_private and lll_futex_wake probes.
20780         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20781         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20782         Likewise.
20783         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20784         atomic_spin_nop.
20785         * sysdeps/x86_64/bits/atomic.h: Likewise.
20786         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20787         to atomic_spin_nop and move ...
20788         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20789         ... here and ...
20790         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20791         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20792         atomic_spin_nop instead of BUSY_WAIT_NOP.
20793         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20794         Likewise.
20795         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20796         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20797         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20798         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20799         instead of atomic_delay.
20801 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20803         [BZ #18613]
20804         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20805         X_ADJ not X when adjusting exponent.
20806         (__ieee754_gamma_r): Do intermediate computations in
20807         round-to-nearest then adjust overflowing and underflowing results
20808         as needed.
20809         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20810         of X_ADJ not X when adjusting exponent.
20811         (__ieee754_gammaf_r): Do intermediate computations in
20812         round-to-nearest then adjust overflowing and underflowing results
20813         as needed.
20814         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20815         log of X_ADJ not X when adjusting exponent.
20816         (__ieee754_gammal_r): Do intermediate computations in
20817         round-to-nearest then adjust overflowing and underflowing results
20818         as needed.  Use 1.0L not 1.0f as numerator of division.
20819         * sysdeps/ieee754/ldbl-128ibm/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-96/e_gammal_r.c (gammal_positive): Take log
20825         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         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20830         to auto-libm-test-in.
20831         (tgamma_test): Use ALL_RM_TEST.
20832         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20833         tests of tgamma with spurious-overflow.
20834         * math/auto-libm-test-out: Regenerated.
20835         * math/gen-libm-have-vector-test.sh: Do not check for START.
20836         * sysdeps/i386/fpu/libm-test-ulps: Update.
20837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20839         [BZ #18612]
20840         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20841         arguments, just return 0.5 times the argument, with underflow
20842         forced as needed.
20843         * math/auto-libm-test-in: Add more tests of j1.
20844         * math/auto-libm-test-out: Regenerated.
20846         [BZ #16559]
20847         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20848         (__ieee754_j1): Force underflow exception for small results.
20849         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20850         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20851         (__ieee754_j1f): Force underflow exception for small results.
20852         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20853         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20854         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20855         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20856         (__ieee754_j1l): Force underflow exception for small results.
20857         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20858         * math/auto-libm-test-in: Add more tests of j1 and jn.
20859         * math/auto-libm-test-out: Regenerated.
20861         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20862         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20863         (PF_MPLS): Likewise.
20864         (AF_IB): Likewise.
20865         (AF_MPLS): Likewise.
20866         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20867         value and macro.
20868         (MS_RMT_MASK): Include MS_LAZYTIME.
20870 2015-06-26  Mel Gorman  <mgorman@suse.de>
20872         [BZ #18502]
20873         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20874         already minimal.
20876 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20878         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20879         (DT_MIPS_NUM): Update.
20880         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20881         DT_MIPS_RLD_MAP_REL.
20883 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20885         [BZ #16559]
20886         [BZ #18602]
20887         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20888         round-to-nearest internally then recompute results that
20889         underflowed to zero in the original rounding mode.
20890         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20891         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20892         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20894         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20895         * sysdeps/i386/fpu/libm-test-ulps: Update.
20896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20898 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20900         * NEWS: Fixed description of link with vector math library.
20902 2015-06-25  Andreas Schwab  <schwab@suse.de>
20904         [BZ #18549]
20905         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20906         * libio/test-fmemopen.c (do_test): Add test for it.
20908 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20910         [BZ #17841]
20911         * Makeconfig (no-pie-ldflag): New.
20912         (+link): Set to $(+link-pie) if default to PIE.
20913         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20914         * config.make.in (build-pie-default): New.
20915         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20916         is default.  AC_SUBST.
20917         * configure: Regenerated.
20918         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20920 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20922         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20923         to 'unsigned int'.
20925         * resolv/gai_misc.h (struct waitlist): Change type of field
20926         counterp to 'volatile unsigned int *'.
20927         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20928         FUTEXADDR and OLDVAL.
20929         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20930         Give local variable TOTAL type 'volatile unsigned int'.
20931         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20932         * resolv/gai_suspend.c (gai_suspend):
20933         Give local variable CNTR type 'unsigned int'.
20935         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20936         counterp to 'volatile unsigned int *'.
20937         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20938         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20939         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20940         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20941         Give local variable TOTAL type 'volatile unsigned int'.
20942         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20944 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20946         [BZ #18383]
20947         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20948         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20949         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20950         comment for i386/x86-64.
20951         (test-xfail-tst-tlsalign-extern-static): Removed.
20953 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20955         * math/test-double.h: New file.
20956         * math/test-float.h: Likewise.
20957         * math/test-ldouble.h: Likewise.
20958         * math/test-math-inline.h: Likewise.
20959         * math/test-math-no-inline.h: Likewise.
20960         * math/test-math-scalar.h: Likewise.
20961         * math/test-math-vector.h: Likewise.
20962         * math/test-vec-loop.h: Remove file.  Contents moved into
20963         test-math-vector.h.
20964         * math/libm-test.inc (MATHCONST): Do not document macro.
20965         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20966         and test-math-scalar.h.
20967         (FUNC): Remove macro.
20968         (FUNC_TEST): Likewise.
20969         (FLOAT): Likewise.
20970         (MATHCONST): Likewise.
20971         (PRINTF_EXPR): Likewise.
20972         (PRINTF_XEXPR): Likewise.
20973         (PRINTF_NEXPR): Likewise.
20974         (TEST_DOUBLE): Likewise.
20975         (TEST_MATHVEC): Likewise.
20976         (__NO_MATH_INLINES): Likewise.
20977         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20978         and test-math-scalar.h.
20979         (FUNC): Remove macro.
20980         (FUNC_TEST): Likewise.
20981         (FLOAT): Likewise.
20982         (MATHCONST): Likewise.
20983         (PRINTF_EXPR): Likewise.
20984         (PRINTF_XEXPR): Likewise.
20985         (PRINTF_NEXPR): Likewise.
20986         (TEST_FLOAT): Likewise.
20987         (TEST_MATHVEC): Likewise.
20988         (__NO_MATH_INLINES): Likewise.
20989         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20990         and test-math-scalar.h.
20991         (FUNC): Remove macro.
20992         (FUNC_TEST): Likewise.
20993         (FLOAT): Likewise.
20994         (MATHCONST): Likewise.
20995         (PRINTF_EXPR): Likewise.
20996         (PRINTF_XEXPR): Likewise.
20997         (PRINTF_NEXPR): Likewise.
20998         (TEST_DOUBLE): Likewise.
20999         (TEST_MATHVEC): Likewise.
21000         (TEST_INLINE): Likewise.
21001         (__NO_MATH_INLINES): Likewise.
21002         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21003         test-math-scalar.h.
21004         (FUNC): Remove macro.
21005         (FUNC_TEST): Likewise.
21006         (FLOAT): Likewise.
21007         (MATHCONST): Likewise.
21008         (PRINTF_EXPR): Likewise.
21009         (PRINTF_XEXPR): Likewise.
21010         (PRINTF_NEXPR): Likewise.
21011         (TEST_FLOAT): Likewise.
21012         (TEST_MATHVEC): Likewise.
21013         (TEST_INLINE): Likewise.
21014         (__NO_MATH_INLINES): Likewise.
21015         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21016         and test-math-scalar.h.
21017         (FUNC): Remove macro.
21018         (FUNC_TEST): Likewise.
21019         (FLOAT): Likewise.
21020         (MATHCONST): Likewise.
21021         (PRINTF_EXPR): Likewise.
21022         (PRINTF_XEXPR): Likewise.
21023         (PRINTF_NEXPR): Likewise.
21024         (TEST_LDOUBLE): Likewise.
21025         (TEST_MATHVEC): Likewise.
21026         (TEST_INLINE): Likewise.
21027         (__NO_MATH_INLINES): Likewise.
21028         * math/test-ldouble.c: Include test-ldouble.h,
21029         test-math-no-inline.h and test-math-scalar.h.
21030         (FUNC): Remove macro.
21031         (FUNC_TEST): Likewise.
21032         (FLOAT): Likewise.
21033         (MATHCONST): Likewise.
21034         (PRINTF_EXPR): Likewise.
21035         (PRINTF_XEXPR): Likewise.
21036         (PRINTF_NEXPR): Likewise.
21037         (TEST_LDOUBLE): Likewise.
21038         (TEST_MATHVEC): Likewise.
21039         (__NO_MATH_INLINES): Likewise.
21040         * math/test-double-vlen2.h: Include test-double.h,
21041         test-math-no-inline.h and test-math-vector.h.
21042         (FLOAT): Remove macro.
21043         (FUNC): Likewise.
21044         (MATHCONST): Likewise.
21045         (PRINTF_EXPR): Likewise.
21046         (PRINTF_XEXPR): Likewise.
21047         (PRINTF_NEXPR): Likewise.
21048         (TEST_DOUBLE): Likewise.
21049         (TEST_MATHVEC): Likewise.
21050         (__NO_MATH_INLINES): Likewise.
21051         (CNCT): Likewise.
21052         (CONCAT): Likewise.
21053         (WRAPPER_NAME): Likewise.
21054         (WRAPPER_DECL): Likewise.
21055         (WRAPPER_DECL_ff): Likewise.
21056         (WRAPPER_DECL_fFF): Likewise.
21057         (VECTOR_WRAPPER): Likewise.
21058         (VECTOR_WRAPPER_ff): Likewise.
21059         (VECTOR_WRAPPER_fFF): Likewise.
21060         (VEC_LEN): New macro.
21061         * math/test-double-vlen4.h: Include test-double.h,
21062         test-math-no-inline.h and test-math-vector.h.
21063         (FLOAT): Remove macro.
21064         (FUNC): Likewise.
21065         (MATHCONST): Likewise.
21066         (PRINTF_EXPR): Likewise.
21067         (PRINTF_XEXPR): Likewise.
21068         (PRINTF_NEXPR): Likewise.
21069         (TEST_DOUBLE): Likewise.
21070         (TEST_MATHVEC): Likewise.
21071         (__NO_MATH_INLINES): Likewise.
21072         (CNCT): Likewise.
21073         (CONCAT): Likewise.
21074         (WRAPPER_NAME): Likewise.
21075         (WRAPPER_DECL): Likewise.
21076         (WRAPPER_DECL_ff): Likewise.
21077         (WRAPPER_DECL_fFF): Likewise.
21078         (VECTOR_WRAPPER): Likewise.
21079         (VECTOR_WRAPPER_ff): Likewise.
21080         (VECTOR_WRAPPER_fFF): Likewise.
21081         (VEC_LEN): New macro.
21082         * math/test-double-vlen8.h: Include test-double.h,
21083         test-math-no-inline.h and test-math-vector.h.
21084         (FLOAT): Remove macro.
21085         (FUNC): Likewise.
21086         (MATHCONST): Likewise.
21087         (PRINTF_EXPR): Likewise.
21088         (PRINTF_XEXPR): Likewise.
21089         (PRINTF_NEXPR): Likewise.
21090         (TEST_DOUBLE): Likewise.
21091         (TEST_MATHVEC): Likewise.
21092         (__NO_MATH_INLINES): Likewise.
21093         (CNCT): Likewise.
21094         (CONCAT): Likewise.
21095         (WRAPPER_NAME): Likewise.
21096         (WRAPPER_DECL): Likewise.
21097         (WRAPPER_DECL_ff): Likewise.
21098         (WRAPPER_DECL_fFF): Likewise.
21099         (VECTOR_WRAPPER): Likewise.
21100         (VECTOR_WRAPPER_ff): Likewise.
21101         (VECTOR_WRAPPER_fFF): Likewise.
21102         (VEC_LEN): New macro.
21103         * math/test-float-vlen4.h: Include test-float.h,
21104         test-math-no-inline.h and test-math-vector.h.
21105         (FLOAT): Remove macro.
21106         (FUNC): Likewise.
21107         (MATHCONST): Likewise.
21108         (PRINTF_EXPR): Likewise.
21109         (PRINTF_XEXPR): Likewise.
21110         (PRINTF_NEXPR): Likewise.
21111         (TEST_FLOAT): Likewise.
21112         (TEST_MATHVEC): Likewise.
21113         (__NO_MATH_INLINES): Likewise.
21114         (CNCT): Likewise.
21115         (CONCAT): Likewise.
21116         (WRAPPER_NAME): Likewise.
21117         (WRAPPER_DECL): Likewise.
21118         (WRAPPER_DECL_ff): Likewise.
21119         (WRAPPER_DECL_fFF): Likewise.
21120         (VECTOR_WRAPPER): Likewise.
21121         (VECTOR_WRAPPER_ff): Likewise.
21122         (VECTOR_WRAPPER_fFF): Likewise.
21123         (VEC_LEN): New macro.
21124         * math/test-float-vlen8.h: Include test-float.h,
21125         test-math-no-inline.h and test-math-vector.h.
21126         (FLOAT): Remove macro.
21127         (FUNC): Likewise.
21128         (MATHCONST): Likewise.
21129         (PRINTF_EXPR): Likewise.
21130         (PRINTF_XEXPR): Likewise.
21131         (PRINTF_NEXPR): Likewise.
21132         (TEST_FLOAT): Likewise.
21133         (TEST_MATHVEC): Likewise.
21134         (__NO_MATH_INLINES): Likewise.
21135         (CNCT): Likewise.
21136         (CONCAT): Likewise.
21137         (WRAPPER_NAME): Likewise.
21138         (WRAPPER_DECL): Likewise.
21139         (WRAPPER_DECL_ff): Likewise.
21140         (WRAPPER_DECL_fFF): Likewise.
21141         (VECTOR_WRAPPER): Likewise.
21142         (VECTOR_WRAPPER_ff): Likewise.
21143         (VECTOR_WRAPPER_fFF): Likewise.
21144         (VEC_LEN): New macro.
21145         * math/test-float-vlen16.h: Include test-float.h,
21146         test-math-no-inline.h and test-math-vector.h.
21147         (FLOAT): Remove macro.
21148         (FUNC): Likewise.
21149         (MATHCONST): Likewise.
21150         (PRINTF_EXPR): Likewise.
21151         (PRINTF_XEXPR): Likewise.
21152         (PRINTF_NEXPR): Likewise.
21153         (TEST_FLOAT): Likewise.
21154         (TEST_MATHVEC): Likewise.
21155         (__NO_MATH_INLINES): Likewise.
21156         (CNCT): Likewise.
21157         (CONCAT): Likewise.
21158         (WRAPPER_NAME): Likewise.
21159         (WRAPPER_DECL): Likewise.
21160         (WRAPPER_DECL_ff): Likewise.
21161         (WRAPPER_DECL_fFF): Likewise.
21162         (VECTOR_WRAPPER): Likewise.
21163         (VECTOR_WRAPPER_ff): Likewise.
21164         (VECTOR_WRAPPER_fFF): Likewise.
21165         (VEC_LEN): New macro.
21166         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
21167         test-vec-loop.h.
21168         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21169         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21170         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21171         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21172         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21173         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21174         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21176 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21178         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
21179         (__getlogin_r): ... this.
21181 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21183         [BZ #18594]
21184         * math/s_ccosh.c (__ccosh): Compare with least normal value
21185         instead of comparing class with FP_SUBNORMAL.
21186         * math/s_ccoshf.c (__ccoshf): Likewise.
21187         * math/s_ccoshl.c (__ccoshl): Likewise.
21188         * math/s_cexp.c (__cexp): Likewise.
21189         * math/s_cexpf.c (__cexpf): Likewise.
21190         * math/s_cexpl.c (__cexpl): Likewise.
21191         * math/s_csin.c (__csin): Likewise.
21192         * math/s_csinf.c (__csinf): Likewise.
21193         * math/s_csinh.c (__csinh): Likewise.
21194         * math/s_csinhf.c (__csinhf): Likewise.
21195         * math/s_csinhl.c (__csinhl): Likewise.
21196         * math/s_csinl.c (__csinl): Likewise.
21197         * math/s_ctan.c (__ctan): Likewise.
21198         * math/s_ctanf.c (__ctanf): Likewise.
21199         * math/s_ctanh.c (__ctanh): Likewise.
21200         * math/s_ctanhf.c (__ctanhf): Likewise.
21201         * math/s_ctanhl.c (__ctanhl): Likewise.
21202         * math/s_ctanl.c (__ctanl): Likewise.
21203         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
21204         csin, csinh, ctan and ctanh.
21205         * math/auto-libm-test-out: Regenerated.
21206         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
21207         * sysdeps/i386/fpu/libm-test-ulps: Update.
21208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21210 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21212         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
21213         return value is wrong, print the expected value too.
21215 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21217         [BZ #18585]
21218         * elf/readlib.c (is_gdb_python_file): New.
21219         (process_file): Don't issue errors on filenames with -gdb.py
21220         suffix.
21222 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21224         * math/auto-libm-test-in: Add more tests of csin and csinh.
21225         * math/auto-libm-test-out: Regenerated.
21226         * math/libm-test.inc (csin_test_data): Remove tests moved to
21227         auto-libm-test-in.
21228         (csinh_test_data): Likewise.
21230         [BZ #18593]
21231         * math/s_csin.c (__csin): Negate before rather than after possibly
21232         overflowing multiplication.
21233         * math/s_csinf.c (__csinf): Likewise.
21234         * math/s_csinh.c (__csinh): Likewise.
21235         * math/s_csinhf.c (__csinhf): Likewise.
21236         * math/s_csinhl.c (__csinhl): Likewise.
21237         * math/s_csinl.c (__csinl): Likewise.
21238         * math/auto-libm-test-in: Add some tests of csin and csinh.
21239         * math/auto-libm-test-out: Regenerated.
21240         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
21241         (csinh_test_data): Likewise.
21242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21244         [BZ #18586]
21245         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
21246         underflow exception for small results.
21248 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21251         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
21252         variable and included header.
21253         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
21254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
21255         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
21256         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
21257         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
21258         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
21259         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
21260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
21261         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21262         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
21263         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
21264         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
21265         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
21266         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
21267         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
21268         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
21270 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21272         [BZ #16526]
21273         [BZ #16538]
21274         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
21275         (__sin): Force underflow exception for arguments with small
21276         absolute value.
21277         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
21278         (__kernel_sinf): Force underflow exception for arguments with
21279         small absolute value.
21280         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
21281         (__kernel_sincosl): Force underflow exception for arguments with
21282         small absolute value.
21283         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
21284         (__kernel_sinl): Force underflow exception for arguments with
21285         small absolute value.
21286         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
21287         (__kernel_sincosl): Force underflow exception for arguments with
21288         small absolute value.
21289         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
21290         (__kernel_sinl): Force underflow exception for arguments with
21291         small absolute value.
21292         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
21293         (__kernel_sinl): Force underflow exception for arguments with
21294         small absolute value.
21295         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
21296         (__kernel_sinf): Force underflow exception for arguments with
21297         small absolute value.
21298         * math/auto-libm-test-in: Add more tests of sin and sincos.
21299         * math/auto-libm-test-out: Regenerated.
21301         [BZ #18245]
21302         [BZ #18583]
21303         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
21304         (__kernel_standard_l): Use feholdexcept and fesetenv around
21305         conversion to double instead of special-casing overflow and
21306         underflow.
21307         * math/libm-test.inc (fmod_test_data): Add more tests.
21308         (remainder_test_data): Likewise.
21309         (sqrt_test_data): Likewise.
21311 2015-06-23  Torvald Riegel  <triegel@redhat.com>
21313         [BZ #17403]
21314         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21315         atomic_read_barrier, atomic_write_barrier): Define.
21316         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21317         atomic_read_barrier, atomic_write_barrier): Define.
21319 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21321         * math/Makefile [$(PERL) != no]
21322         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21323         dependency on libm-test.stmp below the inclusion of Rules.
21325 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21327         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21328         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21329         and included header.
21330         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21332         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21333         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21334         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21335         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21336         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21338         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21339         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21340         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21341         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21342         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21343         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21344         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21345         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21346         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21347         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21348         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21350 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21352         [BZ #18371]
21353         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21354         intermediate but not final result might underflow.
21355         * math/s_csqrtf.c (__csqrtf): Likewise.
21356         * math/s_csqrtl.c (__csqrtl): Likewise.
21357         * math/auto-libm-test-in: Add more tests of csqrt.
21358         * math/auto-libm-test-out: Regenerated.
21359         * sysdeps/i386/fpu/libm-test-ulps: Update.
21361         [BZ #18219]
21362         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21363         threshold on absolute value of exponent for which scaling is used.
21364         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21365         * math/auto-libm-test-in: Add more tests of exp2.
21366         * math/auto-libm-test-out: Regenerated.
21368 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
21370         [BZ #17977]
21371         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21372         when initializing interface list, based on the bug analysis
21373         and the patch proposed by Eric Newton.
21374         * resolv/tst-res_hconf_reorder.c: New test.
21375         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21376         tst-res_hconf_reorder.
21377         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21378         and $(shared-thread-library).
21379         (tst-res_hconf_reorder-ENV): New variable.
21381         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21382         in comment.
21384 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
21386         [BZ #16353]
21387         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21388         (__expm1): Force underflow exception for arguments with small
21389         absolute value.
21390         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21391         (__expm1f): Force underflow exception for arguments with small
21392         absolute value.
21393         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21394         (__expm1): Force underflow exception for arguments with small
21395         absolute value.
21396         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21397         (__expm1f): Force underflow exception for arguments with small
21398         absolute value.
21399         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21400         Check for small arguments before calling __expm1.
21401         * math/auto-libm-test-in: Do not mark underflow exceptions as
21402         possibly missing for bug 16353.
21403         * math/auto-libm-test-out: Regenerated.
21405 2015-06-22  Andreas Schwab  <schwab@suse.de>
21407         [BZ #18513]
21408         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21409         PTR queries.
21411 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
21413         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
21415         * string/strcoll_l.c: Remove unused struct element idxnow.
21417 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
21419         [BZ #18569]
21420         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
21421         underflow and return argument in case of subnormal argument.
21422         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21423         Likewise.
21424         * math/auto-libm-test-in: Add more tests of expm1.
21425         * math/auto-libm-test-out: Regenerated.
21427         [BZ #16361]
21428         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21429         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21430         tiny results.
21431         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21432         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21433         tiny results.
21434         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
21435         mark underflow exceptions as possibly missing for bug 16361.
21436         * math/auto-libm-test-out: Regenerated.
21438 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
21440         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
21441         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
21442         Remove variable.
21443         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21444         (test-xfail-XOPEN2K8/utmpx.h/conform).
21446         * conform/conformtest.pl ($xerrors): New variable.
21447         (note_error): New function.
21448         (compiletest): New argument $xfail.  Use not_error.
21449         (runtest): Likewise.
21450         (top level): Handle xfail- lines.  Update calls to compiletest and
21451         runtest.  Handle xfail- and optional- in headers listed with
21452         allow-header.
21453         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
21454         (O_EXEC): Likewise.
21455         (O_SEARCH): Likewise.
21456         * conform/data/stropts.h-data (ioctl): Likewise.
21457         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
21458         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
21459         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
21460         (msghdr.msg_controllen): Likewise.
21461         (cmsghdr.cmsg_len): Likewise.
21462         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
21463         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
21464         variable.
21465         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21466         (test-xfail-XPG4/stropts.h/conform): Likewise.
21467         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21468         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21469         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21470         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21471         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21472         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21473         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21474         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21475         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21476         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21477         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21478         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21479         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21480         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21481         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21482         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21483         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21484         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21485         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21487 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21489         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
21490         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
21491         definitions for proper unfolding of __MATHDECL_VEC.
21493 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21495         * benchtests/bench-strcoll.c:
21496         Include string.h.
21497         (main): Remove unused variable res.
21499 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21501         * timezone/Makefile (%/UTC %/Universal):
21502         Generate test-result files for UTC and Universal.
21504 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21506         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21508 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
21510         [BZ #16350]
21511         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
21512         for arguments with small absolute value.
21513         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
21514         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
21515         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
21516         (__asinh): Force underflow exception for arguments with small
21517         absolute value.
21518         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
21519         (__asinhf): Force underflow exception for arguments with small
21520         absolute value.
21521         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
21522         (__asinhl): Force underflow exception for arguments with small
21523         absolute value.
21524         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
21525         (__asinhl): Force underflow exception for arguments with small
21526         absolute value.
21527         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
21528         (__asinhl): Force underflow exception for arguments with small
21529         absolute value.
21530         * math/auto-libm-test-in: Do not mark underflow exceptions as
21531         possibly missing for bug 16350.
21532         * math/auto-libm-test-out: Regenerated.
21534         * include/bits/ipc.h: Remove file.
21535         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
21536         variable.
21537         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21538         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21539         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21540         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21541         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21542         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21543         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21544         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21545         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21547         * math/auto-libm-test-in: Remove spurious underflow allowance for
21548         tests of cexp.
21549         * math/auto-libm-test-out: Regenerated.
21551         [BZ #18558]
21552         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
21553         unconditional definition.
21554         (MCAST_BLOCK_SOURCE): Likewise.
21555         (MCAST_UNBLOCK_SOURCE): Likewise.
21556         (MCAST_LEAVE_GROUP): Likewise.
21557         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21558         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21559         (MCAST_MSFILTER): Likewise.
21560         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
21561         Remove variable.
21562         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21563         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21564         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21565         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21566         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21568 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
21570         * NEWS: Mention addition of x86_64 vector sincosf.
21571         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
21572         * math/test-float-vlen4.h: Likewise.
21573         * math/test-float-vlen8.h: Likewise.
21574         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21575         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
21576         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21577         * sysdeps/x86_64/fpu/Versions: New versions added.
21578         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21579         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21580         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21581         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
21582         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21583         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
21584         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21585         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
21586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21587         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
21588         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
21589         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
21590         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
21591         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
21592         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
21593         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
21594         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
21595         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21596         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21597         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21598         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21599         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21600         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21601         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21603         * NEWS: Mention addition of x86_64 vector sincos.
21604         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
21605         * math/math.h (__MATHDECL_VEC): New macro.
21606         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
21607         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
21608         declaration under condition.
21609         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
21610         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
21611         TEST_VEC_LOOP change.
21612         * math/test-double-vlen4.h: Likewise.
21613         * math/test-double-vlen8.h: Likewise.
21614         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
21615         * math/test-float-vlen4.h: Likewise.
21616         * math/test-float-vlen8.h: Likewise.
21617         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21618         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
21619         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21620         * sysdeps/x86_64/fpu/Versions: New versions added.
21621         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21622         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21623         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21624         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
21625         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
21626         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
21627         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
21628         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
21629         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
21630         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
21631         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
21632         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
21633         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
21634         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
21635         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
21636         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
21637         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
21638         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21639         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21640         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21641         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21642         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21643         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21644         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21646         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21647         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21648         redirections for powf.
21649         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21650         * sysdeps/x86_64/fpu/Versions: New versions added.
21651         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21652         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21653         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21654         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
21655         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
21656         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
21657         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
21658         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
21659         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
21660         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
21661         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
21662         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
21663         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
21664         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
21665         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
21666         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
21667         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
21668         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21669         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21670         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21671         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21672         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21673         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21674         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21675         * math/test-float-vlen16.h: Fixed 2 argument macro.
21676         * math/test-float-vlen4.h: Likewise.
21677         * math/test-float-vlen8.h: Likewise.
21678         * NEWS: Mention addition of x86_64 vector powf.
21680 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
21682         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21683         and redefine.
21684         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21685         and redefine.
21686         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
21687         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21688         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21690         [BZ #18553]
21691         * resource/getpriority.c (getpriority): Rename to __getpriority
21692         and define as weak alias of __getpriority.
21693         * resource/setpriority.c (setpriority): Rename to __setpriority
21694         and define as weak alias of __setpriority.
21695         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
21696         __getpriority and define as weak alias of __getpriority.
21697         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
21698         __setpriority and define as weak alias of __setpriority.
21699         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
21700         strong name.
21701         (setpriority): Use __setpriority as strong name.
21702         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
21703         __getpriority and define as weak alias of __getpriority.
21704         * include/sys/resource.h (__getpriority): Declare.  Use
21705         libc_hidden_proto.
21706         (__setpriority): Likewise.
21707         (getpriority): Don't use libc_hidden_proto.
21708         (setpriority): Likewise.
21709         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
21710         getpriority.  Call __setpriority instead of setpriority.
21711         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
21712         Remove variable.
21714         [BZ #18547]
21715         * misc/getttyent.c (getttynam): Rename to __getttynam and define
21716         as weak alias of __getttynam.  Use prototype function definition.
21717         Call __setttyent, __getttyent and __endttyent instead of
21718         setttyent, getttyent and endttyent.
21719         (getttyent): Rename to __getttyent and define as weak alias of
21720         __getttyent.  Call __setttyent instead of setttyent.  Call
21721         __fgets_unlocked instead of fgets_unlocked.
21722         (setttyent): Rename to __setttyent and define as weak alias of
21723         __setttyent.
21724         (endttyent): Rename to __endttyent and define as weak alias of
21725         __endttyent.
21726         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
21727         (__setttyent): Likewise.
21728         (__endttyent): Likewise.
21729         (getttyent): Don't use libc_hidden_proto.
21730         (setttyent): Likewise.
21731         (endttyent): Likewise.
21732         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
21733         __endttyent instead of setttyent, getttyent and endttyent.
21734         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
21735         Remove variable.
21737         [BZ #18546]
21738         * socket/recv.c (__recv): Use libc_hidden_def.
21739         * socket/socket.c (__socket): Likewise.
21740         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21741         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21742         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
21743         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
21744         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
21745         libc_hidden_def.
21746         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
21747         libc_hidden_weak.
21748         * include/sys/socket.h (__socket): Do not use attribute_hidden.
21749         Use libc_hidden_proto.
21750         (__recv): Likewise.
21751         * socket/Versions (libc): Export __recv and __socket at version
21752         GLIBC_PRIVATE.
21753         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
21754         instead of recv.
21755         (init_mq_netlink): Call __socket instead of socket.
21756         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
21757         Remove variable.
21759         [BZ #18545]
21760         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
21761         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
21762         hidden_weak.
21763         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
21764         define as alias of __mq_timedsend.  Use hidden_weak.
21765         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
21766         __mq_timedsend as strong name.
21767         (mq_timedreceive): Use __mq_timedreceive as strong name.
21768         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
21769         (__mq_timedreceive): Likewise.
21770         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
21771         __mq_timedreceive instead of mq_timedreceive.
21772         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
21773         instead of mq_timedsend.
21774         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
21775         Remove variable.
21777         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
21778         hidden_def and hidden_weak instead of libc_hidden_def and
21779         libc_hidden_weak.
21780         (top level): Refer to hidden_def in comment.
21781         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21782         macro.  Use it instead of libc_hidden_def.
21783         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21784         specify __GI_* name explicitly.
21785         (mq_timedreceive): Likewise.
21786         (mq_setattr): Likewise.
21788         [BZ #18544]
21789         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21790         __pthread_barrier_init and define as weak alias of
21791         __pthread_barrier_init.
21792         * sysdeps/sparc/nptl/pthread_barrier_init.c
21793         (pthread_barrier_init): Likewise.
21794         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21795         __pthread_barrier_wait and define as weak alias of
21796         __pthread_barrier_wait.
21797         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21798         (pthread_barrier_wait): Likewise.
21799         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21800         (pthread_barrier_wait): Likewise.
21801         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21802         (pthread_barrier_wait): Likewise.
21803         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21804         (pthread_barrier_wait): Likewise.
21805         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21806         __pthread_barrier_wait at version GLIBC_PRIVATE.
21807         * include/pthread.h (__pthread_barrier_init): Declare.
21808         (__pthread_barrier_wait): Likewise.
21809         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21810         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21811         (helper_thread): Likewise.
21812         (init_mq_netlink): Call __pthread_barrier_init instead of
21813         pthread_barrier_init.
21815         [BZ #18542]
21816         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21817         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21818         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21819         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21820         vswscanf.
21821         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21822         Remove variable.
21824         [BZ #18540]
21825         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21826         strong alias of _IO_fflush.  Use libc_hidden_def.
21827         * libio/iofflush_u.c (fflush_unlocked): Rename to
21828         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21829         Use libc_hidden_weak.
21830         * include/stdio.h (__fflush_unlocked): Declare.  Use
21831         libc_hidden_proto.
21832         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21833         fflush_unlocked.
21834         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21835         Remove variable.
21837         [BZ #18539]
21838         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21839         define as weak alias of __addseverity.
21840         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21841         Remove variable.
21842         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21843         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21844         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21846         [BZ #18536]
21847         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21848         (__tfind): Likewise.
21849         (__tdelete): Likewise.
21850         (__twalk): Likewise.
21851         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21852         __twalk to GLIBC_PRIVATE.
21853         * include/search.h (__tsearch): Use libc_hidden_proto.
21854         (__tfind): Likewise.
21855         (__tdelete): Likewise.
21856         (__twalk): Likewise.
21857         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21858         Call __tdelete instead of tdelete.
21859         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21860         tfind.  Call __tsearch instead of tsearch.
21861         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21862         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21863         Remove variable.
21864         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21866         [BZ #18534]
21867         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21868         (dprintf): Define as a weak alias of __dprintf, not a strong
21869         alias.
21870         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21871         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21872         dprintf.
21873         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21874         Remove variable.
21875         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21876         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21878         [BZ #18533]
21879         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21880         not a strong alias.
21881         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21882         Remove variable.
21884         [BZ #18532]
21885         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21886         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21887         (in6addr_loopback): Rename to __in6addr_loopback and define as
21888         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21889         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21890         libc_hidden_proto.
21891         (__in6addr_any): Likewise.
21892         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21893         in6addr_any.
21894         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21895         variable.
21896         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21898 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21900         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21901         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21902         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21903         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21904         redirections for pow.
21905         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21906         * sysdeps/x86_64/fpu/Versions: New versions added.
21907         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21908         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21909         build of SSE, AVX2 and AVX512 IFUNC versions.
21910         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21911         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21912         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21913         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21914         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21915         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21916         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21917         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21918         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21919         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21920         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21921         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21922         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21923         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21924         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21925         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21926         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21927         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21928         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21929         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21930         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21931         * NEWS: Mention addition of x86_64 vector pow.
21933         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21934         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21935         redirections for expf.
21936         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21937         * sysdeps/x86_64/fpu/Versions: New versions added.
21938         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21939         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21940         build of SSE, AVX2 and AVX512 IFUNC versions.
21941         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21942         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21943         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21944         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21945         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21946         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21947         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21948         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21949         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21950         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21951         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21952         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21953         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21954         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21955         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21956         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21957         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21958         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21959         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21960         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21961         * NEWS: Mention addition of x86_64 vector expf.
21963         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21964         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21965         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21966         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21967         redirections for exp.
21968         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21969         * sysdeps/x86_64/fpu/Versions: New versions added.
21970         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21971         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21972         build of SSE, AVX2 and AVX512 IFUNC versions.
21973         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21974         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21975         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21976         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21977         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21978         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21979         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21980         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21981         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21982         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21983         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21984         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21985         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21986         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21987         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21988         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21989         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21990         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21991         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21992         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21993         * NEWS: Mention addition of x86_64 vector exp.
21995         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21996         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21997         redirections for logf.
21998         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21999         * sysdeps/x86_64/fpu/Versions: New versions added.
22000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22001         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22002         build of SSE, AVX2 and AVX512 IFUNC versions.
22003         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22004         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22005         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22006         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22007         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22008         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22009         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22010         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22011         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22012         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22013         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22014         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22015         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22016         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22017         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22018         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22019         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22020         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22021         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22022         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22023         * NEWS: Mention addition of x86_64 vector logf.
22025         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22026         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22027         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22028         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22029         redirections for log.
22030         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22031         * sysdeps/x86_64/fpu/Versions: New versions added.
22032         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22033         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22034         build of SSE, AVX2 and AVX512 IFUNC versions.
22035         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22036         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22037         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22038         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22039         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22040         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22041         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22042         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22043         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22044         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22045         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22046         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22047         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22048         test.
22049         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22050         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22051         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22052         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22053         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22054         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22055         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22056         * NEWS: Mention addition of x86_64 vector log.
22058 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22060         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22061         cfi_adjust_cfa_offset argument.
22062         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22063         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22065         [BZ #18034]
22066         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22067         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22068         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22069         ordering using ldar.
22070         (_dl_tlsdesc_dynamic): Likewise.
22071         (_dl_tlsdesc_return_lazy): Likewise.
22072         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22073         relaxed atomics instead of volatile and synchronize with release store.
22074         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22075         volatile.
22076         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22078 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22080         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22081         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22082         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22083         * sysdeps/x86_64/fpu/Versions: New versions added.
22084         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22085         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22086         build of SSE, AVX2 and AVX512 IFUNC versions.
22087         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22088         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22089         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22090         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22091         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22092         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22093         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22094         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22095         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22096         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22097         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22098         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22099         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22100         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22101         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22102         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22103         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22104         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22105         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22106         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22107         * NEWS: Mention addition of x86_64 vector sinf.
22109 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22111         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22112         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22113         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22114         Remove variable.
22115         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22116         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22118 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22120         [BZ #18530]
22121         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22122         strong alias of _IO_fputs.  Use libc_hidden_def.
22123         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22124         and define as weak alias of __fputs_unlocked.  Use
22125         libc_hidden_weak.
22126         * include/stdio.h (__fputs_unlocked): Declare.  Use
22127         libc_hidden_proto.
22128         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22129         fputs_unlocked.
22131         [BZ #18529]
22132         * resolv/netdb.h [__USE_POSIX]: Change condition to
22133         [__USE_XOPEN2K].
22134         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
22135         not expect.
22136         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
22137         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
22138         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
22139         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
22140         [XPG4 || UNIX98] (AI_ALL): Likewise.
22141         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
22142         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
22143         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
22144         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
22145         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
22146         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
22147         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
22148         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
22149         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22150         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
22151         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
22152         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
22153         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
22154         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
22155         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
22156         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22157         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22158         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
22159         [XPG4 || UNIX98] (gai_strerror): Likewise.
22160         [XPG4 || UNIX98] (getaddrinfo): Likewise.
22161         [XPG4 || UNIX98] (getnameinfo): Likewise.
22163         [BZ #18528]
22164         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
22165         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
22166         __USE_XOPEN2K8].
22167         (getgrent): Likewise.
22168         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
22169         expect.
22170         [XPG3 || POSIX2008] (endgrent): Likewise.
22171         [XPG3] (setgrent): Likewise.
22172         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
22173         variable.
22174         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22176         [BZ #18527]
22177         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
22178         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
22179         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
22180         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
22181         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22182         * include/unistd.h (__getlogin_r): Declare.  Use
22183         libc_hidden_proto.
22184         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
22185         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
22186         variable.
22187         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22188         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22189         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22191 2015-06-12  Martin Sebor  <msebor@redhat.com>
22193         [BZ #18512]
22194         * Makerules (check-install-supported): New target.
22195         (install): Add check-install-supported as a dependency.
22196         * manual/install.texi (Installing the C Library): Document
22197         that overriding prefix and exec_prefix is not supported.
22198         Mention DESTDIR.
22199         * INSTALL: Regenerate from the above.
22201 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22203         [BZ #18519]
22204         * posix/Versions (libc): Export __libc_pread at version
22205         GLIBC_PRIVATE.
22206         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
22207         instead of pread.
22208         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
22209         variable.
22211         [BZ #18522]
22212         * misc/efgcvt_r.c
22213         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
22214         (cvt_symbol): Use weak_alias instead of strong_alias.
22215         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
22216         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
22217         Remove variable.
22218         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22219         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22221         [BZ #18520]
22222         * inet/herrno.c (h_errno): Rename to __h_errno.
22223         (__libc_h_errno): Define as alias of __h_errno not h_errno.
22224         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
22225         to __h_errno instead of h_errno.
22226         * nptl/herrno.c (h_errno): Rename to __h_errno.
22227         (__h_errno_location): Refer to __h_errno not h_errno.
22228         * resolv/Versions (h_errno): Rename to __h_errno.
22229         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
22230         Remove variable.
22231         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22233 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
22235         * configure.ac: More strict check for AVX512 assembler support.
22236         * configure: Regenerated.
22238         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
22239         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
22240         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22241         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
22242         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22243         * sysdeps/x86_64/fpu/Versions: New versions added.
22244         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22245         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22246         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22247         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
22248         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
22249         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
22250         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
22251         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
22252         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
22253         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22254         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
22255         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
22256         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
22257         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
22258         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
22259         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
22260         test.
22261         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22262         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22263         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22264         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22265         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22266         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22267         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22268         * NEWS: Mention addition of x86_64 vector sin.
22270 2015-06-11  Florian Weimer  <fweimer@redhat.com>
22272         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
22273         comment.
22275 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22277         [BZ #18479]
22278         * nptl/pt-interp.c: New file.
22279         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
22280         Add pt-interp.
22281         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
22282         $(common-objpfx)runtime-linker.h.
22284 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
22286         * Makeconfig (+interp): Remove unused variable.
22287         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
22288         only.  Depend on $(common-objpfx)runtime-linker.h instead of
22289         $(elf-objpfx)runtime-linker.h.
22290         ($(elf-objpfx)runtime-linker.h): Rename to
22291         $(common-objpfx)runtime-linker.h and move ...
22292         * Makerules [$(build-shared) = yes]: ... here.
22293         * elf/interp.c: Include <runtime-linker.h> instead of
22294         <elf/runtime-linker.h>.
22296 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22298         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
22299         (__gettimeofday_syscall): Remove vsyscall fallback.
22300         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
22301         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
22302         Add syscall fallback function.
22303         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
22304         if vDSO is not present.
22305         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
22306         fallback function.
22307         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
22308         present.
22309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22310         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22312 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
22314         [BZ #18497]
22315         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22316         of wcscmp.
22317         (wcscmp): Define as weak alias of WCSCMP.
22318         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22319         wcscoll.
22320         (USE_HIDDEN_DEF): Define.
22321         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22322         __wcscoll.  Don't use libc_hidden_weak.
22323         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22324         wcscmp.
22325         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22326         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22327         __GI_wcscmp.
22328         (weak_alias): Undefine and redefine.
22329         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22330         __wcscmp and define as weak alias of __wcscmp.
22331         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22332         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22333         (__wcscoll): Likewise.
22334         (wcscmp): Don't use libc_hidden_proto.
22335         (wcscoll): Likewise.
22336         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22337         wcscoll.
22338         * posix/regexec.c (check_node_accept_bytes): Likewise.
22339         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22340         variable.
22341         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22342         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22344         [BZ #18507]
22345         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22346         __fstatvfs and define as weak alias of __fstatvfs.  Use
22347         libc_hidden_weak.
22348         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22349         and define as weak alias of __statvfs.  Use libc_hidden_weak.
22350         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22351         Define as alias of __fstatvfs, not fstatvfs.
22352         (fstatvfs64): Likewise.
22353         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22354         Define as alias of __statvfs, not statvfs.
22355         (statvfs64): Likewise.
22356         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22357         Remove variable.
22359 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22362         (HAVE_GETCPU_VSYSCALL): Define.
22363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22364         (HAVE_GETCPU_VSYSCALL): Likewise.
22365         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22366         * sysdeps/unix/sysv/linux/sched_getcpu.c
22367         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22368         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22369         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22370         prototype.
22371         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22372         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22373         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22375         Define.
22376         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22377         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22378         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22379         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22381 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
22383         * sysdeps/x86_64/fpu/Makefile: New file.
22384         * sysdeps/x86_64/fpu/Versions: New file.
22385         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22386         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22387         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22388         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22389         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22390         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22391         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22392         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22393         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22394         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22395         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22396         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22397         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22398         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22399         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22400         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22401         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22402         * sysdeps/x86_64/configure.ac: Options for libmvec build.
22403         * sysdeps/x86_64/configure: Regenerated.
22404         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22405         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22406         * manual/install.texi (Configuring and compiling): Document
22407         --disable-mathvec.
22408         * INSTALL: Regenerated.
22409         * NEWS: Mention addition of libmvec and x86_64 vector cos.
22411         * math/Makefile: Added rules for vector tests.
22412         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22413         declaration under condition.
22414         * math/test-double-vlen2.h: New file.
22415         * math/test-double-vlen4.h: New file.
22416         * math/test-double-vlen8.h: New file.
22417         * math/test-vec-loop.h: Added initialization macro.
22418         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
22419         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
22420         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
22421         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
22422         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
22423         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
22424         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
22425         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
22426         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
22427         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
22428         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
22430         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22431         * sysdeps/x86_64/fpu/Versions: New versions added.
22432         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
22433         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
22434         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
22435         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
22436         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
22437         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
22438         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
22439         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
22440         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
22441         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
22442         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
22443         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
22444         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
22445         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22446         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22447         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22448         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
22449         * NEWS: Mention addition of x86_64 vector cosf.
22451         * math/Makefile: Added CFLAGS for new tests.
22452         * math/test-float-vlen16.h: New file.
22453         * math/test-float-vlen4.h: New file.
22454         * math/test-float-vlen8.h: New file.
22455         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
22456         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
22457         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22458         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
22459         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
22460         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
22461         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
22462         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
22463         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
22464         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
22465         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
22467 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
22469         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
22470         * locale/programs/ld-ctype.c: Likewise.
22472 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
22474         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
22475         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
22476         bit_ZMM16_31_state): New macro.
22477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22478         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
22480 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
22482         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
22484 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
22486         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22488 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
22490         [BZ #18498]
22491         * libio/memstream.c (open_memstream): Rename to __open_memstream
22492         and define as weak alias of __open_memstream.
22493         * include/stdio.h (__open_memstream): Declare.  Use
22494         libc_hidden_proto.
22495         (open_memstream): Don't use libc_hidden_proto.
22496         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
22497         open_memstream.
22498         * posix/getopt.c (_getopt_internal_r): Likewise.
22499         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
22500         variable.
22501         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22502         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22503         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22505         [BZ #18496]
22506         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
22507         instead of wcrtomb.
22509         [BZ #18483]
22510         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
22511         [__USE_XOPEN2K8].  Remove redundant #endif.
22512         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
22513         Remove redundant #if.
22514         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
22515         Remove variable.
22516         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22517         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22519         [BZ #18495]
22520         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
22521         (__iswlower): Likewise.
22522         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
22523         (__iswlower): Likewise.
22524         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
22525         instead of towlower.
22526         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
22527         instead of iswlower.  Call __towupper instead of towupper.
22528         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
22529         instead of iswalnum.
22531 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22533         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
22534         errors to stderr.
22536 2015-06-05  Florian Weimer  <fweimer@redhat.com>
22538         [BZ #15661]
22539         [BZ #17322]
22540         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22541         Check for overflow properly.  Check for O_APPEND.  Ignore large
22542         file system block sizes.  Add comments about problems.
22543         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
22544         * manual/filesys.texi (Storage Allocation): New node.
22546 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22548         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
22549         cancellable syscalls.
22550         (SYS_ify): Add guard to no redefine it.
22551         (INLINE_SYSCALL): Likewise.
22552         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
22553         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
22554         SYSCALL_CANCEL instead.
22555         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
22556         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22557         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22558         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22559         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22560         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
22561         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
22562         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
22563         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22564         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22565         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
22566         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
22567         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
22568         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
22569         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
22570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22571         Likewise.
22572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22573         (__libc_pread64): Likewise.
22574         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
22575         (__libc_preadv): Likewise.
22576         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
22577         (__libc_readv64): Likewise.
22578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22579         (__libc_pwrite): Likewise.
22580         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22581         (__libc_pwrite64): Likewise.
22582         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
22583         (__libc_pwritev): Likewise.
22584         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
22585         (__libc_pwritev64): Likewise.
22586         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
22587         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22588         (sync_file_range): Likewise.
22589         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
22590         Likewise.
22591         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
22592         Likewise.
22593         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22594         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22595         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22596         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22597         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22598         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22599         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22600         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
22601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22602         Likewise.
22603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22604         (__libc_read64): Likewise.
22605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
22606         Likewise.
22607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
22608         Likewise.
22609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
22610         Likewise.
22611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
22612         Likewise.
22613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22614         (__libc_pread64): Likewise.
22615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
22616         Likewise.
22617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22618         (__libc_pwrite64): Likewise.
22619         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
22620         (sync_file_range): Likewise.
22621         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
22622         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22623         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22624         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
22625         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
22626         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22627         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22628         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
22629         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
22630         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22631         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22632         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22633         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22634         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22635         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
22636         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22637         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22638         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22639         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22640         Likewise.
22641         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
22642         Likewise.
22643         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
22644         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
22645         Likewise.
22646         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
22647         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
22648         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
22649         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
22650         Likewise.
22651         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
22652         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
22653         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
22654         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
22655         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
22657 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
22659         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
22660         Include dl-vdso.
22661         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
22662         Use VDSO routines for gettimeofday, clock_gettime if
22663         available.
22664         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
22665         Declare VDSO symbols.
22666         * sysdeps/unix/sysv/linux/arm/sysdep.h:
22667         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
22668         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22669         * sysdeps/unix/sysv/linux/arm/Versions: Add
22670         __vdso_clock_gettime.
22672 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22674         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
22675         be an inline implementation regardless of library is built within.
22676         (open_not_cancel_2): Likewise.
22677         (__read_nocancel): Likewise.
22678         (__write_nocancel): Likewise.
22679         (openat_not_cancel): Likewise.
22680         (openat_not_cancel_3): Likewise.
22681         (openat64_not_cancel): Likewise.
22682         (openat64_not_cancel_3): Likewise.
22683         (__close_nocancel): Likewise.
22684         (pause_not_cancel): Likewise.
22685         (nanosleep_not_cancel): Likewise.
22686         (sigsuspend_not_cancel): Likewise.
22688 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22690         [BZ #14958]
22691         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
22692         wake-up.
22693         (__pthread_rwlock_rdlock_slow): Likewise.
22694         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22695         Likewise.
22696         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22697         Likewise.
22698         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
22699         * nptl/tst-rwlock16.c: New file.
22700         * nptl/Makefile (tests): Add new test.
22702 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22704         [BZ #18324]
22705         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
22706         missing wake-up of readers.
22707         * nptl/tst-rwlock15.c: New file.
22708         * nptl/Makefile (tests): Add new test.
22710 2015-06-03  Roland McGrath  <roland@hack.frob.com>
22712         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
22713         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
22714         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
22715         and __nacl_supply_interface_rtld.
22716         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
22717         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
22718         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
22719         Add __nacl_supply_interface_rtld.
22720         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
22722 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22724         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
22725         isfinite.
22726         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22727         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
22729 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22731         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
22732         __signbit* with standard C99 macros.
22733         * math/e_exp10l.c: Likewise.
22734         * math/e_exp2l.c: Likewise.
22735         * math/e_scalb.c: Likewise.
22736         * math/e_scalbf.c: Likewise.
22737         * math/e_scalbl.c: Likewise.
22738         * math/s_ldexp.c: Likewise.
22739         * math/s_ldexpf.c: Likewise.
22740         * math/s_ldexpl.c: Likewise.
22741         * math/w_atan2.c: Likewise.
22742         * math/w_atan2f.c: Likewise.
22743         * math/w_atan2l.c: Likewise.
22744         * math/w_cosh.c: Likewise.
22745         * math/w_coshf.c: Likewise.
22746         * math/w_coshl.c: Likewise.
22747         * math/w_exp10.c: Likewise.
22748         * math/w_exp10f.c: Likewise.
22749         * math/w_exp10l.c: Likewise.
22750         * math/w_exp2.c: Likewise.
22751         * math/w_exp2f.c: Likewise.
22752         * math/w_exp2l.c: Likewise.
22753         * math/w_fmod.c: Likewise.
22754         * math/w_fmodf.c: Likewise.
22755         * math/w_fmodl.c: Likewise.
22756         * math/w_hypot.c: Likewise.
22757         * math/w_hypotf.c: Likewise.
22758         * math/w_hypotl.c: Likewise.
22759         * math/w_jnl.c: Likewise.
22760         * math/w_lgamma.c: Likewise.
22761         * math/w_lgamma_r.c: Likewise.
22762         * math/w_lgammaf.c: Likewise.
22763         * math/w_lgammaf_r.c: Likewise.
22764         * math/w_lgammal.c: Likewise.
22765         * math/w_lgammal_r.c: Likewise.
22766         * math/w_pow.c: Likewise.
22767         * math/w_powf.c: Likewise.
22768         * math/w_powl.c: Likewise.
22769         * math/w_remainder.c: Likewise.
22770         * math/w_remainderf.c: Likewise.
22771         * math/w_remainderl.c: Likewise.
22772         * math/w_scalb.c: Likewise.
22773         * math/w_scalbf.c: Likewise.
22774         * math/w_scalbl.c: Likewise.
22775         * math/w_scalbln.c: Likewise.
22776         * math/w_scalblnf.c: Likewise.
22777         * math/w_scalblnl.c: Likewise.
22778         * math/w_sinh.c: Likewise.
22779         * math/w_sinhf.c: Likewise.
22780         * math/w_sinhl.c: Likewise.
22781         * math/w_tgamma.c: Likewise.
22782         * math/w_tgammaf.c: Likewise.
22783         * math/w_tgammal.c: Likewise.
22784         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22785         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22786         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22787         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22788         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22789         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22790         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22791         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22792         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22793         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22794         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22795         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22796         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22797         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22798         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22799         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22800         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22801         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22802         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22803         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22804         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22805         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22806         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22807         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22808         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22809         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22810         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22811         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22812         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22813         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22814         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22815         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22816         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22817         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22818         * stdio-common/printf_fp.c: Likewise.
22819         * stdio-common/printf_fphex.c: Likewise.
22820         * stdio-common/printf_size.c: Likewise.
22822 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22824         [BZ #18470]
22825         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22826         strnlen.
22827         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22828         Remove variable.
22829         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22830         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22831         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22832         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22833         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22834         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22835         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22836         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22837         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22838         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22840         [BZ #18468]
22841         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22842         weak alias of __wmemchr.  Use libc_hidden_weak.
22843         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22844         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22845         instead of wmemchr.
22847 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22849         [BZ #18383]
22850         * elf/tst-tlsalign-extern.c: New file.
22851         * elf/tst-tlsalign-extern-static.c: New file.
22852         * elf/tst-tlsalign-vars.c: New file.
22853         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22854         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22855         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22856         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22857         (test-xfail-tst-tlsalign-extern-static): New variable.
22859 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22861         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22862         Use variable name _sc_err instead of err.
22863         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22864         instead of ret.
22865         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22866         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22867         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22868         (INLINE_SYSCALL): Likewise.
22870         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22871         * include/string.h (__strnlen): Use libc_hidden_proto.
22872         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22873         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22874         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22875         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22876         (libc_hidden_def): Undefine and redefine.
22877         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22878         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22879         __GI_strnlen.
22880         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22881         libc_hidden_def.
22882         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22884         [BZ #18469]
22885         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22886         weak alias of __towlower.  Use libc_hidden_weak.
22887         (towupper): Rename to __towupper and define as weak alias of
22888         __towupper.  Use libc_hidden_weak.
22889         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22890         (__towupper): Likewise.
22891         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22892         __towlower instead of towlower.
22894 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22896         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22897         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22899 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22901         * sysdeps/aarch64/libm-test-ulps: Update.
22903 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22905         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22906         Define.
22907         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22908         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22909         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22910         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22911         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22912         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22913         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22915 2015-06-01  Martin Sebor  <msebor@redhat.com>
22917         [BZ #18116]
22918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22919         (__setcontext): Use extended four-operand version of mtsf whenever
22920         possible.
22921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22922         (__novec_swapcontext): Likewise.
22924 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22926         * benchtests/scripts/compare_bench.py: New file.
22927         * benchtests/scripts/import_bench.py (mean): New function.
22928         (split_list): Likewise.
22929         (do_for_all_timings): Likewise.
22930         (compress_timings): Likewise.
22932         * benchtests/scripts/import_bench.py: New file.
22933         * benchtests/scripts/validate_benchout.py: Import import_bench
22934         instead of jsonschema.
22935         (validate_bench): Remove function.
22936         (main): Use import_bench.
22938 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22940         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22941         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22943 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22947 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22949         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22950         set THREAD_SELF->tid to a magic value and futex-wake it.
22951         Pass its address to the thread_exit system call.
22952         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22953         bit is clear.
22954         * sysdeps/nacl/lowlevellock.h: New file.
22955         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22957         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22958         Add TIMEOUT to current time, don't subtract it.
22960 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22962         [BZ #2981]
22963         [BZ #18422]
22964         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22965         ($(objpfx)tst-audit2.out): Also depend on
22966         $(objpfx)tst-auditmod9b.so.
22967         * elf/tst-audit2.c: Include <dlfcn.h>.
22968         (calloc_called): New.
22969         (calloc): Allow to be called more than once.
22970         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22972 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22974         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22975         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22977 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22979         * stdlib/monetary.h: Fix comment.
22981 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22983         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22984         Avoid using variables in #defines that might cause shadowing.
22985         (INTERNAL_VSYSCALL_CALL): Likewise.
22987 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22989         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22991         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22992         * nptl/lll_timedlock_wait.c: ... to this new file.
22993         * nptl/Makefile (libpthread-routines): Add it.
22994         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
22995         * nptl/lll_timedwait_tid.c: ... to this new file.
22996         * nptl/Makefile (libpthread-routines): Add it.
22997         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
22998         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
22999         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23000         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23001         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23002         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23003         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23004         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23005         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23006         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23008 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23010         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23011         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23012         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23013         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23014         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23016         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23018         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23019         * sysdeps/unix/sysv/linux/tile/sysdep.h
23020         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23021         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23022         using vDSO syscall macro.
23024 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23026         [BZ #17293]
23027         * uk_UA: Fix sorting order for Ukrainian locale
23029 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23031         * stdlib/monetary.h: Fix comment.
23033 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23035         [BZ #18234]
23036         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23037         st_mtim and st_ctim members.
23038         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23039         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23040         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23041         (struct stat64): Likewise.
23042         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23043         (struct stat64): Likewise.
23044         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23045         (struct stat64): Likewise.
23047 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23049         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23050         Define and include sysdep-vdso.h.
23051         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23052         Likewise.
23053         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23054         Likewise.
23055         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23056         Define with VDSO_SYMBOL and use PTR_MANGLE.
23057         (__vdso_clock_gettime): Likewise.
23058         (__vdso_clock_getres): Likewise.
23059         (_libc_vdso_platform_setup): Likewise.
23060         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23061         Likewise.
23062         (_libc_vdso_platform_setup): Likewise.
23063         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23064         Likewise.
23065         (__vdso_clock_gettime): Likewise.
23066         (__vdso_clock_getres): Likewise.
23067         (__vdso_get_tbfreq): Likewise.
23068         (__vdso_getcpu): Likewise.
23069         (__vdso_time): Likewise.
23070         (__vdso_sigtramp_rt64): Likewise.
23071         (__vdso_signtramp32): Likewise.
23072         (__vdso_sigtramp_rt32): Likewise.
23073         (_libc_vdso_platform_setup): Likewise.
23074         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23075         Likewise.
23076         (__vdso_clock_gettime): Likewise.
23077         (__vdso_clock_getres): Likewise.
23078         (_libc_vdso_platform_setup): Likewise.
23079         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23080         Likewise.
23081         (__vdso_clock_gettime): Likewise.
23082         (_libc_vdso_platform_setup): Likewise.
23083         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23084         Likewise.
23085         (__vdso_getcpu): Likewise.
23086         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23087         Use VDSO_SYMBOL macro to define.
23088         (__vdso_clock_gettime): Likewise.
23089         (__vdso_clock_getres): Likewise.
23090         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23091         Likewise.
23092         (__vdso_clock_gettime): Likewise.
23093         (__vdso_clock_getres): Likewise.
23094         (__vdso_get_tbfreq): Likewise.
23095         (__vdso_getcpu): Likewise.
23096         (__vdso_time): Likewise.
23097         (__vdso_sigtramp_rt64): Likewise.
23098         (__vdso_signtramp32): Likewise.
23099         (__vdso_sigtramp_rt32): Likewise.
23100         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23101         Likewise.
23102         (__vdso_clock_gettime): Likewise.
23103         (__vdso_clock_getres): Likewise.
23104         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23105         Likewise.
23106         (__vdso_clock_gettime): Likewise.
23107         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23108         Likewise.
23109         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23110         macro.
23111         (INTERNAL_VSYSCALL): Likewise.
23112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23113         Remove macro.
23114         (INTERNAL_VSYSCALL): Likewise.
23115         (INTERNAL_VSYSCALL_NCS): Likewise.
23116         (INTERNAL_VSYSCALL_CALL): New macro.
23117         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23119         Likewise.
23120         (INTERNAL_VSYSCALL): Likewise.
23121         (INTERNAL_VSYSCALL_NCS): Likewise.
23122         (INTERNAL_VSYSCALL_CALL): New macro.
23123         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23125         (INLINE_VSYSCALL): Remove macro.
23126         (INTERNAL_VSYSCALL): Remove macro.
23127         (INTERNAL_VSYSCALL_NCS): Remove macro.
23128         (INTERNAL_VSYSCALL_CALL): New macro.
23129         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
23130         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
23131         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23132         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
23133         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23135         (INLINE_VSYSCALL): Remove macro.
23136         (INTERNAL_VSYSCALL): Likewise.
23137         (INTERNAL_VSYSCALL_NCS): Likewise.
23138         (INTERNAL_VSYSCALL_CALL): New macro.
23139         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
23140         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
23141         PTR_DEMANGLE on vDSO pointer.
23142         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23143         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
23144         macro.
23145         (INTERNAL_SYSCALL): Likewise.
23146         (INTERNAL_VSYSCALL_NCS): Remove macro.
23147         (INTERNAL_VSYSCALL_CALL): New macro.
23148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
23149         Remove macro.
23150         (INTERNAL_VSYSCALL): Likewise.
23151         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
23152         sysdep-vdso.h instead of libc-vdso.h.
23153         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
23154         definition.
23155         (INLINE_VSYSCALL): Likewise.
23156         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
23157         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
23158         definition.
23159         (INLINE_VSYSCALL): Likewise.
23160         (INTERNAL_VSYSCALL): Likewise.
23161         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23162         * sysdeps/unix/sysv/linux/timespec_get.c
23163         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23164         (timespec_get): Use ANSI prototype.
23165         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
23166         and definition for Linux.
23168 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23170         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
23171         * include/libc-symbols.h: libmvec_hidden_* macro series added.
23173 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23175         [BZ #2981]
23176         [BZ #18410]
23177         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
23178         for missing DT_PLTRELSZ.
23180 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23182         Remove obsolete aliases that broke 'locale -a'
23183         [BZ #18412]
23184         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
23185         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
23186         breaking some applications that use 'locale -a' output.
23187         Change the encoding of this file from Latin-1 to ASCII to avoid
23188         other potential problems with people grepping this file.
23190 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23192         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
23193         -fasynchronous-unwind-tables.
23194         (CFLAGS-sendto.c): Likewise.
23195         (CFLAGS-sendmsg.c): Likewise.
23196         (CFLAGS-connect.c): Likewise.
23197         (CFLAGS-recvmsg.c): Likewise.
23198         (CFLAGS-recvfrom.c): Likewise.
23199         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
23200         (SOCKETCALL): New macro: non-cancellable socketcall.
23201         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
23202         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
23203         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
23204         * sysdeps/unix/sysv/linux/accept.c: New file.
23205         * sysdeps/unix/sysv/linux/bind.c: Likewise.
23206         * sysdeps/unix/sysv/linux/connect.c: Likewise.
23207         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
23208         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
23209         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
23210         * sysdeps/unix/sysv/linux/listen.c: Likewise.
23211         * sysdeps/unix/sysv/linux/recv.c: Likewise.
23212         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
23213         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
23214         * sysdeps/unix/sysv/linux/send.c: Likewise.
23215         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
23216         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
23217         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
23218         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
23219         * sysdeps/unix/sysv/linux/socket.c: Likewise.
23220         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
23221         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
23222         prototype.
23223         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
23224         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23225         instead of __internal_xxx function.
23226         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
23227         prototype.
23228         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
23229         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23230         instead of __internal_xxx function.
23231         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
23232         prototype.
23233         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
23234         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23235         instead of __internal_xxx function.
23236         * sysdeps/unix/sysv/linux/accept.S: Remove file.
23237         * sysdeps/unix/sysv/linux/bind.S: Likewise.
23238         * sysdeps/unix/sysv/linux/connect.S: Likewise.
23239         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
23240         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
23241         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
23242         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
23243         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
23244         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
23245         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
23246         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
23247         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23248         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
23249         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
23250         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
23251         * sysdeps/unix/sysv/linux/listen.S: Likewise.
23252         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
23253         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
23254         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
23255         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
23256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
23257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
23258         * sysdeps/unix/sysv/linux/recv.S: Likewise.
23259         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
23260         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
23261         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
23262         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23263         * sysdeps/unix/sysv/linux/send.S: Likewise.
23264         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
23265         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
23266         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
23267         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
23268         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
23269         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
23270         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
23271         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
23272         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
23273         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
23274         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
23275         socketcall is implemented in GLIBC.
23277 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23279         * soft-fp/fmadf4.c: Include <libc-internal.h>.
23280         (__fma): Ignore uninitialized warnings around packing.
23281         * soft-fp/fmasf4.c: Include <libc-internal.h>.
23282         (__fmaf): Ignore uninitialized warnings around packing.
23283         * soft-fp/fmatf4.c: Include <libc-internal.h>.
23284         (__fmal): Ignore uninitialized warnings around packing.
23286         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
23287         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23288         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
23289         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23291         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
23292         switch statement into default case.
23293         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
23295         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
23296         a conditional in forcing "inexact".
23297         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23298         Likewise.
23300 2015-05-22  Roland McGrath  <roland@hack.frob.com>
23302         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23303         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
23304         for each INTERNAL_SYSCALL use.
23306 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23308         [BZ #438]
23309         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23310         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23311         variable.
23313         [BZ #18444]
23314         * string/basename.c (basename): Rename to __basename and define as
23315         weak alias of __basename.  Use libc_hidden_weak.
23316         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23317         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23318         __basename instead of basename.
23319         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23320         Remove variable.
23321         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23323 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23325         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23326         (_IO_JUMPS_FILE_plus): New.
23327         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23328         _IO_CAST_FIELD_ACCESS.
23329         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23330         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23331         * libio/freopen.c (freopen): Likewise.
23332         * libio/freopen64.c (freopen64): Likewise.
23333         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23334         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23335         * libio/iofwide.c (_IO_fwide): Likewise.
23336         * libio/memstream.c (open_memstream): Likewise.
23337         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23338         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23339         * libio/oldiopopen.c (_IO_old_popen): Likewise.
23341 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
23343         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23344         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23345         NADJ.
23346         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23347         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23348         NADJ.
23349         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23350         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23351         NADJ.
23353         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23354         (p == 4) case.
23356         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23357         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23358         Remove variable.
23359         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23360         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23361         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23363 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23365         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23366         Adjust jump table label generation macros.
23368 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23370         * stdio-common/vfprintf.c (vfprintf): Move local variables
23371         args_malloced, specs, specs_malloced, and the code after
23372         do_positional to the printf_positional function.
23373         (printf_positional): New function.
23375 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23377         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23378         function.
23379         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23380         STEP4_TABLE, process_arg): Move macro definitions
23381         out of the vfprintf function.  (Cosmetic change only.)
23383 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
23385         * benchtests/Makefile (stdio-common-bench): Define.
23386         (benchset): Add stdio-common-bench.
23387         * sprintf-inputs: New file.
23388         * sprintf-source.c: New file.
23390 2015-05-21  Andreas Schwab  <schwab@suse.de>
23392         [BZ #13028]
23393         [BZ #17053]
23394         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23395         of struct __res_state.
23396         * resolv/res_send.c (__libc_res_nsend): Likewise.
23397         (get_nsaddr): New function.
23398         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23399         statp directly.
23401 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
23403         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23404         -D_POSIX_C_SOURCE=199506L.
23406         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23408         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23409         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23410         Do not mention otherwise.
23411         [POSIX] (_XOPEN_VERSION): Do not expect.
23412         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23413         [POSIX] (_POSIX2_C_BIND): Likewise.
23414         [POSIX] (_POSIX2_VERSION): Likewise.
23415         [POSIX] (_XOPEN_XPG2): Likewise.
23416         [POSIX] (_XOPEN_XPG3): Likewise.
23417         [POSIX] (_XOPEN_XPG4): Likewise.
23418         [POSIX] (_XOPEN_UNIX): Likewise.
23419         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
23420         [POSIX] (_POSIX_BARRIERS): Likewise.
23421         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
23422         [POSIX] (_POSIX_CPUTIME): Likewise.
23423         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
23424         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
23425         [POSIX] (_POSIX_SHELL): Likewise.
23426         [POSIX] (_POSIX_SPAWN): Likewise.
23427         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23428         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
23429         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
23430         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
23431         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
23432         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
23433         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
23434         [POSIX] (_XBS5_LP64_OFF64): Likewise.
23435         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
23436         [POSIX] (_POSIX_TIMEOUTS): Likewise.
23437         [POSIX] (_POSIX2_PBS): Likewise.
23438         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
23439         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
23440         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
23441         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
23442         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
23443         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
23444         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
23445         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
23446         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
23447         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
23448         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
23449         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
23450         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
23451         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
23452         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
23453         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
23454         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
23455         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
23456         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
23457         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
23458         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
23459         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
23460         [POSIX] (_SC_2_C_BIND): Likewise.
23461         [POSIX] (_SC_2_C_VERSION): Likewise.
23462         [POSIX] (_SC_2_PBS): Likewise.
23463         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
23464         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
23465         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
23466         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
23467         [POSIX] (_SC_2_PBS_TRACK): Likewise.
23468         [POSIX] (_SC_ATEXIT_MAX): Likewise.
23469         [POSIX] (_SC_BARRIERS): Likewise.
23470         [POSIX] (_SC_BASE): Likewise.
23471         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
23472         [POSIX] (_SC_DEVICE_IO): Likewise.
23473         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
23474         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
23475         [POSIX] (_SC_FD_MGMT): Likewise.
23476         [POSIX] (_SC_FIFO): Likewise.
23477         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
23478         [POSIX] (_SC_FILE_LOCKING): Likewise.
23479         [POSIX] (_SC_FILE_SYSTEM): Likewise.
23480         [POSIX] (_SC_IOV_MAX): Likewise.
23481         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
23482         [POSIX] (_SC_NETWORKING): Likewise.
23483         [POSIX] (_SC_PAGE_SIZE): Likewise.
23484         [POSIX] (_SC_PASS_MAX): Likewise.
23485         [POSIX] (_SC_PIPE): Likewise.
23486         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
23487         [POSIX] (_SC_REGEXP): Likewise.
23488         [POSIX] (_SC_SHELL): Likewise.
23489         [POSIX] (_SC_SIGNALS): Likewise.
23490         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
23491         [POSIX] (_SC_SPIN_LOCKS): Likewise.
23492         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
23493         [POSIX] (_SC_USER_GROUPS): Likewise.
23494         [POSIX] (_SC_USER_GROUPS_R): Likewise.
23495         [POSIX] (_SC_STREAMS): Likewise.
23496         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
23497         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
23498         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
23499         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
23500         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
23501         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
23502         [POSIX] (_PC_FILESIZEBITS): Likewise.
23503         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
23504         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
23505         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
23506         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
23507         [POSIX] (uid_t): Likewise.
23508         [POSIX] (gid_t): Likewise.
23509         [POSIX] (off_t): Likewise.
23510         [POSIX] (pid_t): Likewise.
23511         [POSIX] (cuserid): Allow.
23512         (_SC_2_CHAR_TERM): Require constant.
23513         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
23514         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
23515         variable.
23517 2015-05-20  Roland McGrath  <roland@hack.frob.com>
23519         * sysdeps/nacl/pthread-pids.h: New file.
23520         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
23521         (create_thread): Use __nacl_get_tid to initialize PD->tid.
23523         * nptl/pthread-pids.h: New file.
23524         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
23525         * nptl/nptl-init.c: Include <pthread-pids.h>.
23526         (__pthread_initialize_minimal_internal):
23527         Call __pthread_initialize_pids instead of set_tid_address syscall.
23529         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
23530         * sysdeps/posix/usleep.c: ... here.
23532 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23534         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
23535         call_pselect6 object.
23536         [$(subdir) = io]: Remove call_sync_file_range object.
23537         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
23538         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
23539         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
23540         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
23542 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
23544         * math/s_cproj.c: Add include "math_private.h".
23545         * math/s_cprojf.c: Likewise.
23546         * math/s_cprojl.c: Likewise.
23548 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
23550         [BZ #18244]
23551         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
23552         high mantissa bit when testing whether P is a NaN.
23553         * math/libm-test.inc (remainder_test_data): Add more tests.
23554         (remquo_test_data): Likewise.
23556         [BZ #18049]
23557         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
23558         below -32, return the argument, with underflow if subnormal.
23559         * math/auto-libm-test-in: Add more tests of atanh.
23560         * math/auto-libm-test-out: Regenerated.
23562 2015-05-19  Roland McGrath  <roland@hack.frob.com>
23564         [BZ #18434]
23565         * nptl/tst-sem15.c: New file.
23566         * nptl/Makefile (tests): Add it.
23567         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
23568         s/<</>>/ to fix typo in EOVERFLOW check.
23569         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
23571 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23573         * manual/strings.texi (envz_remove): Fix typo in safety
23574         annotations.
23576 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
23577             Steve Ellcey  <sellcey@imgtec.com>
23579         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
23580         in order to avoid strict alias warnings.
23581         (iruserok_af): Ditto for ra.
23583 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
23585         [BZ #17581]
23586         * malloc/hooks.c
23587         (magicbyte): Convert to a function and avoid returning 0x01.
23588         (mem2mem_check): Avoid using a length byte equal to the magic byte.
23589         (mem2chunk_check): Fix unsigned comparisons to zero.
23590         Hoist defs of sz and magic.
23592 2015-05-19  Richard Henderson  <rth@redhat.com>
23594         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
23596         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23598 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23600         [BZ #16159]
23601         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
23602         * malloc/arena.c (arena_lock): Check if arena is corrupt.
23603         (reused_arena): Find a non-corrupt arena.
23604         (heap_trim): Pass arena to unlink.
23605         * malloc/hooks.c (malloc_check_get_size): Pass arena to
23606         malloc_printerr.
23607         (top_check): Likewise.
23608         (free_check): Likewise.
23609         (realloc_check): Likewise.
23610         * malloc/malloc.c (malloc_printerr): Add arena argument.
23611         (unlink): Likewise.
23612         (munmap_chunk): Adjust.
23613         (ARENA_CORRUPTION_BIT): New macro.
23614         (arena_is_corrupt): Likewise.
23615         (set_arena_corrupt): Likewise.
23616         (sysmalloc): Use mmap if there are no usable arenas.
23617         (_int_malloc): Likewise.
23618         (__libc_malloc): Don't fail if arena_get returns NULL.
23619         (_mid_memalign): Likewise.
23620         (__libc_calloc): Likewise.
23621         (__libc_realloc): Adjust for additional argument to
23622         malloc_printerr.
23623         (_int_free): Likewise.
23624         (malloc_consolidate): Likewise.
23625         (_int_realloc): Likewise.
23626         (_int_memalign): Don't touch corrupt arenas.
23627         * malloc/tst-malloc-backtrace.c: New test case.
23629         * Makefile (summarize-tests): Fix return value on success.
23631         * manual/string.texi (Envz Functions): Add envz_remove.
23633 2015-05-18  Roland McGrath  <roland@hack.frob.com>
23635         * sysdeps/posix/opendir.c: Include <stdbool.h>.
23636         (invalid_name): New function, broken out of ...
23637         (__opendirat): ... here.  Call it.
23638         (need_isdir_precheck): New function, broken out of ...
23639         (__opendirat): ... here.  Call it.
23640         Use __fxstatat64, not __xstatat64.
23641         (opendir_oflags): New function, broken out of ...
23642         (__opendirat): ... here.  Call it.
23643         (opendir_tail): New function, broken out of ...
23644         (__opendirat): ... here.  Call it.
23645         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
23646         opendir_tail, rather than punting to __opendirat.
23647         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
23649 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23651         * .gitignore: Ignore generated *.pyc.
23653 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
23655         * include/stdio.h: Define __need_wint_t.
23656         * test-skeleton.c: Avoid `for' loop initial declaration.
23657         * nptl/tst-initializers1.c: Use test-skeleton.c.
23659 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23661         [BZ #18418]
23662         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
23664 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23666         [BZ #16352]
23667         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
23668         (__ieee754_atanh): Force underflow exception for results with
23669         small absolute value.
23670         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
23671         (__ieee754_atanhf): Force underflow exception for results with
23672         small absolute value.
23673         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
23674         (__ieee754_atanh): Force underflow exception for results with
23675         small absolute value.
23676         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
23677         (__ieee754_atanhf): Force underflow exception for results with
23678         small absolute value.
23679         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
23680         (__ieee754_atanhl): Force underflow exception for results with
23681         small absolute value.
23682         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
23683         (__ieee754_atanhl): Force underflow exception for results with
23684         small absolute value.
23685         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
23686         (__ieee754_atanhl): Force underflow exception for results with
23687         small absolute value.
23688         * math/auto-libm-test-in: Do not allow missing underflow
23689         exceptions from atanh.
23690         * math/auto-libm-test-out: Regenerated.
23692         [BZ #18221]
23693         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
23694         2**-28 as threshold for returning x or +/- 1/x.
23695         * math/auto-libm-test-in: Add more tests of tan.
23696         * math/auto-libm-test-out: Regenerated.
23698         [BZ #18220]
23699         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23700         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
23701         * math/auto-libm-test-in: Add another test of lgamma.
23702         * math/auto-libm-test-out: Regenerated.
23704 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
23706         * stdio-common/printf_fp.c (___printf_fp): Use abs.
23707         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
23708         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
23709         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
23710         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
23711         (ADD2A): Use fabs.  (SUB2A): Use fabs.
23712         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
23713         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
23714         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
23715         (log1): Use fabs.  (my_log2): Use fabs.
23716         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
23717         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
23718         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
23719         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
23720         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
23721         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
23722         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
23723         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
23724         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
23725         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
23726         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
23728 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23730         [BZ #18217]
23731         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
23732         as threshold for returning 1 - x.
23733         * math/auto-libm-test-in: Add more tests of erfc.
23734         * math/auto-libm-test-out: Regenerated.
23736 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
23738         [BZ #18196]
23739         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
23740         threshold for large arguments.
23741         * math/auto-libm-test-in: Add another test of atan.
23742         * math/auto-libm-test-out: Regenerated.
23744         [BZ #16339]
23745         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
23746         (__log1p): Force underflow exception for results with small
23747         absolute value.
23748         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
23749         (__log1pf): Force underflow exception for results with small
23750         absolute value.
23751         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
23752         (__log1p): Force underflow exception for results with small
23753         absolute value.
23754         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
23755         (__log1pf): Force underflow exception for results with small
23756         absolute value.
23757         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
23758         (__log1pl): Force underflow exception for results with small
23759         absolute value.
23760         * math/auto-libm-test-in: Do not allow missing underflow
23761         exceptions from log1p.
23762         * math/auto-libm-test-out: Regenerated.
23764 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
23765             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23767         [BZ #16704]
23768         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
23770 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
23772         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
23773         (libmvec): New variable.
23774         * configure.ac: Added option for mathvec build.
23775         * configure: Regenerated.
23776         * mathvec/Depend: New file.
23777         * mathvec/Makefile: New file.
23778         * shlib-versions: Added libmvec.
23779         * math/Makefile: Added rule for libm.so installation.
23781         * bits/math-vector.h: New file.
23782         * bits/libm-simd-decl-stubs.h: New header.
23783         * math/Makefile (headers): Added new header
23784         libm-simd-decl-stubs.h.
23785         * math/math.h (__MATHCALL_VEC): New macro.
23787         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23788         for conditions in testing functions.
23789         * math/Makefile: Added call of libm-have-vector-test.sh.
23790         * math/libm-test.inc (HAVE_VECTOR): New macros.
23792         * math/libm-test.inc: START refactored.
23793         * math/test-double.c (TEST_MATHVEC): Add define.
23794         * math/test-float.c: Likewise.
23795         * math/test-idouble.c: Likewise.
23796         * math/test-ifloat.c: Likewise.
23797         * math/test-ildoubl.c: Likewise.
23798         * math/test-ldouble.c: Likewise.
23799         * sysdeps/generic/math-tests-arch.h
23800         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23801         architecture check.
23803         * math/test-double.c (FUNC_TEST): New macro.
23804         * math/test-float.c: Likewise.
23805         * math/test-idouble.c: Likewise.
23806         * math/test-ifloat.c: Likewise.
23807         * math/test-ildoubl.c: Likewise.
23808         * math/test-ldouble.c: Likewise.
23809         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23811 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23813         * sysdeps/nacl/fdopendir.c: New file.
23815         * dirent/scandir-tail.c: New file.
23816         * dirent/scandir64-tail.c: New file.
23817         * dirent/Makefile (routines): Add them.
23818         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23819         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23820         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23821         [!SCANDIR] (SCANDIR_TAIL): New macro.
23822         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23823         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23824         (SCANDIRAT): Macro removed.
23825         (SCANDIR_TAIL): New macro.
23826         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23827         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23828         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23829         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23830         (READDIR): Macro removed.
23831         (SCANDIR_TAIL): New macro.
23832         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23833         (SCANDIR_TAIL): New macro.
23835         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23836         * dirent/scandir-cancel.c: ... to this new file.
23837         * dirent/Makefile (routines): Add it.
23838         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23839         * sysdeps/unix/sysv/linux/i386/scandir64.c
23840         (SKIP_SCANDIR_CANCEL): Macro removed.
23841         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23843         * dirent/tst-scandir.c: New file.
23844         * dirent/tst-scandir64.c: New file.
23845         * dirent/Makefile (tests): Add them.
23847 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23849         [BZ #18409]
23850         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23852 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23854         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23855         list.
23857 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23859         * benchtests/bench-strcoll.c: New benchmark.
23860         * benchtests/Makefile: Generate locales and run benchmark.
23861         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23862         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23863         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23864         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23865         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23866         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23867         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23868         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23869         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23870         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23871         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23872         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23873         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23874         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23875         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23876         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23877         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23878         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23879         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23880         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23881         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23882         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23883         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23884         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23886 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23888         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23889         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23891 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23893         * posix/uname-values.h: New file.
23894         * posix/uname.c: Include that instead of <config-name.h>.
23895         * sysdeps/nacl/uname-values.h: New file.
23896         * sysdeps/arm/nacl/uname-values.h: New file.
23898 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23900         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23901         splitting into fields.
23903 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23905         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23906         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23907         * locale/localeinfo.h: Add enum collation_encoding_type.
23908         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23909         * programs/ld-collate.c (collate_output): Add encoding type info.
23910         * string/strcoll_l.c (STRDIFF): New function.
23911         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23912         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23914 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23916         [BZ #18397]
23917         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23918         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23919         <fpu_control.h> instead of <math/fpu_control.c>.
23920         * sysdeps/mips/mips32/fpu/Makefile: New file.
23922 2015-05-11  Andreas Schwab  <schwab@suse.de>
23924         [BZ #18007]
23925         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23926         nss_endgrent.
23927         (_nss_compat_endgrent): Call nss_endgrent.
23928         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23929         nss_endpwent.
23930         (_nss_compat_endpwent): Call nss_endpwent.
23931         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23932         needent, call nss_setspent only if non-zero.
23933         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23934         (internal_endspent): Don't call nss_endspent.
23935         (_nss_compat_endspent): Call nss_endspent.
23936         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23937         Remove.  All uses removed.
23938         (internal_setent): Remove parameter stayopen, add parameter
23939         stream.  Use it instead of global variable.
23940         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23941         (internal_endent, internal_getent): Add parameter stream.  Use it
23942         instead of global variable.
23943         (CONCAT(_nss_files_end,ENTNAME))
23944         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23945         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23946         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23947         uses removed.
23948         (internal_setent, internal_endent): Add parameter stream.  Use it
23949         instead of global variable.
23950         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23951         stream.
23952         (get_next_alias): Add parameter stream.
23953         (_nss_files_getaliasent_r): Pass global stream.
23954         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23955         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23956         (_nss_files_gethostbyname4_r): Pass local stream to
23957         internal_setent, internal_getent and internal_endent.  Remove
23958         locking.
23960 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23962         * tst-strfmon1.c (tests): Update expected currency symbol.
23964 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23966         * sysdeps/nacl/gethostname.c: New file.
23968 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23970         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23971         and sinh.
23972         * math/auto-libm-test-out: Regenerated.
23973         * sysdeps/i386/fpu/libm-test-ulps: Update.
23974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23976 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23978         [BZ #18125]
23979         * stdlib/tst-setcontext3.c: New file.
23980         * stdlib/tst-setcontext3.sh: New file.
23981         * stdlib/Makefile (tests): Add tst-setcontext3.
23982         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23983         to verify test program created output file.
23984         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23985         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23986         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23987         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23989 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23991         [BZ #18383]
23992         * elf/tst-tlsalign.c: New file.
23993         * elf/tst-tlsalign-static.c: New file.
23994         * elf/tst-tlsalign-lib.c: New file.
23995         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
23996         (tests-static): Add tst-tlsalign-static.
23997         (modules-names): Add tst-tlsalign-lib.
23998         (test-xfail-tst-tlsalign): New variable.
23999         (test-xfail-tst-tlsalign-static): New variable.
24001         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24002         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24004 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24006         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24007         csqrt, erfc, sin and sincos.
24008         * math/auto-libm-test-out: Regenerated.
24009         * sysdeps/i386/fpu/libm-test-ulps: Update.
24010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24012 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24014         * sysdeps/aarch64/libm-test-ulps: Update.
24016 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24018         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24019         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24020         * math/auto-libm-test-out: Regenerated.
24021         * sysdeps/i386/fpu/libm-test-ulps: Update.
24022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24024 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24026         [BZ #18265]
24027         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24028         (wcsncpy): Likewise.
24030 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24032         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24033         Assume __ASSUME_FALLOCATE is always true.
24034         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24035         (__posix_fallocate64_l64): Likweise.
24036         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24037         (posix_fallocate): Likewise.
24038         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24039         (__posix_fallocate64_l64): Likewise.
24040         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24041         [!__ASSUME_FALLOCATE]: Add comment.
24043 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24045         * sysdeps/unix/sysv/linux/i386/Makefile
24046         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24047         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24048         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24049         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24050         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24051         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24052         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24054 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24056         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24057         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24058         tgamma.
24059         * math/auto-libm-test-out: Regenerated.
24060         * sysdeps/i386/fpu/libm-test-ulps: Update.
24061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24063 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24065         * math/auto-libm-test-in: Add more tests of tgamma.
24066         * math/auto-libm-test-out: Regenerated.
24067         * sysdeps/i386/fpu/libm-test-ulps: Update.
24068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24070         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
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 cos, sin and sincos.
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 another test of pow.
24086         * math/auto-libm-test-out: Regenerated.
24087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24089         * math/auto-libm-test-in: Add more tests of lgamma.
24090         * math/auto-libm-test-out: Regenerated.
24091         * sysdeps/i386/fpu/libm-test-ulps: Update.
24092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24094         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24095         log1p.
24096         * math/auto-libm-test-out: Regenerated.
24097         * sysdeps/i386/fpu/libm-test-ulps: Update.
24098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24100 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24102         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24103         Elf64_Chdr structs and ELFCOMPRESS constants.
24105 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24107         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24108         expm1.
24109         * math/auto-libm-test-out: Regenerated.
24110         * sysdeps/i386/fpu/libm-test-ulps: Update.
24111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24113         * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24120         * config.h.in (HAVE_AARCH64_BE): Add.
24122 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24124         * math/auto-libm-test-in: Add more tests of csqrt.
24125         * math/auto-libm-test-out: Regenerated.
24126         * sysdeps/i386/fpu/libm-test-ulps: Update.
24127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24129         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
24136 2015-04-29  Roland McGrath  <roland@hack.frob.com>
24138         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
24139         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
24141         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
24142         (euidaccess, eaccess): Define as weak aliases.
24144         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
24145         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
24146         but __suseconds_t is often 'long int' so some sources assume that
24147         type is being used (e.g. they use %ld to print tv_usec).
24149 2015-04-29  Florian Weimer  <fweimer@redhat.com>
24151         [BZ #18007]
24152         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
24153         (CVE-2014-8121)
24154         * nss/tst-nss-getpwent.c: New file.
24155         * nss/Makefile (tests): Add new test.
24157 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
24159         [BZ #18346]
24160         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
24161         exponents less than 48 as cases where high part of mantissa needs
24162         examining to determine whether argument is integral.
24163         * math/libm-test.inc (round_test_data): Add more tests.
24165 2015-04-28  Mark Wielaard  <mjw@redhat.com>
24167         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
24169 2015-04-27  David S. Miller  <davem@davemloft.net>
24171         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
24172         __tls_get_addr.
24173         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24175 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
24177         [BZ#18333]
24178         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
24180 2015-04-27  Florian Weimer  <fweimer@redhat.com>
24182         [BZ#18333]
24183         * time/tzset.c (parse_tzname): Return error on memory allocation
24184         failure.
24185         * test-skeleton.c (struct temp_name_list): Change type of name
24186         member to non-const.
24187         (add_temp_file): Create a copy of the file name.
24188         (delete_temp_files): Deallocate memory.
24189         (create_temp_file): Add comment.
24191 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24193         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
24194         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
24196 2015-04-24  Roland McGrath  <roland@hack.frob.com>
24198         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
24199         * sysdeps/arm/configure: Regenerated.
24201 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24203         [BZ #17715]
24204         * time/tzfile.c (__tzfile_read): Check for large values of
24205         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
24206         * time/tzset.c (__tzstring_len): New function, based on the old
24207         __tzstring function.
24208         (__tzstring): Call __tzstring_len.
24209         (parse_tzname): New helper function extracted from
24210         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
24211         the input string.
24212         (parse_offset): New helper function extracted from
24213         __tzset_parse_tz.  Replace switch with fallthrough with
24214         initialization before sscanf.
24215         (parse_rule): Likewise.
24216         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
24217         new-style function definition.
24218         * timezone/Makefile (tests): Add tst-tzset.
24219         (tst-tzset.out): Dependencies on time zone files.
24220         (tst-tzset-ENV): Set TZDIR.
24221         (testdata/XT%): Copy crafted time zone files.
24222         * timezone/README: Mention crafted time zone files.
24223         * timezone/testdata/XT1, timezone/testdata/XT2,
24224         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
24225         files.
24226         * timezone/tst-tzset.c: New test.
24228 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24230         * Makeconfig (+gccwarn): Remove -Winline.
24232 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24234         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
24236 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24238         * NEWS: Mention sysconf() cache information support for s390.
24239         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
24241 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
24243         * math/k_casinh.c (__kernel_casinh): Use __copysign.
24244         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
24245         (__nearbyint): Likewise.
24246         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
24247         (copysignl): Likewise.
24249 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
24251         [BZ #18287]
24252         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
24253         based on padding.  (CVE-2015-1781)
24255 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24257         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
24258         libc-vdso.h.
24259         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
24260         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
24261         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
24262         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24263         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24264         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
24265         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
24266         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24267         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24268         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
24269         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24270         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24271         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24272         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
24273         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24274         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
24275         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
24276         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
24277         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
24278         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
24279         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
24280         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
24281         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
24283 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
24285         * stdlib/setenv.c (__add_to_environ):
24286         Dump core quickly if setenv (..., NULL, ...) is called.
24287         This time, do it the right way, and pacify GCC with a pragma.
24289 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24291         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
24292         IMAP->l_prev cannot be null, and #if out the code for the contrary
24293         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
24294         believe that NS (&_dl_ns[NSID]) could point outside the array.
24296         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
24297         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
24298         before using NSID as an index.
24300 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
24302         [BZ #17825]
24303         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
24304         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
24305         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24307 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24309         Add preliminary port to Google Native Client on ARM.
24310         * abi-tags (.*-.*-nacl.*): New entry.
24311         * sysdeps/arm/nacl: New directory.
24312         * sysdeps/nacl: New directory.
24314 2015-04-16  David S. Miller  <davem@davemloft.net>
24316         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24317         lowlevellock-futex.h
24319 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24321         * sysdeps/tile/configure.ac: New file.
24322         * sysdeps/tile/configure: Regenerated.
24324 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24326         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24327         conditionals for weak_alias and libc_hidden_weak.
24328         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24329         libc_hidden_weak and weak_alias.
24330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24331         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24332         and weak_alias for static one.
24334 2015-04-15  David S. Miller  <davem@davemloft.net>
24336         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24338 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24340         [BZ #18206]
24341         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24342           Use signed comparision instead of substraction to avoid
24343           overflow bug.
24344         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24345           Take the sign of ret.
24346         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24347           Do not expect precise return values. Only the sign matters.
24348         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24349         * wcsmbs/test-wcsncmp.c: New File.
24350         * string/test-strncmp.c: Add wcsncmp support.
24352 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24354         [BZ #6792]
24355         * math/w_log1p.c: New file.
24356         * math/w_log1pf.c: Likewise.
24357         * math/w_log1pl.c: Likewise.
24358         * math/Makefile (libm-calls): Add w_log1p.
24359         * math/s_log1pl.c (log1pl): Remove weak_alias.
24360         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24361         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24362         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24363         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24364         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24365         [NO_LONG_DOUBLE] (log1pl): Likewise.
24366         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24367         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24368         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24369         (log1p): Remove long_double_symbol.
24370         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24371         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24372         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24373         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24374         remove weak_alias for corresponding log1p function.
24375         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24376         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24377         * sysdeps/ia64/fpu/w_log1p.c: New file.
24378         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24379         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24380         * math/libm-test.inc (log1p_test_data): Add errno expectations.
24382 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
24384         [BZ #18247]
24385         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24386         decimal exponent by 1.
24387         * stdlib/tst-strtod-round-data: Add more tests.
24388         * stdlib/tst-strtod-round.c (tests): Regenerated.
24390 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
24392         * math/auto-libm-test-in: Add more tests of clog and clog10.
24393         * math/auto-libm-test-out: Regenerated.
24394         * sysdeps/i386/fpu/libm-test-ulps: Update.
24395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24397 2015-04-09  Roland McGrath  <roland@hack.frob.com>
24399         * Makeconfig (module-cppflags): Exclude all .v.i files.
24400         (skip-module-cppflags): Variable removed.
24402         * configure.ac (libc_config_ok): Initialize before reading
24403         preconfigure scripts, not after.
24404         * configure: Regenerated.
24406         * test-skeleton.c (TIMEOUT): Move #define to top level.
24407         (main): Grok environment variable TEST_DIRECT.  If set, print
24408         test expectation details into that file and then behave as if
24409         given --direct.
24411 2015-04-09  Florian Weimer  <fweimer@redhat.com>
24413         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
24414         warning on 32-bit.
24416 2015-04-08  David S. Miller  <davem@davemloft.net>
24418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24420 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24422         * math/auto-libm-test-in: Add more tests of atanh.
24423         * math/auto-libm-test-out: Regenerated.
24424         * sysdeps/i386/fpu/libm-test-ulps: Update.
24425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24427         * math/auto-libm-test-in: Add more tests of atan.
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 2015-04-08  Florian Weimer  <fweimer@redhat.com>
24434         * elf/pldd.c (main): Rewrite to use struct
24435         scratch_buffer instead of extend_alloca.
24436         * elf/pldd-xx.c (find_maps): Likewise.
24437         * grp/initgroups.c: Include <scratch_buffer.h> instead of
24438         <alloca.h>.
24439         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
24440         scratch_buffer instead of extend_alloca.
24441         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
24442         grp/compat-initgroups.c.
24443         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
24444         Rewrite to use struct scratch_buffer instead of extend_alloca.
24445         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
24446         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24448 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24450         * math/auto-libm-test-in: Add more tests of cbrt.
24451         * math/auto-libm-test-out: Regenerated.
24452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24454         * math/auto-libm-test-in: Add more tests of cabs.
24455         * math/auto-libm-test-out: Regenerated.
24456         * sysdeps/i386/fpu/libm-test-ulps: Update.
24457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24459         [BZ #18210]
24460         [BZ #18211]
24461         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
24462         (__ieee754_atan2): Set FE_TONEAREST mode for internal
24463         computations.
24464         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
24465         clog10.
24466         * math/auto-libm-test-out: Regenerated.
24467         * sysdeps/i386/fpu/libm-test-ulps: Update.
24468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24470         [BZ #18197]
24471         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
24472         (atan): Set FE_TONEAREST mode for internal computations.
24473         * math/auto-libm-test-in: Add more tests of atan.
24474         * math/auto-libm-test-out: Regenerated.
24476 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
24478         [BZ #17930]
24479         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24481 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24483         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
24485 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24487         * include/scratch_buffer.h: New file.
24488         * malloc/scratch_buffer_grow.c: Likewise.
24489         * malloc/scratch_buffer_grow_preserve.c: Likewise.
24490         * malloc/scratch_buffer_set_array_size.c: Likewise.
24491         * malloc/tst-scratch_buffer.c: Likewise.
24492         * malloc/Makefile (routines): Add scratch_buffer_grow.
24493         (tests): Add test case.
24494         * malloc/Versions (GLIBC_PRIVATE): Export
24495         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
24496         __libc_scratch_buffer_set_array_size.
24498 2015-04-06  Richard Henderson  <rth@redhat.com>
24500         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
24501         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24503         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
24504         unsigned int before printing.
24506 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24508         [BZ #17596]
24509         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
24510         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24512 2015-04-02  Florian Weimer  <fweimer@redhat.com>
24514         * include/libc-internal.h (libc_max_align_t): Define.
24516 2015-04-02  Andreas Schwab  <schwab@suse.de>
24518         [BZ #16850]
24519         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24521 2015-04-02  Mel Gorman  <mgorman@suse.de>
24523         [BZ #17195]
24524         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
24525         as well as the main arena.
24527 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24529         [BZ #18185]
24530         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
24531         sharing L2 cache to 2 for Silvermont/Knights Landing.
24533 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24535         [BZ #17711]
24536         * config.make.in (have-protected-data): New.
24537         * configure.ac: Check linker support for protected data symbol.
24538         * configure: Regenerated.
24539         * elf/Makefile (modules-names): Add tst-protected1moda and
24540         tst-protected1modb if $(have-protected-data) is yes.
24541         (tests): Add tst-protected1a and tst-protected1b if
24542         $(have-protected-data) is yes.
24543         ($(objpfx)tst-protected1a): New.
24544         ($(objpfx)tst-protected1b): Likewise.
24545         (tst-protected1modb.so-no-z-defs): Likewise.
24546         * elf/tst-protected1a.c: New file.
24547         * elf/tst-protected1b.c: Likewise.
24548         * elf/tst-protected1mod.h: Likewise.
24549         * elf/tst-protected1moda.c: Likewise.
24550         * elf/tst-protected1modb.c: Likewise.
24552 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24554         [BZ #17711]
24555         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
24556         indicates it is called from do_lookup_x on relocation against
24557         protected data, skip the data definion in the executable from
24558         copy reloc.
24559         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
24560         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
24561         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
24562         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
24563         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
24564         otherwise to 0.
24565         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24566         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
24567         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
24568         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24569         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
24570         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
24572 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
24574         * sysdeps/nptl/pthread.h: Remove duplicate definition of
24575         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
24577 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
24579         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
24580         THREAD_SETMEM_NC.
24581         * sysdeps/x86_64/nptl/tls.h: Ditto.
24583 2015-03-27  Roland McGrath  <roland@hack.frob.com>
24585         * dlfcn/tststatic.c (main): Converted to ...
24586         (do_test): ... this.
24587         (TEST_FUNCTION): New macro.
24588         Include test-skeleton.c.
24590 2015-03-26  Alan Modra  <amodra@gmail.com>
24592         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
24593         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
24594         zero for undefined weak.
24595         (elf_machine_plt_conflict): Similarly.
24597 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24599         * math/auto-libm-test-in: Add more tests of acosh, asinh and
24600         atanh.
24601         * math/auto-libm-test-out: Regenerated.
24602         * sysdeps/i386/fpu/libm-test-ulps: Update.
24603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24605         * math/auto-libm-test-in: Add another test of asin.
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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
24611         Remove macro.
24612         (LLL_EBX_REG): Likewise.
24613         (LLL_ENTER_KERNEL): Likewise.
24615         * math/auto-libm-test-in: Add more tests of asin.
24616         * math/auto-libm-test-out: Regenerated.
24617         * sysdeps/i386/fpu/libm-test-ulps: Update.
24618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24620         [BZ #18138]
24621         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
24622         libc_do_syscall_args): New structure.
24623         (INTERNAL_SYSCALL_MAIN_0): New macro.
24624         (INTERNAL_SYSCALL_MAIN_1): Likewise.
24625         (INTERNAL_SYSCALL_MAIN_2): Likewise.
24626         (INTERNAL_SYSCALL_MAIN_3): Likewise.
24627         (INTERNAL_SYSCALL_MAIN_4): Likewise.
24628         (INTERNAL_SYSCALL_MAIN_5): Likewise.
24629         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
24630         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
24631         Replace conditional definitions by conditional definitions of ....
24632         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
24633         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
24634         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
24635         (libpthread-sysdep_routines): Add libc-do-syscall.
24636         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
24637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
24638         to __NR_futex not 240.
24640 2015-03-25  Alan Modra  <amodra@gmail.com>
24642         * NEWS: Advertise TLS optimization.
24643         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
24644         (DT_PPC_NUM): Increment.
24645         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
24646         (CHECK_STATIC_TLS): Use here.
24647         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
24648         TLS descriptors.
24649         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24650         * sysdeps/powerpc/dl-tls.c: New file.
24651         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
24652         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
24653         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
24654         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
24655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
24656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
24657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
24659 2015-03-25  Alan Modra  <amodra@gmail.com>
24661         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
24662         for overlapping .opd entries" to "support...".
24663         * sysdeps/powerpc/powerpc64/configure: Regenerate
24665 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24667         * math/auto-libm-test-in: Add more tests of acos.
24668         * math/auto-libm-test-out: Regenerated.
24669         * sysdeps/i386/fpu/libm-test-ulps: Update.
24670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24672         * math/auto-libm-test-in: Add more tests of expm1.
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 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
24679         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24680         * math/auto-libm-test-out: Regenerated.
24681         * sysdeps/i386/fpu/libm-test-ulps: Update.
24682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24684         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24687         * math/auto-libm-test-in: Add more tests of log2.
24688         * math/auto-libm-test-out: Regenerated.
24689         * sysdeps/i386/fpu/libm-test-ulps: Update.
24690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24692 2015-03-23  Roland McGrath  <roland@hack.frob.com>
24694         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
24695         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
24696         _IO_IS_APPENDING bit in READ_WRITE instead.
24698 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24700         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24701         (__determine_cpumask_size): Replace extend_alloca with a
24702         variable-length array.  Do not treat res == 0 as an error.
24704 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24706         [BZ #18100]
24707         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
24708         and integer overflow.
24709         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
24710         (main): Add integer overflow tests.
24711         * manual/pattern.texi (Calling Wordexp): Document additional use
24712         for WRDE_SYNTAX.
24714 2015-03-23  Alan Modra  <amodra@gmail.com>
24716         * config.h.in: Remove HAVE_ASM_PPC_REL16.
24717         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
24718         and false branch of conditional.
24719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24720         Likewise.
24722 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
24724         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
24725         libc-modules.h
24726         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
24727         unused declaration of _hurd_intr_rpc_msg_in_trap.
24728         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
24729         defined instead of whether it is non-zero.
24730         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
24731         input constraint instead of both input and output constraint.  Use ecx
24732         clobber instead of %ecx.
24733         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
24734         mutex_unlock): Use a statement expression instead of an expression list.
24735         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
24736         type to vm_size_t instead of vm_address_t.
24737         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
24738         defined instead of whether it is non-zero.
24739         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
24740         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
24741         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
24742         comparisons with mapaddr.
24743         * nscd/nscd-client.h: Include <time.h>.
24744         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24745         9th parameter to __vm_region instead of int.
24746         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
24747         * scripts/check-local-headers.sh (exclude): Add device/,
24748         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
24749         cthreads.h.
24751 2015-03-19  Roland McGrath  <roland@hack.frob.com>
24753         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
24754         to account for alignment padding.
24755         * sysdeps/arm/memmove.S: Likewise.
24757 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
24759         * sysdeps/unix/sysv/linux/generic/README: New file.
24761 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
24763         [BZ #18138]
24764         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
24765         (futex_abstimed_wait)
24766         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
24767         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
24768         of lll_futex_timed_wait.
24770 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
24772         [BZ #17542]
24773         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
24775 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
24777         [BZ #17090]
24778         [BZ #17620]
24779         [BZ #17621]
24780         [BZ #17628]
24781         * NEWS: Update.
24782         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24783         entries with Static TLS too.  Skip entries past the end of the
24784         allocated DTV, from Alan Modra.
24785         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24786         Static TLS DTV entry set up from...
24787         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24788         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24789         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24790         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24791         for Static TLS.
24792         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24793         that the slot we find is associated with the given map before
24794         using its generation count.
24795         * nptl_db/db_info.c: Include ldsodefs.h.
24796         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24797         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24798         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24799         (link_map::l_tls_offset): New struct field.
24800         (dtv_t::counter): Likewise.
24801         (rtld_global): New struct.
24802         (_rtld_global): New rtld variable.
24803         (dl_tls_dtv_slotinfo_list): New rtld global field.
24804         (dtv_slotinfo_list): New struct.
24805         (dtv_slotinfo): Likewise.
24806         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24807         (td_lookup): Rename to...
24808         (td_mod_lookup): ... this.  Use new mod parameter instead of
24809         LIBPTHREAD_SO.
24810         * nptl_db/td_thr_tlsbase.c: Include link.h.
24811         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24812         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24813         addresses even if the DTV is out of date or missing them.
24814         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24815         index zero-length arrays.
24816         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24817         (td_lookup): Make it a macro implemented in terms of...
24818         (td_mod_lookup): ... this declaration.
24819         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24820         (DB_MAIN_VARIABLE): Likewise.
24822 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24824         [BZ #18134]
24825         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24827 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24829         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24831 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24833         [BZ #18128]
24834         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24835         (atomic_add, atomic_increment_and_test)
24836         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24838 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24840         * stdlib/setenv.c (__add_to_environ):
24841         Dump core quickly if setenv (..., NULL, ...) is called.
24843 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24845         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24846         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24847         all the necessary asm magic in one place.
24848         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24849         using those.
24851 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24853         [BZ #14906]
24854         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24855         traced file mtime. Use consistent log message.
24856         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24857         (register_traced_file): Call install_watches. Always set mtime.
24858         (invalidate_cache): Iterate over all trace files. Call install_watches.
24859         (inotify_check_files): Don't inline. Handle watching parent
24860         directories and configuration file movement in and out.
24861         (handle_inotify_events): New function.
24862         (main_loop_poll): Call handle_inotify_events.
24863         (main_loop_epoll): Likewise.
24864         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24865         (struct traced_file): Use array of inotify fds. Add parent directory,
24866         and basename.
24867         (struct database_dyn): Remove unused file_mtime.
24868         (init_traced_file): New inline function.
24869         (define_traced_file): New macro.
24870         * nss/nss_db/db-init.c: Use define_traced_file.
24871         (_nss_db_init): Use init_traced_file.
24872         * nss/nss_files/files-init.c: Use define_traced_file.
24873         (_nss_files_init): Use init_traced_file.
24875 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24877         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24878         [_LIBC]: Do not include <stdlib.h>.
24879         [!_LIBC] (abort): Remove declaration.
24880         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24881         _FP_STATIC_ASSERT instead of conditionally calling abort.
24882         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24883         (_FP_EXTEND_CNAN): Likewise.
24884         (FP_TRUNC): Likewise.
24885         (__FP_CLZ): Likewise.
24886         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24888 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24890         * manual/string.texi (XPG basename): Fix prototype.
24892 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24894         [BZ #18080]
24895         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24896         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24897         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24898         (__setcontext): Likewise.
24899         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24900         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24901         Call rt_sigprocmask syscall one time to set new signal mask
24902         and retrieve the current signal mask instead of two calls.
24903         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24904         (__swapcontext): Likewise.
24905         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24906         * stdlib/tst-setcontext2.c: New file.
24908 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24910         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24912 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24914         [BZ #18093]
24915         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24916         the wrong size.
24918 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24920         [BZ #18043]
24921         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24923 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24925         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24926         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24927         Remove define.
24928         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24929         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24930         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24931         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24932         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24933         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24934         define.
24935         * nptl_db/td_symbol_list.c (td_lookup): Remove
24936         HAVE_ASM_GLOBAL_DOT_NAME code.
24937         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24938         HAVE_ASM_GLOBAL_DOT_NAME check.
24939         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24940         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24941         (DOT_LABEL): Remove define.
24942         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24943         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24944         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24945         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24946         (__TLS_GET_ADDR): Likewise.
24947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24948         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24950 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24952         [BZ #18111]
24953         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24954         (_FPU_SETCW): Initialize cw from fpsr before storing.
24955         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24956         (fesetexceptflag): Rewrite using fpu_control.h.
24957         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24959 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24961         [BZ #18110]
24962         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24963         asms.
24964         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24966 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24968         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24969         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24970         abort.
24971         (_FP_FMA): Likewise.
24972         (_FP_DIV): Likewise.
24974 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24976         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24977         with 0 in that case.
24978         * Makefile (summarize-tests): New canned sequence, factored out of
24979         commands for targets tests and xtests.  Display summary lines that
24980         don't start with PASS: or XFAIL: rather than ones that do start with
24981         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24982         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24983         do start with ERROR: or FAIL:.
24984         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24985         (except for [$(build-shared) = yes]).
24986         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24987         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24988         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24989         * nptl/Makefile: Revert 2015-03-04 changes.
24990         [$(CXX) empty] (tests-unsupported): New variable.
24991         * debug/Makefile: Likewise.
24993         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24994         gnulib file.  Replace __attribute with __attribute__ throughout.
24996 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
24998         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25000 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25002         [BZ #18104]
25003         * math/auto-libm-test-in: Add another test of pow.
25004         * math/auto-libm-test-out: Regenerated.
25006 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25008         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25009         $(config-cflags-nofma).
25011 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25013         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25014         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25015         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25016         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25017         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25018         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25019         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25020         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25021         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25022         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25023         Add comment on closing #endif.
25025 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25027         * posix/wordexp.c (CHAR_IN_SET): New macro.
25028         (parse_param): Use it.
25030 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25032         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25034 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25036         [BZ #18043]
25037         * posix/wordexp.c (parse_param): Fix buffer overflow.
25038         * posix/wordexp-test.c (test_case): Add test case.
25040 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25042         [BZ #18042]
25043         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25044         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25046 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25048         [BZ #18043]
25049         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25050         (do_bz18043): Delete.
25051         (at_page_end): New.
25052         (testit): Refactor to have words at the edge of unreadable page.
25054 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25056         [BZ #16734]
25057         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25058         Cleanup read-only streams as well.
25059         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25061 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25063         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25064         <bits/libc-lockP.h>
25066 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25068         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25069         on [__KERNEL__].
25070         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25071         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25072         * soft-fp/op-common.h (_FP_DECL): Likewise.
25074 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25076         * elf/ifuncdep2.c (global): Replace
25077         __attribute__((visibility("protected"))) with
25078         asm (".protected global").
25079         * elf/ifuncmod1.c (global): Likewise.
25080         * elf/ifuncmod5.c (global): Likewise.
25082 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25084         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25085         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25087 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25089         * manual/install.texi (Configuring and compiling):
25090         Document test-wrapper-env-only.
25091         * INSTALL: Regenerated.
25093 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25095         [BZ #18043]
25096         * posix/wordexp.c (parse_param): Fix buffer overflow.
25097         * posix/wordexp-test.c (do_bz18043): Add test case.
25099 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25101         * time/tst-strptime2.c (do_test): Ensure failing tests are
25102         reported correctly.
25103         * time/tst-strptime3.c (do_test): Likewise.
25105 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25107         Fix aio_error thread-safety.
25108         * sysdeps/pthread/aio_error.c: New file
25109         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25110         synchronization.
25112 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25114         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25115         (group_number, vfprintf): Use it.
25116         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25117         (JUMP, REF): Use it.
25118         (WORK_BUFFER_SIZE): New enum constant.
25119         (process_arg, vfprintf): Use it.
25121 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25123         * manual/errno.texi (Error Messages): Complete example function
25124         by adding missing #define.
25125         (program_invocation_name): Add statement indicating GNU
25126         extension and reference which header file declares the variable.
25127         (program_invocation_short_name): Likewise.
25129 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
25131         * manual/errno.texi (Error Messages): Delete strerror ISO C89
25132         compatibility note.
25134 2015-03-05  Roland McGrath  <roland@hack.frob.com>
25136         * Makeconfig (test-wrapper-env-only): New variable.
25137         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
25138         then use that with $(test-wrapper-env-only) rather than using
25139         $(test-wrapper-env) $(run-program-env) $($*-ENV).
25141 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25143         [BZ #18082]
25144         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
25145         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
25146         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
25147         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
25148         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
25149         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
25150         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
25151         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
25152         Likewise.
25153         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
25154         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
25155         Likewise.
25156         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
25157         Likewise.
25158         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
25159         Likewise.
25160         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
25161         Likewise.
25162         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
25163         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
25164         Likewise.
25165         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
25166         Likewise.
25167         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
25168         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
25170 2015-03-04  Roland McGrath  <roland@hack.frob.com>
25172         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
25173         (ETH_ALEN): New macro.
25174         (struct ether_addr): Use it for length of ether_addr_octet.
25176         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
25177         (setdb): Don't call __nss_configure_lookup for "rpc".
25178         (do_test): Don't call test_rpc.
25179         (output_rpcent, test_rpc): Functions moved ...
25180         * sunrpc/test-rpcent.c: ... to this new file.
25181         * sunrpc/Makefile (tests): Add it.
25183         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
25184         __xpg_sigpause.
25185         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
25186         * nptl/tst-signal6.c: Likewise.
25187         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
25188         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
25190         * configure.ac (libc_cv_cxx_link_ok): New check.
25191         Reset CXX to empty if it fails to link.
25192         * configure: Regenerated.
25193         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
25194         bug-atexit3-lib only if $(CXX) is nonempty.
25195         * nptl/Makefile (tests): Likewise for tst-cancel24.
25196         (tests, tests-static): Likewise for tst-cancel24-static.
25197         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25198         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
25199         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
25200         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
25202 2015-03-04  Andreas Schwab  <schwab@suse.de>
25204         [BZ #17631]
25205         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
25206         for non-GCC compilers.
25207         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25208         Likewise.
25210 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25212         [BZ #17776]
25213         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
25214         integer before bitwise and assembly operations.
25215         (feclearexcept): Likewise.
25216         * math/test-fenvinline.c: New file.
25217         * math/Makefile: Add test-fenvinline test.
25219 2015-03-03  Alan Modra  <amodra@gmail.com>
25221         [BZ #16512]
25222         * scripts/localplt.awk: Strip off symbol version.
25223         * NEWS: Mention bug fix.
25225 2015-03-02  Roland McGrath  <roland@hack.frob.com>
25227         * sysdeps/pthread/timer_routines.c
25228         (timer_free_list, thread_free_list, thread_active_list): Make static.
25230 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
25232         [BZ #17779]
25233         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25234         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25235         Undefine.
25236         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25237         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25238         Likewise.
25239         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25240         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25241         Likewise.
25243 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25245         [BZ #18036]
25246         * posix/fnmatch_loop.c (END): Detect invalid pattern.
25247         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
25249 2015-03-02  Andreas Schwab  <schwab@suse.de>
25251         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
25252         variable name.
25254 2015-03-02  Florian Weimer  <fweimer@redhat.com>
25256         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
25257         Return error status.
25259 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
25261         [BZ #15969]
25262         * locale/findlocale.c (_nl_find_locale): Introduce const
25263         version of loc_name and drop unsafe type casts.
25265 2015-02-27  Roland McGrath  <roland@hack.frob.com>
25267         * dlfcn/tststatic2.c (main): Converted to ...
25268         (do_test): ... this.
25269         (TEST_FUNCTION): New macro.
25270         Include test-skeleton.c.
25272 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
25274         [BZ #17711]
25275         * elf/Makefile (tests): Add vismain only if PIE is enabled.
25276         (tests-pie): Add vismain.
25277         (CFLAGS-vismain.c): New.
25278         * elf/vismain.c: Add comments for PIE requirement.
25280 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25282         [BZ #18046]
25283         [BZ #18047]
25284         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
25285         0x1p-56L as threshold for just returning the argument.
25286         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
25287         0x1p-32L as threshold for just returning the argument.
25288         * math/auto-libm-test-in: Add more tests of atanh.
25289         * math/auto-libm-test-out: Regenerated.
25290         * sysdeps/i386/fpu/libm-test-ulps: Update.
25291         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
25293 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25295         * string/bcopy.c (bcopy): Call memmove for performance.
25297 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25299         * string/bzero.c (__bzero): Call memset for performance.
25301 2015-02-27  John David Anglin  <dave.anglin@bell.net>
25303         [BZ #18068]
25304         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25305         to 00100000.
25307 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25309         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25311 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25313         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25314         (__kernel_standard): Use CSTR macro when setting exc.name.
25315         * sysdeps/ieee754/Makefile [$(subdir) = math]
25316         (CFLAGS-k_standard.c): Remove variable.
25318         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25319         setting p and q from "else if" to "else".
25320         (qzero): Likewise.
25321         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25322         (qone): Likewise.
25323         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25324         (qzerof): Likewise.
25325         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25326         (qonef): Likewise.
25327         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25328         (qzero): Likewise.
25329         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25330         (qone): Likewise.
25332         [BZ #18038]
25333         [BZ #18039]
25334         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25335         return pi/2 for arguments below 0x1p-113L.
25336         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25337         return pi/2 for arguments below 0x1p-106L.
25338         * math/auto-libm-test-in: Add more tests of acos.
25339         * math/auto-libm-test-out: Regenerated.
25341         [BZ #16351]
25342         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25343         (MO): New macro.
25344         (__ieee754_asin): Force underflow exception for results with small
25345         absolute value.
25346         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25347         (MO): New macro.
25348         (__ieee754_asinf): Force underflow exception for results with
25349         small absolute value.
25350         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25351         (__ieee754_asin): Force underflow exception for results with small
25352         absolute value.
25353         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25354         (__ieee754_asinf): Force underflow exception for results with
25355         small absolute value.
25356         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25357         (__ieee754_asinl): Force underflow exception for results with
25358         small absolute value.
25359         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25360         (__ieee754_asinl): Force underflow exception for results with
25361         small absolute value.
25362         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25363         (__ieee754_asinl): Force underflow exception for results with
25364         small absolute value.
25365         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25366         Include <math.h>.
25367         * math/auto-libm-test-in: Do not mark underflow exceptions as
25368         possibly missing for bug 16351.
25369         * math/auto-libm-test-out: Regenerated.
25371         [BZ #18030]
25372         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25373         of power of 2 down when low part has opposite sign.
25374         * math/libm-test.inc (logb_test_data): Add more tests.
25376 2015-02-26  Andreas Schwab  <schwab@suse.de>
25378         [BZ #18032]
25379         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25380         over collating symbol inside a bracket expression.  Minor cleanup.
25381         * posix/tst-fnmatch3.c (do_test): Add test case.
25383 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25385         [BZ #18029]
25386         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25387         Adjust exponent of power of 2 down when low part has opposite
25388         sign.
25389         * math/libm-test.inc (ilogb_test_data): Add more tests.
25391 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
25393         [BZ #15969]
25394         * locale/findlocale.c (_nl_find_locale): Fix constness error in
25395         the previous change.
25397         [BZ #15969]
25398         * locale/findlocale.c (_nl_find_locale): Retry archive search
25399         after alias expansion.
25401 2015-02-25  Roland McGrath  <roland@hack.frob.com>
25403         * iconv/tst-iconv3.c (main): Converted to ...
25404         (do_test): ... this.
25405         (TEST_FUNCTION): New macro.
25406         Include test-skeleton.c.
25408         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25409         (convert): Make function static.
25410         (test_unalign): Likewise.  Add const to argument pointee types.
25411         (main): Replace with static function do_test.
25412         Print "Succeeded." only if RET is zero.
25413         (TEST_FUNCTION): New macro.
25414         Include test-skeleton.c.
25416         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
25417         returns a null pointer.
25419 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25421         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
25422         to __memcpy_ppc only for static builds.
25424 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
25426         [BZ #18020]
25427         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
25428         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
25429         * math/auto-libm-test-in: Add more tests of asinh.
25430         * math/auto-libm-test-out: Regenerated.
25431         * sysdeps/i386/fpu/libm-test-ulps: Update.
25432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25434 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
25436         [BZ #15850]
25437         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25438         and ip6_mtuinfo definitions here.
25439         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
25440         in this define too.  Update comment.
25442 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
25444         * elf/sprof.c (load_shobj): Tweak error message to match others.
25446 2015-02-24  Kevin Easton  <kevin@guarana.org>
25448         [BZ #16145] (partial fix)
25449         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
25450         to reduce lock contention.
25452 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
25454         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
25455         (struct timex): Update time comment.
25456         (ADJ_SETOFFSET): Define.
25458 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25460         [BZ #18019]
25461         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25462         2**56 not 2**28 as threshold for log (2x) formula.
25463         * math/auto-libm-test-in: Add more tests of acosh.
25464         * math/auto-libm-test-out: Regenerated.
25465         * sysdeps/i386/fpu/libm-test-ulps: Update.
25466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25468 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25470         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
25471         parenthesis around the buf assignment.
25472         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
25474 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25476         [BZ #16783]
25477         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
25478         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
25479         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
25480         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25481         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25482         * math/libm-test.inc (scalb_test_data): Add more tests.
25484 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25486         [BZ #17916]
25487         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
25488         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
25490 2015-02-24  Eric Rannaud  <e@nanocritical.com>
25492         [BZ #17523]
25493         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
25494         * io/bits/fcntl2.h (open): Use it.
25495         (openat): Likewise.
25496         * io/open.c (__libc_open): Likewise.
25497         * io/open64.c (__libc_open64): Likewise.
25498         * io/open64_2.c (__open64_2): Likewise.
25499         * io/open_2.c (__open_2): Likewise.
25500         * io/openat.c (__openat): Likewise.
25501         * io/openat64.c (__openat64): Likewise.
25502         * io/openat64_2.c (__openat64_2): Likewise.
25503         * io/openat_2.c (__openat_2): Likewise.
25504         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
25505         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25506         * sysdeps/posix/open64.c (__libc_open64): Likewise.
25507         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25508         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25509         (__open_nocancel): Likewise.
25510         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25511         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25512         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
25514 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25516         [BZ #14841]
25517         * resolv/gethnamaddr.c (getanswer): Skip logging if
25518         RES_USE_DNSSEC is set.
25519         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25521 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25523         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
25525 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
25527         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25528         201304L, for Unicode 7.
25530 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
25532         [BZ #17836]
25533         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
25534         shared library.  Add gmon-start.os otherwise.
25535         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
25536         $(objpfx)gmon-start.os if builing shared library.
25537         ($(objpfx)g$(static-start-installed-name)): Likewise.
25539 2015-02-23  Andreas Schwab  <schwab@suse.de>
25541         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
25543 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25545         [BZ #17269]
25546         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
25547         (enlarge_userbuf): Likewise.
25549 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
25551         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
25552         * math/atest-exp.c (TIMEOUT): Adjust to 200.
25553         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
25554         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
25556 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
25558         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
25559         expression inside statement expression.
25561 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25563         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
25564         <sysdeps/nptl/lowlevellock.h> and remove macros and
25565         functions that are now defined there.
25566         (SYS_futex): Remove.
25567         (lll_compare_and_swap): Remove.
25568         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
25570 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
25572         [BZ #17999]
25573         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
25574         instead of scandirat.
25575         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
25576         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
25577         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
25578         __scandirat.
25579         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
25580         (__scandirat): Declare.  Use libc_hidden_proto.
25581         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
25582         Remove variable.
25583         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25585 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25587         [BZ #15319]
25588         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
25589         (MO): New macro.
25590         (__ieee754_atan2): For results with small absolute value, force
25591         underflow exception and remove excess range and precision from
25592         return value.
25593         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
25594         (MO): New macro.
25595         (__ieee754_atan2f): For results with small absolute value, force
25596         underflow exception and remove excess range and precision from
25597         return value.
25598         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
25599         (MO): New macro.
25600         (__atan): For results with small absolute value, force underflow
25601         exception and remove excess range and precision from return value.
25602         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
25603         (MO): New macro.
25604         (__atanf): For results with small absolute value, force underflow
25605         exception and remove excess range and precision from return value.
25606         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
25607         <math.h>.
25608         (__ieee754_atan2): Force underflow exception for results with
25609         small absolute value.
25610         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
25611         <math_private.h>.
25612         (atan): Force underflow exception for results with small absolute
25613         value.
25614         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
25615         (__atanf): Force underflow exception for results with small
25616         absolute value.
25617         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
25618         <math.h>.
25619         (__atanl): Force underflow exception for results with small
25620         absolute value.
25621         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
25622         (__atanl): Force underflow exception for results with small
25623         absolute value.
25624         * sysdeps/x86/fpu/bits/mathinline.h
25625         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
25626         (__ieee754_atan2): Only define inline for long double.
25627         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25628         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
25629         * math/auto-libm-test-in: Do not mark underflow exceptions as
25630         possibly missing for bug 15319.  Add more tests of atan2.
25631         * math/auto-libm-test-out: Regenerated.
25632         * math/libm-test.inc (casin_test_data): Do not mark underflow
25633         exceptions as possibly missing for bug 15319.
25634         (casinh_test_data): Likewise.
25635         * sysdeps/i386/fpu/libm-test-ulps: Update.
25637 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
25639         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
25640         * sysdeps/mips/bits/endian.h: Fix comments.
25642 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25644         [BZ #17996]
25645         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
25646         (hdestroy_r): Likewise.
25647         (hsearch_r): Likewise.
25648         (__hcreate_r): Declare and use libc_hidden_proto.
25649         (__hdestroy_r): Likewise.
25650         (__hsearch_r): Likewise.
25651         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
25652         (hcreate): Call __hcreate_r instead of hcreate_r.
25653         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
25654         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
25655         as weak alias of __hcreate_r.
25656         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
25657         __hdestroy_r.
25658         (hsearch_r): Rename to __hsearch_r and define as weak alias of
25659         __hsearch_r.
25660         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
25661         Remove variable.
25662         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25663         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25664         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25665         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25667 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25669         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
25670         arena_lock into a single arena_get.
25672 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
25674         * dl-reloc.c: Inlucde libc-internal.h.
25675         (_dl_try_allocate_static_tls): Call ALIGN_UP.
25676         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
25677         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
25678         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
25679         (grow_heap): Likewise.
25680         * malloc/malloc.c: Include libc-internal.h.
25681         (do_check_malloc): Call powerof2.
25682         (sysmalloc): Use pagesize. Call ALIGN_UP.
25683         (systrim): Use pagesize.
25684         (mremap_chunk): Use pagesize. Call ALIGN_UP.
25685         (__libc_valloc): Use pagesize.
25686         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
25688 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25690         [BZ #17991]
25691         * include/sys/resource.h (__getrlimit64): Declare.  Use
25692         libc_hidden_proto.
25693         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
25694         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
25695         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
25696         getrlimit64.
25697         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
25698         __getrlimit64.
25699         [!getrlimit64] (getrlimit64): Define as weak alias of
25700         __getrlimit64.  Use libc_hidden_weak.
25701         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
25702         using __getrlimit64 not __new_getrlimit64.
25703         (__GI_getrlimit64): Likewise.
25704         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
25705         Likewise.
25706         (__GI_getrlimit64): Likewise.
25707         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
25708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
25709         (getrlimit): Add __getrlimit64 alias.
25710         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
25711         Likewise.
25712         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
25713         Remove variable.
25714         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25715         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25717 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
25719         * libio/fileops.c: Add missing sys/mman.h
25720         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
25722 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25724         * manual/math.texi (Errors in Math Functions): Clarify goals
25725         regarding inexact and underflow exceptions.
25727 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25729         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
25730         * sysdeps/mips/memset.S: Ditto.
25732 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25734         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
25736 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25738         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
25739         (__v1longjmp): Remove versioned symbol.
25740         (__v1siglongjmp): Remove alias and versioned symbol.
25741         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
25742         (__v2siglongjmp): Likewise.
25744 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25746         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
25748 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
25750         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
25752 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25754         [BZ #17987]
25755         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25756         zero result does not depend on the sign resulting from
25757         subtraction.
25758         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25759         Likewise.
25760         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25761         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25762         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25763         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25764         * math/libm-test.inc (remquo_test_data): Add more tests.
25766 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
25768         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
25769         Problem reported by J William Piggott.
25771 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25773         [BZ #17978]
25774         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
25775         products 4 * y and 2 * y where those would overflow.
25776         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25777         Likewise.
25778         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25779         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25780         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25781         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25782         * math/libm-test.inc (remquo_test_data): Add more tests.
25784         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25786         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25787         [defined _COMPILING_NEWLIB].
25788         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25789         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25791         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25792         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25794 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25796         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25797         acquired.
25799 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25801         [BZ #17792]
25802         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25803         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25804         HOST_STACK_END_ADDR): Likewise.
25806 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25808         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25809         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25810         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25812 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25814         * sysdeps/generic/c++-types.data: New file.
25815         * sysdeps/generic/ld.abilist: New file.
25816         * sysdeps/generic/libBrokenLocale.abilist: New file.
25817         * sysdeps/generic/libanl.abilist: New file.
25818         * sysdeps/generic/libc.abilist: New file.
25819         * sysdeps/generic/libcrypt.abilist: New file.
25820         * sysdeps/generic/libdl.abilist: New file.
25821         * sysdeps/generic/libm.abilist: New file.
25822         * sysdeps/generic/libpthread.abilist: New file.
25823         * sysdeps/generic/libresolv.abilist: New file.
25824         * sysdeps/generic/librt.abilist: New file.
25826 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25828         [BZ #17569]
25829         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25830         Compute absolute value of x as modified by fmod, not original
25831         value of x.
25832         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25833         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25834         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25835         RUN_TEST_ffI_f1_mod8.
25836         (remquo_test_data): Add more tests.
25838 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25840         * sysdeps/init_array/pt-crti.S: New file.
25842 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25844         [BZ #17967]
25845         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25846         __builtin_fmaf instead of relying on contraction of a * b + c.
25848 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25850         [BZ #17969]
25851         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25852         node.
25854 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25856         [BZ #17964]
25857         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25858         __builtin_fma instead of relying on contraction of a * b + c.
25860 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25862         * Makeconfig (ASFLAGS): Add -Werror=undef.
25863         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25864         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25865         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25867         * Makeconfig (after-link): New variable.
25868         (+link-pie, +link-pie-tests): Use it.
25869         (+link-static, +link-static-tests): Likewise.
25870         (+link, +link-tests): Likewise.
25871         * Makerules (build-module, build-module-asneeded): Likewise.
25872         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25873         Likewise.
25874         * elf/Makefile ($(objpfx)ld.so): Likewise.
25876 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25878         [BZ #17965]
25879         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25880         both struct timeval and struct timespec.
25882 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25884         [BZ #16560]
25885         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25886         and redefine.
25887         (__ieee754_exp2l): Do not multiply small fractional parts by
25888         M_LN2l.
25889         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25890         small argument.
25891         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25892         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25893         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25894         * math/auto-libm-test-in: Add more tests of exp2.
25895         * math/auto-libm-test-out: Regenerated.
25897 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25899         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25900         unaligned path.
25902 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25904         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25905         little endian.
25907 2015-02-12  Andreas Schwab  <schwab@suse.de>
25909         [BZ #15790]
25910         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25911         Filter out elision flags from value returned in kind.
25912         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25913         * nptl/tst-pthread-mutexattr.c: New file.
25915 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25917         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25918         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25919         into gnu-gnu, and update comment to refer to abi-tags.
25921 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25923         [BZ #15467]
25924         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25925         (__sincos): Set errno to EDOM for infinite argument.
25926         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25927         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25928         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25929         (__sincosl): Set errno to EDOM for infinite argument.
25930         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25931         (__sincosl): Set errno to EDOM for infinite argument.
25932         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25933         (__sincosl): Set errno to EDOM for infinite argument.
25934         * math/libm-test.inc (sincos_test_data): Test errno setting.
25936 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25938         * string/strxfrm_l.c: Remove #define STRCMP.
25939         * string/strcoll_l.c: Remove #define STRLEN.
25940         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25941         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25943 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25945         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25946         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25947         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25948         * sysdeps/mips/mips64/Makefile: ... here.
25949         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25950         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25951         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25952         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25953         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25954         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25955         * sysdeps/mips/mips64/n64/Implies: Likewise.
25957 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25959         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25960         <sys/time.h>, <string.h>, and <errno.h>.
25961         (dest_offset, dest_address, value, zero): Remove unused variables.
25962         (ldouble): Remove typedef.
25963         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25964         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25965         1).  Fix code style.
25966         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25967         (check): Function removed.
25968         (CHECK): New macro.
25969         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25970         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25971         Don't call set_sigaction_FP and remove_sigaction_FP here.
25972         (ldouble_test): Just use 'long double' as macro argument, no need for
25973         the 'ldouble' typedef.
25974         (do_test): Set up SIGFPE handler at start, using plain signal rather
25975         than sigaction.  Fix code style.
25977 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25979         [BZ #17949]
25980         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25981         jump label.
25983 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25985         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25986         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25988         * sysdeps/powerpc/configure.ac: Remove file.
25989         * sysdeps/powerpc/configure: Likewise.
25991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25992         [sysdep_routines]: Remove wordcopy-power6 object.
25993         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25994         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
25995         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
25996         (__memmove_ppc32): Likewise.
25997         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
25998         file.
25999         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26000         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26001         Remove preprocessor.
26003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26004         [sysdep_routines]: Remove wide chars objects.
26005         [wcsmbs]: New rule for wide char objects.
26007         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26008         Remove wordcopy-power6 obejct.
26009         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26010         Use local call for wordcopy and memcpy symbols.
26011         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26012         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26013         implementation for loader.
26014         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26016         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26017         Remove wordcopy-power7 object.
26018         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26019         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26020         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26021         (_wordcopy_fwd_dest_aligned): Likewise.
26022         (_wordcopy_bwd_aligned): Likewise.
26023         (_wordcopy_bwd_dest_aligned): Likewise.
26025         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26026         Rewrite to call __memmove_ppc instead of include default
26027         implementation.
26029         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26030         Remove wide chars objects.
26031         [wcsmbs]: New rule for wide char objects.
26033 2015-02-09  Andreas Schwab  <schwab@suse.de>
26035         [BZ #17912]
26036         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26037         in terms of __O_DIRECTORY.
26039 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26041         * time/getdate.c: Include <stdbool.h>.
26042         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26043         call PTR_MANGLE.
26044         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26045         PTR_DEMANGLE.
26047 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26049         Add ersatz _Static_assert on older C hosts
26050         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26051         pre-C11 C platform that is not known to support _Static_assert.
26053 2015-02-07  Richard Braun  <rbraun@sceen.net>
26055         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26056         sigstate.
26057         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26059 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26061         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26062         priority against unexistent AIO_PRIO_DELTA_MAX.
26063         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26064         instead of int.
26065         * misc/fchflags.c (fchflags): Likewise.
26066         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26067         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26068         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26069         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26070         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26071         Declare macros.
26072         [__USE_MISC] (chflags, fchflags): Declare functions.
26073         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26074         EINVAL when nfds is greater than FD_SETSIZE.
26075         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26076         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26077         45.
26078         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26079         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26080         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26081         MACH_RCV_TIMED_OUT.
26082         * hurd/hurd/signal.h (_hurd_self_sigstate,
26083         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26084         Explicit casts from void *.
26085         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26086         * abi-tags: Rename gnu-gnu os into gnu.
26088         [BZ #4719]
26089         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26090         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26091         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26092         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26093         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26094         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26096         [BZ #17944]
26097         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26098         duplicates ADDR->sun_path with sockaddr LEN limitation.
26099         * sysdeps/mach/hurd/connect.c: Include <string.h>
26100         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26101         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26102         * sysdeps/mach/hurd/sendto.c: Likewise.
26103         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26104         implementing it by hand.
26106 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26108         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26109         Use sfi_breg on ldr.
26110         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26111         Likewise.
26113         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26114         it's defined.
26115         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26116         Test SIGSETXID only if it's defined.
26118         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26120         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26121         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26123         * nptl/tst-align2.c: Moved ...
26124         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26125         * nptl/Makefile (tests): Remove tst-align2.
26126         * sysdeps/unix/sysv/linux/Makefile
26127         [$(subdir) = nptl] (tests): Add tst-align-clone.
26128         * nptl/tst-getpid1.c: Moved ...
26129         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
26130         * nptl/tst-getpid2.c: Moved ...
26131         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
26132         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
26133         * sysdeps/unix/sysv/linux/Makefile
26134         [$(subdir) = nptl] (tests): ... here.
26135         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
26136         * sysdeps/unix/sysv/linux/Makefile
26137         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
26139         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
26140         Drop trailing \n from perror argument.  Use return rather than exit.
26142         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
26143         on [SA_SIGINFO].
26144         * nptl/tst-cancel21.c (do_test): Likewise.
26145         * debug/tst-backtrace6.c: Include <signal.h> first thing.
26146         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
26147         [!SA_SIGINFO]: Make it a stub test.
26149         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
26150         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
26152         * posix/tst-getlogin.c: Move to ...
26153         * login/tst-getlogin.c: ... here.
26154         * posix/Makefile (tests): Move tst-getlogin to ...
26155         * login/Makefile (tests): ... here.
26157         * libio/tst-atime.c (do_test): Move local variables SV and E
26158         inside [ST_NOATIME] conditional.
26160         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
26162         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
26164         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
26165         (wait_code): New function replaces macro.
26166         Call nanosleep rather than syscall.
26168         * nptl/pt-system.c: Rewritten.  Put everything under
26169         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26170         Use IFUNC to redirect when possible.
26172         * nptl/pt-longjmp.c: Rewritten.  Put everything under
26173         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26174         Use IFUNC to redirect when possible.
26176         * nptl/pt-fork.c: Rewritten.  Put everything under
26177         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26178         Use IFUNC to redirect when possible.
26179         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
26181         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
26182         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
26183         unconditionally nowadays.  This included the only reference to
26184         __vdso_clock_gettime that appears outside libc proper.
26185         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
26186         Remove version set (containing only __vdso_clock_gettime).
26187         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26188         Add attribute_hidden.
26189         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26190         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
26191         libc_hidden_data_def.
26192         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26193         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26195         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
26196         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
26197         setrpcent, and getrpcport to ...
26198         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
26199         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
26200         getrpcbynumber_r, and getrpcent_r to ...
26201         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
26202         * inet/getrpcbyname.c: Moved ...
26203         * sunrpc/getrpcbyname.c: ... here.
26204         * inet/getrpcbyname_r.c: Moved ...
26205         * sunrpc/getrpcbyname_r.c: ... here.
26206         * inet/getrpcbynumber.c: Moved ...
26207         * sunrpc/getrpcbynumber.c: ... here.
26208         * inet/getrpcbynumber_r.c: Moved ...
26209         * sunrpc/getrpcbynumber_r.c: ... here.
26210         * inet/getrpcent.c: Moved ...
26211         * sunrpc/getrpcent.c: ... here.
26212         * inet/getrpcent_r.c: Moved ...
26213         * sunrpc/getrpcent_r.c: ... here.
26214         * inet/Makefile (routines): Move those to ...
26215         * sunrpc/Makefile (routines): ... here.
26216         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
26217         the $(subdirs) list.
26218         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
26219         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
26220         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
26221         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
26223         * elf/Makefile (routines): Include $(all-dl-routines), not just
26224         $(dl-routines).
26225         (rtld-routines): Likewise.  Use = rather than :=.
26226         * sysdeps/aarch64/Makefile [$(subdir) = elf]
26227         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
26228         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
26229         * sysdeps/arm/Makefile: Likewise.
26230         * sysdeps/i386/Makefile: Likewise.
26231         * sysdeps/x86_64/Makefile: Likewise.
26232         * sysdeps/hppa/Makefile [$(subdir) = elf]
26233         (sysdep_routines, sysdep-rtld-routines): Don't add
26234         $(sysdep-dl-routines) to these.
26235         * sysdeps/ia64/Makefile: Likewise.
26236         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
26237         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
26238         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
26239         Don't add dl-static to these; sysdep-dl-routines alone is enough.
26240         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
26241         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
26242         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
26243         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
26244         * sysdeps/powerpc/Makefile [$(subdir) = elf]
26245         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
26246         these; sysdep-dl-routines alone is enough.
26248 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
26250         [BZ #17932]
26251         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
26252         where multiplication results in zero and third argument is finite
26253         and nonzero.
26254         * math/auto-libm-test-in: Add more tests of fma.
26255         * math/auto-libm-test-out: Regenerated.
26257         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
26258         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
26259         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
26260         (_FP_CMP_EQ): Likewise.
26261         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
26263         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
26264         extra argument CHECK_NAN.  Redefine as wrapper around
26265         _FP_EXTEND_CNAN.
26267 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
26269         * version.h (RELEASE): Set to "stable".
26270         (VERSION): Set to "2.21"
26271         * include/features.h (__GLIBC_MINOR__): Set to 21.
26273         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
26275 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26276             Paul Eggert  <eggert@cs.ucla.edu>
26278         [BZ #16618]
26279         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
26280         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
26281         size in bytes. Store needed elements in wpmax. Use needed size
26282         in bytes for extend_alloca.
26284 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
26286         * manual/install.texi: Latest tested versions are GCC 4.9.2,
26287         binutls 2.25, and texinfo 5.2.
26288         * INSTALL: Regenerate.
26289         * sysdeps/nios2/configure: Regenerate.
26290         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
26291         * manual/contrib.texi: Update.
26292         * po/be.po: Update.
26293         * po/bg.po: Update.
26294         * po/ca.po: Update.
26295         * po/cs.po: Update.
26296         * po/da.po: Update.
26297         * po/de.po: Update.
26298         * po/el.po: Update.
26299         * po/eo.po: Update.
26300         * po/es.po: Update.
26301         * po/fi.po: Update.
26302         * po/fr.po: Update.
26303         * po/gl.po: Update.
26304         * po/hr.po: Update.
26305         * po/hu.po: Update.
26306         * po/ia.po: Update.
26307         * po/id.po: Update.
26308         * po/it.po: Update.
26309         * po/ja.po: Update.
26310         * po/ko.po: Update.
26311         * po/lt.po: Update.
26312         * po/nb.po: Update.
26313         * po/nl.po: Update.
26314         * po/pl.po: Update.
26315         * po/pt_BR.po: Update.
26316         * po/ru.po: Update.
26317         * po/rw.po: Update.
26318         * po/sk.po: Update.
26319         * po/sl.po: Update.
26320         * po/sv.po: Update.
26321         * po/tr.po: Update.
26322         * po/uk.po: Update.
26323         * po/vi.po: Update.
26324         * po/zh_CN.po: Update.
26325         * po/zh_TW.po: Update.
26327         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26328         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26329         * sysdeps/hppa/dl-irel.h: Remove #warning.
26330         * sysdeps/hppa/entry.h: Provide prototype for
26331         __canonicalize_funcptr_for_compare and cast argument.
26332         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26333         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26334         * sysdeps/hppa/sotruss-lib.c: New file.
26335         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26336         (atomic_compare_and_exchange_val_acq): Use __typeof__.
26337         (atomic_compare_and_exchange_bool_acq): Likewise.
26338         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26339         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26341         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26342         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26343         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26345 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
26347         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26348         called function in non-PIC case.
26350 2015-01-31  David S. Miller  <davem@davemloft.net>
26352         * sysdeps/sparc/sparc32/bits/atomic.h
26353         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26354         unlock not after it.
26355         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26356         volatile register usage warnings from the compiler.
26358         * sysdeps/sparc/nptl/sem_init.c: Delete.
26359         * sysdeps/sparc/nptl/sem_post.c: Delete.
26360         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26361         * sysdeps/sparc/nptl/sem_wait.c: Delete.
26362         * sysdeps/sparc/sparc32/sem_init.c: New file.
26363         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26364         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26365         padding explicitly initialized.
26366         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26367         padding for in-semaphore spinlock.
26368         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26369         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26370         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26371         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26372         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26373         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26374         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26375         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26376         version.
26377         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26378         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26380 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
26382         [BZ #17801]
26383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26384         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26385         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26386         New.
26387         (index_AVX_Fast_Unaligned_Load): Likewise.
26388         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26389         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26390         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26391         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26392         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26393         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26394         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26395         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26396         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26398 2015-01-29  Andreas Schwab  <schwab@suse.de>
26400         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26402 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
26404         [BZ #17892]
26405         * nscd/nscd_stat.c (send_stats): Initialize DATA.
26407 2015-01-28  Martin Sebor  <msebor@redhat.com>
26409         * math/README.libm-test: Clarify. Add "How to read the test output."
26411 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
26413         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
26414         Define to 0.
26416 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
26418         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
26419         (__HAVE_64B_ATOMICS): Define to 0.
26421 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26423         [BZ #17885]
26424         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
26425         value to set as new flag.
26427         [BZ #16576]
26428         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
26429         and use _ARCH_PPCSQ instead.
26430         (__ieee754_sqrt): Likewise.
26431         (__ieee754_sqrtf): Likewise.
26432         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
26433         _ARCH_PPCSQ is defined.
26434         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
26435         fsqrt instruction.
26436         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
26437         _ARCH_PPCSQ is defined.
26438         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
26439         fsqrts instruction.
26440         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
26442 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26444         * iconv/loop.c: Suppress array out of bound warning caused by GCC
26445         bug (GCC BZ #64739).
26447 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
26449         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26450         Mark _retval as used.
26451         (lll_futex_wake_unlock): Likewise.
26452         (lll_futex_timed_wait_requeue_pi): Likewise.
26454         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26455         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
26456         register variables.
26458         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
26459         libm_hidden_def.
26461         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
26462         (__bswap_64): Mark as __always_inline.
26464 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
26466         [BZ #15378]
26467         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
26468         when none of the search directories exist.
26470 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26472         [BZ #17869]
26473         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
26474         power8 in .machine directive.
26476         [BZ #17868]
26477         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
26478         set dependency from opd value.
26480 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26483         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26484         architecture.
26486 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26488         [BZ #17870]
26489         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
26490         with uint64_t.
26491         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
26492         (uint64_t) 1.
26493         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
26494         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26495         Replace 1UL with (uint64_t) 1.
26496         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
26497         int with uint64_t.
26499 2015-01-23  Roland McGrath  <roland@hack.frob.com>
26501         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
26502         (if_freenameindex): Likewise.
26504         * resource/getrlimit64.c: Add missing libc_hidden_def.
26506 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
26508         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
26509         __label__.
26510         (_FP_FMA): Likewise.
26511         (_FP_TO_INT_ROUND): Likewise.
26512         (_FP_FROM_INT): Likewise.
26514 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26516         [BZ #16418]
26517         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
26518         Make code racy and cancel safe.
26520 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
26522         * sysdeps/arm/unwind-resume.h: Fix copyright year.
26523         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
26524         attribution.
26526         * pwd/tst-getpw.c: Rewrite.
26528         [BZ #17702]
26529         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
26530         (modules-names): Add moddummy1 and moddummy2.
26531         ($(objpfx)tst-rec-dlopen): Define.
26532         * dlfcn/moddummy1.c: New file.
26533         * dlfcn/moddummy2.c: New file.
26534         * dlfcn/tst-rec-dlopen.c: New file.
26535         * elf/dl-cache.c (_dl_load_cache_lookup):
26536         Return char*. Copy result with alloca/strcpy/strdup.
26537         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
26538         returns char*. Free cached. If not saving realname
26539         free cached.
26540         * elf/dl-open.c (dl_open_worker): Do not assert that
26541         _r_debug->r_state is RT_CONSISTENT.
26542         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
26543         returns char*.
26545 2015-01-21  Torvald Riegel  <triegel@redhat.com>
26546             Carlos O'Donell  <carlos@redhat.com>
26548         [BZ #12674]
26549         * nptl/sem_waitcommon.c: New file.
26550         * nptl/sem_wait.c: Include sem_waitcommon.c.
26551         (__sem_wait_cleanup, do_futex_wait): Remove.
26552         (__new_sem_wait): Adapt.
26553         (__new_sem_trywait): New function.
26554         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
26555         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
26556         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
26557         (sem_timedwait): Adapt.
26558         * nptl/sem_post.c (__new_sem_post): Adapt.
26559         (futex_wake): New function.
26560         (__old_sem_post): Add release MO fence.
26561         * nptl/sem_open.c (sem_open): Adapt.
26562         * nptl/sem_init.c (__new_sem_init): Adapt.
26563         (futex_private_if_supported): New function.
26564         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
26565         (__old_sem_getvalue): Add using previous code.
26566         * sysdeps/nptl/internaltypes.h: Adapt.
26567         * nptl/tst-sem13.c (do_test): Adapt.
26568         * nptl/tst-sem11.c (main): Adapt.
26569         * nptl/sem_trywait.c: Remove.
26570         * nptl/DESIGN-sem.txt: Remove.
26571         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
26572         (gen-as-const-headers): Remove structsem.sym.
26573         * nptl/structsem.sym: Remove.
26574         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
26575         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
26576         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
26577         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
26578         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
26579         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
26580         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
26581         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
26582         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
26583         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
26584         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
26585         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
26586         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
26587         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
26588         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
26589         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
26590         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
26591         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
26592         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
26593         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
26594         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
26595         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
26597 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
26599         * INSTALL: Regenerated.
26601         * po/libc.pot: Regenerated.
26603 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
26604             Sandra Loosemore  <sandra@codesourcery.com>
26605             Andrew Jenner  <andrew@codesourcery.com>
26606             Joseph Myers  <joseph@codesourcery.com>
26607             Nathan Sidwell  <nathan@codesourcery.com>
26609         * NEWS: Mention new Nios II port.
26610         * sysdeps/nios2/Implies: New file.
26611         * sysdeps/nios2/Makefile: New file.
26612         * sysdeps/nios2/Subdirs: New file.
26613         * sysdeps/nios2/Versions: New file.
26614         * sysdeps/nios2/__longjmp.S: New file.
26615         * sysdeps/nios2/abort-instr.h: New file.
26616         * sysdeps/nios2/backtrace.c: New file.
26617         * sysdeps/nios2/bits/endian.h: New file.
26618         * sysdeps/nios2/bits/fenv.h: New file.
26619         * sysdeps/nios2/bits/link.h: New file.
26620         * sysdeps/nios2/bits/setjmp.h: New file.
26621         * sysdeps/nios2/bsd-_setjmp.S: New file.
26622         * sysdeps/nios2/bsd-setjmp.S: New file.
26623         * sysdeps/nios2/configure: New generated file.
26624         * sysdeps/nios2/configure.ac: New file.
26625         * sysdeps/nios2/crti.S: New file.
26626         * sysdeps/nios2/crtn.S: New file.
26627         * sysdeps/nios2/dl-init.c: New file.
26628         * sysdeps/nios2/dl-machine.h: New file.
26629         * sysdeps/nios2/dl-sysdep.h: New file.
26630         * sysdeps/nios2/dl-tls.h: New file.
26631         * sysdeps/nios2/dl-trampoline.S: New file.
26632         * sysdeps/nios2/gccframe.h: New file.
26633         * sysdeps/nios2/gmp-mparam.h: New file.
26634         * sysdeps/nios2/jmpbuf-offsets.h: New file.
26635         * sysdeps/nios2/jmpbuf-unwind.h: New file.
26636         * sysdeps/nios2/ldsodefs.h: New file.
26637         * sysdeps/nios2/libc-tls.c: New file.
26638         * sysdeps/nios2/libm-test-ulps: New file.
26639         * sysdeps/nios2/machine-gmon.h: New file.
26640         * sysdeps/nios2/math-tests.h: New file.
26641         * sysdeps/nios2/math_private.h: New file.
26642         * sysdeps/nios2/memusage.h: New file.
26643         * sysdeps/nios2/nptl/Makefile: New file.
26644         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
26645         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
26646         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
26647         * sysdeps/nios2/nptl/pthreaddef.h: New file.
26648         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
26649         * sysdeps/nios2/nptl/tls.h: New file.
26650         * sysdeps/nios2/preconfigure: New file.
26651         * sysdeps/nios2/s_fma.c: New file.
26652         * sysdeps/nios2/s_fmaf.c: New file.
26653         * sysdeps/nios2/setjmp.S: New file.
26654         * sysdeps/nios2/sfp-machine.h: New file.
26655         * sysdeps/nios2/sotruss-lib.c: New file.
26656         * sysdeps/nios2/stackguard-macros.h: New file.
26657         * sysdeps/nios2/stackinfo.h: New file.
26658         * sysdeps/nios2/start.S: New file.
26659         * sysdeps/nios2/sysdep.h: New file.
26660         * sysdeps/nios2/tls-macros.h: New file.
26661         * sysdeps/nios2/tst-audit.h: New file.
26662         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
26663         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
26664         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
26665         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
26666         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
26667         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
26668         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
26669         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
26670         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
26671         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
26672         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
26673         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
26674         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
26675         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
26676         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
26677         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
26678         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
26679         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
26680         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
26681         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
26682         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
26683         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
26684         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
26685         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
26686         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
26687         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
26688         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
26689         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
26690         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
26691         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
26692         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
26693         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
26694         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
26695         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
26696         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
26697         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
26698         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
26699         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
26700         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
26701         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
26702         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
26703         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
26704         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
26705         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
26707 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26709         [BZ #17844]
26710         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
26711         (getutent): Use weak_alias in non SHARED case
26712         and default_symbol_version in SHARED case.
26713         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
26714         (getutent_r, pututline): Likewise.
26715         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
26716         (getutid): Likewise.
26717         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
26718         (getutid_r): Likewise.
26719         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
26720         (getutline): Likewise.
26721         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
26722         (getutline_r): Likewise.
26723         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
26724         (updwtmp): Likewise.
26726 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26728         [BZ #17848]
26729         * sysdeps/s390/s390-32/memcmp.S
26730         (memcmp_g5): Rename to __memcmp_g5.
26731         * sysdeps/s390/s390-32/memcpy.S
26732         (memcpy_g5): Rename to __memcpy_g5.
26733         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26734         (memcpy_mvcle) Rename to __memcpy_mvcle.
26735         * sysdeps/s390/s390-32/memset.S
26736         (memset_g5): Rename to __memset_g5.
26737         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26738         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26739         and use prefixed functions.
26740         * sysdeps/s390/s390-32/multiarch/memcmp.S
26741         (memcmp_z196): Rename to __memcmp_z196.
26742         (memcmp_z10): Rename to __memcmp_z10.
26743         (memcmp): Set alias to __memcmp_g5.
26744         (bcmp): Set alias to __memcmp_g5.
26745         * sysdeps/s390/s390-32/multiarch/memcpy.S
26746         (memcpy_z196): Rename to __memcpy_z196.
26747         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26748         (memcpy_z10): Rename to __memcpy_z10.
26749         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26750         (memcpy): Set alias to __memcpy_g5.
26751         * sysdeps/s390/s390-32/multiarch/memset.S
26752         (memset_z196): Rename to __memset_z196.
26753         Jump to __memset_mvcle instead of memset_mvcle.
26754         (memset_z10): Rename to __memset_z10.
26755         Jump to __memset_mvcle instead of memset_mvcle.
26756         (memset_mvcle) Rename to __memset_mvcle.
26757         (memset): Set alias to __memset_g5.
26758         * sysdeps/s390/s390-64/memcmp.S
26759         (memcmp_z900): Rename to __memcmp_z900.
26760         * sysdeps/s390/s390-64/memcpy.S
26761         (memcpy_z900): Rename to __memcpy_z900.
26762         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26763         (memcpy_mvcle) Rename to __memcpy_mvcle.
26764         * sysdeps/s390/s390-64/memset.S
26765         (memset_z900): Rename to __memset_z900.
26766         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
26767         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26768         and use prefixed functions.
26769         * sysdeps/s390/s390-64/multiarch/memcmp.S
26770         (memcmp_z196): Rename to __memcmp_z196.
26771         (memcmp_z10): Rename to __memcmp_z10.
26772         (memcmp): Set alias to __memcmp_z900.
26773         (bcmp): Set alias to __memcmp_z900.
26774         * sysdeps/s390/s390-64/multiarch/memcpy.S
26775         (memcpy_z196): Rename to __memcpy_z196.
26776         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26777         (memcpy_z10): Rename to __memcpy_z10.
26778         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26779         (memcpy): Set alias to __memcpy_z900.
26780         * sysdeps/s390/s390-64/multiarch/memset.S
26781         (memset_z196): Rename to __memset_z196.
26782         Jump to __memset_mvcle instead of memset_mvcle.
26783         (memset_z10): Rename to __memset_z10.
26784         Jump to __memset_mvcle instead of memset_mvcle.
26785         (memset_mvcle) Rename to __memset_mvcle.
26786         (memset): Set alias to __memset_z900.
26788 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26790         [BZ #17748]
26791         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26792         __fesetenv instead of fesetenv.
26794 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26796         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26797         macro.
26799 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26801         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26802         regression on LE.
26804         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26805         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26806         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26807         strncmp-power8 object.
26808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26809         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26810         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26811         * NEWS: Update.
26813 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26814             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26816         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26817         trailing byte check.
26819 2015-01-13  David S. Miller  <davem@davemloft.net>
26821         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26823 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26825         * login/logout.c (logout): Use memset rather than bzero.
26826         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26827         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26828         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26829         (_gethtbyaddr): Likewise.
26830         * locale/programs/simple-hash.c (bcopy): Macro removed.
26832 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26834         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26835         Add strcmp-power8 object.
26836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26837         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26838         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26839         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26840         __strcmp_power8 implementation.
26841         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26842         * NEWS: Update.
26844         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26845         Add strncpy-power8 and stpncpy-power8 objects.
26846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26847         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26848         implementations.
26849         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26850         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26851         __stpncpy_power8 implementation.
26852         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26853         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26854         __strncpy_power8 implementation.
26855         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26856         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26857         * NEWS: Update.
26859         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26860         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26861         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26864         strncat-power8 object.
26865         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26866         __strcat_power8 implementation.
26867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26868         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26869         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26870         optimized strcat for power8.
26872         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26873         strcpy-power8 and stpcpy-power8 objects.
26874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26875         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26876         implementations.
26877         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26878         multiarch stpcpy implementation for POWER8.
26879         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26880         multiarch strcpy implementation for POWER8.
26881         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26882         __strcpy_power8 function.
26883         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26884         stpcpy for POWER8.
26885         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26886         strcpy for POWER8.
26887         * NEWS: Update.
26889 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26891         [BZ #16009]
26892         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26893         weights and rules. Use do_xfrm_cached if data fits in cache,
26894         do_xfrm otherwise.  Moved former main loop to...
26895         * (do_xfrm_cached): New function.
26896         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26897         find_idx, find_position and stack_push.
26898         * (find_idx): New function.
26899         * (find_position): Likewise.
26900         * localedata/sort-test.sh: Added test run for do_xfrm.
26901         * localedata/xfrm-test.c (main): Added command line option
26902         -nocache to run the test with strings that are too large for
26903         the STRXFRM cache.
26905 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26907         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26908         variable to lll_futex_wake call, not the value itself.
26910 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26912         [BZ #17803]
26913         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26914         twom64.  Adjust value to 0x1p-64L.
26915         (__scalblnl): Only return standard underflowing result for K <=
26916         -64 not K <= -63; adjust exponent for underflowing result by 64
26917         not 63.
26918         * math/libm-test.inc (scalbn_test_data): Add more tests.
26919         (scalbln_test_data): Likewise.
26921         [BZ #17834]
26922         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26923         0x1p63L.
26924         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26925         not HX.
26926         * math/libm-test.inc (scalbn_test_data): Add more tests.
26927         (scalbln_test_data): Likewise.
26929 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26930             Stefani Seibold  <stefani@seibold.net>
26932         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26933         (sysdep_routines): Add dl-vdso here, ...
26934         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26935         (sysdep_routines): ... not here.
26936         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26937         fallback when vDSO is not presented.
26938         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26939         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26940         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26941         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26942         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26943         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26944         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26945         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26946         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26947         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26948         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26949         fallback configurable symbol when vDSO is not available.
26950         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26951         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26952         be able to redefine fallback symbol when vDSO is not available.
26953         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26954         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26956 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26958         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26959         (TLS_INIT_TP): Add tm_capable initialization.
26960         (TLS_DEFINE_INIT_TP): Likewise.
26961         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26962         TCB.
26963         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26964         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26965         calculation.
26966         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26967         transactoion is lock elision is built and TCB tm_capable is set.
26968         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26970         (INTERNAL_SYSCALL_NCS): Likewise.
26971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26972         (INTERNAL_SYSCALL_NCS): Likewise.
26973         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26975         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26976         for powerpc.
26977         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26978         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26979         and remove it for 32 bits case.
26980         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26981         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26982         initialization.
26983         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26984         Disable lock elision with rdlocks if elision is not available.
26986         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26987         (sysdep_routines): Add lock elision objects.
26988         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26989         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26990         [pthread_mutex_t] (__elision): Add field.
26991         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26992         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26993         elision definitions for powerpc.
26994         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
26995         implementation of lock elision for powerpc.
26996         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
26997         implementation of timed lock elision for powerpc.
26998         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
26999         implementation of trylock with lock elision for powerpc.
27000         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27001         implementaion of unlock for lock elision for powerpc.
27002         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27003         automatic enable lock elision for mutexes.
27004         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27005         transaction execution definitions for powerpc.
27006         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27007         definitions.
27008         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27009         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27010         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27011         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27012         * NEWS: Update.
27014 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27016         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27017         for #include of <shm-directory.h>.
27019 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27021         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27022         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27024 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27026         [BZ #17791]
27027         * NEWS: Mention bug fix.
27028         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27029         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27030         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27032 2015-01-09  Torvald Riegel <triegel@redhat.com>
27034         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27036 2015-01-09  Torvald Riegel <triegel@redhat.com>
27038         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27040 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27042         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27043         pointer and cast to uintptr_t.
27045 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27047         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27048         removed.
27049         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27051 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27053         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27054         of 0.
27056 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27058         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27059         <nptl/pthreadP.h> instead.
27060         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27062         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27063         already defined.
27064         [__SIGRTMIN] (init): Function removed.
27065         [__SIGRTMIN] (initialized): Variable removed.
27066         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27067         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27068         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27069         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27070         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27071         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27072         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27073         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27074         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27075         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27076         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27077         * sysdeps/nptl/allocrtsig.c: New file.
27078         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27079         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27080         * sysdeps/generic/testrtsig.h: File removed.
27082         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27083         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27085         * nptl/nptl-init.c (pthread_functions): Conditionalize
27086         .ptr__nptl_setxid initialization on [SIGSETXID].
27088         * sysdeps/nptl/sys/procfs.h: New file.
27089         * nptl_db/Makefile (headers): Add it.
27090         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27092         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27093         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27094         * nptl/pthread_attr_setaffinity.c: Include it.
27095         * nptl/pthread_setattr_default_np.c: Likewise.
27096         * nptl/check-cpuset.h: New file.
27098 2015-01-08  Richard Henderson  <rth@redhat.com>
27100         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27101         (CFLAGS-tst-execstack-prog.c): Likewise.
27102         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27104 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27105             Sandra Loosemore  <sandra@codesourcery.com>
27106             Andrew Jenner  <andrew@codesourcery.com>
27107             Joseph Myers  <joseph@codesourcery.com>
27108             Nathan Sidwell  <nathan@codesourcery.com>
27110         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27111         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27112         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27113         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27114         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27115         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27116         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27117         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27118         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27119         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27120         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27121         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27122         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27123         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27124         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27125         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27126         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27128 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27130         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
27131         timespec struct member in syscall macro.
27132         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27133         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
27134         first timeval struct member in syscall macro.
27135         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
27137 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
27139         [BZ #17748]
27140         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
27141         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
27142         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
27143         __feupdateenv and define as weak alias of __feupdateenv.  Use
27144         libm_hidden_weak.
27145         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
27146         libm_hidden_def.
27147         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
27148         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
27149         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27150         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
27151         libm_hidden_def.
27152         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
27153         __feupdateenv and define as weak alias of __feupdateenv.  Use
27154         libm_hidden_weak.
27155         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
27156         libm_hidden_def.
27157         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
27158         __feupdateenv and define as weak alias of __feupdateenv.  Use
27159         libm_hidden_weak.
27160         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
27161         libm_hidden_def.
27162         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27163         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27164         (__feupdateenv): Likewise.
27165         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
27166         __feupdateenv and define as weak alias of __feupdateenv.  Use
27167         libm_hidden_weak.
27168         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27169         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
27170         libm_hidden_def.
27171         * sysdeps/tile/math_private.h (__feupdateenv): New inline
27172         function.
27173         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
27174         libm_hidden_def.
27175         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
27176         __feupdateenv instead of feupdateenv.
27177         (default_libc_feupdateenv_test): Likewise.
27178         (libc_feresetround_ctx): Likewise.
27180 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27182         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
27183         prototype.
27185 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
27187         * posix/regcomp.c (parse_bracket_exp): Initialize type to
27188         COLL_SYM in a couple of places to avoid uninitialized variable
27189         wanings on tilegx gcc 4.8.2.
27191 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27193         * sysdeps/aarch64/strcpy.S: New file.
27194         * sysdeps/aarch64/stpcpy.S: New file.
27195         * NEWS: Updated.
27197 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27199         * sysdeps/aarch64/strrchr.S: New file.
27200         * NEWS: Updated.
27202 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
27204         [BZ #17658]
27205         * stdlib/setenv.c: Fix memory leak when setting large,
27206         duplicate string.
27208 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
27210         [BZ #17273]
27211         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
27212         and tabs from buffer before parsing fstab entry.
27213         * misc/tst-mntent.c (main): Add test for mount entry with
27214         trailing spaces and tabs.
27216 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
27218         [BZ #17748]
27219         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
27220         * math/fesetround.c (fesetround): Rename to __fesetround and
27221         define as weak alias of __fesetround.  Use libm_hidden_weak.
27222         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
27223         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
27224         * sysdeps/arm/fesetround.c (fesetround): Likewise.
27225         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
27226         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
27227         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
27228         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
27229         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
27230         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
27231         __fesetround_inline.
27232         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
27233         __fesetround_inline instead of __fesetround.
27234         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
27235         __fesetround and define as weak alias of __fesetround.  Use
27236         libm_hidden_weak.  Call __fesetround_inline instead of
27237         __fesetround.
27238         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
27239         __fesetround and define as weak alias of __fesetround.  Use
27240         libm_hidden_weak.
27241         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
27242         Likewise.
27243         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
27244         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27245         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
27246         * sysdeps/tile/math_private.h (__fesetround): New inline function.
27247         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
27248         __fesetround and define as weak alias of __fesetround.  Use
27249         libm_hidden_weak.
27250         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
27251         __fesetround instead of fesetround.
27252         (default_libc_feholdexcept_setround): Likewise.
27253         (libc_feholdsetround_ctx): Likewise.
27254         (libc_feholdsetround_noex_ctx): Likewise.
27256         [BZ #17748]
27257         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
27258         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
27259         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27260         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27261         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27262         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
27263         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27264         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27265         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27266         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27267         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27268         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27269         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27270         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27271         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
27272         libm_hidden_def.
27273         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
27274         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
27275         Likewise.
27276         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27277         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27278         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27279         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27280         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
27281         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27282         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27283         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
27284         __fesetenv instead of fesetenv.
27285         (libc_feresetround_noex_ctx): Likewise.
27286         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27287         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27288         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
27289         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27290         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27291         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27292         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27293         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27294         (__feupdateenv): Likewise.
27295         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27296         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27297         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27298         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
27300 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27302         [BZ #17806]
27303         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
27304         addresses have been freed.
27306 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27308         * resolv/res_init.c (__res_vinit): Improve comments about nserv
27309         and nservall.
27311 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
27313         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27314         Clean up check_pf allocation pattern. addresses
27316 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27318         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27319         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27320         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27321         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27322         * nptl/pthread_join.c (pthread_join): Likewise.
27323         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27324         * sysdeps/posix/waitid.c (__waitid): Likewise.
27325         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27326         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27327         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27328         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27329         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27330         Likewise.
27331         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27332         (__libc_pread64): Likewise.
27333         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27334         (__libc_pwrite): Likewise.
27335         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27336         (__libc_pwrite64): Likewsie.
27337         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27338         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27339         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27340         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27341         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27342         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27343         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27345         Likewise.
27346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27347         (__libc_pread64): Likewise.
27348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27349         Likewise.
27350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27351         (__libc_pwrite64): Likewise.
27352         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27353         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27354         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27355         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27356         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27357         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27358         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27359         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27360         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27361         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27362         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27363         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27364         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27365         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27366         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27367         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27368         Likewise.
27370 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27372         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27373         (CFLAGS-test-double.c): Likewise.
27374         (CFLAGS-test-ldouble.c): Likewise.
27375         (CPPFLAGS-test-ifloat.c): Likewise.
27376         (CPPFLAGS-test-idouble.c): Likewise.
27377         (CPPFLAGS-test-ildoubl.c): Likewise.
27378         (CFLAGS-test-test-fenv.c): Remove variable.
27379         (CFLAGS-test-misc.c): Likewise.
27381 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
27383         [BZ #17797]
27384         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27385         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27386         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27387         CLOCKS_PER_SEC == 1000000.
27388         * time/clocktest.c (main): Replace %ld with %jd and cast to
27389         intmax_t.
27391 2015-01-05  Roland McGrath  <roland@hack.frob.com>
27393         * sysdeps/generic/unwind-resume.h: New file.
27394         * sysdeps/gnu/unwind-resume.c: Include it.
27395         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27396         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27397         argument list.
27398         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27399         global rather than static.
27400         (_Unwind_Resume): Update user.
27401         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27402         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
27403         rather than static.  Add __attribute__ ((cold)).
27404         (_Unwind_Resume, __gcc_personality_v0): Update callers.
27405         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27406         * sysdeps/arm/arm-unwind-resume.S: New file.
27407         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27408         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27409         * sysdeps/arm/Makefile [$(subdir) = csu]
27410         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27411         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27412         Add rt-arm-unwind-resume.
27413         [$(subdir) = nptl]
27414         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27415         Add pt-arm-unwind-resume.
27416         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27417         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
27419 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27421         [BZ #17748]
27422         * include/fenv.h (__feholdexcept): Declare.  Use
27423         libm_hidden_proto.
27424         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
27425         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
27426         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27427         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
27428         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
27429         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
27430         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
27431         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27432         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
27433         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
27434         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27435         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
27436         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
27437         (feholdexcept): Likewise.
27438         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27439         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27440         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27441         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27442         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
27443         __feholdexcept instead of feholdexcept.
27444         (default_libc_feholdexcept_setround): Likewise.
27446 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27448         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
27449         to avoid using stl/str to align destination.
27451 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27453         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
27455 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27457         [BZ #17796]
27458         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
27459         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
27460         Define as weak alias not strong alias.
27462 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27464         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
27465         bltzal with addiupc.
27466         (RTLD_START): Ditto.
27468 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
27470         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
27471         for __vdso_* functions in declarations.
27472         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
27473         definitions.
27474         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
27475         INTERNAL_VSYSCALL): Use struct return types to check for error.
27477         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
27478         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
27479         function with cast from llround().
27480         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
27481         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27482         Define.
27484 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27486         [BZ #17793]
27487         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
27488         Define as weak alias not strong alias.
27490         [BZ #17635]
27491         * ctype/ctype-c99.c: New file.  isblank implementation moved from
27492         ...
27493         * ctype/ctype-extn.c: ... here.
27494         (__isblank_l): Move to ...
27495         * ctype/ctype-c99_l.c: ... here.  New file.
27496         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
27497         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
27498         Remove variable.
27499         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27500         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27501         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27502         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27503         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27505         [BZ #17777]
27506         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
27507         (posix_fadvise64): Define as weak alias not strong alias.
27508         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27509         (posix_fallocate64): Likewise.
27510         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
27511         Remove variable.
27512         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27513         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27514         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27515         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27516         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27518 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
27520         [BZ #16191]
27521         * NEWS: Mention bug fix.
27522         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
27523         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
27524         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
27525         (HOST_STACK_END_ADDR): Likewise.
27527 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27529         [BZ #17748]
27530         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
27531         * math/fegetround.c (fegetround): Rename to __fegetround and
27532         define as weak alias of __fegetround.  Use libm_hidden_weak.
27533         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
27534         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
27535         * sysdeps/arm/fegetround.c (fegetround): Likewise.
27536         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
27537         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27538         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
27539         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
27540         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
27541         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27542         Undefine after rather than before function definition; use
27543         parentheses around function name in definition.
27544         (__fegetround): Also undefine macro after function definition.
27545         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
27546         __fegetround and define as weak alias of __fegetround.  Use
27547         libm_hidden_weak.  Do not undefine as macro.
27548         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27549         Likewise.
27550         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
27551         __fegetround and define as weak alias of __fegetround.  Use
27552         libm_hidden_weak.
27553         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27554         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27555         * sysdeps/tile/math_private.h (__fegetround): New inline function.
27556         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
27557         __fegetround and define as weak alias of __fegetround.  Use
27558         libm_hidden_weak.
27559         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
27560         __fegetround instead of fegetround.
27562         [BZ #17782]
27563         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
27564         Condition macro definition on [__USE_MISC].
27566         [BZ #17781]
27567         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
27568         (struct sigaction): Change type of sa_flags field to int.
27570         [BZ #17780]
27571         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
27572         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
27573         __glibc_reserved0.
27575         * nptl/version.c (banner): Use single year in copyright notice.
27577         * NEWS: Update copyright dates.
27578         * catgets/gencat.c (print_version): Likewise.
27579         * csu/version.c (banner): Likewise.
27580         * debug/catchsegv.sh: Likewise.
27581         * debug/pcprofiledump.c (print_version): Likewise.
27582         * debug/xtrace.sh (do_version): Likewise.
27583         * elf/ldconfig.c (print_version): Likewise.
27584         * elf/ldd.bash.in: Likewise.
27585         * elf/pldd.c (print_version): Likewise.
27586         * elf/sotruss.sh: Likewise.
27587         * elf/sprof.c (print_version): Likewise.
27588         * iconv/iconv_prog.c (print_version): Likewise.
27589         * iconv/iconvconfig.c (print_version): Likewise.
27590         * locale/programs/locale.c (print_version): Likewise.
27591         * locale/programs/localedef.c (print_version): Likewise.
27592         * login/programs/pt_chown.c (print_version): Likewise.
27593         * malloc/memusage.sh (do_version): Likewise.
27594         * malloc/memusagestat.c (print_version): Likewise.
27595         * malloc/mtrace.pl: Likewise.
27596         * manual/libc.texinfo: Likewise.
27597         * nptl/version.c (banner): Likewise.
27598         * nscd/nscd.c (print_version): Likewise.
27599         * nss/getent.c (print_version): Likewise.
27600         * nss/makedb.c (print_version): Likewise.
27601         * posix/getconf.c (main): Likewise.
27602         * scripts/test-installation.pl: Likewise.
27603         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
27605 2015-01-02  Will Newton  <will.newton@linaro.org>
27607         * sysdeps/arm/armv7/configure: Removed.
27608         * sysdeps/arm/armv7/configure.ac: Likewise.
27610 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27612         * All files with FSF copyright notices: Update copyright dates
27613         using scripts/update-copyrights.
27614         * intl/plural.c: Regenerated.
27615         * locale/programs/charmap-kw.h: Likewise.
27616         * locale/programs/locfile-kw.h: Likewise.
27618 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27620         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
27622 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27624         [BZ #17748]
27625         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
27626         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
27627         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27628         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27629         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27630         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
27631         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27632         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
27633         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27634         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27635         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27636         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27637         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27638         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27639         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
27640         libm_hidden_def.
27641         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
27642         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
27643         Likewise.
27644         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27645         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27646         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27647         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27648         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
27649         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27650         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27651         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
27652         __fegetenv instead of fegetenv.
27653         (libc_feholdsetround_noex_ctx): Likewise.
27655 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27657         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
27658         (Elf_MIPS_ABIFlags_v0): New structure.
27659         (EF_MIPS_FP64): Define.
27660         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
27661         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
27662         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
27663         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
27664         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
27665         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
27666         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
27667         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
27668         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
27669         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
27670         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
27671         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
27672         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
27673         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
27674         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
27675         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
27676         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
27677         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
27678         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
27679         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
27680         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
27681         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
27682         field.
27683         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
27684         EF_MIPS_FP64.
27685         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
27686         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
27687         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
27688         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
27689         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
27690         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
27691         * sysdeps/mips/tst-abi-interlink.c: Likewise.
27692         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
27693         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
27694         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
27695         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
27696         record the current FP ABI extension.
27697         (mips-mode-switch): Define to show if kernel headers support mode
27698         switching.
27699         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
27700         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
27701         supported SYSV ABI version to 3.
27702         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
27703         feature.
27705 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27706             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27708         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
27709         path.
27710         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
27712 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27714         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
27715         __fegetround and redefine to call __fegetround.  Remove condition
27716         on [!__NO_MATH_INLINES].
27717         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
27718         function.
27719         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
27720         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27721         Remove macro.
27722         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
27723         instead of <fenv_libc.h>.
27724         (__llrintl): Call fegetround instead of __fegetround.
27725         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
27726         instead of <fenv_libc.h>.
27727         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27728         (__lrintl): Call fegetround instead of __fegetround.
27729         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
27730         instead of <fenv_libc.h>.
27731         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27732         (__rintl): Call fegetround instead of __fegetround.
27734 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27736         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
27737         arrays.
27739 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27741         [BZ #17775]
27742         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
27743         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
27744         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
27746 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27748         * sysdeps/i386/tls-macros.h: Include <features.h>.
27749         (TLS_LE): Use non-PIC version for GCC >= 5.0.
27750         (TLS_IE): Likewise.
27751         (TLS_LD): Likewise.
27752         (TLS_GD): Likewise.
27753         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
27754         define for GCC >= 5.0.
27756 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
27758         * math/test-fenv.c (test_single_exception, set_single_exc,
27759         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27760         feexcp_mask_test, feenable_test, fe_single_test): Add
27761         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
27762         case where they are not used.
27763         * math/libm-test.inc: Likewise.
27764         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
27765         unused in the absence of FP rounding/exception support.
27766         * stdio-common/tst-printf-round.c: Likewise.
27767         * stdlib/tst-strtod-round.c: Likewise.
27768         * stdlib/tst-strtod-underflow.c: Likewise.
27770 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
27772         [BZ #17723]
27773         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
27774         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
27775         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27776         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27777         libm_hidden_weak.
27778         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
27779         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27780         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27781         libm_hidden_def.
27782         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27783         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27784         libm_hidden_weak.
27785         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27786         Likewise.
27787         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27788         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27789         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27790         libm_hidden_weak.
27791         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27792         libm_hidden_def.
27793         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27794         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27795         (__feraiseexcept): Likewise.
27796         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27797         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27798         libm_hidden_weak.
27799         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27800         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27801         libm_hidden_def.
27802         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27803         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27804         Use libm_hidden_def.
27805         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27806         libm_hidden_def.
27807         (feraiseexcept): Define as weak not strong alias.  Use
27808         libm_hidden_weak.
27809         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27810         New inline function.  Factored out of ...
27811         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27812         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27813         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27814         feraiseexcept.
27815         * math/w_acos.c (__acos): Likewise.
27816         * math/w_asin.c (__asin): Likewise.
27817         * math/w_ilogb.c (__ilogb): Likewise.
27818         * math/w_j0.c (y0): Likewise.
27819         * math/w_j1.c (y1): Likewise.
27820         * math/w_jn.c (yn): Likewise.
27821         * math/w_log.c (__log): Likewise.
27822         * math/w_log10.c (__log10): Likewise.
27823         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27824         * sysdeps/aarch64/fpu/math_private.h
27825         (libc_feupdateenv_test_aarch64): Likewise.
27826         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27827         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27828         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27829         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27830         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27831         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27832         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27833         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27834         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27835         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27837 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27839         [BZ #17732]
27840         * io/test-utime.c (main): Replace %ld with %jd and cast to
27841         intmax_t.
27842         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27843         * nptl/tst-mutex5.c: Include <stdint.h>.
27844         (do_test): Replace %ld with %jd and cast to intmax_t.
27845         * posix/tst-regex.c (run_test): Likewise.
27846         (run_test_backwards): Likewise.
27847         * rt/tst-clock.c: Include <stdint.h>.
27848         (clock_test): Replace %ld with %jd and cast to intmax_t.
27849         * rt/tst-cpuclock1.c: Include <stdint.h>.
27850         (do_test): Replace %lu with %ju and cast to uintmax_t.
27851         * rt/tst-cpuclock2.c: Include <stdint.h>.
27852         (do_test): Replace %lu with %ju and cast to uintmax_t.
27853         * rt/tst-mqueue1.c: Include <stdint.h>.
27854         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27855         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27856         intmax_t.
27857         * rt/tst-mqueue4.c (do_test): Likewise.
27858         * rt/tst-timer4.c: Include <stdint.h>.
27859         (check_ts): Replace %ld with %jd and cast to intmax_t.
27860         (do_test): Likewise.
27861         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27862         and cast to intmax_t.
27863         * sysdeps/pthread/tst-timer.c (main): Likewise.
27864         * time/clocktest.c (main): Likewise.
27865         * time/tst-posixtz.c (do_test): Likewise.
27866         * timezone/tst-timezone.c (main): Likewise.
27868 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27869             H.J. Lu  <hongjiu.lu@intel.com>
27871         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27872         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27873         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27874         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27875         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27876         version if bit_Fast_Unaligned_Load is set.
27877         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27878         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27879         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27880         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27881         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27882         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27883         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27884         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27885         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27886         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27887         to 4.
27888         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27889         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27890         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27891         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27893 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27895         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27896         instead of #if to avoid a Wundef warning.
27897         * stdlib/tst-limits.c (do_test): Likewise.
27899         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27900         parallel other exception macros.
27901         (fegetenv): Convert from macro to extern inline so that it applies
27902         retroactively to inline functions already seen by the compiler.
27903         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27905         * posix/Makefile (before-compile): Use $(objpfx) for
27906         posix-conf-vars-def.h.
27908 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27910         * posix/getconf.c (main): Use size_t for type of I.
27911         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27912         NSPEC.
27914         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27915         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27916         * posix/posix-envs.def: Likewise.
27917         * sysdeps/posix/sysconf.c: Likewise.
27918         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27919         (specs): Remove array.
27920         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27921         array.
27923         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27924         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27925         (__sysconf): Use CONF_IS_* macros.
27927         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27928         ($(objpfx)posix-conf-vars-def.h): New target.
27929         * posix/posix-conf-vars.list: New file.
27930         * posix/posix-conf-vars.h: New file.
27931         * posix/confstr.c: Include posix-conf-vars.h.
27932         (confstr): Use CONF_IS_* macros.
27933         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27934         CONF_IS_* macros.
27935         * scripts/gen-posix-conf-vars.awk: New file.
27937 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27939         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27940         fegetround): Add no-op macros to avoid linknamespace issues.
27942         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27943         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27945         * sysdeps/unix/sysv/linux/tile/sysdep.h
27946         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27947         assembly-specific section to avoid a redefinition warning.
27949         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27950         long before casting to pointer to avoid a cast warning.
27952 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27954         * sysdeps/tile/tilegx/Implies: New file.
27956 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27958         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27960 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27962         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27964 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27966         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27967         not define.
27968         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27969         <kernel-features.h>.
27970         (__utimes) [__NR_utimes]: Make code unconditional.
27971         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27972         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27973         (__ASSUME_UTIMES): Do not undefine.
27974         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27975         (__ASSUME_UTIMES): Likewise.
27976         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27977         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27978         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27979         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27981 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27983         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27985 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27987         [BZ #17747]
27988         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27989         alias to weak alias for j0l, y0l.
27990         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27991         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27993         [BZ #17746]
27994         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
27995         conversion.
27997 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27999         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28000         to zero if not already defined.
28002 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28004         [BZ #17724]
28005         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28006         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28007         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28008         (char *) casts added.
28009         * sysdeps/ieee754/k_standardf.c: New file.
28010         * sysdeps/ieee754/k_standardl.c: Likewise.
28011         * math/Makefile (libm-support): Remove k_standard.
28012         (libm-calls): Add k_standard.
28014 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28016         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28017         Optimize to avoid an unnecessary FPCR read.
28019 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28021         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28022         Optimize to reduce FPCR/FPSR accesses.
28024 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28026         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28027         Call libc_fetestexcept_aarch64.
28029 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28031         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28032         Call libc_fesetround_aarch64.
28034 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28036         [BZ #17733]
28037         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28038         (__bind): Do not define as weak alias.
28039         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28040         define.
28041         (__getsockname): Do not define as weak alias.
28043 2014-12-22  Will Newton  <will.newton@linaro.org>
28045         * manual/install.texi: Document that we require bison 2.7
28046         or above.
28047         * INSTALL: Regenerate.
28048         * configure.ac: Use AC_CHECK_PROG_VER instead of
28049         AC_PATH_PROG when checking for bison and check for
28050         version 2.7 or above.
28051         * configure: Regenerate.
28053 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28055         [BZ #17745]
28056         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28057         * sysdeps/tile/ffsll.c (ffsll): To here.
28059         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28061 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28063         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28064         if not defined.
28065         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28066         definition.
28067         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28068         hidden ___tls_get_addr.
28069         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28070         hidden __tls_get_addr.
28071         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28072         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28073         Likewise.
28075 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28077         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28078         _dl_init call.
28080 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28082         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28083         from "call _dl_init@PLT".
28084         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28086 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28088         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28089         guarantees.
28091 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28093         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28095 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28097         [BZ #17744]
28098         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28099         strnlen.
28101 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28103         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28104         of multu on MIPSr6.
28105         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28106         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28107         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28108         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28109         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28111 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28113         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28114         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28115         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28116         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28117         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28118         mips32r6/mips64r6.
28119         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28121 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28123         * string/strncat.c (STRNCAT): Simplify implementation.
28125 2014-12-19  David S. Miller  <davem@davemloft.net>
28127         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28128         access the quad as both a long double and as a series of 4 words.
28130         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
28131         link_map->l_info array access.
28133 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28135         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
28137         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
28138         * math/atest-exp2.c (TIMEOUT): Likewise.
28139         * math/atest-sincos.c (TIMEOUT): Likewise.
28141 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28143         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
28144         -Wno-error with -fno-builtin-lround.
28146 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28148         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
28149         Contains futex constants and functions moved over from ...
28150         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
28151         <lowlevellock-futex.h>.
28152         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28153         (lll_timedwait_tid): Add comments and parentheses around macro
28154         arguments.
28156 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28158         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
28159         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
28160         (__lll_private_flag): Remove.
28161         (lll_futex_wait): Likewise.
28162         (lll_futex_timed_wait): Likewise.
28163         (lll_futex_wake): Likewise.
28164         (lll_futex_requeue): Likewise.
28165         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28166         (__lll_timedwait_tid): Spell out argument names.
28167         (lll_timedwait_tid): Add comments and parentheses around macro
28168         arguments.
28169         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
28170         LLL_SHARED and LLL_PRIVATE usable from assembly code.
28172 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28174         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
28175         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28176         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28177         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
28178         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
28179         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
28180         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
28181         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
28182         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28183         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
28184         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
28185         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
28186         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
28187         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
28188         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
28189         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
28190         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
28191         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
28192         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
28194 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28196         * sysdeps/x86_64/x32/Makefile: New file.
28198 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28200         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
28201         1L with (mp_limb_t) 1.
28203 2014-12-17  Roland McGrath  <roland@hack.frob.com>
28205         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
28206         * nptl/libc_pthread_init.c: ... here.
28207         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
28208         * nptl/register-atfork.c: ... here.
28210         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
28211         Use pthread_sigmask rather than INTERNAL_SYSCALL.
28212         Use assert_perror to check its return value.
28213         (__gai_create_helper_thread): Likewise.
28215         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
28217         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
28219 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
28221         [BZ #17725]
28222         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
28223         __profil_counter.
28224         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
28225         Likewise.
28226         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
28227         Likewise.
28228         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28229         Likewise.
28230         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
28231         (profil_counter): Likewise.
28232         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
28233         (profil_counter): Likewise.
28234         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28235         Likewise.
28236         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
28237         Likewise.
28238         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
28239         (profil_counter): Likewise.
28240         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
28241         Likewise.
28242         [!__profil_counter] (profil_counter): Define as weak alias of
28243         __profil_counter.
28244         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
28245         (profil_counter): Rename to __profil_counter.
28246         [!__profil_counter] (profil_counter): Define as weak alias of
28247         __profil_counter.
28248         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
28249         (profil_counter): Rename to __profil_counter.
28250         [!__profil_counter] (profil_counter): Define as weak alias of
28251         __profil_counter.
28252         * sysdeps/posix/profil.c: Update comment referring to
28253         profil_counter.
28254         (__profil): Use __profil_counter instead of profil_counter.
28255         * sysdeps/posix/sprofil.c (profil_counter): Rename to
28256         __profil_counter.  Use __profil_counter_ushort and
28257         __profil_counter_uint in definitions.
28258         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
28259         instead of profil_counter_uint and profil_counter_ushort.
28261         [BZ #17722]
28262         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
28263         define as weak alias of __inet_makeaddr.
28264         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
28265         as weak alias of __inet_addr.
28266         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
28267         as weak alias of __inet_pton.  Use libc_hidden_weak.
28268         * include/arpa/inet.h (__inet_pton): Declare.  Use
28269         libc_hidden_proto.
28270         (inet_makeaddr): Don't use libc_hidden_proto.
28271         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
28272         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
28273         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
28274         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
28275         Remove variable.
28276         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28277         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28279 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
28281         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
28283 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28285         * stdio-common/bug-vfprintf-nargs.c (do_test):
28286         Cast value to intptr_t to avoid format warning
28287         for usage with PRIdPTR printing macro.
28289 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28291         * libio/tst-widetext.c (do_test):
28292         Use format type %td instead of %Zd for ptrdiff_t
28293         in order to avoid format warning.
28295 2014-12-17  Andreas Schwab  <schwab@suse.de>
28297         * nscd/mem.c (gc): Add size_t cast to match printf format.
28299 2014-12-16  Roland McGrath  <roland@hack.frob.com>
28301         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
28302         (init): Apply PTR_MANGLE to pointers before storing them.
28303         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
28304         before using them.
28306 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
28308         [BZ #17719]
28309         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28310         define as weak alias of __memrchr.
28311         (__memrchr): Do not define as strong alias of memrchr.
28312         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28313         Remove variable.
28314         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28315         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28316         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28318         [BZ #17717]
28319         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28320         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28321         (if_indextoname): Rename to __if_indextoname and define as weak
28322         alias of __if_indextoname.  Use libc_hidden_weak.
28323         (if_freenameindex): Rename to __if_freenameindex and define as
28324         weak alias of __if_freenameindex.
28325         (if_nameindex): Rename to __if_nameindex and define as weak alias
28326         of __if_nameindex.
28327         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28328         __if_nametoindex and define as weak alias of __if_nametoindex.
28329         Use libc_hidden_weak.
28330         (if_freenameindex): Rename to __if_freenameindex and define as
28331         weak alias of __if_freenameindex.
28332         (if_nameindex): Rename to __if_nameindex and define as weak alias
28333         of __if_nameindex.
28334         (if_indextoname): Rename to __if_indextoname and define as weak
28335         alias of __if_indextoname.  Use libc_hidden_weak.
28336         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28337         __if_nametoindex and define as weak alias of __if_nametoindex.
28338         Use libc_hidden_weak.
28339         (if_freenameindex): Rename to __if_freenameindex and define as
28340         weak alias of __if_freenameindex.  Use libc_hidden_weak.
28341         (if_nameindex_netlink): Use __if_freenameindex instead of
28342         if_freenameindex.
28343         (if_nameindex): Rename to __if_nameindex and define as weak alias
28344         of __if_nameindex.  Use libc_hidden_weak.
28345         (if_indextoname): Rename to __if_indextoname and define as weak
28346         alias of __if_indextoname.  Use libc_hidden_weak.
28347         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28348         libc_hidden_proto.
28349         [!_ISOMAC] (__if_freenameindex): Likewise.
28350         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28351         if_nametoindex.
28352         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28353         variable.
28354         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28355         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28356         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28357         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28358         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28359         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28360         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28362         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28363         Remove variable.
28364         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28365         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28367 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28369         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28370         subscript above bounds'
28372         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28373         bounds.
28375 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
28377         * libio/tst-fopenloc.c: Use test-skeleton.c.
28379         * stdlib/tst-bsearch.c: Use test-skeleton.c.
28380         (entry): Rename to ITEM.
28381         (do_test, comp): Adjust.
28383         * stdio-common/tst-fseek.c: Use test-skeleton.c.
28385 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28387         * string/tester.c: Include <libc-internal.h>.
28388         (test_memset): Ignore -Wmemset-transposed-args.
28390 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28392         * misc/tst-mntent2.c (do_test): Fix warning.
28394 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28396         * elf/tst-unique4lib.cc(a): Mark as used.
28398 2014-12-16  Florian Weimer  <fweimer@redhat.com>
28400         [BZ #17630]
28401         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28402         names.
28404 2014-12-16  Allan McRae  <allan@archlinux.org>
28406         * stdio-common/Makefile (tests): Re-add bug26.
28408 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
28410         [BZ #17657]
28411         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28412         static array.
28414 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
28416         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
28417         (__lll_lock_wait): Likewise.
28418         (__lll_timedlock_wait): Likewise.
28419         (__lll_timedwait_tid): Likewise.
28420         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
28421         (__lll_robust_timedlock_wait): Likewise.
28422         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
28423         (lll_cond_trylock): Likewise.
28424         (__lll_lock): Likewise.
28425         (__lll_robust_lock): Likewise.
28426         (__lll_cond_lock): Likewise.
28427         (lll_robust_cond_lock): Likewise.
28428         (__lll_timedlock): Likewise.
28429         (__lll_robust_timedlock): Likewise.
28430         (__lll_unlock): Likewise.
28431         (__lll_robust_unlock): Likewise.
28432         (lll_wait_tid): Likewise.
28433         (lll_timedwait_tid): Likewise.
28435 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28437         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
28439 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28441         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
28443 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28445         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
28446         * stdio-common/tst-sprintf.c: Likewise.
28448 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28450         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
28452 2014-12-15  Jeff Law  <law@redhat.com>
28454         [BZ #16617]
28455         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
28456         on the heap.  (CVE-2012-3406)
28457         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
28458         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
28459         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
28461 2014-12-15  Will Newton  <will.newton@linaro.org>
28463         * manual/install.texi: Bump required version of texinfo
28464         to 4.7 from 4.5.
28465         * INSTALL: Regenerated.
28466         * configure.ac: Check for makeinfo version 4.7 and above.
28467         * configure: Regenerated.
28469 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28471         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
28472         PREFIX, string constant to insert between directory and name.
28473         * sysdeps/posix/shm_open.c: Update caller.
28474         * sysdeps/posix/shm_unlink.c: Likewise.
28475         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
28476         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
28477         (SEM_SHM_PREFIX): New macro.
28478         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
28479         [$(have-thread-library) = no].
28480         * nptl/Makefile (libpthread-routines): Add shm-directory.
28481         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
28482         * sysdeps/nptl/shm-directory.h: New file.
28483         * sysdeps/posix/shm-directory.c
28484         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
28485         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28486         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
28487         INTERNAL_SYSCALL.
28488         (__where_is_shmfs): Function removed.
28489         (mountpoint, defaultmount, defaultdir, __namedsem_once):
28490         Variables removed.
28491         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
28492         Use SHM_GET_NAME.
28493         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
28495         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28496         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
28497         unconditional for use inside libpthread.
28498         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
28500 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28502         * nptl/pthread_getaffinity.c: New file.
28503         * nptl/pthread_setaffinity.c: New file.
28504         * nptl/pthread_getname.c: New file.
28505         * nptl/pthread_setname.c: New file.
28507         * nptl/pthread_create.c (START_THREAD_DEFN)
28508         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
28510 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28511             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28513         * resolv/res_send.c (send_vc): Disable warning resplen may
28514         be used uninitialized.
28516 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28518         * nptl/tst-mutex6.c
28519         (ATTR_NULL): New define checks ATTR against NULL.
28520         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
28521         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
28523 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
28525         [BZ #17581]
28526         * malloc/hooks.c
28527         (mem2mem_check): Revert my previous change.
28528         (malloc_check_get_size): Revert my previous change.
28529         (mem2chunk_check): Revert my previous change.
28531 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28533         * sysdeps/posix/shm-directory.c: New file.
28534         * sysdeps/posix/shm-directory.h: New file.
28535         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
28536         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
28537         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
28538         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
28539         Transmute EPERM to EACCES.
28540         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
28541         from ...
28542         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
28543         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
28545 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28547         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
28548         pointer and cast to uintptr_t.
28549         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
28550         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
28551         Add cast to avoid warning.
28552         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
28554 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28556         * nptl/semaphore.h: Move to ...
28557         * sysdeps/pthread/semaphore.h: ... here.
28558         * Makefile (installed-headers): Change nptl/semaphore.h to
28559         sysdeps/pthread/semaphore.h.
28561 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28563         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
28564         generated error format strings.
28566         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
28567         -Wformat-extra-args warnings for scanf formats.
28568         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
28569         test of zero-length format (duh).
28570         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
28571         corner-case scanf format test.
28572         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
28573         generated fprintf format string.
28574         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
28575         corner-case sprintf format tests.
28576         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
28577         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
28578         -Wformat-extra-args warnings throughout.
28579         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
28580         (CFLAGS-scanf4.c): Likewise.
28581         (CFLAGS-scanf7.c): Likewise.
28582         (CFLAGS-tst-sprintf.c): Likewise.
28583         (CFLAGS-tst-printf.c): Likewise.
28584         (CFLAGS-tst-printfsz.c): Likewise.
28586 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28588         * include/cpio.h: New file.
28589         * include/fmtmsg.h: Likewise.
28591         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
28592         corresponding format argument to size_t.
28593         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
28594         arguments.
28595         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
28596         corresponding format argument to size_t.
28597         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
28598         arguments.
28599         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
28600         corresponding format argument to size_t.
28601         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
28602         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
28603         (CFLAGS-tst-mbswcs2.c): Likewise.
28604         (CFLAGS-tst-mbswcs3.c): Likewise.
28605         (CFLAGS-tst-mbswcs4.c): Likewise.
28606         (CFLAGS-tst-mbswcs5.c): Likewise.
28607         (CFLAGS-tst-trans.c): Likewise.
28609 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28611         * posix/regexbug1.c (main): Use "%s" format with regerror results,
28612         rather than assuming they won't contain any '%'s.
28614 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
28616         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
28617         inhibit_loop_to_libcall to avoid recursive calls.
28618         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
28619         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
28621 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28623         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
28624         prototype.
28626 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28628         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
28629         integer value instead of boolean.
28631 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28633         * malloc/malloc.c: Fix powerof2 check.
28635 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28637         * locale/programs/locfile.h (maybe_swap_uint32):
28638         Remove inline and add unused attribute.
28640 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28642         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28643         Truncating assembler expression to a .long expression.
28645 2014-12-11  Andreas Schwab  <schwab@suse.de>
28647         * elf/rtld.c (struct map_args): Constify str member.
28648         (do_preload): Constify fname argument.
28650 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28652         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
28653         constants definition.
28655 2014-12-11  Andreas Schwab  <schwab@suse.de>
28657         [BZ #16657]
28658         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
28659         FORCE_ELISION instead of DO_ELISION.
28660         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
28661         Remove.
28662         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
28663         Likewise.
28665         * iconvdata/gconv-modules: Remove duplicate entry.
28667 2014-12-11  Will Newton  <will.newton@linaro.org>
28669         Merge gettext 0.19.3 into intl/.
28671         This involves a number of cosmetic changes to comments
28672         and ANSI function definitions and prototypes throughout
28673         all the files. The gettext copyright header is used but
28674         with the date ranges taken from the glibc copy.
28676         * NEWS: Add gettext merge to 2.21.
28677         * intl/bindtextdom.c: Switch to gettext copyright.
28678         Use ANSI definitions and prototypes.
28679         Use gl_* locking primitives rather than __libc_* ones.
28680         Use __builtin_expect rather than __glibc_likely/unlikely.
28681         * intl/dcgettext.c: Switch to gettext copyright.
28682         Use ANSI definitions and prototypes.
28683         * intl/dcigettext.c: Switch to gettext copyright.
28684         Use ANSI definitions and prototypes.
28685         (INTDIV0_RAISES_SIGFPE): New define.
28686         Use gl_* locking primitives rather than __libc_* ones.
28687         Include eval-plural.h instead of plural-eval.c.
28688         Use __builtin_expect rather than __glibc_likely/unlikely.
28689         * intl/dcngettext.c: Switch to gettext copyright.
28690         Use ANSI definitions and prototypes.
28691         * intl/dgettext.c: Likewise.
28692         * intl/dngettext.c: Likewise.
28693         * intl/plural-eval.c: Renamed to...
28694         * intl/eval-plural.h: ...this.
28695         * intl/explodename.c: Switch to gettext copyright.
28696         Use ANSI definitions and prototypes.
28697         (_nl_explode_name): Use strchr instead of __rawmemchr.
28698         * intl/finddomain.c: Switch to gettext copyright.
28699         Use ANSI definitions and prototypes.
28700         Use gl_* locking primitives rather than __libc_* ones.
28701         (_nl_find_domain): Use malloc rather than alloca for
28702         allocation of temporary locale name.
28703         * intl/gettext.c: Switch to gettext copyright.
28704         Use ANSI definitions and prototypes.
28705         * intl/gettextP.h: Switch to gettext copyright.
28706         Use ANSI definitions and prototypes.
28707         Use gl_* locking primitives rather than __libc_* ones.
28708         * intl/gmo.h: Switch to gettext copyright.
28709         (struct sysdep_string): Move struct segment_pair outside of
28710         struct definition.
28711         * intl/hash-string.c: Use ANSI definitions and prototypes.
28712         * intl/hash-string.h: Switch to gettext copyright.
28713         Use ANSI definitions and prototypes.
28714         * intl/l10nflist.c: Switch to gettext copyright.
28715         Use ANSI definitions and prototypes.
28716         (_nl_normalize_codeset): Avoid integer overflow.
28717         * intl/loadinfo.h: Switch to gettext copyright.
28718         Use ANSI definitions and prototypes.
28719         (LIBINTL_DLL_EXPORTED): New define.
28720         (PATH_SEPARATOR): New define.
28721         * intl/loadmsgcat.c: Switch to gettext copyright.
28722         * intl/localealias.c: Switch to gettext copyright.
28723         Use ANSI definitions and prototypes.
28724         (_nl_expand_alias): Use PATH_SEPARATOR.
28725         * intl/ngettext.c: Switch to gettext copyright.
28726         Use ANSI definitions and prototypes.
28727         * intl/plural-exp.c: Likewise.
28728         * intl/plural-exp.h: Switch to gettext copyright.
28729         Use ANSI definitions and prototypes.
28730         (struct expression): Move definition of enum operator outside
28731         of struct definition.
28732         * intl/plural.c: Regenerate.
28733         * intl/plural.y: Switch to gettext copyright.
28734         Use ANSI definitions and prototypes.
28735         Port to bison 3.0.
28736         * intl/textdomain.c: Switch to gettext copyright.
28737         Use ANSI definitions and prototypes.
28738         Use gl_* locking primitives rather than __libc_* ones.
28740 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
28742         * debug/warning-nop.c: Add used atrribute.
28744 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28746         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
28748         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
28749         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
28750         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
28752 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28753             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28755         [BZ #17634]
28756         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
28757         Undefine after defining function.  Define as weak alias of
28758         __wcschr.  Use libc_hidden_weak.
28759         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
28760         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
28761         (libc_hidden_def): Also define __GI___wcschr alias.
28762         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
28763         __wcschr and define as weak alias of __wcschr.
28764         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
28765         __wcschr.
28766         [!WCSCHR] (DEFAULT_WCSCHR): Define.
28767         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
28768         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
28769         libc_hidden_weak.  Do not use libc_hidden_def.
28770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
28771         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28772         __GI___wcschr alias.
28773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
28774         [IS_IN (libc)] (wcschr): Define as macro expanding to
28775         __redirect_wcschr.
28776         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
28777         [IS_IN (libc)] (__wcschr_power6): Likewise.
28778         [IS_IN (libc)] (__wcschr_power7): Likewise.
28779         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
28780         instead of wcschr.
28781         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28782         __libc_wcschr.
28783         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28784         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28785         __wcschr and define as weak alias of __wcschr.  Use
28786         libc_hidden_builtin_def.
28787         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28788         as weak alias of __wcschr.  Use libc_hidden_weak.
28789         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28790         wcschr.
28791         * time/era.c (_nl_init_era_entries): Likewise.
28792         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28793         variable.
28794         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28795         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28797 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28799         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28800         format for long int variable.
28802 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28804         [BZ #10672]
28805         * manual/search.texi: (Array Sort Function): Remove claim how to make
28806         qsort stable.
28808 2014-12-10  Andreas Schwab  <schwab@suse.de>
28810         [BZ #12847]
28811         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28812         user-controlled locks.
28814 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28816         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28817         register.
28819 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28821         * configure.ac (--disable-werror): New configure option.
28822         (enable_werror): New AC_SUBST.
28823         * configure: Regenerated.
28824         * config.make.in (enable-werror): New variable.
28825         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28826         -Wno-error=undef.
28827         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28828         * manual/install.texi (Configuring and compiling): Document
28829         --disable-werror.
28830         * INSTALL: Regenerated.
28831         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28832         (CFLAGS-tst-chk2.c): Likewise.
28833         (CFLAGS-tst-chk3.c): Likewise.
28834         (CFLAGS-tst-chk4.cc): Likewise.
28835         (CFLAGS-tst-chk5.cc): Likewise.
28836         (CFLAGS-tst-chk6.cc): Likewise.
28837         (CFLAGS-tst-lfschk1.c): Likewise.
28838         (CFLAGS-tst-lfschk2.c): Likewise.
28839         (CFLAGS-tst-lfschk3.c): Likewise.
28840         (CFLAGS-tst-lfschk4.cc): Likewise.
28841         (CFLAGS-tst-lfschk5.cc): Likewise.
28842         (CFLAGS-tst-lfschk6.cc): Likewise.
28844         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28845         (main): Disable -Wdeprecated-declarations around calls to
28846         register_printf_function.
28848         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28849         (do_test): Disable -Wdiv-by-zero around some calls to
28850         fwrite_unlocked and fread_unlocked.
28852         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28853         (DIAG_POP_NEEDS_COMMENT): Likewise.
28854         (_DIAG_STR1): Likewise.
28855         (_DIAG_STR): Likewise.
28856         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28857         * stdio-common/bug21.c: Include <libc-internal.h>.
28858         (do_test): Disable -Wformat around call to sscanf.
28859         * stdio-common/scanf14.c: Include <libc-internal.h>.
28860         (main): Disable -Wformat around some calls to scanf functions.
28862 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28864         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28866 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28868         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28869         stack variable alignment.
28871 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28873         [BZ #17682]
28874         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28875         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28876         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28877         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28878         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28879         __getrlimit instead of getrlimit.
28880         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28881         __gettimeofday instead of gettimeofday.
28882         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28883         Likewise.
28884         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28885         Likewise.
28886         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28887         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28888         Remove variable.
28889         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28890         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28892 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28894         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28895         for wide-character tests.
28897 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28899         * io/openat64.c: #include <libc-internal.h>
28900         (__openat64): Prototypify.  Use ignore_value on MODE.
28901         * io/openat.c: Likewise.
28902         * misc/reboot.c: #include <libc-internal.h>
28903         (reboot): Prototypify.  Use ignore_value on HOWTO.
28904         * misc/ptrace.c: #include <libc-internal.h>
28905         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28907 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28909         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28910         XPG4, UNIX98 and XOPEN2K.
28911         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28912         Remove variable.
28913         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28915 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28917         * libio/fileops.c: Use ISO C style for function definitions.
28918         * libio/iofopen.c: Likewise.
28919         * libio/wfileops.c: Likewise.
28921         [BZ #17653]
28922         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28923         offset on EOF.
28924         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28925         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28926         (fgets_func): Function pointer to fgets and fgetws.
28927         (do_ftell_test): Add test to verify ftell value after read
28928         EOF.
28929         (do_test): Set fgets_func.
28931         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28932         O_TRUNC flag for w and w+ modes.
28933         (do_rewind_test): Likewise.
28934         (do_ftell_test): Likewise.
28935         (do_write_test): Likewise.
28937         [BZ #17647]
28938         * libio/fileops.c (do_ftell): Seek only when there are
28939         unflushed writes.
28940         * libio/wfileops.c (do_ftell_wide): Likewise.
28941         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28942         test case.
28943         (do_one_test): Call it.
28945 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28947         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28948         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28949         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28950         Remove variable.
28951         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28952         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28953         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28955 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28957         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28958         Remove variable.
28959         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28961         [BZ #17668]
28962         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28963         as weak alias of __getifaddrs.  Use libc_hidden_weak.
28964         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28965         __freeifaddrs.  Use libc_hidden_weak.
28966         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28967         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28968         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28969         __freeifaddrs.  Use libc_hidden_weak.
28970         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28971         __getifaddrs and define as weak alias of __getifaddrs.  Use
28972         libc_hidden_weak.
28973         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28974         __freeifaddrs.  Use libc_hidden_weak.
28975         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28976         Remove variable.
28977         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28978         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28980 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28982         [BZ #17601]
28983         * sysdeps/mips/start.S (__start): Use indirect jump to call
28984         __libc_start_main.
28986 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28988         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28990         * nptl/tst-mutex1.c: Include <stdbool.h>.
28991         [!ATTR] (ATTR_NULL): New macro.
28992         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28993         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28994         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
28996         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
28997         to char *.
28999         [BZ #17665]
29000         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29001         Change conditional to [__USE_MISC].
29003         [BZ #17664]
29004         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29005         fgets_unlocked.
29006         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29007         __fgets_unlocked.
29008         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29009         fgets_unlocked.
29010         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29011         Remove variable.
29012         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29013         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29014         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29015         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29016         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29017         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29018         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29019         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29020         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29022         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29024 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29027         Remove strpbrk objects.
29028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29029         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29030         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29031         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29032         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29033         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29035         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29036         Remove strcspn objects.
29037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29038         (__libc_ifunc_impl_list): Remove strcspn implementation.
29039         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29040         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29041         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29042         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29044         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29045         Remove strspn objetcs.
29046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29047         (__libc_ifunc_impl_list): Remove strspn implementation.
29048         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29049         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29050         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29051         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29053 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29055         [BZ #17581]
29056         * malloc/hooks.c
29057         (mem2mem_check): Add a terminator to the chain of checking blocks.
29058         (malloc_check_get_size): Use it here.
29059         (mem2chunk_check): Ditto.
29061 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29063         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29064         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29066 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29068         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29070         * nptl/nptl-init.c: Include libc-internal.h.
29071         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29073         * elf/ldconfig.c (search_dir): Expand comment.
29075 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29077         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29078         variable.
29079         (linknamespace-symlist-stdlibs-tests): Likewise.
29080         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29081         instead of $(objpfx)symlist-stdlibs.
29082         (linknamespace-libs-isoc): New variable.
29083         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29084         (linknamespace-libs-ISO): New variable.
29085         (linknamespace-libs-ISO99): Likewise.
29086         (linknamespace-libs-ISO11): Likewise.
29087         (linknamespace-libs-XPG3): Likewise.
29088         (linknamespace-libs-XPG4): Likewise.
29089         (linknamespace-libs-POSIX): Likewise.
29090         (linknamespace-libs-UNIX98): Likewise.
29091         (linknamespace-libs-XOPEN2K): Likewise.
29092         (linknamespace-libs-POSIX2008): Likewise.
29093         (linknamespace-libs-XOPEN2K8): Likewise.
29094         ($(objpfx)symlist-stdlibs): Replace by
29095         $(linknamespace-symlist-stdlibs-tests).  Use
29096         $(linknamespace-libs-$*) as set of libraries.
29097         ($(linknamespace-header-tests)): Update dependencies.  Use
29098         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29099         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29100         * conform/linknamespace.pl: Remove comment about considering
29101         definitions of symbols from irrelevant libraries.
29103 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29105         [BZ #13862]
29106         * elf/dl-tls.c: Include <atomic.h>.
29107         (oom): Remove #ifdef SHARED/#endif.
29108         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29109         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29110         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29111         big enough.
29112         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29113         * nptl/Makefile (tests): Add tst-stack4.
29114         (modules-names): Add tst-stack4mod.
29115         ($(objpfx)tst-stack4): New.
29116         (tst-stack4mod.sos): Likewise.
29117         ($(objpfx)tst-stack4.out): Likewise.
29118         ($(tst-stack4mod.sos)): Likewise.
29119         (clean): Likewise.
29120         * nptl/tst-stack4.c: New file.
29121         * nptl/tst-stack4mod.c: Likewise.
29123 2014-11-27  J. Brown  <jb999@gmx.de>
29125         * sysdeps/x86/bits/string.h: Add recent CPUs.
29127 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29129         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
29130         sigblock.
29132         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
29133         feof.
29135         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
29136         variable.
29138 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
29140         * nscd/connections.c: Include libc-internal.h because of macro
29141         usage ignore_value.
29143 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29145         * string/bits/string3.h (__warn_memset_zero_len): Don't
29146         declare for gcc newer than 5.0.
29147         (memset): Don't test for zero-length __LEN for gcc newer than
29148         5.0.
29150 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29152         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
29153         size_t for %zu format.
29155         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
29156         difference, not %ju.
29158 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29160         * include/libc-internal.h (ignore_value): New macro.
29161         * nscd/connections.c (restart): Wrap calls to setuid and setgid
29162         with ignore_value.
29164         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
29165         definition.
29167         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
29168         pthread_cleanup_push to void *.
29170         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
29171         Undefine.
29173         [BZ #16619]
29174         [BZ #16740]
29175         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
29176         instead of 1L << 52.
29178         * libio/bug-rewind.c (do_test): Check fwscanf return values.
29179         * libio/bug-rewind2.c (do_test): Likewise.
29181         * debug/test-stpcpy_chk-ifunc.c: Remove file.
29182         * debug/test-strcpy_chk-ifunc.c: Likewise.
29183         * wcsmbs/test-wcschr-ifunc.c: Likewise.
29184         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29185         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29186         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29187         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29188         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29189         * Rules [$(multi-arch) = no] (tests): Do not filter out
29190         $(tests-ifunc).
29191         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
29192         * debug/Makefile (tests-ifunc): Remove variable.
29193         (tests): Do not add $(tests-ifunc).
29194         * wcsmbs/Makefile (tests-ifunc): Remove variable.
29195         (tests): Do not add $(tests-ifunc).
29196         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
29197         [TEST_IFUNC]: Remove conditionals.
29198         * string/test-string.h (TEST_IFUNC): Remove macro.
29199         [TEST_IFUNC]: Remove conditionals.
29201         * string/test-strchr.c [!WIDE] (L): New macro.
29202         [WIDE] (L): Likewise.
29203         (check1): Use CHAR instead of char.  Use L on string and character
29204         constants.
29206 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
29208         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
29209         tests.
29210         * sysdeps/powerpc/bits/atomic.h
29211         (__arch_atomic_exchange_and_add_32_acq): Add definition.
29212         (__arch_atomic_exchange_and_add_32_rel): Likewise.
29213         (atomic_exchange_and_add_acq): Likewise.
29214         (atomic_exchange_and_add_rel): Likewise.
29215         * sysdeps/powerpc/powerpc32/bits/atomic.h
29216         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29217         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29218         * sysdeps/powerpc/powerpc64/bits/atomic.h
29219         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29220         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29222 2014-11-26  Torvald Riegel  <triegel@redhat.com>
29224         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
29225         Change synchronization of __sched_fifo_min_prio and
29226         __sched_fifo_max_prio.
29227         * nptl/pthread_mutexattr_getprioceiling.c
29228         (pthread_mutexattr_getprioceiling): Likewise.
29229         * nptl/pthread_mutexattr_setprioceiling.c
29230         (pthread_mutexattr_setprioceiling): Likewise.
29231         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29232         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
29233         Likewise.
29235 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29237         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
29238         void.
29240 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29242         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
29243         third argument const.
29245 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
29247         fnmatch: work around GCC compiler warning bug with uninit var
29248         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
29249         This works around a bug with x86-64 GCC 4.9.2 and earlier
29250         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
29251         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
29252         used uninitialized in this function [-Wmaybe-uninitialized]".
29254 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29256         * posix/bug-regex31.c (main): Return RES not 0.
29258 2014-11-25  Anton Blanchard <anton@samba.org>
29260         * sysdeps/powerpc/bits/atomic.h
29261         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
29263 2014-11-24  Sterling Augustine  <saugustine@google.com>
29265         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
29267 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
29269         [BZ #17608]
29270         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
29272 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
29274         [BZ #17633]
29275         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
29276         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
29277         variable.
29278         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29279         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29281 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29283         * string/strncpy.c (strncpy): Improve performance by using memset.
29285 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29287         * string/strcpy.c (strcpy):
29288         Improve performance by using strlen and memcpy.
29290 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
29292         * string/strcoll_l.c (get_next_seq): __always_inline.
29293         * string/strcoll_l.c (do_compare): __always_inline.
29295 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29297         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
29298         defined.
29299         * include/mqueue.h: Likewise.
29300         * include/stdlib.h: Likewise.
29302         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
29303         (get_null_defines): Adjust.
29304         * sunrpc/Makefile: Adjust comment.
29305         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
29306         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
29307         (CFLAGS-interp.c): Likewise.
29308         (CFLAGS-ldconfig.c): Likewise.
29309         (CPPFLAGS-.os): Likewise.
29310         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29311         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29312         * extra-modules.mk (extra-modules.mk): Likewise.
29313         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29314         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29315         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29316         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29317         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29318         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29319         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29320         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29321         * iconvdata/Makefile (CPPFLAGS): Likewise.
29322         (cpp-srcs-left): Add libof for all iconvdata routines.
29323         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29324         * include/assert.h: Likewise.
29325         * include/ctype.h: Likewise.
29326         * include/errno.h: Likewise.
29327         * include/libc-symbols.h: Likewise.
29328         * include/math.h: Likewise.
29329         * include/netdb.h: Likewise.
29330         * include/resolv.h: Likewise.
29331         * include/stdio.h: Likewise.
29332         * include/stdlib.h: Likewise.
29333         * include/string.h: Likewise.
29334         * include/sys/stat.h: Likewise.
29335         * include/wctype.h: Likewise.
29336         * intl/l10nflist.c: Likewise.
29337         * libidn/idn-stub.c: Likewise.
29338         * libio/libioP.h: Likewise.
29339         * nptl/libc_multiple_threads.c: Likewise.
29340         * nptl/pthreadP.h: Likewise.
29341         * posix/regex_internal.h: Likewise.
29342         * resolv/res_hconf.c: Likewise.
29343         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29344         * sysdeps/arm/memmove.S: Likewise.
29345         * sysdeps/arm/sysdep.h: Likewise.
29346         * sysdeps/generic/_itoa.h: Likewise.
29347         * sysdeps/generic/symbol-hacks.h: Likewise.
29348         * sysdeps/gnu/errlist.awk: Likewise.
29349         * sysdeps/gnu/errlist.c: Likewise.
29350         * sysdeps/i386/i586/memcpy.S: Likewise.
29351         * sysdeps/i386/i586/memset.S: Likewise.
29352         * sysdeps/i386/i686/memcpy.S: Likewise.
29353         * sysdeps/i386/i686/memmove.S: Likewise.
29354         * sysdeps/i386/i686/mempcpy.S: Likewise.
29355         * sysdeps/i386/i686/memset.S: Likewise.
29356         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29357         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29358         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29359         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29360         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29361         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29362         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29363         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29364         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29365         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29366         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29367         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29368         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29369         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29370         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29371         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29372         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29373         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29374         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29375         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29376         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29377         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29378         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29379         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29380         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29381         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29382         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29383         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29384         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29385         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29386         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29387         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29389         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29390         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29391         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29392         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29393         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29394         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29395         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29396         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29397         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29398         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29399         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29400         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29401         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29402         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29403         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29404         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29405         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29406         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29407         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29408         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29409         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29410         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29411         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29412         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29413         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
29414         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
29415         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29416         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29417         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29418         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
29419         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29420         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29421         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
29422         * sysdeps/posix/closedir.c: Likewise.
29423         * sysdeps/posix/opendir.c: Likewise.
29424         * sysdeps/posix/readdir.c: Likewise.
29425         * sysdeps/posix/rewinddir.c: Likewise.
29426         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
29427         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
29428         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29429         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29430         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29431         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
29432         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
29433         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
29434         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
29435         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
29436         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
29437         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
29438         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
29439         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
29440         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
29441         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
29442         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
29443         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
29444         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
29445         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
29446         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
29447         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
29448         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
29449         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
29450         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
29451         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
29452         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
29453         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
29454         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
29455         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
29456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
29457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
29458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
29459         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
29460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
29461         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
29462         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29463         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29464         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
29465         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
29466         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
29467         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
29468         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
29469         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29470         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
29471         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
29472         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
29473         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
29474         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
29475         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
29476         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
29477         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
29478         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29479         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
29480         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
29481         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
29482         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
29483         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
29484         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
29485         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
29486         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29487         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
29488         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29489         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
29490         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
29491         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29492         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
29493         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
29494         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
29495         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
29496         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29497         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
29498         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
29499         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
29500         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
29501         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
29502         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
29503         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
29504         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29505         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
29506         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
29507         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29508         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
29509         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
29510         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29511         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
29512         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
29513         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29514         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29515         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29516         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
29517         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
29518         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
29519         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29521         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
29522         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29523         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29524         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
29525         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
29526         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29527         * sysdeps/unix/alpha/sysdep.S: Likewise.
29528         * sysdeps/unix/alpha/sysdep.h: Likewise.
29529         * sysdeps/unix/make-syscalls.sh: Likewise.
29530         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29531         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29532         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29533         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
29534         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29535         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29536         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
29537         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29538         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29539         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
29540         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29541         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29542         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29543         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29544         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29545         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29546         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29547         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29548         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29549         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29550         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29551         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29552         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29553         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29554         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29555         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29556         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29559         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
29560         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29561         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29562         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29564         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29566         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29568         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29569         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29570         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29571         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29572         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29573         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29574         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29575         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29576         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29577         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29579         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29580         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29581         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29582         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29583         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29584         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
29585         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29586         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29588         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
29589         * sysdeps/x86_64/memcpy.S: Likewise.
29590         * sysdeps/x86_64/memmove.c: Likewise.
29591         * sysdeps/x86_64/memset.S: Likewise.
29592         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
29593         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29594         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29595         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
29596         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
29597         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29598         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29599         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29600         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29601         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29602         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29603         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29604         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
29605         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29606         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29607         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
29608         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29609         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29610         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29611         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29612         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
29613         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29614         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29615         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29616         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29617         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29618         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29619         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
29620         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29621         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29622         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
29623         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29624         * sysdeps/x86_64/strcmp.S: Likewise.
29626         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
29628         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
29629         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
29630         * elf/rtld-Rules: Likewise.
29631         * elf/setup-vdso.h: Likewise.
29632         * include/assert.h: Likewise.
29633         * include/bits/stdlib-float.h: Likewise.
29634         * include/errno.h: Likewise.
29635         * include/sys/stat.h: Likewise.
29636         * include/unistd.h: Likewise.
29637         * sysdeps/aarch64/setjmp.S: Likewise.
29638         * sysdeps/alpha/setjmp.S: Likewise.
29639         * sysdeps/arm/__longjmp.S: Likewise.
29640         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
29641         * sysdeps/arm/setjmp.S: Likewise.
29642         * sysdeps/arm/sysdep.h: Likewise.
29643         * sysdeps/generic/_itoa.h: Likewise.
29644         * sysdeps/generic/dl-sysdep.h: Likewise.
29645         * sysdeps/generic/ldsodefs.h: Likewise.
29646         * sysdeps/i386/dl-tls.h: Likewise.
29647         * sysdeps/i386/setjmp.S: Likewise.
29648         * sysdeps/m68k/setjmp.c: Likewise.
29649         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
29650         * sysdeps/mach/hurd/opendir.c: Likewise.
29651         * sysdeps/posix/getcwd.c: Likewise.
29652         * sysdeps/posix/opendir.c: Likewise.
29653         * sysdeps/posix/profil.c: Likewise.
29654         * sysdeps/powerpc/dl-procinfo.h: Likewise.
29655         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29656         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29657         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29658         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29659         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
29660         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29661         * sysdeps/s390/dl-tls.h: Likewise.
29662         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29663         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29664         * sysdeps/sh/sh3/setjmp.S: Likewise.
29665         * sysdeps/sh/sh4/setjmp.S: Likewise.
29666         * sysdeps/unix/alpha/sysdep.h: Likewise.
29667         * sysdeps/unix/arm/sysdep.S: Likewise.
29668         * sysdeps/unix/i386/sysdep.S: Likewise.
29669         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29670         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29671         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29672         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29674         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29675         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29676         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29677         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29678         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29679         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29680         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29681         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29684         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29687         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29688         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29689         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29690         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29691         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29692         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29693         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29694         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29695         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29696         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29697         * sysdeps/x86_64/setjmp.S: Likewise.
29699         * include/math.h: Use IS_IN instead of IS_IN_libm.
29700         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
29701         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29702         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29703         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
29704         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29705         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29706         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29707         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29708         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29709         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29710         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
29711         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
29712         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
29713         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
29714         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
29715         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
29716         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29717         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
29718         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29719         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
29720         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
29721         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
29722         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
29723         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
29724         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
29725         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
29726         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
29727         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29728         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29729         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
29730         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
29731         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29732         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
29734         Likewise.
29735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
29736         Likewise.
29737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
29738         Likewise.
29739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
29740         Likewise.
29741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
29742         Likewise.
29743         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29744         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
29745         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29746         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29747         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29748         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
29750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
29751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
29752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
29753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
29754         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
29755         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
29756         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29757         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29758         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29759         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29760         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29761         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29762         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29763         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
29764         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
29765         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
29766         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
29767         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
29768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29769         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
29771         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
29772         * nptl/pthreadP.h: Likewise.
29773         * nptl_db/structs.def: Likewise.
29774         * sysdeps/arm/sysdep.h: Likewise.
29775         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29776         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29777         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
29778         * sysdeps/unix/alpha/sysdep.h: Likewise.
29779         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29780         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29781         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29782         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29783         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29784         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29785         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29786         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29787         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29788         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29789         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29790         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29791         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29792         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29795         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29796         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29797         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29800         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29801         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29802         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29803         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29804         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29806         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29807         * nptl/pthreadP.h: Likewise.
29808         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29809         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29810         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29811         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29812         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29813         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29814         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29815         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29816         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29817         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29818         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29819         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29821         Likewise.
29822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29823         Likewise.
29824         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29825         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29826         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29827         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29829         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29830         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29831         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29833         * dlfcn/dladdr.c: Use IS_IN.
29834         * dlfcn/dladdr1.c: Likewise.
29835         * dlfcn/dlclose.c: Likewise.
29836         * dlfcn/dlerror.c: Likewise.
29837         * dlfcn/dlinfo.c: Likewise.
29838         * dlfcn/dlmopen.c: Likewise.
29839         * dlfcn/dlopen.c: Likewise.
29840         * dlfcn/dlsym.c: Likewise.
29841         * dlfcn/dlvsym.c: Likewise.
29843         * include/ifaddrs.h: Use IS_IN.
29844         * inet/check_pf.c: Likewise.
29845         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29846         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29848         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29849         IS_IN_ldconfig.
29850         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29851         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29853         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29854         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29855         IS_IN (libc).
29857         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29859         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29860         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29861         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29862         * include/libc-symbols.h (IS_IN_LIB): New macro.
29863         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29864         * include/netdb.h: Likewise.
29865         * include/stap-probe.h: Remove all uses of IN_LIB.
29867         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29868         instead of IN_MODULE.
29869         * include/libc-symbols.h (IN_MODULE): Define using
29870         MODULE_NAME.
29871         (PASTE_NAME, PASTE_NAME1): New macros.
29872         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29873         of IN_LIB.
29874         (STAP_PROBE_ASM): Likewise.
29876 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29878         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29879         __mach_init in dlopened libc.
29881 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29883         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29884         * sysdeps/arm/preconfigure: Regenerate.
29886 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29888         * nptl/pthread_create.c (__pthread_create_2_1): Set
29889         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29890         when copying values from IATTR into PD.
29892 2014-11-21  Will Newton  <will.newton@linaro.org>
29893             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29895         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29896         Refactor inline-asm.  Also add comment.
29898         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29899         ElfW macro instead of hardcoded Elf64 types.
29900         (la_aarch64_gnu_pltenter): Likewise.
29901         * sysdeps/aarch64/dl-machine.h
29902         (elf_machine_runtime_setup): Use ElfW(Addr).
29904         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29905         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29906         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29907         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29908         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29909         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29910         (R_AARCH64_TLS_DTPMOD): This.
29911         (R_AARCH64_TLS_DTPREL64): Rename to ...
29912         (R_AARCH64_TLS_DTPREL): This.
29913         (R_AARCH64_TLS_TPREL64): Rename to ...
29914         (R_AARCH64_TLS_TPREL): This.
29915         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29916         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29917         R_AARCH64_TLS_TPREL64.
29918         (elf_machine_rela): Likewise.
29920 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29922         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29923         by setting it to 0.  64b atomics are not supported currently.
29925 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29927         [BZ #16469]
29928         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29929         search domain names.
29931 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29933         [BZ #16469]
29934         * NEWS: Update.
29935         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29936         trailing dot.
29937         * posix/tst-getaddrinfo5.c: New.
29938         * posix/Makefile (tests): Add it.
29940 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29942         [BZ #14498]
29943         * NEWS: Fixed.
29944         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29945         after parsing line but before break_if_match.
29946         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29947         if there is a protocol mismatch.
29949 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29951         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29952         because the potential race is on the user-supplied stream.
29954 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29956         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29957         string literal if not passed a buffer.
29958         * manual/job.texi (ctermid): Update reasoning, note deviation
29959         from posix, suggest mtasurace when not passed a buffer, for
29960         future non-preliminary safety notes.
29962 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29964         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29965         of not passing it a buffer.
29966         Reported by Peng Haitao.
29968 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29970         * manual/Makefile ($(objpfx)stamp-summary): Require
29971         check-safety.sh to pass.
29972         * manual/check-safety.sh: Wish for verification that every
29973         @deftypefn and @deftypefun is followed by a @safety remark.
29975 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29977         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29979         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29980         PTHREAD_CANCEL_ASYNCHRONOUS.
29981         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29982         send SIGCANCEL.
29984         * nptl/default-sched.h: New file.
29985         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29986         * nptl/pthread_create.c: Include it.
29987         (__pthread_create_2_1): Use collect_default_sched instead of making
29988         Linux syscalls here directly.
29990 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29992         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29993         __pthread_once): Use C11 atomics.
29995 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29997         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
29999 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30001         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30002         atomic_thread_fence_acquire, atomic_thread_fence_release,
30003         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30004         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30005         atomic_compare_exchange_weak_relaxed,
30006         atomic_compare_exchange_weak_acquire,
30007         atomic_compare_exchange_weak_release,
30008         atomic_exchange_acquire, atomic_exchange_release,
30009         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30010         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30011         atomic_fetch_and_acquire,
30012         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30014 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30016         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30017         USE_ATOMIC_COMPILER_BUILTINS): Define.
30018         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30019         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30020         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30022         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30023         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30024         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30025         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30026         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30028         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30029         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30030         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30031         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30032         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30033         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30034         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30035         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30036         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30037         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30038         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30039         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30040         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30041         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30042         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30043         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30044         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30045         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30046         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30047         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30048         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30049         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30050         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30051         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30052         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30053         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30054         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30055         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30056         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30057         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30059 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30061         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30062         the sched_priority value here.  It was already checked when the user
30063         called pthread_attr_setschedparam.
30065         * nptl/tst-bad-schedattr.c: New file.
30066         * nptl/Makefile (tests): Add it.
30068 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30069             Florian Weimer  <fweimer@redhat.com>
30070             Joseph Myers  <joseph@codesourcery.com>
30071             Adam Conrad  <adconrad@0c3.net>
30072             Andreas Schwab  <schwab@suse.de>
30073             Brooks  <bmoses@google.com>
30075         [BZ #17625]
30076         * wordexp-test.c (__dso_handle): Add prototype.
30077         (__register_atfork): Likewise.
30078         (__app_register_atfork): New function.
30079         (registered_forks): New global.
30080         (register_fork): New function.
30081         (test_case): Add 3 new tests for WRDE_CMDSUB.
30082         (main): Call __app_register_atfork.
30083         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30084         fork count is non-zero fail the test.
30085         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30086         is set.
30087         (parse_dollars): Remove check for WRDE_NOCMD.
30088         (parse_dquote): Likewise.
30090 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30092         * Makeconfig (built-modules): List non-library modules to be
30093         built.
30094         (module-cppflags): Include libc-modules.h for
30095         everything except shlib-versions.v.i.
30096         (CPPFLAGS): Use it.
30097         (before-compile): Add libc-modules.h.
30098         ($(common-objpfx)libc-modules.h,
30099         $(common-objpfx)libc-modules.stmp): New targets.
30100         (common-generated): Add libc-modules.h and libc-modules.stmp.
30101         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30102         * include/libc-symbols.h: Don't include libc-modules.h.
30103         * include/libc-modules.h: Remove file.
30104         * scripts/gen-libc-modules.awk: New script to generate
30105         libc-modules.h.
30106         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30107         Depend on libc-modules.stmp.
30109         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30111         * Makeconfig (in-module): Get value of libof set for the
30112         translation unit.
30113         (CPPFLAGS): Use $(in-module).
30114         * Makerules: Don't suffix routine names for nonlib.
30115         * include/libc-modules.h: New file.
30116         * include/libc-symbols.h: Include libc-modules.h
30117         (IS_IN): New macro to replace IS_IN_* macros.
30118         * elf/Makefile: Set libof-* for each routine.
30119         * elf/rtld-Rules: Likewise.
30120         * extra-modules.mk: Likewise.
30121         * iconv/Makefile: Likewise.
30122         * iconvdata/Makefile: Likewise.
30123         * locale/Makefile: Likewise.
30124         * malloc/Makefile: Likewise.
30125         * nss/Makefile: Likewise.
30126         * sysdeps/gnu/Makefile: Likewise.
30127         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30128         * sysdeps/unix/sysv/linux/Makefile: Likewise.
30129         * sysdeps/s390/s390-64/Makefile: Likewise.
30130         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
30131         CPPFLAGS for nscd instead of nonlib.
30133 2014-11-18  Roland McGrath  <roland@hack.frob.com>
30135         * nptl/createthread.c: New file.
30137         * nptl/createthread.c: Moved ...
30138         * sysdeps/unix/sysv/linux/createthread.c: ... here.
30140         * nptl/createthread.c: Add proper top-line comment.
30141         (do_clone): Folded into ...
30142         (create_thread): ... here.  Take new arguments STOPPED_START and
30143         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
30144         increment __nptl_threads, do event-reporting logic, do
30145         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
30146         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
30147         resource cleanup if sched_setaffinity or sched_setscheduler fails,
30148         just send SIGCANCEL.
30149         * nptl/pthread_create.c: Forward-declare create_thread before
30150         including createthread.c.
30151         (start_thread): Use new macro START_THREAD_DEFN to replace defining
30152         declaration, and new macro START_THREAD_SELF to replace argument.
30153         Remove return statement.
30154         (report_thread_creation): New function.
30155         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
30156         synchronization logic, and __nptl_nthreads increment here, around
30157         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
30158         PD->parent_cancelhandling here, before create_thread.  When
30159         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
30160         __deallocate_stack, and ENOMEM translation here.
30162 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
30164         [BZ #17616]
30165         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
30166         (mptwo): Rename to __mptwo.
30167         (__inv): Use __mptwo instead of mptwo.
30168         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
30169         (mptwo): Rename to __mptwo.
30170         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
30171         of mpone and __mptwo instead of mptwo.
30172         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
30173         instead of mpone.
30174         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30175         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
30176         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
30177         of mpone and __mptwo instead of mptwo.
30178         (__mpranred): Use __mpone instead of mpone.
30179         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
30180         variable.
30181         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30182         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30183         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30184         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30185         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30186         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30187         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30188         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30189         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30190         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30191         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30192         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30193         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30194         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30195         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30196         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30197         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30198         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30199         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30201 2014-11-18  Tom de Vries  <tom@codesoucery.com>
30203         * manual/signal.texi (Primitives Interrupted by Signals): In section,
30204         replace BSD Handler xref with BSD Signal Handling.
30206 2014-11-17  Richard Henderson  <rth@redhat.com>
30208         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
30209         (_FP_PACK_RAW_2): Remove.
30210         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
30211         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
30212         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
30213         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
30214         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
30215         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
30216         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
30217         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
30218         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
30219         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
30220         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
30221         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
30222         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
30223         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
30224         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
30225         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
30227 2014-11-14  Roland McGrath  <roland@hack.frob.com>
30229         * signal/signal.h [__USE_MISC]
30230         (struct sigvec): Remove type.
30231         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
30232         (sigvec): Remove declaration.
30233         * sysdeps/posix/sigvec.c: Moved ...
30234         * signal/sigvec.c: ... here, replacing old file.
30235         (struct sigvec): New type, copied from old signal.h definition.
30236         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
30237         (__sigvec): Convert definition to prototype.
30238         (sigvec): Replace weak_alias with compat_symbol.
30239         * signal/Versions (libc: GLIBC_2.21): New version set.
30240         * include/signal.h: Remove __sigvec declaration.
30241         * sysdeps/unix/bsd/sigvec.c: Remove file.
30242         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
30243         * manual/signal.texi (BSD Handler): Remove subsection.
30244         Move siginterrupt up to ...
30245         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
30246         (Blocking in BSD): Fold subsection into its parent.
30247         * NEWS: Mention sigvec removal.
30249 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30251         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
30252         (DLA_FMS): Make definition conditional only on [__FMA4__].
30253         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
30254         definition.
30256         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
30257         Make definition conditional only on [PROF].
30258         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
30259         definition.
30260         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
30261         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
30263         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
30264         !__GNUC__].
30265         * include/signal.h (__sigpause): Move declaration above call to
30266         libc_hidden_proto.
30267         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
30268         variable.
30269         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30270         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30272 2014-11-14  David S. Miller  <davem@davemloft.net>
30274         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
30275         Define before including <string/memcpy.c> and <string/mempcpy.c>.
30277 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30279         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
30280         * configure: Regenerated.
30281         * manual/install.texi (Tools for Compilation): Document a
30282         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30283         compiler verified to work.
30284         * INSTALL: Regenerated.
30286         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
30287         redeclare with asm name.
30288         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
30289         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30290         including <string.h>.
30291         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30292         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
30293         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30294         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
30295         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30296         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30297         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30299 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
30301         * stdlib/strtol.c (__strtol): Use prototype definition.
30303         [BZ #17594]
30304         * stdlib/strtol.c (SYM__): New macro.
30305         (SYM__1): Likewise.
30306         (__strtol): Likewise.
30307         (strtol): Rename to __strtol and define as weak alias of
30308         __strtol.  Use libc_hidden_weak.
30310 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30312         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30313         Use numbered labels in inline assembly.
30315 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30317         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30318         Add setjmp LIBC_PROBE.
30319         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30320         Likewise.
30321         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30322         Add longjmp, longjmp_target LIBC_PROBE.
30323         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30324         Likewise.
30326 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30328         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30329         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30330         to get rid of unused variable warning.
30332 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30334         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30335         Check for unwind_backtrace ==  NULL only in SHARED case.
30336         (__backchain_backtrace): Compile only in SHARED case.
30337         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30338         Likewise.
30339         (__backchain_backtrace): Declare as static.
30341 2014-11-12  Roland McGrath  <roland@hack.frob.com>
30343         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30344         (__libc_multiple_threads_ptr): Variable moved ...
30345         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30347 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
30349         * conform/GlibcConform.pm: New file.
30350         * conform/conformtest.pl: Use GlibcConform module.
30351         * conform/linknamespace.pl: New file.
30352         * conform/list-header-symbols.pl: Likewise.
30353         * conform/Makefile (linknamespace-symlists-base): New variable.
30354         (linknamespace-symlists-tests): Likewise.
30355         (linknamespace-header-base): Likewise.
30356         (linknamespace-header-tests): Likewise.
30357         (tests-special): Add new tests.
30358         ($(linknamespace-symlists-tests)): New rule.
30359         (linknamespace-libs): New variable.
30360         ($(objpfx)symlist-stdlibs): New rule.
30361         ($(linknamespace-header-tests)): Likewise.
30362         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30363         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30364         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30365         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30366         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30367         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30368         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30369         (test-xfail-ISO/math.h/linknamespace): Likewise.
30370         (test-xfail-ISO/signal.h/linknamespace): Likewise.
30371         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30372         (test-xfail-ISO/time.h/linknamespace): Likewise.
30373         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30374         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30375         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30376         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30377         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30378         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30379         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30380         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30381         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30382         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30383         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30384         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30385         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30386         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30387         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30388         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30389         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30390         (test-xfail-XPG3/search.h/linknamespace): Likewise.
30391         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30392         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30393         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30394         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30395         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30396         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30397         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30398         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30399         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30400         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30401         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30402         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30403         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30404         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30405         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30406         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30407         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30408         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30409         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30410         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30411         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30412         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30413         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30414         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
30415         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30416         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30417         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30418         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
30419         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
30420         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30421         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30422         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
30423         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30424         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30425         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
30426         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30427         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30428         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30429         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30430         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30431         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30432         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30433         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30434         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30435         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
30436         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30437         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30438         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30439         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
30440         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30441         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30442         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
30443         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30444         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30445         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30446         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30447         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30448         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30449         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
30450         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
30451         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30452         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
30453         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30454         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
30455         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30456         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30457         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30458         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
30459         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30460         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30461         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30462         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
30463         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
30464         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
30465         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30466         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30467         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30468         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30469         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
30470         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
30471         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30472         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30473         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30474         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30475         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30476         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30477         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30478         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30479         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30480         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30481         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
30482         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30483         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30484         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
30485         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30486         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30487         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30488         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30489         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30490         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30491         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30492         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30493         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30494         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30495         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30496         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30497         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30498         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30499         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
30500         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30501         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30502         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30503         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30504         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30505         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
30506         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30507         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30508         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30509         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30510         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30511         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30512         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30513         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30514         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30515         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30516         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30517         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30518         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30519         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
30520         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30521         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30522         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30524         [BZ #17589]
30525         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
30526         of fgets_unlocked.
30528         [BZ #17585]
30529         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
30530         (memmem): Rename to __memmem and define as weak alias of
30531         __memmem.  Use libc_hidden_weak.
30532         (__memmem): Use libc_hidden_def.
30533         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
30534         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
30535         memmem.
30537         [BZ #17582]
30538         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
30539         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
30540         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
30541         and define as weak alias of __fgets_unlocked.  Use
30542         libc_hidden_weak.
30543         (__fgets_unlocked): Use libc_hidden_def.
30544         * include/stdio.h (__fgets_unlocked): Declare.  Use
30545         libc_hidden_proto.
30546         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
30547         __fgets_unlocked instead of fgets_unlocked.
30548         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
30549         (GET_NPROCS_CONF_PARSER): Likewise.
30550         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
30551         (GET_NPROCS_CONF_PARSER): Likewise.
30553         [BZ #17574]
30554         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
30555         weak alias of __wmemset.  Use libc_hidden_weak.
30556         (__wmemset): Use libc_hidden_def.
30557         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
30558         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
30559         of wmemset.
30561         [BZ #17573]
30562         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
30563         with asm name __mempcpy.
30564         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
30566         [BZ #17572]
30567         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
30568         and define as weak alias of __rawmemchr.
30569         (__rawmemchr): Do not define as strong alias of rawmemchr.
30571         [BZ #17571]
30572         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
30573         alias of __qsort_r.
30574         (qsort): Call __qsort_r instead of qsort_r.
30575         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
30576         (__qsort_r): Declare.  Call libc_hidden_proto.
30577         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
30578         instead of qsort_r.
30579         * nscd/gai.c (__qsort_r): Define to qsort_r.
30580         * posix/tst-rfc3484.c (__qsort_r): Likewise.
30581         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
30582         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
30584         [BZ #17570]
30585         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
30586         define as weak alias of __malloc_info.
30588         [BZ #17584]
30589         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
30590         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30591         (__rewinddir): Use libc_hidden_def.
30592         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
30593         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30594         (__rewinddir): Use libc_hidden_def.
30595         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
30596         weak alias of __rewinddir.  Don't use libc_hidden_def.
30597         (__rewinddir): Use libc_hidden_def.
30598         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
30599         (__rewinddir): Use libc_hidden_proto.
30600         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
30601         rewinddir.
30602         (__getcwd): Use __rewinddir instead of rewinddir.
30604         [BZ #17583]
30605         * libio/fileno.c (fileno): Rename to __fileno and define as weak
30606         alias of __fileno.  Use libc_hidden_weak.
30607         (__fileno): Use libc_hidden_def.
30608         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
30609         * libio/ftello.c (ftello): Rename to __ftello and define as weak
30610         alias of __ftello.
30611         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
30612         __ftello.
30613         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
30614         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
30615         libc_hidden_def.
30616         (fread_unlocked): Don't use libc_hidden_ver.
30617         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
30618         and define as weak alias of __fread_unlocked.  Don't use
30619         libc_hidden_def.
30620         (__fread_unlocked): Use libc_hidden_def.
30621         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
30622         (ftello): Don't use libc_hidden_proto.
30623         (__ftello): Declare.  Use libc_hidden_proto.
30624         (fread_unlocked): Don't use libc_hidden_proto.
30625         (__fread_unlocked): Declare.  Use libc_hidden_proto.
30626         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
30627         and __ftello instead of fileno, fread_unlocked and ftello.
30629 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30631         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
30632         GOT12.
30633         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30634         Likewise.
30635         (_dl_start_user): Likewise.
30636         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
30638 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
30639             Siddhesh Poyarekar  <siddhesh@redhat.com>
30641         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
30642         Move argv and envp down instead of moving argc up.
30643         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
30645 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
30647         [BZ #17506]
30648         * test-skeleton.c (main): Return successful if one of
30649         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
30650         * string/tst-strcoll-overflow.c: Define expected status.
30652 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
30654         [BZ #17475]
30655         * locale/iso-639.def: Define Bhili and Tulu language codes.
30657 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
30659         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
30661 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
30663         [BZ #17555]
30664         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
30666 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30668         * configure.ac: Updated check of minimal required version to
30669         2.22.
30670         * manual/install.texi (Tools for Compilation): Updated version
30671         number.
30672         * configure: Regenerated.
30673         * INSTALL: Likewise.
30675 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
30677         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
30678         __tls_get_addr.
30680 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
30682         * include/sys/wait.h (__libc_waitpid): Remove declaration.
30683         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
30684         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30685         libc_hidden_weak.
30686         (waitpid): Define as alias of __waitpid.
30687         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
30688         __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/sysv/linux/i386/syscalls.list (waitpid): Remove
30693         __libc_waitpid alias.
30694         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
30695         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
30696         Likewise.
30697         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
30698         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
30699         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
30700         alias.
30701         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
30702         __waitpid.
30703         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30704         libc_hidden_weak.
30705         (waitpid): Define as alias of __waitpid.
30707 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
30709         * manual/llio.texi: Add comment that write safety has been
30710         fixed in Linux.
30712         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
30713         (localplt-build-dso): Add elf/ld.so.
30714         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
30715         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
30716         and free for ld.so.
30717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
30718         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
30719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
30720         Likewise.
30721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30722         Likewise.
30723         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
30724         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
30725         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
30726         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
30727         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
30728         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
30729         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
30730         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
30731         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
30732         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
30733         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30735 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
30737         [BZ #14132]
30738         * include/libc-symbols.h (INTUSE): Remove macro.
30739         (INTDEF): Likewise.
30740         (INTVARDEF): Likewise.
30741         (_INTVARDEF): Likewise.
30742         (INTDEF2): Likewise.
30743         (INTVARDEF2): Likewise.
30744         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
30745         rtld_hidden_def instead of INTVARDEF.
30746         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
30747         (_dl_starting_up_internal): Remove declaration.
30748         (_dl_starting_up): Use rtld_hidden_proto.
30749         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
30750         declaration.
30751         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
30752         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
30753         _dl_starting_up.
30754         * elf/dl-writev.h (_dl_writev): Likewise.
30755         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
30756         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
30757         _dl_starting_up_internal.
30759 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30761         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30762         test-skeleton.c.
30764 2014-11-05  Will Newton  <will.newton@linaro.org>
30766         * benchtests/Makefile: (bench-malloc): Add malloc thread
30767         scalability benchmark.
30768         * benchtests/bench-malloc-threads.c: New file.
30770 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
30772         * sysdeps/aarch64/strchrnul.S: New file.
30774 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30776         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
30777         definition.
30778         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30779         Likwise.
30780         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30781         Likewise.
30782         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30783         Likewise.
30784         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30785         Likewise.
30786         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30787         Likewise.
30789 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30791         * catgets/test-gencat.c: Use test-skeleton.c.
30792         * catgets/tst-catgets.c: Likewise.
30793         * csu/tst-empty.c: Likewise.
30794         * elf/tst-audit2.c: Likewise.
30795         * elf/tst-global1.c: Likewise.
30796         * elf/tst-pathopt.c: Likewise.
30797         * elf/tst-piemod1.c: Likewise.
30798         * elf/tst-tls10.c: Likewise.
30799         * elf/tst-tls11.c: Likewise.
30800         * elf/tst-tls12.c: Likewise.
30801         * gnulib/tst-gcc.c: Likewise.
30802         * iconvdata/tst-e2big.c: Likewise.
30803         * iconvdata/tst-loading.c: Likewise.
30804         * iconv/tst-iconv1.c: Likewise.
30805         * iconv/tst-iconv2.c: Likewise.
30806         * inet/test-inet6_opt.c: Likewise.
30807         * inet/tst-gethnm.c: Likewise.
30808         * inet/tst-network.c: Likewise.
30809         * inet/tst-ntoa.c: Likewise.
30810         * intl/tst-codeset.c: Likewise.
30811         * intl/tst-gettext2.c: Likewise.
30812         * intl/tst-gettext3.c: Likewise.
30813         * intl/tst-ngettext.c: Likewise.
30814         * intl/tst-translit.c: Likewise.
30815         * io/test-stat.c: Likewise.
30816         * libio/test-fmemopen.c: Likewise.
30817         * libio/tst-freopen.c: Likewise.
30818         * libio/tst-sscanf.c: Likewise.
30819         * libio/tst-ungetwc1.c: Likewise.
30820         * libio/tst-ungetwc2.c: Likewise.
30821         * libio/tst-widetext.c: Likewise.
30822         * localedata/tst-ctype.c: Likewise.
30823         * localedata/tst-digits.c: Likewise.
30824         * localedata/tst-leaks.c: Likewise.
30825         * localedata/tst-mbswcs1.c: Likewise.
30826         * localedata/tst-mbswcs2.c: Likewise.
30827         * localedata/tst-mbswcs3.c: Likewise.
30828         * localedata/tst-mbswcs4.c: Likewise.
30829         * localedata/tst-mbswcs5.c: Likewise.
30830         * localedata/tst-setlocale.c: Likewise.
30831         * localedata/tst-trans.c: Likewise.
30832         * localedata/tst-wctype.c: Likewise.
30833         * localedata/tst-xlocale1.c: Likewise.
30834         * login/tst-grantpt.c: Likewise.
30835         * malloc/tst-calloc.c: Likewise.
30836         * malloc/tst-malloc.c: Likewise.
30837         * malloc/tst-mallocstate.c: Likewise.
30838         * malloc/tst-mcheck.c: Likewise.
30839         * malloc/tst-mtrace.c: Likewise.
30840         * malloc/tst-obstack.c: Likewise.
30841         * math/atest-exp2.c: Likewise.
30842         * math/atest-exp.c: Likewise.
30843         * math/atest-sincos.c: Likewise.
30844         * math/test-matherr.c: Likewise.
30845         * math/test-misc.c: Likewise.
30846         * math/test-powl.c: Likewise.
30847         * math/tst-definitions.c: Likewise.
30848         * misc/tst-dirname.c: Likewise.
30849         * misc/tst-efgcvt.c: Likewise.
30850         * misc/tst-fdset.c: Likewise.
30851         * misc/tst-hsearch.c: Likewise.
30852         * misc/tst-mntent2.c: Likewise.
30853         * nptl/tst-sem7.c: Likewise.
30854         * nptl/tst-sem8.c: Likewise.
30855         * nptl/tst-sem9.c: Likewise.
30856         * nss/test-netdb.c: Likewise.
30857         * posix/tst-fnmatch.c: Likewise.
30858         * posix/tst-getlogin.c: Likewise.
30859         * posix/tst-gnuglob.c: Likewise.
30860         * posix/tst-mmap.c: Likewise.
30861         * pwd/tst-getpw.c: Likewise.
30862         * resolv/tst-inet_ntop.c: Likewise.
30863         * rt/tst-timer.c: Likewise.
30864         * stdio-common/test-fseek.c: Likewise.
30865         * stdio-common/test-popen.c: Likewise.
30866         * stdio-common/test-vfprintf.c: Likewise.
30867         * stdio-common/tst-cookie.c: Likewise.
30868         * stdio-common/tst-fileno.c: Likewise.
30869         * stdio-common/tst-gets.c: Likewise.
30870         * stdio-common/tst-obprintf.c: Likewise.
30871         * stdio-common/tst-perror.c: Likewise.
30872         * stdio-common/tst-sprintf2.c: Likewise.
30873         * stdio-common/tst-sprintf3.c: Likewise.
30874         * stdio-common/tst-sprintf.c: Likewise.
30875         * stdio-common/tst-swprintf.c: Likewise.
30876         * stdio-common/tst-tmpnam.c: Likewise.
30877         * stdio-common/tst-unbputc.c: Likewise.
30878         * stdio-common/tst-wc-printf.c: Likewise.
30879         * stdlib/tst-environ.c: Likewise.
30880         * stdlib/tst-fmtmsg.c: Likewise.
30881         * stdlib/tst-limits.c: Likewise.
30882         * stdlib/tst-rand48-2.c: Likewise.
30883         * stdlib/tst-rand48.c: Likewise.
30884         * stdlib/tst-random2.c: Likewise.
30885         * stdlib/tst-random.c: Likewise.
30886         * stdlib/tst-strtol.c: Likewise.
30887         * stdlib/tst-strtoll.c: Likewise.
30888         * stdlib/tst-tls-atexit.c: Likewise.
30889         * stdlib/tst-xpg-basename.c: Likewise.
30890         * string/test-ffs.c: Likewise.
30891         * string/tst-bswap.c: Likewise.
30892         * string/tst-inlcall.c: Likewise.
30893         * string/tst-strtok.c: Likewise.
30894         * string/tst-strxfrm.c: Likewise.
30895         * sysdeps/x86_64/tst-audit10.c: Likewise.
30896         * sysdeps/x86_64/tst-audit3.c: Likewise.
30897         * sysdeps/x86_64/tst-audit4.c: Likewise.
30898         * sysdeps/x86_64/tst-audit5.c: Likewise.
30899         * time/tst-ftime_l.c: Likewise.
30900         * time/tst-getdate.c: Likewise.
30901         * time/tst-mktime3.c: Likewise.
30902         * time/tst-mktime.c: Likewise.
30903         * time/tst-posixtz.c: Likewise.
30904         * time/tst-strptime2.c: Likewise.
30905         * time/tst-strptime3.c: Likewise.
30906         * wcsmbs/tst-btowc.c: Likewise.
30907         * wcsmbs/tst-mbrtowc.c: Likewise.
30908         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30909         * wcsmbs/tst-wchar-h.c: Likewise.
30910         * wcsmbs/tst-wcpncpy.c: Likewise.
30911         * wcsmbs/tst-wcrtomb.c: Likewise.
30912         * wcsmbs/tst-wcsnlen.c: Likewise.
30913         * wcsmbs/tst-wcstof.c: Likewise.
30915 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30917         [BZ #14132]
30918         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30919         INTDEF.
30920         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30921         declaration.
30922         (_dl_mcount): Use rtld_hidden_proto.
30923         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30924         _dl_mcount.
30925         * elf/rtld.c (_rtld_global_ro): Likewise.
30927         [BZ #14132]
30928         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30929         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30930         of _dl_init_internal.
30931         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30932         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30933         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30934         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30935         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30936         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30937         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30938         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30939         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30940         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30941         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30942         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30943         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30944         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30945         * sysdeps/tile/dl-start.S (_start): Likewise.
30946         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30947         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30949         [BZ #14132]
30950         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30951         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30952         (rtld_progname): Make macro definition unconditional.
30953         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30954         INTDEF.
30955         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30956         (dl_main): Likewise.
30957         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30958         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30959         instead of _dl_argv_internal.
30960         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30961         __GI__dl_argv instead of INTUSE(_dl_argv).
30962         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30963         __GI__dl_argv instead of _dl_argv_internal.
30965         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30966         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30967         macro.
30968         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30969         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30970         New macro.
30971         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30972         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30973         macro.
30974         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30975         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30977 2014-11-04  Andreas Schwab  <schwab@suse.de>
30979         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30981 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30983         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30984         mtvsrd instruction in binary form.
30986 2014-11-03  Andreas Schwab  <schwab@suse.de>
30988         [BZ #17522]
30989         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30990         for less than MB_LEN_MAX use a local buffer of that size.
30991         * libio/tst-fputws.c: New file.
30992         * libio/Makefile (tests): Add tst-fputws.
30994 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
30996         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
30997         the size of the fpu_fr.fpu_dregs[] array.
30999 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31001         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31002         (__nanosleep): Do not define as alias.
31003         (nanosleep): Define as alias of __nanosleep.
31004         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31005         __libc_nanosleep name.
31007 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31009         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31010         install.texi in comment.
31012 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31014         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31015         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31016         ... add here and use lwsync or sync ...
31017         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31018         ... and add here using lwsync.
31020 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31022         * elf/dl-machine-reject-phdr.h: New file.
31023         * elf/dl-load.c: #include that.
31024         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31025         if that returned true.
31027 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31029         [BZ #17496]
31030         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31031         gen-as-const-headers chunk.  Add a big scare comment after the last
31032         safe place to touch before-compile.
31034 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31036         * manual/install.texi (Tools for Compilation): Update autoconf
31037         version requirements.
31038         * INSTALL: Regenerated.
31040         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31041         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31042         (__libc_pselect): Likewise.
31044         [BZ #14138]
31045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31050 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31052         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31053         correct barrier instruction.
31054         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31055         Likewise.
31056         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31057         Likewise.
31059 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31061         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31062         after defining inlines.  Instead, just use parens to defeat macro
31063         expansion of __isctype in its declaration.
31065 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31067         * include/sys/uio.h (__libc_readv): Remove declaration.
31068         (__libc_writev): Likewise.
31069         * misc/readv.c (__libc_readv): Rename to __readv.
31070         (__readv): Do not define as alias.
31071         (readv): Define as alias of __readv.
31072         * misc/writev.c (__libc_writev): Rename to __writev.
31073         (__writev): Do not define as alias.
31074         (writev): Define as alias of __writev.
31075         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31076         (__readv): Do not define as alias.
31077         (readv): Define unconditionally as alias of __readv.
31078         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31079         (__writev): Do not define as alias.
31080         (writev): Define unconditionally as alias of __writev.
31081         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31082         name.
31083         (writev): Do not define __libc_writev name.
31085 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31087         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31088         (convert_charseq): New function, broken out of ...
31089         (use_from_charmap): ... here.  Call it.
31090         (use_to_charmap): Use convert_charseq and free instead of duplicating
31091         its code with a variable-length stack struct.
31093 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31095         * include/fcntl.h (__libc_creat): Remove declaration.
31096         * io/creat.c (__libc_creat): Rename to creat.
31097         (creat): Do not define as alias.
31098         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31099         of creat instead of __libc_creat.
31100         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31101         to creat.
31102         (creat): Do not define as alias.
31103         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31104         __libc_creat.
31105         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31106         __libc_creat name.
31107         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31108         Likewise.
31110 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31112         * manual/llio.texi: Add comments discussing why write() may be
31113         considered MT-unsafe on Linux.
31115 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31117         * dl-load.c (local_strdup): Remove.
31118         (expand_dynamic_string_token): Use __strdup.
31119         (decompose_rpath): Likewise.
31120         (_dl_map_object): Likewise.
31122 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31124         [BZ #14132]
31125         * sysdeps/generic/unwind-dw2-fde.c
31126         (__register_frame_info_bases_internal): Do not declare.
31127         (__register_frame_info_table_bases_internal): Likewise.
31128         (__deregister_frame_info_bases_internal): Likewise.
31129         (__register_frame_info_bases): Declare and use hidden_proto before
31130         definition.  Use hidden_def instead of INTDEF.
31131         (__register_frame_info_table_bases): Likewise.
31132         (__deregister_frame_info_bases): Likewise.
31133         (__register_frame_info): Do not use INTUSE.
31134         (__register_frame): Likewise.
31135         (__register_frame_info_table): Likewise.
31136         (__register_frame_table): Likewise.
31137         (__deregister_frame_info): Likewise.
31138         (__deregister_frame): Likewise.
31140 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
31142         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31143         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
31144         not undefine.
31145         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
31146         Likewise.
31147         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
31148         Likewise.
31150 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
31152         [BZ #14138]
31153         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
31154         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
31155         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
31156         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
31157         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
31158         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
31159         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
31160         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
31161         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
31162         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
31163         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
31164         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
31165         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
31166         syscall.
31167         (setfsuid): Likewise.
31168         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
31169         (setfsuid): Likewise.
31170         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
31171         (setfsuid): Likewise.
31172         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
31173         Likewise.
31174         (setfsuid): Likewise.
31175         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
31176         (setfsuid): Likewise.
31177         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
31178         Likewise.
31179         (setfsuid): Likewise.
31181 2014-10-27  Andreas Schwab  <schwab@suse.de>
31183         [BZ #17501]
31184         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
31185         check for Slow_SSE4_2 feature bit.
31186         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
31187         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31188         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
31189         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
31191 2014-10-24  Roland McGrath  <roland@hack.frob.com>
31193         * configure.ac: Validate compiler version with a empirical test of
31194         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
31195         $CC -v output.
31196         * configure: Regenerated.
31198         * inet/htons.c (htons): Prototypify.
31199         * inet/htonl.c (htonl): Likewise.
31201 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31203         * string/strncat.c (strncat): Improve performance by using strlen.
31205 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31207         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
31209 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31211         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
31212         Call libc_fetestexcept_aarch64.
31214 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31216         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
31217         Call libc_feholdexcept_aarch64.
31219 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31221         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
31222         Call get_rounding_mode.
31224 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31226         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31227         Simplify logic.
31229 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31231         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
31232         Simplify logic.
31234 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
31236         [BZ #14138]
31237         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
31238         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
31239         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
31240         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
31241         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
31242         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
31243         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
31244         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
31245         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
31246         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
31247         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31248         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31249         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
31250         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
31251         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
31252         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
31253         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31254         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
31255         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
31256         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
31257         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
31258         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
31259         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
31260         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
31261         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
31262         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
31263         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
31264         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
31265         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
31266         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
31267         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
31268         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
31269         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
31270         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
31271         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
31272         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
31273         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
31274         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
31275         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
31276         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
31277         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
31278         syscall.
31279         (geteuid): Likewise.
31280         (getgid): Likewise.
31281         (getuid): Likewise.
31282         (getresgid): Likewise.
31283         (getresuid): Likewise.
31284         (getgroups): Likewise.
31285         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
31286         (geteuid): Likewise.
31287         (getgid): Likewise.
31288         (getuid): Likewise.
31289         (getresgid): Likewise.
31290         (getresuid): Likewise.
31291         (getgroups): Likewise.
31292         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
31293         (geteuid): Likewise.
31294         (getgid): Likewise.
31295         (getuid): Likewise.
31296         (getresgid): Likewise.
31297         (getresuid): Likewise.
31298         (getgroups): Likewise.
31299         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
31300         Likewise.
31301         (geteuid): Likewise.
31302         (getgid): Likewise.
31303         (getuid): Likewise.
31304         (getresgid): Likewise.
31305         (getresuid): Likewise.
31306         (getgroups): Likewise.
31307         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
31308         (geteuid): Likewise.
31309         (getgid): Likewise.
31310         (getuid): Likewise.
31311         (getresgid): Likewise.
31312         (getresuid): Likewise.
31313         (getgroups): Likewise.
31314         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31315         Likewise.
31316         (geteuid): Likewise.
31317         (getgid): Likewise.
31318         (getuid): Likewise.
31319         (getgroups): Likewise.
31321         [BZ #14138]
31322         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31323         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31324         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31325         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31326         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31327         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31328         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31329         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31330         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31331         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31332         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31333         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31334         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31335         __chown.
31336         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31337         (lchown): Likewise.
31338         (fchown): Likewise.
31339         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31340         Likewise.
31341         (lchown): Likewise.
31342         (fchown): Likewise.
31343         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31344         (lchown): Likewise.
31345         (fchown): Likewise.
31346         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31347         Likewise.
31348         (lchown): Likewise.
31349         (fchown): Likewise.
31351 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31353         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31354         Simplify logic.
31356 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31358         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31359         Cleanup logic.
31361 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31363         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31364         Remove unused include.
31366 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31368         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31369         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31370         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31371         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31373 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
31374             Helge Deller <deller@gmx.de>
31376         [BZ #17508]
31377         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31378         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31379         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31381 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
31383         [BZ #14132]
31384         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31385         Remove macro definition.
31386         (__ashrdi3_v_glibc20): Likewise.
31387         (__lshrdi3_v_glibc20): Likewise.
31388         (__cmpdi2_v_glibc20): Likewise.
31389         (__ucmpdi2_v_glibc20): Likewise.
31390         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31391         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31392         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31393         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31394         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31395         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31397 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31399         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31400         old GNU extension [0] syntax.
31401         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31402         alloca rather than an array member with variable length.
31403         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31404         * nscd/nscd.c (invalidate_db): New function, broken out of ...
31405         (parse_opt): ... here.  Likewise use alloca there.
31406         Validate the -i argument before checking for rootness.
31407         (send_shutdown): New function, broken out of ...
31408         (parse_opt): ... here.
31410 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31412         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31413         macro to get at the _rt_local_ro field.
31414         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
31415         ([PIC] case) or _dl_hwcap ([!PIC] case).
31416         * sysdeps/arm/setjmp.S: Likewise.
31418         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
31419         * sysdeps/arm/configure.ac: New check to define it.
31420         * sysdeps/arm/configure: Regenerated.
31421         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
31422         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
31423         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
31424         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
31425         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
31426         Use move/movt pair instead of a load.
31427         (LDST_GLOBAL): Macro removed.
31428         (LDR_GLOBAL): New macro replaces it.
31429         (LDR_HIDDEN): New macro.
31430         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
31431         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
31433         * setjmp/tst-setjmp-static.c: New file.
31434         * setjmp/Makefile (tests): Add it.
31435         (tests-static): New variable.
31437 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
31439         [BZ #17485]
31440         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
31442 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
31444         [BZ #14132]
31445         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
31447 2014-10-21  Roland McGrath  <roland@hack.frob.com>
31449         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
31451 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31453         * io/fts.c (dirent_not_directory): New function.
31454         (fts_build): Call it.
31456 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31458         * nptl/version.c (__nptl_main): Use normal __write rather than
31459         INTERNAL_SYSCALL.
31460         (banner): Update copyright years.
31462         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
31463         gettimeofday.
31464         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31465         * nptl/pthread_cond_timedwait.c: Likewise.
31466         * nptl/pthread_mutex_timedlock.c: Likewise.
31467         * nptl/sem_timedwait.c: Likewise.
31469         * sysdeps/nptl/bits/libc-lock.h
31470         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31471         (__libc_lock_init_recursive): Return void, not 0.
31472         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
31473         (__libc_rwlock_init): Likewise.
31474         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
31476 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31478         [BZ #15215]
31479         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
31480         (__pthread_once_slow): ... here.
31481         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
31482         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
31484 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31486         [BZ #15215]
31487         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
31488         __PTHREAD_ONCE_FORK_GEN_INCR): New.
31489         * sysdeps/nptl/fork.c (__libc_fork): Use them.
31490         * nptl/pthread_once.c (__pthread_once): Likewise.
31491         Update comments.
31493 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
31495         [BZ #14138]
31496         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31497         name.
31498         (writev): Use __libc_writev as strong name.
31499         * sysdeps/unix/sysv/linux/readv.c: Remove file.
31500         * sysdeps/unix/sysv/linux/writev.c: Likewise.
31502 2014-10-17  Roland McGrath  <roland@hack.frob.com>
31504         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
31506         * sysdeps/i386/nptl/tls.h
31507         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
31508         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
31509         New macros.
31510         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
31511         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
31512         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
31513         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31514         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
31515         Call CHECK_THREAD_SYSINFO instead of doing an assert.
31517         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31518         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
31519         on [__NR_futex].
31520         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
31521         broken out of ...
31522         (__pthread_mutex_init): ... here.  Call it.
31523         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
31524         Conditionalize PI cases on [__NR_futex].
31525         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
31526         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
31527         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
31529         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
31530         conditional on [SIGSETXID].
31531         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
31532         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
31533         is defined.  Likewise for SIGSETXID.
31534         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
31535         Conditionalize definitions on [SIGSETXID].
31536         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
31537         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
31538         unblocking on [SIGCANCEL].
31540         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
31541         [__NR_set_robust_list].
31543 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31545         * string/strcoll_l.c (get_next_seq): Fix up formatting.
31546         (do_compare): Likewise.
31548 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
31550         [BZ #15884]
31551         * string/strcoll_l.c: Don't include stdio.h.
31552         (coll_seq): Remove members idxarr and rulearr.
31553         (get_next_seq_cached): Remove function.
31554         (get_next_seq): Likewise.
31555         (get_next_seq_nocache): Rename to get_next_seq.
31556         (do_compare): Remove function.
31557         (do_compare_nocache): Rename to do_compare.
31558         (STRCOLL): Remove weight and rules cache.
31560 2014-10-16  Roland McGrath  <roland@hack.frob.com>
31562         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
31563         * sysdeps/arm/sfp-machine.h: ... to here.
31564         * sysdeps/arm/Implies: Remove arm/soft-fp.
31566 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
31568         * conform/data/sys/utsname.h-data (*_t): Allow.
31569         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
31570         [POSIX] (WEXITED): Do not expect constant.
31571         [POSIX] (WSTOPPED): Likewise.
31572         [POSIX] (WNOHANG): Likewise.
31573         [POSIX] (WNOWAIT): Likewise.
31574         [POSIX] (siginfo_t): Do not expect type or elements.
31575         [POSIX] (pid_t): Do not expect type.
31576         [POSIX] (signal.h): Do not allow header.
31577         [POSIX] (sys/resource.h): Likewise.
31578         [POSIX] (si_*): Do not allow pattern.
31579         [POSIX] (W*): Likewise.
31580         [POSIX] (P_*): Likewise.
31581         [POSIX] (BUS_*): Likewise.
31582         [POSIX] (CLD_*): Likewise.
31583         [POSIX] (FPE_*): Likewise.
31584         [POSIX] (ILL_*): Likewise.
31585         [POSIX] (POLL_*): Likewise.
31586         [POSIX] (SEGV_*): Likewise.
31587         [POSIX] (SI_*): Likewise.
31588         [POSIX] (TRAP_*): Likewise.
31589         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
31590         variable.
31592 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31594         [BZ #12926]
31595         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
31596         infinite loop when __recvmsg returns 0.
31598 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
31600         * CANCEL-FCT-WAIVE: Remove file.
31601         * CANCEL-FILE-WAIVE: Likewise.
31603         [BZ #14132]
31604         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
31605         instead of INTVARDEF.
31606         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31607         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
31608         rtld_hidden_data_def instead of INTVARDEF.
31609         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31610         * elf/dl-deps.c (expand_dst): Likewise.
31611         * elf/dl-load.c (_dl_dst_count): Likewise.
31612         (_dl_dst_substitute): Likewise.
31613         (decompose_rpath): Likewise.
31614         (_dl_init_paths): Likewise.
31615         (open_path): Likewise.
31616         (_dl_map_object): Likewise.
31617         * elf/rtld.c (dl_main): Likewise.
31618         (process_dl_audit): Likewise.
31619         (process_envvars): Likewise.
31620         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
31621         Remove declaration.
31622         (__libc_enable_secure): Use rtld_hidden_proto.
31624 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31626         * elf/dl-load.c
31627         (add_path): New function broken out of _dl_rtld_di_serinfo.
31628         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
31630 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31632         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
31633         parentheses around macro arguments.
31634         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
31635         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
31636         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
31637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
31638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
31639         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31640         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
31642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
31643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
31644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
31645         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
31646         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
31647         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
31648         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
31649         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
31650         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
31651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
31652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
31653         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
31654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
31655         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
31656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
31657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31659         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
31660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
31661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
31662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
31663         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
31664         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
31665         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
31666         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
31667         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
31668         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
31669         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
31670         Likewise.
31671         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
31672         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31673         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31674         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
31675         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
31676         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
31677         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
31678         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
31679         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
31680         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
31681         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
31682         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
31683         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
31684         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
31685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
31686         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31687         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31688         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
31689         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
31690         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
31691         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
31692         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
31693         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
31694         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
31695         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
31696         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
31697         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
31698         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
31699         (_FP_FRAC_SRS_1): Likewise.
31700         (_FP_FRAC_CLZ_1): Likewise.
31701         (_FP_MUL_MEAT_1_imm): Likewise.
31702         (_FP_MUL_MEAT_1_wide): Likewise.
31703         (_FP_MUL_MEAT_1_hard): Likewise.
31704         (_FP_SQRT_MEAT_1): Likewise.
31705         (_FP_FRAC_ASSEMBLE_1): Likewise.
31706         (_FP_FRAC_DISASSEMBLE_1): Likewise.
31707         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
31708         (__FP_CLZ_2): Likewise.
31709         (_FP_MUL_MEAT_2_wide): Likewise.
31710         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31711         (_FP_MUL_MEAT_2_gmp): Likewise.
31712         (_FP_MUL_MEAT_2_120_240_double): Likewise.
31713         (_FP_SQRT_MEAT_2): Likewise.
31714         (_FP_FRAC_ASSEMBLE_2): Likewise.
31715         (_FP_FRAC_DISASSEMBLE_2): Likewise.
31716         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
31717         (_FP_FRAC_CLZ_4): Likewise.
31718         (_FP_MUL_MEAT_4_wide): Likewise.
31719         (_FP_MUL_MEAT_4_gmp): Likewise.
31720         (_FP_SQRT_MEAT_4): Likewise.
31721         (_FP_FRAC_ASSEMBLE_4): Likewise.
31722         (_FP_FRAC_DISASSEMBLE_4): Likewise.
31723         * soft-fp/op-common.h (_FP_CMP): Likewise.
31724         (_FP_CMP_EQ): Likewise.
31725         (_FP_CMP_UNORD): Likewise.
31726         (_FP_TO_INT): Likewise.
31727         (_FP_FROM_INT): Likewise.
31728         [!__FP_CLZ] (__FP_CLZ): Likewise.
31729         (_FP_DIV_HELP_imm): Likewise.
31730         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
31731         Likewise.
31732         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
31733         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
31734         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
31735         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
31736         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
31737         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31739         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
31740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
31741         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
31742         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
31743         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
31744         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
31745         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
31746         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
31747         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
31748         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
31749         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
31750         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
31751         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
31752         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
31753         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
31754         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
31755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31757         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
31758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
31759         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
31760         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
31761         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
31762         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
31763         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
31764         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
31765         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
31766         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
31767         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
31768         (FP_UNPACK_RAW_SP): Likewise.
31769         (FP_PACK_RAW_S): Likewise.
31770         (FP_PACK_RAW_SP): Likewise.
31771         (FP_UNPACK_S): Likewise.
31772         (FP_UNPACK_SP): Likewise.
31773         (FP_UNPACK_SEMIRAW_S): Likewise.
31774         (FP_UNPACK_SEMIRAW_SP): Likewise.
31775         (FP_PACK_S): Likewise.
31776         (FP_PACK_SP): Likewise.
31777         (FP_PACK_SEMIRAW_S): Likewise.
31778         (FP_PACK_SEMIRAW_SP): Likewise.
31779         (_FP_SQRT_MEAT_S): Likewise.
31780         (FP_CMP_S): Likewise.
31781         (FP_CMP_EQ_S): Likewise.
31782         (FP_CMP_UNORD_S): Likewise.
31783         (FP_TO_INT_S): Likewise.
31784         (FP_FROM_INT_S): Likewise.
31786         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31788         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31789         (FP_EX_INVALID_IMZ): Likewise.
31790         (FP_EX_INVALID_IMZ_FMA): Likewise.
31791         (FP_EX_INVALID_ISI): Likewise.
31792         (FP_EX_INVALID_ZDZ): Likewise.
31793         (FP_EX_INVALID_IDI): Likewise.
31794         (FP_EX_INVALID_SQRT): Likewise.
31795         (FP_EX_INVALID_CVI): Likewise.
31796         (FP_EX_INVALID_VC): Likewise.
31797         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31798         "invalid" exceptions.
31799         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31800         (_FP_ADD_INTERNAL): Likewise.
31801         (_FP_MUL): Likewise.
31802         (_FP_FMA): Likewise.
31803         (_FP_DIV): Likewise.
31804         (_FP_CMP_CHECK_NAN): Likewise.
31805         (_FP_SQRT): Likewise.
31806         (_FP_TO_INT): Likewise.
31807         (FP_EXTEND): Likewise.
31809 2014-10-09  Allan McRae  <allan@archlinux.org>
31811         * po/fr.po: Update French translation from translation project.
31813 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31815         [BZ #14132]
31816         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31817         of INTDEF.
31818         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31819         (__cxa_atexit): Use libc_hidden_proto.
31820         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31822         [BZ #14132]
31823         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31824         declaration.
31825         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31826         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31827         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31828         [!_ISOMAC] (__iswctype_internal): Likewise.
31829         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31830         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31831         alias.
31832         (fcntl): Remove __fcntl_internal alias.
31833         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31834         __connect_internal alias.
31835         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31836         Likewise.
31838         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31839         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31840         FP_DENORM_ZERO.
31841         (_FP_CHECK_FLUSH_ZERO): New macro.
31842         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31843         (_FP_CMP): Likewise.
31844         (_FP_CMP_EQ): Likewise.
31845         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31846         FP_DENORM_ZERO.
31847         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31848         (FP_TRUNC): Likewise.
31850         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31851         treated as invalid conversion, not as normal exponent.
31853         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31854         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31855         (_FP_CMP_EQ): Likewise.
31856         (_FP_CMP_UNORD): Likewise.
31857         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31858         (FP_CMP_EQ_D): Likewise.
31859         (FP_CMP_UNORD_D): Likewise.
31860         * soft-fp/extended.h (FP_CMP_E): Likewise.
31861         (FP_CMP_EQ_E): Likewise.
31862         (FP_CMP_UNORD_E): Likewise.
31863         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31864         (FP_CMP_EQ_Q): Likewise.
31865         (FP_CMP_UNORD_Q): Likewise.
31866         * soft-fp/single.h (FP_CMP_S): Likewise.
31867         (FP_CMP_EQ_S): Likewise.
31868         (FP_CMP_UNORD_S): Likewise.
31869         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31870         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31871         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31872         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31873         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31874         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31875         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31876         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31877         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31878         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31879         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31880         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31881         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31882         to FP_CMP_Q.
31883         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31884         FP_CMP_Q.
31885         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31886         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31887         FP_CMP_EQ_Q.
31888         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31889         FP_CMP_Q.
31890         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31891         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31892         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31893         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31894         FP_CMP_EQ_Q.
31895         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31896         FP_CMP_Q.
31897         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31898         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31899         FP_CMP_EQ_Q.
31900         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31901         FP_CMP_Q.
31902         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31903         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31904         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31905         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31906         FP_CMP_EQ_Q.
31908         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31909         a subnormal result, set the underflow exception if trapping on
31910         underflow is enabled.
31911         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31912         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31913         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31914         redefine to 0.
31915         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31916         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31917         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31918         * soft-fp/extendxftf2.c (__extendxftf2): Use
31919         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31921         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31922         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31923         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31924         FP_HANDLE_EXCEPTIONS.
31925         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31926         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31927         FP_HANDLE_EXCEPTIONS.
31928         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31929         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31930         FP_HANDLE_EXCEPTIONS.
31931         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31932         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31933         FP_HANDLE_EXCEPTIONS.
31935 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31937         [BZ #14132]
31938         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31939         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31940         use INTUSE.
31941         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31942         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31943         Remove alias.
31944         (__adjtimex): Define using libc_hidden_ver.
31945         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31946         Remove declaration.
31947         (ntp_gettime): Call __adjtimex directly.
31948         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31949         Remove declaration.
31950         (ntp_gettimex): Call __adjtimex directly.
31951         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31952         __adjtimex_internal alias.
31954 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31956         [BZ #17460]
31957         * nscd/nscd.c (more_help): Rewrite list of tables collection
31958         using xstrdup and asprintf.
31960         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31962 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31963             Roland McGrath  <roland@hack.frob.com>
31965         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31966         (do_lookup_unique): ... local function 'enter' here; update callers.
31968 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31970         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31971         compat_symbol calls on [SHARED].
31972         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31973         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31974         Remove.
31975         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31976         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31977         (oldsetrlimit): Remove.
31978         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31980         (lchown): New syscall entry.
31981         (oldsetrlimit): Remove.
31982         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31983         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31984         (oldsetrlimit): Remove.
31985         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31987         [BZ #14138]
31988         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31989         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31990         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31991         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31992         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31993         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31994         (fchown): Likewise.
31995         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
31996         (fchown): Likewise.
31997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
31998         Likewise.
32000 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32002         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32003         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32004         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32005         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32006         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32007         Likewise.
32008         (__old_sem_post): Likewise.
32010 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32012         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32013         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32014         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32015         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32016         Use INLINE_VSYSCALL macro.
32017         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32018         __vdso_clock_gettime.
32019         * sysdeps/unix/sysv/linux/tile/init-first.c
32020         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32021         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32022         __vdso_clock_gettime.
32024         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32025         to set up frame more cleanly.
32027         * sysdeps/tile/memcmp.c: New file.
32029         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32031         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32032         * sysdeps/tile/tilegx/strcasestr.c: New file.
32033         * sysdeps/tile/tilegx/strnlen.c: New file.
32034         * sysdeps/tile/tilegx/strstr.c: New file.
32036         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32038 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32040         * nptl/tst-setuid3.c: Write errors to stdout.
32042 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32044         * elf/dl-deps.c
32045         (preload): New functions broken out of _dl_map_object_deps.
32046         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32048 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32050         [BZ #14138]
32051         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32052         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32054 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32056         * sysdeps/mips/strcmp.S: New.
32058 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32060         [BZ #14138]
32061         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32062         (linkat): Likewise.
32063         (mkdirat): Likewise.
32064         (readlinkat): Likewise.
32065         (renameat): Likewise.
32066         (symlinkat): Likewise.
32067         (unlinkat): Likewise.
32068         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32069         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32070         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32071         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32072         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32073         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32074         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32076 2014-09-30  Will Newton  <will.newton@linaro.org>
32078         * math/math.h: Define long double math functions if
32079         _LIBC_TEST is defined.
32080         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32082         * localedata/Makefile: Move assignment to tests-special
32083         into an ifdef testing run-built-tests.
32084         * timezone/Makefile: Likewise.
32086 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32088         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32089         with $(BASH) not $(SHELL).
32091 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32092             Matthew LeGendre  <legendre1@llnl.gov>
32094         [BZ #17411]
32095         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32096         l_reloc_result.
32098 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32100         * stdio-common/printf_fp.c
32101         (hack_digit): New function, broken out of ...
32102         (__printf_fp): ... local function here.  Update call sites.
32103         hack_digit now takes an additional parameter that is a pointer
32104         to a struct of the referenced locals.  Those locals moved inside
32105         the struct and references updated.
32107 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32109         * aclocal.m4: Require autoconf 2.69.
32110         * configure: Regenerated.
32111         * sysdeps/aarch64/configure: Likewise.
32112         * sysdeps/alpha/configure: Likewise.
32113         * sysdeps/arm/armv7/configure: Likewise.
32114         * sysdeps/arm/configure: Likewise.
32115         * sysdeps/ia64/configure: Likewise.
32116         * sysdeps/mach/configure: Likewise.
32117         * sysdeps/mips/configure: Likewise.
32118         * sysdeps/s390/configure: Likewise.
32119         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32122         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32123         file.
32124         * sysdeps/ia64/configure.ac: Likewise.
32126 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
32128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32129         specify symbol version for ld.so.  Do not include entry for
32130         libpthread.
32131         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32132         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32133         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32135         [BZ #14171]
32136         * Makeconfig [$(build-shared) = yes]
32137         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32138         makefiles.
32139         [$(build-shared) = yes && $(soversions.mk-done) = t]
32140         ($(common-objpfx)gnu/lib-names.h): Remove rule.
32141         [$(build-shared) = yes && $(soversions.mk-done) = t]
32142         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
32143         to Makerules.
32144         [$(build-shared) = yes && $(soversions.mk-done) = t]
32145         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
32146         here.
32147         [$(build-shared) = yes && $(soversions.mk-done) = t]
32148         (common-generated): Don't append gnu/lib-names.h and
32149         gnu/lib-names.stmp here.
32150         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
32151         (lib-names-h-abi): New variable.
32152         [$(build-shared) = yes && $(soversions.mk-done) = t]
32153         (lib-names-stmp-abi): Likewise.
32154         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32155         abi-variants] (before-compile): Append
32156         $(common-objpfx)$(lib-names-h-abi).
32157         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32158         abi-variants] (common-generated): Append gnu/lib-names.h.
32159         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32160         abi-variants] (install-others-nosubdir): Depend on
32161         $(inst_includedir)/$(lib-names-h-abi).
32162         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32163         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
32164         [$(build-shared) = yes && $(soversions.mk-done) = t]
32165         ($(common-objpfx)$(lib-names-h-abi)): New rule.
32166         [$(build-shared) = yes && $(soversions.mk-done) = t]
32167         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
32168         [$(build-shared) = yes && $(soversions.mk-done) = t]
32169         (common-generated): Append $(lib-names-h-abi) and
32170         $(lib-names-stmp-abi).
32171         * scripts/lib-names.awk: Do not handle multi being set.
32172         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
32173         Remove variable.
32174         (abi-lp64_be-ld-soname): Likewise.
32175         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
32176         Likewise.
32177         (abi-hard-ld-soname): Likewise.
32178         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
32179         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
32180         Remove variable.
32181         (abi-o32_hard-ld-soname): Likewise.
32182         (abi-o32_soft_2008-ld-soname): Likewise.
32183         (abi-o32_hard_2008-ld-soname): Likewise.
32184         (abi-n32_soft-ld-soname): Likewise.
32185         (abi-n32_hard-ld-soname): Likewise.
32186         (abi-n32_soft_2008-ld-soname): Likewise.
32187         (abi-n32_hard_2008-ld-soname): Likewise.
32188         (abi-n64_soft-ld-soname): Likewise.
32189         (abi-n64_hard-ld-soname): Likewise.
32190         (abi-n64_soft_2008-ld-soname): Likewise.
32191         (abi-n64_hard_2008-ld-soname): Likewise.
32192         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
32193         Likewise.
32194         (abi-64-v2-ld-soname): Likewise.
32195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
32196         ld.so entries.
32197         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
32198         variable.
32199         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
32200         entry.
32201         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
32202         variable.
32203         (abi-64-ld-soname): Likewise.
32204         (abi-x32-ld-soname): Likewise.
32205         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
32206         entry.
32207         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32209 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
32211         [BZ #14138]
32212         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
32213         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
32214         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
32215         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
32216         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
32217         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
32218         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
32219         syscall entry for GLIBC_2.2 symbol version.
32220         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
32221         Likewise.
32222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32223         (setrlimit): Likewise.
32224         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
32225         Likewise.
32227 2014-09-23  Will Newton  <will.newton@linaro.org>
32229         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
32230         _LINUX_ARM_SYSDEP_H include guard too.
32231         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
32232         define.
32234 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32236         * sysdeps/unix/sysv/linux/eventfd.c:
32237         Make first argument unsigned.
32238         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
32239         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32241 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
32243         [BZ #16852]
32244         * socket/recvmmsg.c (recvmmsg): Drop const argument.
32245         * socket/sys/socket.h: Likewise.
32246         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
32248 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32250         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
32252 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
32254         * time/tst-ftime.c: New test.
32255         * time/Makefile (tests): Add tst-ftime.
32257 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
32259         * soft-fp/extended.h: Fix comment formatting.
32260         * soft-fp/op-1.h: Likewise.
32261         * soft-fp/op-2.h: Likewise.
32262         * soft-fp/op-4.h: Likewise.
32263         * soft-fp/op-8.h: Likewise.
32264         * soft-fp/op-common.h: Likewise.
32265         * soft-fp/soft-fp.h: Likewise.
32267         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
32269 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
32271         [BZ #6652]
32272         * Makeconfig (soversions-default-setname): Remove variable.
32273         ($(common-objpfx)soversions.i): Don't pass default_setname to
32274         soversions.awk.
32275         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
32276         oldest_abi to abi-versions.awk.
32277         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
32278         * config.make.in (oldest-abi): Remove variable.
32279         * configure.ac (--enable-oldest-abi): Remove configure option.
32280         * configure: Regenerated.
32281         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
32282         text.
32283         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
32284         * scripts/soversions.awk: Do not handle default_setname variable.
32285         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
32286         variable.
32287         * sysdeps/mach/hurd/configure: Regenerated.
32288         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
32289         variable.
32290         * sysdeps/unix/sysv/linux/configure: Regenerated.
32292 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32294         * elf/Makefile (CFLAGS-interp.c): Remove.
32295         ($(elf-objpfx)runtime-linker.h): Generate header with linker
32296         path string.
32297         * elf/interp.c: Include generated runtime-linker.h
32299         * Makerules (lib%.so): Don't include $(+interp) in
32300         prerequisites.
32301         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
32302         * dlfcn/eval.c: Remove file.
32304         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
32305         macros.
32307         [BZ #17266]
32308         * misc/sys/cdefs.h: Define __extern_always_inline for clang
32309         4.2 and newer.
32311         [BZ #17370]
32312         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32314 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32315             Jakub Jelinek  <jakub@redhat.com>
32317         [BZ #17266]
32318         * libio/stdio.h: Check definition of __fortify_function
32319         instead of __extern_always_inline to include bits/stdio2.h.
32320         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32321         check if __extern_always_inline is defined.
32322         [__USE_MISC || __USE_XOPEN]: Likewise.
32323         [__USE_ISOC99] Likewise.
32324         * misc/sys/cdefs.h (__fortify_function): Define only if
32325         __extern_always_inline is defined.
32326         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32327         __extern_always_inline and __extern_inline only for g++-4.3
32328         and newer or a compatible gcc.
32330 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
32332         [BZ #17371]
32333         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32334         last change to handle zero prefix length.
32336 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32338         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32339         _SC_REGEX_VERSION.
32341         * posix/getconf.c (vars): Add _POSIX_IPV6 and
32342         _POSIX_RAW_SOCKETS.
32344 2014-09-13  Allan McRae  <allan@archlinux.org>
32346         * po/ru.po: Update Russian translation from translation project.
32348 2014-09-12  Roland McGrath  <roland@hack.frob.com>
32350         * locale/programs/locale.c (show_locale_vars): Inline local function
32351         into its sole call site.  Clean up some style nits.
32352         (print_item): New function, broken out of ...
32353         (show_info): ... local function here.  Clean up style nits.
32355         * locale/programs/ld-ctype.c (set_one_default): New function, broken
32356         out of ...
32357         (set_class_defaults): ... local function set_default here.
32358         Define set_default as a macro locally to pass constant parameters.
32359         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32360         rather than a shared local.
32362         * stdlib/rpmatch.c (try): New function, broken out of ...
32363         (rpmatch): ... local function here.  Also, prototypify definition.
32365 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
32367         * scripts/soversions.awk: Do not handle configuration names.
32368         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32369         vendor and os variables to soversions.awk.
32370         * configure.ac: Do not modify gnu-* host_os.
32371         * configure: Regenerated
32372         * shlib-versions: Remove first column with configuration names.
32373         * nptl/shlib-versions: Likewise.
32374         * nptl_db/shlib-versions: Likewise.
32375         * sysdeps/hppa/shlib-versions: Likewise.
32376         * sysdeps/m68k/shlib-versions: Likewise.
32377         * sysdeps/mach/hurd/shlib-versions: Likewise.
32378         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32379         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32380         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32381         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32382         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32383         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32384         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32385         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32387         Likewise.
32388         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32389         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32390         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32391         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32392         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32393         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32394         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32395         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32398         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32400         Regenerated.
32401         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32403         Condition symbol version definitions on [HAVE_ELFV2_ABI].
32405         * shlib-versions: Remove OS-specific entries.  Moved to files in
32406         sysdeps.
32407         * sysdeps/mach/hurd/shlib-versions: New file.
32408         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32410         * nptl/shlib-versions: Remove architecture-specific entries.
32411         Moved to files in sysdeps.
32412         * shlib-versions: Likewise.
32413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
32414         file.
32415         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32416         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32417         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32418         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32420         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
32421         (UDP_NO_CHECK6_RX): Likewise.
32423 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32425         * sysdeps/posix/sysconf.c (__sysconf): Spell
32426         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
32428 2014-08-12  Florian Weimer  <fweimer@redhat.com>
32430         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
32431         loading.
32432         * iconv/Versions (__gconv_transliterate): Export for use from
32433         gconv modules.
32434         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
32435         (struct __gconv_trans_data, __gconv_trans_fct,
32436         __gconv_trans_context_fct, __gconv_trans_query_fct,
32437         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
32438         definitions.
32439         (struct __gconv_step_data): Remove __trans member.
32440         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
32441         longer hidden.  Remove unused trans_data argument.
32442         * iconv/gconv_int.h (struct trans_struct): Remove definition.
32443         (__gconv_translit_find): Remove declaration.
32444         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
32445         prototype.
32446         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
32447         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
32448         trans_data argument.  Add hidden definition.
32449         (__gconv_translit_find): Remove.
32450         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
32451         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
32452         * iconv/skeleton.c: Remove transliteration initialization.
32453         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32454         __gconv_step_data initialization.
32455         * libio/iofwide.c (__libio_translit_): Remove.
32456         (_IO_fwide): Adjust struct __gconv_step_data initialization.
32457         * wcsmbs/btowc.c (__btowc): Likewise.
32458         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32459         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32460         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
32461         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
32462         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
32463         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
32464         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
32465         * wcsmbs/wctob.c (wctob): Likewise.
32467 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32469         [BZ #16194]
32470         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
32471         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
32472         register usage.
32473         * sysdeps/x86/Makefile: Adjust.
32475 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32476             Roland McGrath  <roland@hack.frob.com>
32478         * locale/weight.h: Add include guard.
32479         (findidx): Make static rather than auto; take new parameters
32480         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
32481         * locale/weightwc.h: Likewise.
32482         * posix/fnmatch_loop.c
32483         (FCT): Change type of EXTRA from int32_t to wint_t.
32484         Don't include either header inside the function.
32485         Call FINDIDX rather than findidx, and pass new arguments.
32486         #undef FINDIDX at the end of the file.
32487         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
32488         FINDIDX before including fnmatch_loop.c for the non-wide version.
32489         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
32490         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
32491         for the wide version.
32492         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
32493         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
32494         Pass new arguments to findidx.
32495         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
32496         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
32497         Don't #include it inside the function.  Pass new arguments to findidx.
32498         * posix/regex_internal.h
32499         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
32500         (re_string_elem_size_at): Don't #include it inside the function.
32501         Pass new arguments to findidx.
32502         * string/strcoll_l.c: #include WEIGHT_H at top level.
32503         (get_next_seq): Don't #include it inside the function.
32504         Pass new arguments to findidx.
32505         (get_next_seq_nocache): Likewise.
32506         * string/strxfrm_l.c: #include WEIGHT_H at top level.
32507         (STRXFRM): Don't #include it inside the function.
32508         Pass new arguments to findidx.
32510 2014-09-11  Florian Weimer  <fweimer@redhat.com>
32512         [BZ #17344]
32513         * malloc/malloc.c (unlink): Turn asserts into a call to
32514         malloc_printerr.
32516 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
32518         [BZ #17370]
32519         * libio/wfileops (do_ftell_wide): Free OUT.
32521 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
32523         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
32525 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32527         [BZ #17363]
32528         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
32529         group if the current group is empty.
32531 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32533         * benchtests/bench-memset.c (test_main): Add more test from size
32534         from 32 to 512 bytes.
32535         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32536         Add POWER8 memset object.
32537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32538         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
32539         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
32540         implementation.
32541         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
32542         Likewise.
32543         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
32544         multiarch POWER8 memset optimization.
32545         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
32546         POWER8 memset optimization.
32548         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32549         Remove bzero multiarch objects.
32550         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
32551         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
32552         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
32553         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
32554         Remove define.
32555         [__bzero]: Redefine to specific name.
32556         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
32557         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
32558         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
32559         define.
32560         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32561         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32563 2014-09-10  Florian Weimer  <fweimer@redhat.com>
32565         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
32566         warnings into errors.
32568         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
32569         __cxa_thread_atexit_impl prototype.
32571 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32573         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
32574         Fix capitalization of error message.
32576 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32578         * sysdeps/mips/preconfigure: Modify ABI tests.
32580 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
32582         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
32584 2014-09-07  Roland McGrath  <roland@hack.frob.com>
32585             Carlos O'Donell  <carlos@systemhalted.org>
32587         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
32588         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
32589         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
32590         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
32591         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
32592         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
32593         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
32594         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
32595         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
32596         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
32597         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
32598         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
32599         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
32600         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
32601         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
32602         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
32603         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
32604         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
32605         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
32606         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
32607         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
32608         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
32609         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
32610         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
32611         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
32612         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
32613         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
32614         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
32615         Deconditionalize the code that was previously under [RESET_PID].
32616         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
32617         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
32618         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
32619         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
32620         include sysdep.h.
32622 2014-09-08  Allan McRae  <allan@archlinux.org>
32624         * version.h (RELEASE): Set to "development".
32625         (VERSION): Set to "2.20.90"
32627 2014-09-07  Allan McRae  <allan@archlinux.org
32629         * version.h (RELEASE): Set to "stable".
32630         (VERSION): Set to "2.20"
32631         * include/features.h (__GLIBC_MINOR__): Set to 20.
32633         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
32634         Liebler.
32636         * po/ko.po: Update Korean translation from translation project.
32638 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
32640         [BZ #17354]
32641         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
32642         macro for handling signed relocations.
32644 2014-09-03  Florian Weimer  <fweimer@redhat.com>
32646         [BZ #17325]
32647         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
32648         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
32649         assert.
32650         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
32651         * iconvdata/ibm935.c (BODY): Likewise.
32652         * iconvdata/ibm937.c (BODY): Likewise.
32653         * iconvdata/ibm939.c (BODY): Likewise.
32654         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
32655         assert.
32656         * iconvdata/Makefile (iconv-test.out): Pass module list to test
32657         script.
32658         * iconvdata/run-iconv-test.sh: New test loop for checking for
32659         decoder crashers.
32661 2014-09-02  Khem Raj  <raj.khem@gmail.com>
32663         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
32664         libm_hidden_ver.
32666 2014-09-01  Allan McRae  <allan@archlinux.org>
32668         * po/eo.po: Update Esperanto translation from translation project.
32670         * po/ca.po: Update Catalan translation from translation project.
32672 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32674         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
32675         __proc_dostop call.
32677 2014-08-27  Mark Wielaard  <mjw@redhat.com>
32679         [BZ #17319]
32680         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
32681         to call set_thread_area instead of hand written asm.
32682         (__NR_set_thread_area): Removed define.
32683         (TLS_FLAG_WRITABLE): Likewise.
32684         (__ASSUME_SET_THREAD_AREA): Remove check.
32685         (TLS_EBX_ARG): Remove define.
32686         (TLS_LOAD_EBX): Likewise.
32688 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32690         Simplify atomicity of socket creation in bind.
32692         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
32693         looking up the name after linking the file.
32695 2014-08-27  Allan McRae  <allan@archlinux.org>
32697         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32699 2014-08-26  Florian Weimer  <fweimer@redhat.com>
32701         [BZ #17187]
32702         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32703         trans_compare, open_translit, __gconv_translit_find):
32704         Remove module loading code.
32706 2014-08-26  Allan McRae  <allan@archlinux.org>
32708         * po/vi.po: Update Vietnamese translation from translation project.
32710         * po/uk.po: Update Ukrainian translation from translation project.
32712         * po/fr.po: Update French translation from translation project.
32714         * po/ru.po: Update Russian translation from translation project.
32716         * po/pl.po: Update Polish translation from translation project.
32718         * po/cs.po: Update Czech translation from translation project.
32720         * po/de.po: Update German translation from translation project.
32722         * po/bg.po: Update Bulgarian translation from translation project.
32724         * po/sv.po: Update Sweedish translation from translation project.
32726         * po/nl.po: Update Dutch translation from translation project.
32728         * po/es.po: Update Spanish translation from translation project.
32730 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32732         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
32734         * catgets/Makefile (CPPFLAGS-gencat): Remove.
32735         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
32736         (CPPFLAGS-iconvconfig): Likewise.
32737         * timezone/Makefile (CPPFLAGS-zic): Likewise.
32739         * include/libc-symbols.h: Remove unnecessary check for
32740         NOT_IN_libc.
32741         * nptl/pthreadP.h: Likewise.
32742         * sysdeps/aarch64/setjmp.S: Likewise.
32743         * sysdeps/alpha/setjmp.S: Likewise.
32744         * sysdeps/arm/sysdep.h: Likewise.
32745         * sysdeps/i386/setjmp.S: Likewise.
32746         * sysdeps/m68k/setjmp.c: Likewise.
32747         * sysdeps/posix/getcwd.c: Likewise.
32748         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32749         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32750         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32751         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32752         * sysdeps/sh/sh3/setjmp.S: Likewise.
32753         * sysdeps/sh/sh4/setjmp.S: Likewise.
32754         * sysdeps/unix/alpha/sysdep.h: Likewise.
32755         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32756         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32757         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32758         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32763         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32766         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32767         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32768         * sysdeps/x86_64/setjmp.S: Likewise.
32770 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
32772         [BZ #17263]
32773         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
32774         <stdint.h>.
32775         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
32776         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
32778 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32780         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32782         [BZ #17262]
32783         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32784         and __x86_64__ when disabling x87 inline functions.
32786 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32788         [BZ #17259]
32789         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32790         asm statement with __cpuid_count.
32792 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32794         * configure.ac: Change __ehdr_start code to dereference the struct.
32795         Run readelf on the output to look for relocations.
32796         * configure: Regenerated.
32798 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32800         [BZ #17261]
32801         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32802         value to 0.
32803         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32805 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32807         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32809 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32811         [BZ #16892]
32812         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32813         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32815 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32817         * malloc/malloc.c: Fix typo in comment.
32819 2014-08-09  Allan McRae  <allan@archlinux.org>
32821         * Regenerate libc.po.
32823 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32825         * intl/tst-gettext2.sh: Check every lang file for creation.
32827 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32829         * sysdeps/aarch64/fpu/math_private.h
32830         (libc_feholdsetround_noex_aarch64_ctx): New function.
32832 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32834         * sysdeps/arm/armv6/strcpy.S (strcpy):
32835         Fix performance issue in misaligned cases.
32837 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32839         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32840         Move definition from termios.h.
32841         (struct termio): Likewise.
32842         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32843         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32844         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32845         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32846         Likewise.
32847         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32848         Move definition to ioctl-types.h
32849         (struct termio): Likewise.
32850         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32851         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32852         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32853         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32854         Likewise.
32856 2014-08-05  Richard Henderson  <rth@redhat.com>
32858         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32859         exceptions.
32860         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32861         Add fraiseexcpt.
32862         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32863         Use __feraiseexcept.
32864         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32865         Protect libm symbols with IS_IN_libm.
32867         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32869 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32871         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32873 2014-08-04  Will Newton  <will.newton@linaro.org>
32875         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32876         file.
32878 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32880         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32881         variants for each function.
32883 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32885         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32886         appended ...
32887         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32888         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32889         appended ...
32890         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32891         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32892         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32893         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32894         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32895         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32896         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32897         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32898         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32899         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32900         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32901         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32902         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32903         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32904         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32905         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32906         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32907         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32908         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32909         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32910         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32911         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32912         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32913         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32914         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32915         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32916         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32917         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32918         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32919         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32920         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32921         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32922         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32923         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32924         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32925         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32926         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32927         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32928         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32929         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32930         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32931         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32932         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32933         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32934         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32935         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32936         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32937         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32938         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32940         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32941         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32942         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32943         Update #include.
32944         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32945         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32947 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32949         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32950         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32951         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32952         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32953         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32954         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32956 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32958         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32959         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32960         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32961         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32963 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32965         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32966         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32967         (__libc_vfork): Define function under this name.
32968         (__vfork): Define as an alias.
32969         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32970         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32972 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32974         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32975         that was previously under [RESET_PID].
32976         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32978 2014-08-04  Andreas Schwab  <schwab@suse.de>
32980         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32982 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32984         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32985         (main): Likewise.
32987 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32989         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32991 2014-08-01  Richard Henderon  <rth@redhat.com>
32993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32994         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
32995         typo in exact zero test.
32996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32997         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32998         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33000 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33002         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33003         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33004         * sysdeps/arm/sysdep.h: ... here.
33005         [!__ASSEMBLER__]: Include <stdint.h>.
33007 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33009         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33010         (HAVE_WCTYPE_H): Likewise.
33011         (HAVE_ISWCTYPE): Likewise.
33012         (ENABLE_NLS): Likewise.
33013         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33014         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33016         * posix/regex_internal.c: Check if DEBUG is defined and is
33017         set.
33019         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33020         (HAVE_MBSRTOWCS): Likewise.
33021         * posix/fnmatch.c: Include string.h unconditionally.
33023 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33025         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33026         reversal.
33028 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33030         * sysdeps/generic/safe-fatal.h: New file.
33031         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33032         * nptl/forward.c: Include it.
33033         (__pthread_unwind): Use __safe_fatal as default action, rather
33034         than a bogus use of INTERNAL_SYSCALL that could never work.
33036         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33037         * configure.ac (libc_cv_builtin_trap): New test.
33038         * configure: Regenerated.
33039         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33040         (ABORT_INSTRUCTION): Define using __builtin_trap.
33042         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33043         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33044         * sysdeps/nptl/nptl-signals.h: New file.
33045         * nptl/pthreadP.h: Include <nptl-signals.h>.
33047 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33049         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33050         (ONE_DIRECTION): Define.
33051         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33052         (ONE_DIRECTION): Define.
33053         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33054         (ONE_DIRECTION): Define.
33056 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33058         * sysdeps/s390/Makefile: Delete file.
33059         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33060         * sysdeps/s390/__longjmp.c: Delete file.
33061         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33062         Remove fields __flags and __reserved.
33063         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33064         and add versioning.
33065         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33066         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33067         * sysdeps/s390/rtld-setjmp.S: Likewise.
33068         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33069         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33070         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33071         * sysdeps/s390/s390-32/setjmp.S: ... here.
33072         Add versioning.
33073         (__sigsetjmp): Remove setting __flags field.
33074         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33075         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33076         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33077         * sysdeps/s390/s390-64/setjmp.S: ... here.
33078         Add versioning.
33079         (__sigsetjmp): Remove setting __flags field.
33080         * sysdeps/s390/setjmp.S: Delete file.
33081         * sysdeps/s390/sigjmp.c: Likewise.
33082         * sysdeps/s390/v1-longjmp.c: Likewise.
33083         * sysdeps/s390/v1-setjmp.h: Likewise.
33084         * sysdeps/s390/v1-sigjmp.c: Likewise.
33085         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33086         Remove v1-longjmp_chk.
33087         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33088         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33089         Include debug/longjmp_chk.c and add versioning.
33090         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33091         Include nptl/pt-longjmp.c and add versioning.
33092         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33093         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33094         Include __longjmp.c.
33095         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33096         Move to ...
33097         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33098         (__getcontext): Remove setting __flags field.
33099         Add versioning.
33100         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33101         Don't restore upper high grps.
33102         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33103         Likewise.
33104         (__swapcontext): Remove setting uc_flags field.
33105         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33106         Delete file.
33107         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33108         Include __longjmp.c.
33109         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33110         Move to ...
33111         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33112         (__getcontext): Remove setting __flags field.
33113         Add versioning.
33114         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33115         (__swapcontext): Remove setting uc_flags field.
33116         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33117         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33118         Remove fields uc_high_gprs and __reserved.
33119         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33120         New file with reverted content.
33121         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33122         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33123         Regenerated.
33124         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33125         Regenerated.
33127 2014-07-31  Andreas Schwab  <schwab@suse.de>
33129         * config.h.in (HAVE_IFUNC): Define to 0.
33130         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
33131         definedness.
33133 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
33135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33136         memmove-avx-unaligned, memcpy-avx-unaligned and
33137         mempcpy-avx-unaligned.
33138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33139         Add tests for AVX memcpy functions.
33140         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
33141         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
33142         memcpy_chk.
33143         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
33144         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
33145         memmove_chk.
33146         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
33147         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
33148         mempcpy_chk.
33149         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
33150         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
33151         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
33153 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33155         [BZ #17213]
33156         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
33157         powerpc64le.
33159 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
33161         [BZ #16839]
33162         * manual/llio.texi: Add section about open file description locks.
33163         * manual/examples/ofdlocks.c: Example of open file description
33164         lock usage.
33165         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
33166         F_OFD_SETLK, and F_OFD_SETLKW.
33168 2014-07-23  Allan McRae  <allan@archlinux.org>
33170         * po/es.po: Update Spanish translation from translation project.
33172 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
33174         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
33176 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
33178         [BZ #17078]
33179         * sysdeps/arm/dl-machine.h (elf_machine_rela)
33180         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
33181         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
33183 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
33185         [BZ #17088]
33186         * math/fesetenv.c (__fesetenv)
33187         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
33188         * math/feupdateenv.c (__feupdateenv)
33189         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33191         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
33192         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33193         (__ASSUME_SOCKETCALL): Do not define.
33195         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
33196         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
33197         (__ASSUME_SOCKETCALL): Do not define.
33198         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
33199         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33200         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33201         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33202         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33203         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33204         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33205         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33207         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33208         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
33209         (__ASSUME_SOCKETCALL): Do not define.
33210         (__ASSUME_IPC64): Define unconditionally.
33211         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33212         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33213         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33214         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33215         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
33216         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33217         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
33218         Likewise.
33220         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
33221         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
33222         (__ASSUME_SOCKETCALL): Do not define.
33223         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
33224         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33225         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33226         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33227         (__ASSUME_REQUEUE_PI): Define unconditionally.
33228         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
33229         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
33230         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33231         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
33232         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33233         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33235         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
33236         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
33237         (__ASSUME_SOCKETCALL): Do not define.
33238         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
33239         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33240         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33241         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
33242         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33243         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33245         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
33246         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
33247         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33248         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
33249         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33250         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
33251         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33252         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
33253         (__ASSUME_GETCPU_SYSCALL): Likewise.
33255         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
33256         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
33257         cases for individual architectures.
33258         * sysdeps/gnu/configure: Regenerated.
33259         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
33260         LIBC_SLIBDIR_RTLDDIR.
33261         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
33262         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
33263         LIBC_SLIBDIR_RTLDDIR.
33264         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
33266         LIBC_SLIBDIR_RTLDDIR.
33267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33268         Regenerated.
33269         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
33270         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
33271         file.
33272         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
33273         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
33274         file.
33275         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
33276         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
33277         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
33278         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
33280         * sysdeps/aarch64/shlib-versions: Move to ...
33281         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
33282         * sysdeps/alpha/shlib-versions: Move to ...
33283         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
33284         * sysdeps/arm/shlib-versions: Move to ...
33285         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
33286         * sysdeps/hppa/shlib-versions: Move all contents except for
33287         libgcc_s entry to ...
33288         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
33289         entry from ...
33290         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
33291         * sysdeps/ia64/shlib-versions: Move to ...
33292         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
33293         entry from ...
33294         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
33295         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
33296         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
33297         * sysdeps/microblaze/shlib-versions: Move to ...
33298         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
33299         * sysdeps/mips/shlib-versions: Move to ...
33300         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
33301         entry from ...
33302         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
33303         * sysdeps/tile/shlib-versions: Move to ...
33304         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
33305         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
33306         from ...
33307         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
33308         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33309         entry from ...
33310         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
33312 2014-07-17  Will Newton  <will.newton@linaro.org>
33314         * sysdeps/arm/bits/atomic.h
33315         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33316         (__arch_compare_and_exchange_bool_16_int): Likewise.
33317         (__arch_compare_and_exchange_bool_64_int): Likewise.
33319         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33320         into an #else block.
33322 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33324         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33325         just Linux configurations.  Test empirically that the compiler sets
33326         __ARM_EABI__, rather than using the tuple to decide.
33327         * sysdeps/arm/preconfigure: Regenerated.
33328         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33329         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33330         contents appended ...
33331         * sysdeps/arm/configure.ac: ... here.
33332         * sysdeps/arm/configure: Regenerated.
33334 2014-07-15  Roland McGrath  <roland@hack.frob.com>
33336         * nptl/pthread_kill.c: New file.
33337         * nptl/pthread_sigmask.c: New file.
33338         * nptl/pthread_sigqueue.c: New file.
33340         * sysdeps/nptl/lowlevellock.h: New file.
33341         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33342         * sysdeps/nptl/lowlevellock-futex.h: New file.
33344         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33345         Remove dead declarations.
33347 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33349         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33350         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33351         config-cflags-avx2.
33352         * sysdeps/x86_64/configure.ac: Likewise.
33353         * sysdeps/i386/configure: Regenerated.
33354         * sysdeps/x86_64/configure: Likewise.
33355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33356         memset-avx2 only if config-cflags-avx2 is yes.
33357         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33358         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33359         defined.
33360         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33361         only if HAVE_AVX2_SUPPORT is defined.
33362         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33364 2014-07-14  Alan Modra  <amodra@gmail.com>
33366         [BZ #17153]
33367         * elf/elf.h (DT_PPC64_NUM): Correct value.
33368         * NEWS: Add to fixed bug list.
33370 2014-07-13  Jim Meyering  <meyering@fb.com>
33372         [BZ 17150]
33373         regex: don't deref NULL upon heap allocation failure
33374         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33375         failure in one more place.
33376         To trigger the segfault, configure grep -with-included-regex,
33377         build it, and run these commands:
33378         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33380 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
33382         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33384 2014-07-11  Richard Henderson  <rth@redhat.com>
33386         * sysdeps/aarch64/libm-test-ulps: Update.
33388 2014-07-10  Florian Weimer  <fweimer@redhat.com>
33390         [BZ #17135]
33391         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33392         * nptl/allocatestack.c (__nptl_setxid_error): New function.
33393         (__nptl_setxid): Initialize error member.  Call
33394         __nptl_setxid_error.
33395         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33396         * nptl/descr.h (struct xid_command): Add error member.
33397         * nptl/tst-setuid3.c: New file.
33398         * nptl/Makefile (tests): Add it.
33400 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33402         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33403         New define.
33404         (__lll_trylock): Use __lll_base_trylock.
33405         (__lll_cond_trylock): Likewise.
33407 2014-07-10  Roland McGrath  <roland@hack.frob.com>
33409         * nptl/pthread_create.c (start_thread): Use atomic_or and
33410         lll_futex_wake directly rather than lll_robust_dead.
33411         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33412         (lll_robust_dead): Macro removed.
33413         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
33414         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33415         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33416         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33417         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33418         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33419         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33420         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33421         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33422         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33423         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33424         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33425         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33426         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33427         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33429         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
33430         Use atomic_compare_and_exchange_val_acq directly rather than
33431         lll_robust_trylock.
33432         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33433         (__lll_robust_trylock, lll_robust_trylock): Removed.
33434         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33435         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33436         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33437         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33438         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33439         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33440         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33441         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33442         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33443         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33444         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33445         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33446         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33447         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33449 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33451         * manual/locale.texi (Locale Names): New section documenting
33452         locale name syntax.  Adjust menu and node chaining accordingly.
33453         (Choosing Locale): Reference Locale Names, Locale Categories.
33454         Mention setting LC_ALL=C.  Reflect that name syntax is now
33455         documented.
33456         (Locale Categories): New section title.  Reference Locale Names.
33457         LC_ALL is an environment variable, but not a category.
33458         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33459         description, now in Locale Name.  Reference that section.  Locale
33460         name syntax is now documented.
33462 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33464         [BZ #17137]
33465         * locale/findlocale.c (name_present, valid_locale_name): New
33466         functions.
33467         (_nl_find_locale): Use the loc_name variable to store name
33468         candidates.  Call name_present and valid_locale_name to check and
33469         validate locale names.  Return an error if the locale is invalid.
33471 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33473         * locale/setlocale.c (setlocale): Use strdup for allocating
33474         composite name copy.
33476 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33478         Sync up with gnulib.
33479         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
33480         [!_LIBC && ENABLE_NLS]: Include gettext.h.
33481         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
33482         and _GL_ARG_NONNULL.
33483         [USE_UNLOCKED_IO]: Include unlocked-io.h.
33484         [!_LIBC]: Include code for Windows and Cygwin.
33485         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
33486         Include prototype for int strerror_r.
33487         [!_LIBC] (is_open): New function.
33488         (flush_stdout): New function.
33489         (print_errno_message): Use it.
33490         (error): Likewise.
33491         (error_at_line): Likewise.
33492         (error_tail) Add function attribute macros.  Use
33493         __builtin_expect.
33495         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
33497         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
33499         * io/ftw.c: Include sys/param.h unconditionally.
33501         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
33503         [BZ #17125]
33504         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
33505         libc_freeres_ptr.
33506         (freecache): New function to free CACHE on exit.
33508         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
33509         initialization.
33511 2014-07-09  David S. Miller  <davem@davemloft.net>
33513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33515         * sysdeps/sparc/nptl/internaltypes.h: Delete.
33516         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
33517         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
33518         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
33519         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
33520         * sysdeps/sparc/nptl/sem_init.c: Likewise.
33521         * sysdeps/sparc/nptl/sem_post.c: Likewise.
33522         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
33523         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
33524         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
33525         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
33526         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
33527         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
33529 2014-07-09  Andreas Schwab  <schwab@suse.de>
33531         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
33532         output.
33533         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
33534         (do_test): Likewise.
33536         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33538 2014-07-09  Will Newton  <will.newton@linaro.org>
33540         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
33541         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
33542         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33543         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33544         * sysdeps/hppa/start.S (_start): Likewise.
33546 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33548         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
33550         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
33551         defined.
33553 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33555         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
33556         after checking that it is non-NULL.
33558         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
33560 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33562         * sysdeps/powerpc/memmove.c: Remove file.
33563         * sysdeps/powerpc/powerpc32/power4/memcopy.h
33564         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
33565         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33566         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
33567         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
33568         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
33569         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
33570         string memmove instead of removed powerpc one.
33572         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33573         [weak_alias]: Fix compiler warning due trailing data.
33574         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
33575         [weak_alias]: Likewise.
33576         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
33577         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
33579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33580         (__libc_ifunc_impl_list): Add memmove functions.
33582 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33584         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
33585         Remove code.
33586         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
33587         Likewise.
33588         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
33589         Likewise.
33590         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
33591         Likewise.
33592         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
33593         Likewise.
33594         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
33595         Likewise.
33596         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
33597         Likewise.
33598         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
33599         Likewise.
33600         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
33601         Likewise.
33602         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
33603         Likewise.
33604         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
33605         Likewise.
33606         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
33607         Likewise.
33608         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
33609         Likewise.
33610         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
33611         Likewise.
33612         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
33613         Likewise.
33614         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
33615         Likewise.
33616         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
33617         Likewise.
33619 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33621         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
33622         to avoid alignment traps in non-cacheable memory.
33623         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
33626         multiarch objects.
33627         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
33628         file: multiarch power7 memmove.
33629         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
33630         multiarch default memmove.
33631         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
33632         multiarch memove for powerpc32/power4.
33634         * string/bcopy.c: Use full path to include memmove.c.
33635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
33636         multiarch objects.
33637         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
33638         bcopy for powerpc64.
33639         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
33640         bcopy for powerpc64.
33641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
33642         and memmove implementations.
33643         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
33644         optimized multiarch memmove for POWER7/powerpc64.
33645         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
33646         default multiarch memmove for powerpc64.
33647         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
33648         multiarch for powerpc64.
33649         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
33650         for POWER7/powerpc64.
33651         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
33652         memmove for POWER7/powerpc64.
33654         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
33655         glibc default one.
33657         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
33658         __ELF_NATIVE_CLASS equal to 64.
33660 2014-07-07  Roland McGrath  <roland@hack.frob.com>
33662         * sysdeps/nptl/lowlevellock.h: File removed.
33664         * NEWS: NPTL is no longer an add-on!
33665         * nptl/internaltypes.h: Moved ...
33666         * sysdeps/nptl/internaltypes.h: ... here.
33667         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
33668         * sysdeps/nptl/fork.c: Likewise.
33669         * sysdeps/nptl/gai_misc.h: Likewise.
33670         * sysdeps/nptl/librt-cancellation.c: Likewise.
33671         * sysdeps/nptl/jmp-unwind.c: Likewise.
33672         * sysdeps/nptl/setxid.h: Likewise.
33673         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
33674         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
33675         * sysdeps/unix/sysv/linux/arm/Implies: New file.
33676         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
33677         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
33678         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
33679         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
33680         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
33681         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
33682         * sysdeps/unix/sysv/linux/mips/Implies: New file.
33683         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
33684         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
33685         * sysdeps/unix/sysv/linux/sh/Implies: New file.
33686         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
33687         * sysdeps/unix/sysv/linux/tile/Implies: New file.
33688         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
33689         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
33690         * nptl/Makeconfig: Moved ...
33691         * sysdeps/nptl/Makeconfig: ... here.
33692         * nptl/configure: File removed.
33693         * nptl/ANNOUNCE: File removed.
33694         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
33695         * sysdeps/unix/sysv/linux/configure: Regenerated.
33697         * nptl/Makefile (routines): Add libc_pthread_init,
33698         libc_multiple_threads, register-atfork and unregister-atfork.
33699         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
33700         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
33701         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
33702         pthread-pi-defines.sym, structsem.sym.
33703         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
33704         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
33705         [$(subdir) = nptl] (tests): Add tst-setgetname.
33706         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
33707         * sysdeps/unix/sysv/linux/sigaction.c: Just include
33708         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
33709         [!LIBC_SIGACTION]: Remove aliases.
33710         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33711         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33712         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33713         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
33714         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33715         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
33716         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33717         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33718         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33719         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
33720         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
33721         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
33722         __libc_allocate_rtsig_private.
33723         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
33724         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
33725         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
33726         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
33727         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
33728         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
33729         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
33730         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
33731         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
33732         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
33733         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
33734         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
33735         * nptl/internaltypes.h: ... here.
33736         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
33737         * sysdeps/nptl/jmp-unwind.c: ... here.
33738         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
33739         * nptl/libc-lowlevellock.c: ... here.
33740         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
33741         * nptl/libc_multiple_threads.c: ... here.
33742         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
33743         * nptl/libc_pthread_init.c: ... here.
33744         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
33745         * nptl/lowlevelbarrier.sym: ... here.
33746         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
33747         * nptl/lowlevelcond.sym: ... here.
33748         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
33749         * nptl/lowlevellock.c: ... here.
33750         * nptl/lowlevellock.h: Moved ...
33751         * sysdeps/nptl/lowlevellock.h: ... here.
33752         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
33753         * nptl/lowlevelrobustlock.c: ... here.
33754         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
33755         * nptl/lowlevelrobustlock.sym: ... here.
33756         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
33757         * nptl/lowlevelrwlock.sym: ... here.
33758         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
33759         * nptl/pt-fork.c: ... here.
33760         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
33761         * nptl/pthread-pi-defines.sym: ... here.
33762         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
33763         * nptl/pthread_attr_getaffinity.c: ... here.
33764         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
33765         * nptl/pthread_attr_setaffinity.c: ... here.
33766         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
33767         * nptl/pthread_mutex_cond_lock.c: ... here.
33768         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33769         Update #include.
33770         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
33771         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
33772         * nptl/pthread_once.c: ... here, replacing old file.
33773         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
33774         * nptl/pthread_yield.c: ... here.
33775         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
33776         * nptl/register-atfork.c: ... here.
33777         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
33778         * nptl/sem_post.c: ... here.
33779         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33780         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33781         * nptl/sem_timedwait.c: ... here.
33782         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33783         * nptl/sem_trywait.c: ... here.
33784         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33785         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33786         * nptl/sem_wait.c: ... here.
33787         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33788         * nptl/structsem.sym: ... here.
33789         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33790         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33791         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33792         * nptl/unregister-atfork.c: ... here.
33793         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33794         * nptl/unwindbuf.sym: ... here.
33795         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33796         * sysdeps/nptl/fork.c: ... here.
33797         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33798         * sysdeps/nptl/fork.h: ... here.
33799         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33800         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33801         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33802         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33803         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33804         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33805         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33806         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33807         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33808         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33809         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33810         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33811         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33812         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33813         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33814         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33815         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33816         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33817         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33818         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33819         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33820         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33821         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33822         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33823         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33824         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33825         * sysdeps/unix/sysv/linux/raise.c: ... here.
33826         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33827         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33828         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33829         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33830         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33831         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33832         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33833         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33834         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33835         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33836         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33837         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33838         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33839         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33840         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33842 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33844         * sysdeps/generic/memcopy.h: Add comment for
33845         MEMCPY_OK_FOR_FWD_MEMMOVE.
33847 2014-07-04  Will Newton  <will.newton@linaro.org>
33849         * string/memchr.c: Merge from gnulib.
33850         [_LIBC]: Remove conditionals.
33851         (__ptr_t): Remove define.
33852         (LONG_MAX_32_BITS): Likewise.
33853         (LONG_MAX): Likewise.
33854         (MEMCHR): Use ANSI prototype and optimize algorithm.
33856         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33858 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33860         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33861         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33863         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33864         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33865         in a bare environment with no <stdlib.h> installed.
33866         * sysdeps/nptl/configure: Regenerated.
33868         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33870         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33871         AC_EGREP_CPP for kernel header checks, so they only succeed if
33872         including <linux/version.h> actually works right.
33873         * sysdeps/unix/sysv/linux/configure: Regenerated.
33875         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33876         value so it's not diagnosed as unused.
33878         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33879         thing) with "ifeq ($(subdir),rt)".
33881 2014-07-03  Richard Henderson  <rth@redhat.com>
33883         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33884         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33885         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33887         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33888         (math_force_eval): New.
33890         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33891         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33893         * sysdeps/alpha/fpu/s_round.c: Remove file.
33894         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33896         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33897         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33898         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33899         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33900         (_dl_start, print_statistics): Likewise.
33901         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33902         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33904         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33905         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33906         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33907         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33908         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33909         (HP_SMALL_TIMING_AVAIL): Define.
33910         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33911         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33912         (HP_SMALL_TIMING_AVAIL): Define.
33913         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33914         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33916         * sysdeps/aarch64/hp-timing.h: New file.
33918         * sysdeps/generic/hp-timing.h: Remove dead comment.
33919         * sysdeps/generic/hp-timing-common.h: New file.
33920         * sysdeps/alpha/hp-timing.h: Include it.
33921         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33922         * sysdeps/i386/i686/hp-timing.h: Likewise.
33923         * sysdeps/ia64/hp-timing.h: Likewise.
33924         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33925         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33926         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33927         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33928         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33929         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33930         (hp_timing_t): New.
33932         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33933         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33934         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33935         * elf/rtld.c (_dl_start_final): Likewise.
33936         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33937         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33938         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33939         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33940         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33942         (HP_TIMING_DIFF_INIT): Remove.
33943         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33944         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33945         (HP_TIMING_DIFF_INIT): Remove.
33946         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33947         * sysdeps/i386/i686/hp-timing.c: Remove file.
33948         * sysdeps/x86_64/hp-timing.c: Remove file.
33949         * sysdeps/ia64/hp-timing.c: Remove file.
33950         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33951         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33952         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33953         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33955         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33956         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33957         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33958         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33959         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33960         (HP_TIMING_ACCUM): Remove.
33961         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33962         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33963         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33965         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33966         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33967         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33968         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33969         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33970         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33971         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33972         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33974         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33976 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33978         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33980 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33982         Sync up with gettext.
33983         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33984         [_MSC_VER]: Include malloc.h
33985         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33986         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33987         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33988         TEMP_FAILURE_RETRY.  Cast return of alloca.
33989         [!_LIBC] Call gl_rwlock_init.
33990         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33992 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33994         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
33995         before checking its value.
33997 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33999         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34001         * debug/memcpy_chk.c: Don't include pagecopy.h.
34002         * debug/mempcpy_chk.c: Likewise.
34003         * string/memcpy.c: Likewise.
34004         * string/memmove.c: Likewise.
34005         * sysdeps/powerpc/memmove.c: Likewise.
34006         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34007         definition of PAGE_COPY_FWD_MAYBE here...
34008         * sysdeps/generic/pagecopy.h: ... from here.
34009         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34011 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34012             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34014         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34016         optimizations.
34017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34018         (__libc_ifunc_impl_list): Likewise.
34019         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34020         multiarch strcat for PPC64.
34021         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34022         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34024 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34026         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34028 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34030         * intl/loadmsgcat.c: Remove declaration of
34031         get_sysdep_segment_value.
34032         (get_sysdep_segment_value): Use ISO C style.
34033         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34034         semicolon.  Fix typo and formatting in comment.
34035         (_nl_unload_domain): Use ISO C style.
34037         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34039 2014-07-02  Will Newton  <will.newton@linaro.org>
34041         * malloc/obstack.c: Merge from gnulib master.
34042         [HAVE_CONFIG_H]: Remove conditional code.
34043         [!_LIBC]: Include config.h.
34044         [!ELIDE_CODE]: Don't include inttypes.h, include
34045         stdint.h unconditionally.
34046         (print_and_abort): Mark as _Noreturn.
34047         (_obstack_allocated_p): Mark as __attribute_pure__.
34048         (obstack_free): Rename to __obstack_free.
34049         [!__attribute__]: Remove conditional code.
34050         * malloc/obstack.h: Merge from gnulib master.
34051         [__cplusplus]: Move conditional down.
34052         [!__attribute_pure__]: Define __attribute_pure__ here
34053         if it is not already defined.
34054         (_obstack_memory_used): Mark as __attribute_pure__.
34055         [!__obstack_free]: Define as obstack_free.
34056         [__GNUC__]: Remove check for ancient NeXT gcc.
34058 2014-07-02  Will Newton  <will.newton@linaro.org>
34059             Paul Eggert  <eggert@cs.ucla.edu>
34061         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34063 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34065         * resolv/gethnamaddr.c: Add comment warning that the file is
34066         not maintained.
34068 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34070         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34071         entries.
34073         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34074         entry for aio_cancel and aio_cancel64.
34075         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34076         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34077         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34078         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34079         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34080         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34081         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34082         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34083         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34084         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34085         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34086         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34087         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34089 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34091         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34092         * nptl/pthread_mutex_lock.c: Likewise.
34093         * nptl/pthread_mutex_timedlock.c: Likewise.
34094         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34096 2014-07-01  Richard henderson  <rth@redhat.com>
34098         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34099         (__isnan, __isnanl): Remove.
34100         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34102         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34104 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34106         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34108 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34110         * resolv/nss_dns/dns-host.c (getanswer_r)
34111         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34113 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34115         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34116         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34117         undefine.
34118         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34119         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34121 2014-07-01  Roland McGrath <roland@hack.frob.com>
34123         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34124         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34126         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34127         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34129         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
34130         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
34131         ... here.
34132         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34133         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
34135         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
34136         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
34137         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
34138         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
34140         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34141         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
34142         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
34143         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
34144         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34145         Moved ...
34146         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
34147         ... here.
34148         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
34149         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
34150         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
34151         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
34152         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
34153         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34154         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
34155         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
34156         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
34157         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
34158         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
34159         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
34160         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
34161         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
34162         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
34163         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
34164         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
34165         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
34166         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
34167         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
34168         ... here.
34169         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
34170         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
34171         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
34172         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
34173         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
34174         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
34175         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
34176         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
34178 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
34180         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
34181         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
34182         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
34183         Add sysdep.
34185 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34189 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34191         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34192         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34194         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34196         * sysdeps/arm/libm-test-ulps: Regenerated.
34198 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34199             Roland McGrath <roland@hack.frob.com>
34201         * test-skeleton.c (signal_handler): Kill the whole process group
34202         before killing the child individually.
34203         (main): Report any failure on `setpgid'.
34205 2014-06-30  Roland McGrath  <roland@hack.frob.com>
34207         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
34208         from _TLS_H to _ARM_NPTL_TLS_H.
34209         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
34210         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
34212 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34214         [BZ #16539]
34215         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
34216         (__expm1l): Return argument unchanged when small but not
34217         subnormal.
34219         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
34220         include macro name.
34221         (_FP_UNPACK_RAW_1_P): Likewise.
34222         (_FP_PACK_RAW_1): Likewise.
34223         (_FP_PACK_RAW_1_P): Likewise.
34224         (_FP_MUL_MEAT_1_wide): Likewise.
34225         (_FP_MUL_MEAT_DW_1_hard): Likewise.
34226         (_FP_MUL_MEAT_1_hard): Likewise.
34227         (_FP_DIV_MEAT_1_imm): Likewise.
34228         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
34229         (_FP_DIV_MEAT_1_udiv): Likewise.
34230         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
34231         (_FP_UNPACK_RAW_2): Likewise.
34232         (_FP_UNPACK_RAW_2_P): Likewise.
34233         (_FP_PACK_RAW_2): Likewise.
34234         (_FP_PACK_RAW_2_P): Likewise.
34235         (_FP_MUL_MEAT_DW_2_wide): Likewise.
34236         (_FP_MUL_MEAT_2_wide): Likewise.
34237         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34238         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34239         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
34240         (_FP_MUL_MEAT_2_gmp): Likewise.
34241         (_FP_DIV_MEAT_2_udiv): Likewise.
34242         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
34243         (_FP_FRAC_SRL_4): Likewise.
34244         (_FP_FRAC_SRST_4): Likewise.
34245         (_FP_FRAC_SRS_4): Likewise.
34246         (_FP_UNPACK_RAW_4): Likewise.
34247         (_FP_UNPACK_RAW_4_P): Likewise.
34248         (_FP_PACK_RAW_4): Likewise.
34249         (_FP_PACK_RAW_4_P): Likewise.
34250         (_FP_MUL_MEAT_DW_4_wide): Likewise.
34251         (_FP_MUL_MEAT_4_wide): Likewise.
34252         (_FP_MUL_MEAT_4_gmp): Likewise.
34253         (umul_ppppmnnn): Likewise.
34254         (_FP_DIV_MEAT_4_udiv): Likewise.
34255         (__FP_FRAC_ADD_4): Likewise.
34256         (__FP_FRAC_SUB_3): Likewise.
34257         (__FP_FRAC_SUB_4): Likewise.
34258         (__FP_FRAC_DEC_3): Likewise.
34259         (__FP_FRAC_DEC_4): Likewise.
34260         (__FP_FRAC_ADDI_4): Likewise.
34261         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
34262         (_FP_FRAC_SRL_8): Likewise.
34263         (_FP_FRAC_SRS_8): Likewise.
34265         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
34266         include macro name.
34267         (FP_UNPACK_RAW_EP): Likewise.
34268         (FP_PACK_RAW_E): Likewise.
34269         (FP_PACK_RAW_EP): Likewise.
34270         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
34271         (_FP_ISSIGNAN): Likewise.
34272         (_FP_ADD_INTERNAL): Likewise.
34273         (_FP_FMA): Likewise.
34274         (_FP_CMP): Likewise.
34275         (_FP_SQRT): Likewise.
34276         (_FP_TO_INT): Likewise.
34277         (_FP_FROM_INT): Likewise.
34278         (FP_EXTEND): Likewise.
34279         (_FP_DIV_MEAT_N_loop): Likewise.
34281 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34283         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
34284         throughout.
34286 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
34288         [BZ #17097]
34289         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
34290         result with correct sign in case of exponents that produce
34291         overflow except for X very close to 1.
34293 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
34295         mktime: merge #if/#ifdef usage from glibc
34296         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
34297         as that works with both Glibc's and Gnulib's style.
34298         See thread starting at Siddhesh Poyarekar's bug report at:
34299         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
34301 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34303         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
34304         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
34305         * sysdeps/tile/tilegx/memmove.c: Remove file.
34307 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34309         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34310         abi-name definition.
34311         * scripts/soversions.awk: Do not handle or generate ABI lines.
34312         * shlib-versions: Remove ABI entries.
34313         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34314         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34316 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34319         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34320         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34321         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34323         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34325         Moved ...
34326         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34327         ... here.
34328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34329         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34331         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34333         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34335         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34337         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34338         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34339         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34341         Moved ...
34342         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34344         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34346         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34348         Moved ...
34349         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34351         Moved ...
34352         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34354         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34356         Moved ...
34357         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34359         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34361         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34363         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34365         Moved ...
34366         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34368         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34369         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34370         Moved ...
34371         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34373         Moved ...
34374         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34375         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34376         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34377         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34378         Moved ...
34379         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34380         ... here.
34381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34382         Identical file removed.
34383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34384         Moved ...
34385         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34386         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34387         Identical file removed.
34388         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34389         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34390         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34391         Moved ...
34392         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34394         Identical file removed.
34395         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34396         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34397         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34398         Identical file removed.
34399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34400         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34401         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34402         Identical file removed.
34403         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34404         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34406         Identical file removed.
34407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34408         Moved ...
34409         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34411         Identical file removed.
34412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34413         Moved ...
34414         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
34415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
34416         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
34417         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
34418         Identical file removed.
34419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
34420         Moved ...
34421         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
34422         ... here.
34423         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
34424         Identical file removed.
34425         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
34426         Moved ...
34427         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
34428         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
34429         Identical file removed.
34430         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
34431         Moved ...
34432         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
34433         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
34434         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
34435         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
34436         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
34437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
34438         Moved ...
34439         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
34440         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
34441         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
34443         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
34444         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
34445         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
34446         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
34447         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
34449 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
34451         [BZ #17092]
34452         * nscd/nscd.c (monitor_child): Return exit status of child
34453         instead of return value from wait syscall.
34455 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34457         * configure.ac (libc_commonpagesize): Remove variable.
34458         (libc_relro_required): Likewise.
34459         (libc_cv_z_relro): Remove configure test.
34460         * configure: Regenerated.
34461         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
34462         variable.
34463         (libc_relro_required): Likewise.
34464         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
34465         (libc_relro_required): Likewise.
34466         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
34467         (libc_relro_required): Likewise.
34468         * sysdeps/arm/preconfigure: Regenerated.
34469         * sysdeps/ia64/preconfigure: Remove file.
34470         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
34471         variable.
34472         (libc_relro_required): Likewise.
34474         [BZ #16561]
34475         [BZ #16562]
34476         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
34477         (__ieee754_yn): Set FE_TONEAREST mode internally and then
34478         recompute overflowing results in original rounding mode.
34479         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
34480         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
34481         recompute overflowing results in original rounding mode.
34482         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
34483         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34484         recompute overflowing results in original rounding mode.
34485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
34486         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34487         recompute overflowing results in original rounding mode.
34488         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
34489         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34490         recompute overflowing results in original rounding mode.
34491         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
34492         (libc_feholdsetround_ctx): New macro.
34493         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
34494         * sysdeps/i386/fpu/libm-test-ulps: Update.
34495         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
34497 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34499         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
34500         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
34501         corresponding .cpsetup call.
34503 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34505         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
34506         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
34507         * sysdeps/arm/Makefile [$(subdir) = csu]
34508         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
34509         (static-only-routines): Add aeabi_read_tp here.
34510         (shared-only-routines): Add libc-aeabi_read_tp here.
34511         (CFLAGS-libc-start.c): Add -fexceptions here.
34512         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
34513         (sysdep_routines, static-only-routines, shared-only-routines):
34514         Don't add to these here.
34515         (CFLAGS-libc-start.c): Likewise.
34517         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
34518         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34519         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
34520         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34521         * sysdeps/arm/Makefile [$(subdir) = rt]
34522         (librt-sysdep_routines, librt-shared-only-routines):
34523         Append rt-aeabi_unwind_cpp_pr1 here.
34524         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
34525         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
34526         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
34527         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34528         Append nptl-aeabi_unwind_cpp_pr1 here.
34529         (tests): Filter out tst-cleanupx4 here.
34530         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
34531         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
34532         Don't do those here.
34534 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34536         * scripts/list-sources.sh: Do not handle ports specially.
34538 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34540         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
34541         * sysdeps/arm/feupdateenv.c: Likewise.
34543         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
34545 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34547         * manual/texinfo.tex: Update to version 2014-05-05.10 with
34548         trailing whitespace removed.
34549         * scripts/config.guess: Update to version 2014-03-23.
34550         * scripts/config.sub: Update to version 2014-05-01
34551         * scripts/install-sh: Update to version 2013-12-25.23.
34552         * scripts/move-if-change: Update from gnulib.
34554 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34556         * debug/memmove_chk.c: Remove pagecopy.h include.
34558 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
34560         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
34561         identical to gnulib mktime.
34563 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34565         * configure.ac: Do not test for machine being rs6000.  Do not test
34566         for powerpc*-*soft.
34567         * configure: Regenerated.
34569         [BZ #11505]
34570         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
34571         test.
34572         * configure: Regenerated.
34573         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
34574         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
34575         Remove configure test.
34576         * sysdeps/arm/configure: Regenerated.
34577         * sysdeps/nptl/configure.ac: Do not check
34578         libc_cv_asm_cfi_directives.
34579         * sysdeps/nptl/configure: Regenerated.
34580         * sysdeps/x86_64/nptl/configure.ac: Remove file.
34581         * sysdeps/x86_64/nptl/configure: Remove generated file.
34582         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
34583         unconditional.
34584         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
34586 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34588         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
34589         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
34590         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
34591         it is defined.
34593         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
34594         instead of whether it is defined.
34595         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
34596         * sysdeps/hppa/dl-machine.h: Likewise.
34597         * sysdeps/ia64/dl-machine.h: Likewise.
34598         * sysdeps/m68k/dl-machine.h: Likewise.
34599         * sysdeps/microblaze/dl-machine.h: Likewise.
34600         * sysdeps/mips/dl-machine.: Likewise.
34601         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34602         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34603         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34604         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34605         * sysdeps/sh/dl-machine.h: Likewise.
34606         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34607         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34608         * sysdeps/tile/dl-machine.h: Likewise.
34609         * sysdeps/x86_64/dl-machine.h: Likewise.
34611         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
34612         code.
34613         (verify_persistent_db): Likewise.
34615 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
34618         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
34619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
34620         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
34621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34622         Moved ...
34623         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
34624         ... here.
34625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
34626         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
34627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
34628         Identical file removed.
34629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
34630         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
34631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
34632         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
34633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
34634         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
34635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
34636         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
34637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
34638         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
34639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34640         Moved ...
34641         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
34642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
34643         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
34644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
34645         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
34646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34647         Moved ...
34648         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
34649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
34650         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
34651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
34652         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
34653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34654         Identical file removed.
34655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
34656         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
34657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
34658         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
34659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34660         Moved ...
34661         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
34662         ... here.
34663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
34664         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
34665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
34666         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
34667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
34668         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
34669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
34670         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
34671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
34672         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
34673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34674         Moved ...
34675         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
34676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
34677         Moved ...
34678         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
34679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
34680         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
34681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34682         Moved ...
34683         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
34684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
34685         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
34687         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
34688         folded into ...
34689         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
34690         * sysdeps/unix/sysv/linux/s390/Versions
34691         (libpthread: GLIBC_2.19): New version set.
34692         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
34693         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
34694         (librt: GLIBC_2.3.3): New version set.
34695         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
34696         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
34697         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
34698         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
34699         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
34700         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
34701         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
34702         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
34703         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
34704         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
34705         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
34706         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
34707         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
34708         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
34709         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
34710         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
34711         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
34712         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
34713         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
34714         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
34715         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
34716         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
34717         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
34718         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
34719         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
34720         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
34721         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
34722         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
34723         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
34724         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
34725         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
34726         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
34727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
34728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
34729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
34730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
34731         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
34732         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
34733         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
34734         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
34735         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
34736         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
34737         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
34738         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
34739         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
34741         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
34742         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
34743         (__libc_vfork): Define the function under this name.
34744         [!NOT_IN_libc] (__vfork): Make this an alias.
34745         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34746         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
34747         * sysdeps/unix/sysv/linux/s390/s390-64/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         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
34752         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
34753         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
34754         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
34755         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34757         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
34758         code that was previously under [RESET_PID].
34759         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
34760         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
34761         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
34763         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
34764         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
34765         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
34766         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
34767         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
34768         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
34769         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
34770         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
34771         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34772         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
34773         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
34774         Moved ...
34775         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
34776         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
34777         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
34778         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
34779         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34780         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34781         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34782         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34783         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34784         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34785         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34786         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34787         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34788         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34789         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34790         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34791         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34792         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34793         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34794         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34795         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34796         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34797         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34798         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34799         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34800         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34801         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34802         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34803         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34805 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34807         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34808         that was previously under [RESET_PID].
34809         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34811 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34813         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34814         not undefine and redefine.
34815         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34816         [O_CLOEXEC]: Make code unconditional.
34817         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34818         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34819         <kernel-features.h>.
34820         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34821         conditional variable definition.
34822         (shm_open) [O_CLOEXEC]: Make code unconditional.
34823         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34824         code.
34826         * configure.ac (USE_REGPARMS): Don't define here.
34827         * configure: Regenerated.
34828         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34829         * sysdeps/i386/configure: Regenerated.
34831         * nptl/createthread.c: Don't include kernel-features.h.
34832         * nptl/pthread_cancel.c: Likewise.
34833         * nptl/pthread_condattr_setclock.c: Likewise.
34834         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34835         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34836         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34837         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34838         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34839         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34840         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34841         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34843         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34844         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34845         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34846         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34847         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34848         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34849         * nscd/gai.c: Likewise.
34850         * nss/nss_db/db-open.c: Likewise.
34851         * sysdeps/generic/ldsodefs.h: Likewise.
34852         * sysdeps/sh/nptl/tls.h: Likewise.
34853         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34854         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34855         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34856         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34857         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34858         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34859         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34860         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34861         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34862         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34863         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34864         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34865         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34866         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34867         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34868         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34869         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34870         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34871         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34872         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34873         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34874         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34875         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34876         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34877         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34878         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34879         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34880         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34881         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34882         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34883         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34884         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34885         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34886         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34887         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34888         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34889         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34890         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34891         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34892         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34893         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34894         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34895         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34896         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34897         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34898         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34899         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34900         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34901         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34902         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34903         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34904         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34905         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34906         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34907         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34908         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34909         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34910         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34933         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34934         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34935         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34936         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34937         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34938         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34939         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34940         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34941         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34942         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34943         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34944         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34945         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34946         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34947         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34948         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34949         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34950         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34951         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34952         * sysdeps/unix/sysv/linux/system.c: Likewise.
34953         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34954         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34955         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34956         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34957         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34958         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34959         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34961         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34962         * configure: Regenerated.
34963         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34965         * configure.ac (base_machine): Do not set specially for particular
34966         machines here.
34967         * configure: Regenerated.
34968         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34969         settings from configure.ac.
34970         * sysdeps/i386/preconfigure: New file.
34971         * sysdeps/s390/preconfigure: Likewise.
34972         * sysdeps/sh/preconfigure: Likewise.
34973         * sysdeps/sparc/preconfigure: Likewise.
34975 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34977         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34978         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34979         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34980         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34981         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34982         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34983         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34984         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34985         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34986         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34987         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34988         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34989         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34990         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34991         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34992         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34993         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34994         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
34995         * sysdeps/sparc/sparc64/Makefile: ... appended here.
34997         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
34998         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
34999         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35000         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35001         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35002         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35003         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35004         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35005         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35006         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35007         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35008         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35009         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35010         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35011         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35012         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35013         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35014         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35015         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35016         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35017         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35018         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35019         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35020         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35021         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35022         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35023         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35024         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35026         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35027         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35028         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35029         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35030         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35031         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35032         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35033         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35034         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35037         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35039         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35041         Moved ...
35042         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35043         ... here.
35044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35045         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35047         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35049         Moved ...
35050         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35052         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35054         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35056         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35058         Moved ...
35059         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35061         Moved ...
35062         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35064         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35066         Moved ...
35067         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35069         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35071         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35073         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35075         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35077         Moved ...
35078         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35079         ... here.
35080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35081         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35083         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35085         Moved ...
35086         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35088         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35090         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35092         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35094         Moved ...
35095         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35097         Moved ...
35098         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35100         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35102         Moved ...
35103         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35105         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35107         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35109 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35111         * timezone/checktab.awk: Update from tzcode 2014e.
35112         * timezone/private.h: Likewise.
35113         * timezone/tzfile.h: Likewise.
35114         * timezone/zdump.c: Likewise.
35115         * timezone/zic.c: Likewise.
35117         * sysdeps/unix/sysv/linux/kernel-features.h
35118         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35119         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35120         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35121         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35122         Remove conditional code.
35124 2014-06-25  Will Newton  <will.newton@linaro.org>
35126         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35127         (_dl_arm_cap_flags): Add HWCAP2 values.
35128         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35129         (_DL_HWCAP_COUNT): Increase to 37.
35130         (_DL_HWCAP_LAST): New define.
35131         (_DL_HWCAP2_LAST): New define.
35132         (_dl_procinfo): Add support for printing
35133         AT_HWCAP2 entries.
35134         (_dl_string_hwcap): Use _dl_hwcap_string.
35136 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35140 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35142         * README: Do not mention ports directory.
35144         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
35145         Remove macro.
35146         * sysdeps/unix/sysv/linux/futimes.c: Do not include
35147         <kernel-features.h>.
35148         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35149         conditional variable definition.
35150         (__futimes): Update comment.
35151         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
35152         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
35154         [BZ #16560]
35155         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
35156         arguments close to 0.
35157         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35158         Likewise.
35159         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
35160         Likewise.
35161         * math/auto-libm-test-in: Add more tests of exp10.
35162         * math/auto-libm-test-out: Regenerated.
35163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35165         * sysdeps/unix/sysv/linux/kernel-features.h
35166         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
35167         * sysdeps/unix/sysv/linux/readv.c: Do not include
35168         <kernel-features.h>.
35169         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35170         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35171         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35172         unconditional.
35173         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35174         conditional code.
35175         * sysdeps/unix/sysv/linux/writev.c: Do not include
35176         <kernel-features.h>.
35177         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35178         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35179         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35180         unconditional.
35181         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35182         conditional code.
35184 2014-06-25  Will Newton  <will.newton@linaro.org>
35186         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
35187         comment changes throughout the file.  Remove checks
35188         for HAVE_*_H definitions that are not required.
35189         (__gen_tempname): Call abort if an unknown kind value is
35190         passed.
35192 2014-06-25  Andreas Schwab  <schwab@suse.de>
35194         [BZ #17086]
35195         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
35196         scalbln, scalblnf, scalblnl in libc.
35198 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35200         [BZ #17086]
35201         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
35202         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35203         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35205 2014-06-24  Roland McGrath  <roland@hack.frob.com>
35207         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
35208         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
35209         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
35210         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
35211         Update #include.
35212         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
35213         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
35214         Update #include.
35215         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
35216         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
35217         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35218         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
35219         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
35220         * sysdeps/x86/bits/pthreadtypes.h: ... here.
35221         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
35222         * sysdeps/x86/bits/semaphore.h: ... here.
35223         * sysdeps/x86/nptl/elide.h: Moved ...
35224         * sysdeps/x86/elide.h: ... here.
35225         * sysdeps/x86_64/nptl/Implies: File removed.
35226         * sysdeps/i386/nptl/Implies: File removed.
35228 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
35230         [BZ #16539]
35231         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
35232         return the argument for normal arguments with exponent below -64.
35233         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35234         Likewise.
35235         * math/auto-libm-test-in: Add another test of expm1.
35236         * math/auto-libm-test-out: Regenerated.
35238         [BZ #16287]
35239         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
35240         calling __erfcl for arguments at least 16.
35241         * math/auto-libm-test-in: Add more tests of erf.
35242         * math/auto-libm-test-out: Regenerated.
35244         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
35245         individual architectures.
35246         * sysdeps/unix/sysv/linux/configure: Regenerated.
35247         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
35248         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
35249         * sysdeps/unix/sysv/linux/powerpc/configure.ac
35250         (ldd_rewrite_script): Define variable.
35251         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
35253         file.
35254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
35255         generated file.
35256         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
35257         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
35258         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
35259         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
35260         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
35261         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35262         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
35263         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
35265 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35267         [BZ #17084]
35268         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
35269         Rename member __data.d to __data.__elision_data.
35271 2014-06-24  Wilco  <wdijkstr@arm.com>
35273         * NEWS: Add 16918 to fixed bug list.
35275 2014-06-24  Wilco  <wdijkstr@arm.com>
35277         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
35279 2014-06-24  Wilco  <wdijkstr@arm.com>
35281         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
35282         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
35283         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
35284         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
35285         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
35286         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
35287         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
35288         Use _FPU_MASK_RM.
35290 2014-06-24  Wilco  <wdijkstr@arm.com>
35292         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
35294 2014-06-24  Wilco  <wdijkstr@arm.com>
35296         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
35297         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
35298         * sysdeps/arm/fesetround.c (fesetround): Remove space.
35299         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
35301 2014-06-24  Wilco  <wdijkstr@arm.com>
35303         [BZ #16918]
35304         * sysdeps/arm/feupdateenv.c (feupdateenv):
35305         Rewrite to reduce FPSCR accesses and fix return value.
35307 2014-06-24  Wilco  <wdijkstr@arm.com>
35309         * sysdeps/arm/fclrexcpt.c (feclearexcept):
35310         Optimize to avoid unnecessary FPSCR writes.
35311         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35312         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35313         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35314         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35316 2014-06-24  Wilco  <wdijkstr@arm.com>
35318         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35319         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35320         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35321         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35322         Call libc_fetestexcept_vfp.
35323         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35324         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35325         __SOFTFP__ ifdef so that they can be built for softfp.
35327 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35329         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35330         argument type signed char.
35332         * Makerules (check-abi): Dump diff of symlist if the test
35333         fails.
35335 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35337         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35338         using abort.
35340         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35341         Remove unused variable ST.
35343 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35345         [BZ #16354]
35346         [BZ #17061]
35347         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35348         small arguments before calling __expm1.
35349         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35350         small arguments before calling __expm1f.
35351         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35352         small arguments before calling __expm1l.
35353         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35354         Likewise.
35355         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35356         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
35357         spurious underflow for some cosh tests.
35358         * math/auto-libm-test-out: Regenerated.
35359         * sysdeps/i386/fpu/libm-test-ulps: Update.
35361         [BZ #17050]
35362         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35363         (__ieee754_y1): Set errno if return value overflows.
35364         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35365         (__ieee754_y1f): Set errno if return value overflows.
35366         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35367         (__ieee754_y1l): Set errno if return value overflows.
35368         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35369         (__ieee754_y1l): Set errno if return value overflows.
35370         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35371         * math/auto-libm-test-out: Regenerated.
35373         * math/gen-auto-libm-tests.c: Document use of
35374         ignore-zero-inf-sign.
35375         (input_flag_type): Add value flag_ignore_zero_inf_sign.
35376         (input_flags): Add ignore-zero-inf-sign.
35377         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35378         * math/gen-libm-test.pl (generate_testfile): Handle
35379         ignore-zero-inf-sign.
35380         * math/auto-libm-test-in: Mark some cpow tests with
35381         ignore-zero-inf-sign and some with xfail-rounding.
35382         * math/auto-libm-test-out: Regenerated.
35383         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35384         * sysdeps/i386/fpu/libm-test-ulps: Update.
35385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35387         [BZ #16315]
35388         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35389         overflowing or underflowing operations take place with sign of
35390         result.
35391         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35392         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35393         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35394         (__ieee754_pow): Recompute overflowing and underflowing results in
35395         original rounding mode.
35396         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35397         (__powl_helper): Allow negative argument X and scale negated value
35398         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
35399         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35400         overflowing or underflowing operations take place with sign of
35401         result.
35402         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35403         Include <math.h>.
35404         * math/auto-libm-test-in: Add more tests of pow.
35405         * math/auto-libm-test-out: Regenerated.
35406         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35407         (pow_tonearest_test_data): Remove.
35408         (pow_test_tonearest): Likewise.
35409         (pow_towardzero_test_data): Likewise.
35410         (pow_test_towardzero): Likewise.
35411         (pow_downward_test_data): Likewise.
35412         (pow_test_downward): Likewise.
35413         (pow_upward_test_data): Likewise.
35414         (pow_test_upward): Likewise.
35415         (main): Don't call removed functions.
35416         * sysdeps/i386/fpu/libm-test-ulps: Update.
35417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35419 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
35422         Moved ...
35423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
35424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35425         Moved ...
35426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
35427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35428         Moved ...
35429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
35430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35431         Moved ...
35432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
35433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35434         File removed.
35435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35436         File removed.
35437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
35438         File removed.
35439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
35440         File removed.
35441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
35442         File removed.
35443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
35444         File removed.
35445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
35446         File removed.
35447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35448         File removed.
35449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
35450         File removed.
35451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35452         File removed.
35453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
35454         File removed.
35455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
35456         File removed.
35457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
35458         Moved ...
35459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
35460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
35461         Moved ...
35462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
35463         ... here.
35464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
35465         Moved ...
35466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
35467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
35468         Moved ...
35469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
35470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
35471         Moved ...
35472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
35473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
35474         Moved ...
35475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
35476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
35477         Moved ...
35478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
35479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
35480         Moved ...
35481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
35482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
35483         Moved ...
35484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
35485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
35486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
35487         ... here.
35488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
35489         Moved ...
35490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
35491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35492         Moved ...
35493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
35494         ... here.
35495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
35496         Moved ...
35497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
35498         ... here.
35499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35500         Moved ...
35501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35502         ... here.
35503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35504         Moved ...
35505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
35506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35507         Moved ...
35508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
35509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
35510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
35511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35512         Moved ...
35513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
35514         ... here.
35515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35516         Moved ...
35517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
35518         ... here.
35519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35520         Moved ...
35521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
35522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35523         Moved ...
35524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
35525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35526         Moved ...
35527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
35528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35529         Moved ...
35530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
35531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35532         Moved ...
35533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
35534         ... here.
35535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35536         Moved ...
35537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
35538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35539         Moved ...
35540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
35541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35542         Moved ...
35543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
35544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35545         Moved ...
35546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
35547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
35549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35550         Moved ...
35551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
35552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35553         Moved ...
35554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
35555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35556         Moved ...
35557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
35558         ... here.
35559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35560         Moved ...
35561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
35562         ... here.
35563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35564         Moved ...
35565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
35566         ... here.
35567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35568         Moved ...
35569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
35570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35571         Moved ...
35572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
35573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35574         Moved ...
35575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
35576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35577         Moved ...
35578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
35579         ... here.
35580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35581         Moved ...
35582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
35583         ... here.
35584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35585         Moved ...
35586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
35587         ... here.
35588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35589         Moved ...
35590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
35591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35592         Moved ...
35593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
35595 2014-06-23  Will Newton  <will.newton@linaro.org>
35596             Wilco  <wdijkstr@arm.com>
35598         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
35599         implementation.  Include get-rounding-mode.h.
35600         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
35601         [!libc_feholdsetround_noex_ctx]: Define
35602         libc_feholdsetround_noex_ctx.
35603         [!libc_feholdsetround_noexf_ctx]: Define
35604         libc_feholdsetround_noexf_ctx.
35605         [!libc_feholdsetround_noexl_ctx]: Define
35606         libc_feholdsetround_noexl_ctx.
35607         (libc_feholdsetround_ctx): New function.
35608         (libc_feresetround_ctx): New function.
35609         (libc_feholdsetround_noex_ctx): New function.
35610         (libc_feresetround_noex_ctx): New function.
35612 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35614         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
35615         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
35616         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
35617         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
35618         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
35619         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
35621         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
35622         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
35623         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
35624         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
35625         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
35626         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
35627         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
35628         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
35629         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
35630         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
35631         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
35632         Moved ...
35633         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
35634         ... here.
35635         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
35636         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
35637         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
35638         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
35639         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
35640         Moved ...
35641         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
35642         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
35643         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
35644         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
35645         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
35646         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
35647         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
35648         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
35649         Moved ...
35650         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
35652         Moved ...
35653         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
35654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
35655         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
35657         Moved ...
35658         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
35659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
35660         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
35661         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
35662         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
35663         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
35664         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
35665         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
35666         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
35667         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
35668         Moved ...
35669         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
35670         ... here.
35671         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
35672         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
35673         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
35674         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
35675         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
35676         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
35677         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
35678         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
35679         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
35680         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
35681         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
35682         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
35683         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
35684         Moved ...
35685         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
35686         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
35687         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
35688         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
35689         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
35690         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
35691         Moved ...
35692         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
35693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
35694         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
35695         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
35696         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
35698         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
35699         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
35700         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
35701         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
35702         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
35703         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
35704         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
35705         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
35706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
35707         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
35708         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
35709         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
35710         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
35711         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
35712         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
35713         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
35714         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
35715         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
35716         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
35717         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
35718         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
35719         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
35720         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
35721         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
35722         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
35723         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
35724         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
35725         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
35727 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35729         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
35730         (FALLOC_FL_COLLAPSE_RANGE): New macro.
35731         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
35732         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
35733         (IPV6_PMTUDISC_INTERFACE): Likewise.
35734         (IPV6_PMTUDISC_OMIT): Likewise.
35736 2014-06-23  Andreas Schwab  <schwab@suse.de>
35738         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
35739         Remove unused errout label.
35741 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35743         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
35744         macro: hardware supports Vector Crypto instructions.
35746 2014-06-23  Will Newton  <will.newton@linaro.org>
35748         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
35749         rather than __builtin_expect.
35751         * elf/dl-lookup.c (undefined_msg): Remove variable.
35752         (_dl_lookup_symbol_x): Replace undefined_msg with string
35753         literal.
35755         * elf/dl-lookup.c (do_lookup_unique): New function.
35756         (do_lookup_x): Move STB_GNU_UNIQUE handling code
35757         to a separate function.
35759 2014-06-23  Andreas Schwab  <schwab@suse.de>
35761         [BZ #17079]
35762         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
35763         before reading the next line.
35765 2014-06-23  Will Newton  <will.newton@linaro.org>
35767         * test-skeleton.c (signal_handler): Use printf and %m
35768         rather than perror.  Use printf rather than fprintf to
35769         stderr.  Use puts rather than fputs to stderr.
35770         (main): Likewise.
35772 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
35774         * nscd/nscd.c (thread_info_t): Remove typedef.
35775         (thread_info): Remove variable.
35777 2014-06-21  Allan McRae  <allan@archlinux.org>
35779         * NEWS: Mention CVE-2014-4043.
35781 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35783         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35784         * nptl/smp.h: ... here.
35786         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35788         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35789         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35790         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35791         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35793         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35794         * nptl/stack-aliasing.h: New file.
35795         * sysdeps/i386/i686/stack-aliasing.h: New file.
35796         * sysdeps/i386/i686/nptl/Makefile: File removed.
35797         * sysdeps/x86_64/stack-aliasing.h: New file.
35798         * sysdeps/x86_64/nptl/Makefile
35799         (CFLAGS-pthread_create.c): Variable removed.
35801         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35802         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35803         old file.
35804         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35805         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35806         old file.
35808 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35810         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35811         (__ASSUME_SIGFRAME_V2): Remove macro.
35812         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35813         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35814         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35815         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35816         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35817         Declare as function.  Remove conditional macro definitions.
35818         (__default_rt_sa_restorer): Likewise.
35819         (__default_sa_restorer_v1): Remove declaration.
35820         (__default_sa_restorer_v2): Likewise.
35821         (__default_rt_sa_restorer_v1): Likewise.
35822         (__default_rt_sa_restorer_v2): Likewise.
35823         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35824         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35825         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35827 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35829         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35830         (libpthread-routines): Add sysdep.
35831         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35832         * sysdeps/unix/sysv/linux/sparc/Versions
35833         (libpthread: GLIBC_2.3.3): New version set.
35834         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35835         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35836         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35837         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35838         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35839         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35840         Moved ...
35841         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35842         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35843         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35844         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35845         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35846         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35847         * sysdeps/sparc/nptl/sem_init.c: ... here.
35848         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35849         * sysdeps/sparc/nptl/sem_post.c: ... here.
35850         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35851         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35852         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35853         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35854         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35855         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35856         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35857         (libpthread-routines): Add cpu_relax.
35858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35859         File removed.
35860         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35861         (librt: GLIBC_2.3.3): New version set.
35862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35863         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35864         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35865         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35868         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35870         Moved ...
35871         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35873         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35875         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35877         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35879         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35881         Moved ...
35882         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35883         Update #include.
35884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35885         Moved ...
35886         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35887         Update #include.
35888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35889         Moved ...
35890         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35891         Update #include.
35892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35893         Moved ...
35894         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35895         Update #include.
35896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35897         Moved ...
35898         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35899         Update #include.
35900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35901         Moved ...
35902         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35903         Update #include.
35904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35905         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35907         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35911         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35913         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35915         Moved ...
35916         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35918         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35920         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35922 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35924         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35925         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35926         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35927         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35928         * nscd/nscd.c: Likewise.
35929         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35930         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35931         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35932         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35934         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35935         <kernel-features.h>.
35936         (init_mq_netlink): Remove conditional have_sock_cloexec
35937         definitions.  Remove code conditional on have_sock_cloexec < 0.
35938         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35939         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35940         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35941         <kernel-features.h>.
35942         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35943         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35945 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35948         Add tests for memset_chk and memset.
35950         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35951         with AVX2_Usable.
35953 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35955         [BZ #16046]
35956         * elf/tst-dl-iter-static.c: New file.
35957         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35959         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35960         error.
35962 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35964         * sysdeps/unix/sysv/linux/kernel-features.h
35965         (__ASSUME_F_GETOWN_EX): Remove macro.
35966         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35967         <kernel-features.h>.
35968         (miss_F_GETOWN_EX): Remove variable or macro.
35969         (do_fcntl): Do not check miss_F_GETOWN_EX.
35970         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35972         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35973         Remove macro.
35974         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35975         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35976         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35978         * sysdeps/unix/sysv/linux/kernel-features.h
35979         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35980         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35981         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35982         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35984 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35986         [BZ #17075]
35987         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35988         Fix calculation of the symbol's value.
35989         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35990         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35991         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35992         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35993         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35994         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
35995         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
35996         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
35997         (modules-names): Add `tst-armtlsdescmod',
35998         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
35999         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36000         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36001         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36002         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36003         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36004         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36005         ($(objpfx)tst-armtlsdescloc): New dependency.
36006         ($(objpfx)tst-armtlsdescextnow): Likewise.
36007         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36008         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36009         TLS scheme support.
36010         * sysdeps/arm/configure: Regenerate.
36012 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36014         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36015         (__atfct_seterrno_2): Likewise.
36016         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36017         <kernel-features.h>.
36018         (__ASSUME_ATFCTS): Do not undefine and redefine.
36019         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36020         (__have_atfcts): Remove conditional definition.
36021         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36022         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36023         unreachable if [__ASSUME_ATFCTS].
36024         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36025         not undefine and redefine.
36026         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36027         <kernel-features.h>.
36028         (faccessat) [__NR_faccessat]: Make code unconditional.
36029         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36030         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36031         <kernel-features.h>.
36032         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36033         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36034         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36035         <kernel-features.h>.
36036         (fchownat) [__NR_fchownat]: Make code unconditional.
36037         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36038         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36039         <kernel-features.h>.
36040         (futimesat) [__NR_futimesat]: Make code unconditional.
36041         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36042         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36043         <kernel-features.h>.
36044         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36045         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36046         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36047         <kernel-features.h>.
36048         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36049         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36050         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36051         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36052         <kernel-features.h>.
36053         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36054         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36055         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36056         <kernel-features.h>.
36057         (linkat) [__NR_linkat]: Make code unconditional.
36058         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36059         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36060         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36061         <kernel-features.h>.
36062         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36063         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36064         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36065         <kernel-features.h>.
36066         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36067         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36068         * sysdeps/unix/sysv/linux/openat.c: Do not include
36069         <kernel-features.h>.
36070         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36071         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36072         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36073         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36074         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36075         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36076         <kernel-features.h>.
36077         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36078         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36079         result of INLINE_SYSCALL directly, not via int variable.
36080         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36081         <kernel-features.h>.
36082         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36083         (renameat) [__NR_renameat]: Make code unconditional.
36084         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36085         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36086         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36087         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36088         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36089         (__ASSUME_ATFCTS): Do not undefine and redefine.
36090         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36091         <kernel-features.h>.
36092         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36093         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36094         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36095         <kernel-features.h>.
36096         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36097         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36098         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36099         (__ASSUME_ATFCTS): Do not undefine and redefine.
36100         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36101         <kernel-features.h>.
36102         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36103         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36104         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36105         <kernel-features.h>.
36106         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36107         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36109 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36111         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36113 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36115         [BZ #17069]
36116         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36117         constructed tree before returning error.
36118         * posix/bug-regexp36.c: Expand test case.
36120 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36122         [BZ #6803]
36123         * math/libm-test.inc (scalbln_test_date):
36124         Add errno expectations.
36125         * math/w_scalblnf.c: New File.
36126         Add wrapper which checks for setting errno to ERANGE.
36127         Add weak_alias for corresponding scalbln function.
36128         * math/w_scalbln.c: Likewise.
36129         * math/w_scalblnl.c: Likewise.
36130         * math/Makefile (libm-calls): Add w_scalbln.
36131         * sysdeps/ieee754/flt-32/s_scalblnf.c:
36132         Remove weak_alias for corresponding scalbln function.
36133         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36134         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36135         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36136         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36137         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
36138         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36139         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
36140         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36141         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
36142         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
36143         Remove long_double_symbol for scalblnl function in libm, libc.
36144         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
36145         Add wrapper which checks for setting errno to ERANGE.
36146         Add long_double_symbol for scalblnl function in libm, libc.
36147         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
36148         Remove long_double_symbol for scalblnl in libm.
36149         * sysdeps/ieee754/ldbl-128ibm/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.
36152         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
36153         Do not use wrapper because of own implementation.
36155 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
36157         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
36158         3 bytes for __pad1 for x32.
36159         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
36161 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
36162             H.J. Lu  <hongjiu.lu@intel.com>
36164         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
36165         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
36166         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36167         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36168         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
36170 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
36172         [BZ #17069]
36173         * posix/regcomp.c (parse_expression): Deallocate partially
36174         constructed tree before returning error.
36175         * posix/Makefile.c (tests): Add bug-regex36.
36176         (generated): Add bug-regex36.mtrace.
36177         (tests-special): Add $(objpfx)bug-regex36-mem.out
36178         (bug-regex36-ENV): New variable.
36179         ($(objpfx)bug-regex36-mem.out): New rule.
36180         * posix/bug-regex36.c: New file.
36182 2014-06-19  Will Newton  <will.newton@linaro.org>
36184         * malloc/malloc.c (systrim): If extra is zero then return
36185         early.
36187 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36189         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
36191 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
36193         * sysdeps/aarch64/strchr.S: New file.
36195 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36197         [BZ #17022]
36198         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
36199         from arguments -2 or below.
36200         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36201         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
36203 2014-06-18  Andreas Schwab  <schwab@suse.de>
36205         [BZ #17062]
36206         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
36207         of a bracket expr not to run off the end of the string.
36208         * posix/Makefile (tests): Add tst-fnmatch3.
36209         * posix/tst-fnmatch3.c: New file.
36211 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36213         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
36214         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36215         [$(cross-compiling) = no]: Likewise.
36216         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36217         [$(cross-compiling) = no]: Likewise.
36219 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36221         [BZ #17031]
36222         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
36223         double, adjusted for any remainder from the high double.
36224         * math/libm-test.inc (nearbyint): Add tests.
36225         (rint): Likewise.
36227 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36229         * nptl/sysdeps/powerpc/Makefile: Moved ...
36230         * sysdeps/powerpc/nptl/Makefile: ... here.
36231         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
36232         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
36233         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
36234         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
36235         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
36236         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
36237         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36238         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
36239         * nptl/sysdeps/powerpc/tls.h: Moved ...
36240         * sysdeps/powerpc/nptl/tls.h: ... here.
36242 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
36244         [BZ #16681]
36245         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
36246         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
36247         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
36248         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
36249         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
36250         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
36251         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
36252         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
36253         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
36255 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
36257         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36259 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
36261         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
36262         defined operator.
36264         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
36265         $TIMEOUTFACTOR.
36267 2014-06-16  Florian Weimer  <fweimer@redhat.com>
36269         [BZ #17058]
36270         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
36271         non-executed part of the test.
36273 2014-06-16  Andreas Schwab  <schwab@suse.de>
36275         * string/bits/string2.h (strdup, strndup): Update feature guard.
36277 2014-06-14  David S. Miller  <davem@davemloft.net>
36279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36281 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
36283         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
36284         that was previously under [RESET_PID].
36285         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
36287         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
36288         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
36289         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
36290         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36291         (__libc_vfork): New strong alias.
36292         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36294 2014-06-14 Andi Kleen  <ak@linux.intel.com>
36296         * sysdeps/generic/elide.h: New file.
36298 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36300         * Makefile (installed-headers): Adjust path of pthread.h header.
36302 2014-06-13  Roland McGrath  <roland@hack.frob.com>
36304         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
36305         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
36306         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
36307         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36309         * nptl/sysdeps/s390/Makefile: Moved ...
36310         * sysdeps/s390/nptl/Makefile: ... here.
36311         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36312         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36313         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36314         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36315         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36316         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36317         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36318         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36319         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36320         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36321         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36322         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36323         * nptl/sysdeps/s390/tls.h: Moved ...
36324         * sysdeps/s390/nptl/tls.h: ... here.
36326         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36327         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36329 2014-06-13  David S. Miller  <davem@davemloft.net>
36331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36334         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36338         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36339         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36340         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36341         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36342         Remove RESET_PID cpp guards.
36343         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36344         Remove RESET_PID cpp guards.
36345         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36347 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
36349         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36350         __sp to uintptr_t.
36352 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36354         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36355         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36356         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36357         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36358         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36359         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36360         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36361         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36362         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36364         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36365         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36366         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36367         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36368         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36369         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36370         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36371         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36372         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36373         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36375         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36376         (pthread_rwlock_rdlock): Add elision.
36377         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36378         (pthread_rwlock_wrlock): Add elision.
36379         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36380         (pthread_rwlock_trywrlock): Add elision.
36381         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36382         (pthread_rwlock_tryrdlock): Add elision.
36383         * nptl/pthread_rwlock_unlock.c: Include elide.h.
36384         (pthread_rwlock_tryrdlock): Add elision unlock.
36385         * nptl/sysdeps/pthread/pthread.h:
36386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36387         (PTHREAD_RWLOCK_INITIALIZER,
36388         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36389         Handle new elision field.
36390         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36391         * sysdeps/arm/nptl/bits/pthreadtypes.h
36392         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36393         * sysdeps/sh/nptl/bits/pthreadtypes.h
36394         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36395         * sysdeps/tile/nptl/bits/pthreadtypes.h
36396         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36397         * sysdeps/a/nptl/bits/pthreadtypes.h
36398         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36399         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36400         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36401         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36402         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36403         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36404         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36405         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36406         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36407         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36408         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36409         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36411         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36412         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36413         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
36414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36415         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
36416         (elision_init): Set try_xbegin to zero when no RTM.
36417         * sysdeps/x86/nptl/bits/pthreadtypes.h
36418         (pthread_rwlock_t): Change __pad1 to __rwelision.
36419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36421 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36423         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
36424         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
36425         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
36426         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
36428 2014-06-13  Meador Inge  <meadori@codesourcery.com>
36430         [BZ #16996]
36431         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
36432         that the cached result has been set before returning it.
36434 2014-06-12  Roland McGrath  <roland@hack.frob.com>
36436         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
36437         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
36438         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
36439         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
36440         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
36441         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
36443         * nptl/sysdeps/sparc/Makefile: Moved ...
36444         * sysdeps/sparc/nptl/Makefile: ... here.
36445         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
36446         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
36447         * nptl/sysdeps/sparc/tls.h: Moved ...
36448         * sysdeps/sparc/nptl/tls.h: ... here.
36449         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
36450         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
36451         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
36452         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
36453         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
36454         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
36455         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
36456         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
36457         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
36458         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
36459         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
36460         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
36461         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
36462         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
36463         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
36464         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
36465         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
36466         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
36467         Update #include.
36468         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36469         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
36470         Update #include.
36471         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
36472         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
36473         Update #include.
36474         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
36475         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36476         Update #include.
36478         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36480         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
36481         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
36483         * sysdeps/pthread/posix-timer.h: Include <list.h>.
36484         (struct list_links): Type removed.
36485         (struct thread_node, struct timer_node): Replace struct list_links
36486         with struct list_head.
36487         (list_unlink_ip): Likewise.
36488         * sysdeps/pthread/timer_routines.c
36489         (timer_free_list, thread_free_list, thread_active_list): Likewise.
36490         (list_append, list_insbefore): Likewise.
36491         (list_init): Function removed.
36492         (thread_init, init_module): Use INIT_LIST_HEAD instead.
36493         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
36494         * sysdeps/pthread/Makefile: ... here, new file.
36496         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
36497         * sysdeps/nptl/Implies: ... here.
36498         * sysdeps/unix/sysv/linux/Implies: Add nptl.
36499         * nptl/sysdeps/pthread/list.h: Moved ...
36500         * include/list.h: ... here.
36501         * nptl/sysdeps/pthread/createthread.c: Moved ...
36502         * nptl/createthread.c: ... here.
36503         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
36504         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
36505         * nptl/pt-longjmp.c: ... here.
36506         * nptl/sysdeps/pthread/Makefile: Moved ...
36507         * sysdeps/nptl/Makefile: ... here.
36508         * nptl/sysdeps/pthread/Subdirs: Moved ...
36509         * sysdeps/nptl/Subdirs: ... here.
36510         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
36511         * sysdeps/nptl/aio_misc.h: ... here.
36512         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36513         * sysdeps/nptl/bits/libc-lock.h: ... here.
36514         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
36515         * sysdeps/nptl/bits/libc-lockP.h: ... here.
36516         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
36517         * sysdeps/nptl/bits/stdio-lock.h: ... here.
36518         * nptl/sysdeps/pthread/configure: Moved ...
36519         * sysdeps/nptl/configure: ... here.
36520         * nptl/sysdeps/pthread/configure.ac: Moved ...
36521         * sysdeps/nptl/configure.ac: ... here.
36522         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
36523         * sysdeps/nptl/gai_misc.h: ... here.
36524         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
36525         * sysdeps/nptl/librt-cancellation.c: ... here.
36526         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
36527         * sysdeps/nptl/malloc-machine.h: ... here.
36528         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
36529         * sysdeps/nptl/pthread-functions.h: ... here.
36530         * nptl/sysdeps/pthread/pthread.h: Moved ...
36531         * sysdeps/nptl/pthread.h: ... here.
36532         * nptl/sysdeps/pthread/setxid.h: Moved ...
36533         * sysdeps/nptl/setxid.h: ... here.
36534         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
36535         * sysdeps/nptl/sigfillset.c: ... here.
36536         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
36537         * sysdeps/nptl/tcb-offsets.h: ... here.
36538         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
36539         * sysdeps/nptl/tst-mqueue8x.c: ... here.
36540         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
36541         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
36542         * nptl/sysdeps/pthread/allocalim.h: Moved ...
36543         * sysdeps/pthread/allocalim.h: ... here.
36544         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
36545         * sysdeps/pthread/bits/sigthread.h: ... here.
36546         * nptl/sysdeps/pthread/flockfile.c: Moved ...
36547         * sysdeps/pthread/flockfile.c: ... here.
36548         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
36549         * sysdeps/pthread/ftrylockfile.c: ... here.
36550         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
36551         * sysdeps/pthread/funlockfile.c: ... here.
36552         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
36553         * sysdeps/pthread/posix-timer.h: ... here.
36554         * nptl/sysdeps/pthread/timer_create.c: Moved ...
36555         * sysdeps/pthread/timer_create.c: ... here.
36556         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
36557         * sysdeps/pthread/timer_delete.c: ... here.
36558         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
36559         * sysdeps/pthread/timer_getoverr.c: ... here.
36560         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
36561         * sysdeps/pthread/timer_gettime.c: ... here.
36562         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
36563         * sysdeps/pthread/timer_routines.c: ... here.
36564         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
36565         * sysdeps/pthread/timer_settime.c: ... here.
36566         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
36567         * sysdeps/pthread/tst-timer.c: ... here.
36568         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
36569         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
36571         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
36572         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
36574         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
36575         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
36576         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
36577         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
36578         Update #include target.
36579         * nptl/sysdeps/i386/i686/Makefile: Moved ...
36580         * sysdeps/i386/i686/nptl/Makefile: ... here.
36581         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
36582         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
36583         Update #include target.
36584         * nptl/sysdeps/i386/i686/tls.h: Moved ...
36585         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
36586         * nptl/sysdeps/i386/Makefile: Moved ...
36587         * sysdeps/i386/nptl/Makefile: ... here.
36588         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
36589         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
36590         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
36591         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
36592         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
36593         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
36594         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
36595         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
36596         * sysdeps/i386/nptl/pthreaddef.h: ... here.
36597         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
36598         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
36599         * nptl/sysdeps/i386/tls.h: Moved ...
36600         * sysdeps/i386/nptl/tls.h: ... here.
36602         * sysdeps/sh/Makefile [$(subdir) = csu]
36603         (gen-as-const-headers): Add tcb-offsets.sym.
36604         * nptl/sysdeps/sh/Makefile: File removed.
36605         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
36606         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
36607         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
36608         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
36609         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
36610         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
36611         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
36612         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
36613         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
36614         * sysdeps/sh/nptl/pthreaddef.h: ... here.
36615         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
36616         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
36617         * nptl/sysdeps/sh/tls.h: Moved ...
36618         * sysdeps/sh/nptl/tls.h: ... here.
36619         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
36620         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
36621         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
36622         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
36623         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
36624         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
36625         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
36626         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
36627         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
36628         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
36629         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
36630         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
36631         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
36632         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
36633         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
36634         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
36635         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
36636         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
36637         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
36638         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
36639         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
36640         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
36641         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
36642         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
36643         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
36644         Moved ...
36645         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
36646         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
36647         Moved ...
36648         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
36649         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
36650         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
36651         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
36652         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
36653         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
36654         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
36655         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
36656         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
36657         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
36658         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
36659         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
36660         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
36661         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
36662         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
36663         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
36664         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
36665         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
36666         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
36668 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36670         * posix/spawn_faction_addopen.c: Include string.h.
36672 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36674         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
36675         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
36676         * nptl/sysdeps/x86_64/Makefile: Moved ...
36677         * sysdeps/x86_64/nptl/Makefile: ... here.
36678         * nptl/sysdeps/x86_64/configure: Moved ...
36679         * sysdeps/x86_64/nptl/configure: ... here.
36680         * nptl/sysdeps/x86_64/configure.ac: Moved ...
36681         * sysdeps/x86_64/nptl/configure.ac: ... here.
36682         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
36683         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
36684         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
36685         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
36686         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
36687         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
36688         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
36689         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
36690         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
36691         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
36692         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
36693         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
36694         * nptl/sysdeps/x86_64/tls.h: Moved ...
36695         * sysdeps/x86_64/nptl/tls.h: ... here.
36696         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
36697         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
36698         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
36699         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
36701         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
36703 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36707 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
36709         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
36710         type.
36711         [POSIX] (off_t): Likewise.
36712         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
36713         [POSIX] (S_ISBLK): Require macro.
36714         [POSIX] (S_ISCHR): Likewise.
36715         [POSIX] (S_ISDIR): Likewise.
36716         [POSIX] (S_ISFIFO): Likewise.
36717         [POSIX] (S_ISREG): Likewise.
36718         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
36719         optional-macro.
36720         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
36721         type.
36722         [POSIX] (time_t): Likewise.
36723         [POSIX] (timer_t): Likewise.
36725 2014-06-11  Florian Weimer  <fweimer@redhat.com>
36727         [BZ #17048]
36728         * posix/spawn_int.h (struct __spawn_action): Make the path string
36729         non-const to support deallocation.
36730         * posix/spawn_faction_addopen.c
36731         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
36732         * posix/spawn_faction_destroy.c
36733         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
36734         path in all spawn_do_open actions.
36735         * posix/tst-spawn.c (do_test): Exercise the copy operation in
36736         posix_spawn_file_actions_addopen.
36738 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
36740         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
36741         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36742         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
36743         conditional code always true.
36744         (__libc_vfork): New alias.
36746 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36748         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36749         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
36751         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
36753         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36754         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
36756         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36757         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
36759         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36760         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
36762 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36764         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
36765         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
36766         multiarch strcmp for PPC64.
36767         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
36768         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
36769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
36770         multiarch optimizations.
36771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36772         (__libc_ifunc_impl_list): Likewise.
36774 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36776         * benchtests/scripts/validate_benchout.py: New script.
36777         * benchtests/Makefile (bench-func): Call it.
36778         * benchtests/scripts/benchout.schema.json: New file.
36780 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
36782         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36783         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36784         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36785         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36786         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36787         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36788         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36789         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36790         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36791         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36792         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36793         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36794         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36795         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36796         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36797         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36799         Moved ...
36800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36801         ... here.
36802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36803         Moved ...
36804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36806         Moved ...
36807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36808         ... here.
36809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36810         Moved ...
36811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36812         ... here.
36813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36814         Moved ...
36815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36817         Moved ...
36818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36819         ... here.
36820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36821         Moved ...
36822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36823         ... here.
36824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36825         Moved ...
36826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36828         Moved ...
36829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36830         ... here.
36831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36832         Moved ...
36833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36834         ... here.
36835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36836         Moved ...
36837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36838         ... here.
36839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36840         Moved ...
36841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36843         Moved ...
36844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36845         ... here.
36846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36847         Moved ...
36848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36849         ... here.
36850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36851         Moved ...
36852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36853         ... here.
36854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36855         Moved ...
36856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36858         Moved ...
36859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36860         ... here.
36861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36862         Moved ...
36863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36864         ... here.
36865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36866         Moved ...
36867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36869         Moved ...
36870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36871         ... here.
36872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36873         Moved ...
36874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36876         Moved ...
36877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36879         Moved ...
36880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36881         ... here.
36882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36883         Moved ...
36884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36885         ... here.
36886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36887         Moved ...
36888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36889         ... here.
36890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36891         Moved ...
36892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36894         Moved ...
36895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36896         ... here.
36897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36898         Moved ...
36899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36900         ... here.
36901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36902         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36903         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36904         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36905         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36906         Moved ...
36907         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36908         ... here.
36909         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36910         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36911         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36912         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36913         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36914         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36915         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36916         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36917         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36918         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36919         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36920         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36921         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36922         Moved ...
36923         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36924         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36925         Moved ...
36926         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36928         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36930         Moved ...
36931         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36933         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36934         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36935         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36936         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36937         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36939 2014-06-10  Wilco  <wdijkstr@arm.com>
36941         * math/test-fenv-return.c: New file.
36942         * math/Makefile: Add new test test-fenv-return.
36944 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36946         [BZ #17042]
36947         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36948         when x - 1 is zero.
36949         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36950         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36951         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36952         0.0L for an argument of 1.0L.
36953         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36954         Likewise.
36955         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36956         value when x - 1 is zero.
36957         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36958         * sysdeps/i386/fpu/libm-test-ulps: Update.
36959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36961 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36963         [BZ #15119]
36964         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36966 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36968         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36969         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36971 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36973         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36974         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36976         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36977         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36979         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36980         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36982         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36983         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36985         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36986         if not already defined.
36987         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36988         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36989         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36990         (TLS_INIT_TP): Use it.
36991         (TLS_DEFINE_INIT_TP): New macro.
36992         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36994 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
36996         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
36997         constant.
36998         [POSIX] (IXANY): Likewise.
36999         [POSIX] (OLCUC): Likewise.
37000         [POSIX || POSIX2008] (CBAUD): Do not allow.
37001         [POSIX || POSIX2008] (DEFECHO): Likewise.
37002         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37003         [POSIX || POSIX2008] (ECHOKE): Likewise.
37004         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37005         [POSIX || POSIX2008] (EXTA): Likewise.
37006         [POSIX || POSIX2008] (EXTB): Likewise.
37007         [POSIX || POSIX2008] (FLUSHO): Likewise.
37008         [POSIX || POSIX2008] (LOBLK): Likewise.
37009         [POSIX || POSIX2008] (PENDIN): Likewise.
37010         [POSIX || POSIX2008] (SWTCH): Likewise.
37011         [POSIX || POSIX2008] (VDISCARD): Likewise.
37012         [POSIX || POSIX2008] (VDSUSP): Likewise.
37013         [POSIX || POSIX2008] (VLNEXT): Likewise.
37014         [POSIX || POSIX2008] (VREPRINT): Likewise.
37015         [POSIX || POSIX2008] (VSTATUS): Likewise.
37016         [POSIX || POSIX2008] (VWERASE): Likewise.
37017         (B*): Change to B[0123456789]*.
37018         * conform/data/time.h-data [POSIX || UNIX98]
37019         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37020         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37021         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37022         [POSIX] (tm_*): Do not allow.
37024 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37026         * Makefile (install): Don't set LANGUAGE.
37027         * Makefile.in (install): Likewise.
37028         * assert/Makefile (test-assert-ENV): Remove variable.
37029         (test-assert-perr-ENV): Likewise.
37030         * elf/Makefile (neededtest4-ENV): Likewise.
37031         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37032         [$(cross-compiling) = no]: Don't set LANGUAGE.
37033         * io/ftwtest-sh (LANG): Remove variable.
37034         * libio/Makefile (tst-widetext-ENV): Likewise.
37035         * manual/install.texi (Running make install): Don't refer to
37036         environment settings for make install.
37037         * INSTALL: Regenerated.
37038         * nptl/tst-tls6.sh: Don't set LANG.
37039         * posix/globtest.sh (LANG): Remove variable.
37040         * string/Makefile (tester-ENV): Likewise.
37041         (inl-tester-ENV): Likewise.
37042         (noinl-tester-ENV): Likewise.
37043         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37044         [$(cross-compiling) = no]: Don't set LANGUAGE.
37045         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37046         without explicit environment settings.
37048 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37050         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37051         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37052         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37053         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37055 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37057         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37058         other files in the crypt directory.
37059         * crypt/crypt.c: Remove duplicate includes.
37060         * crypt/crypt-entry.c: Likewise.
37061         * crypt/crypt_util.c: Likewise.
37063 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37065         * Makeconfig (run-program-env): New variable.
37066         (run-program-prefix-before-env): Likewise.
37067         (run-program-prefix-after-env): Likewise.
37068         (run-program-prefix): Define in terms of new variables.
37069         (built-program-cmd-before-env): New variable.
37070         (built-program-cmd-after-env): Likewise.
37071         (built-program-cmd): Define in terms of new variables.
37072         (test-program-prefix-before-env): New variable.
37073         (test-program-prefix-after-env): Likewise.
37074         (test-program-prefix): Define in terms of new variables.
37075         (test-program-cmd-before-env): New variable.
37076         (test-program-cmd-after-env): Likewise.
37077         (test-program-cmd): Define in terms of new variables.
37078         * Rules (make-test-out): Use $(run-program-env).
37079         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37080         (help): Do not mention environment variables.  Mention
37081         --timeoutfactor option.
37082         (timeoutfactor): New variable.
37083         (blacklist_exports): Remove function.
37084         (exports): Remove variable.
37085         (command): Do not include ${exports}.
37086         * manual/install.texi (Configuring and compiling): Do not mention
37087         test wrappers preserving environment variables.  Mention that last
37088         assignment to a variable must take precedence.
37089         * INSTALL: Regenerated.
37090         * benchtests/Makefile (run-bench): Use $(run-program-env).
37091         * catgets/Makefile ($(objpfx)test1.cat): Use
37092         $(built-program-cmd-before-env), $(run-program-env) and
37093         $(built-program-cmd-after-env).
37094         ($(objpfx)test2.cat): Do not specify environment variables
37095         explicitly.
37096         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37097         $(run-program-env) and $(built-program-cmd-after-env).
37098         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37099         $(run-program-env) and $(test-program-cmd-after-env).
37100         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37101         explicitly.
37102         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37103         run_program_env and test_program_cmd_after_env arguments.
37104         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37105         * elf/tst-pathopt.sh: Use run_program_env argument.
37106         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37107         $(test-wrapper-env) and $(run-program-env).
37108         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37109         run_program_env arguments.
37110         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37111         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37112         $(test-program-prefix-before-env), $(run-program-env) and
37113         $(test-program-prefix-after-env).
37114         ($(objpfx)tst-gettext2.out): Likewise.
37115         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37116         run_program_env and test_program_prefix_after_env arguments.
37117         * intl/tst-gettext2.sh: Likewise.
37118         * intl/tst-gettext4.sh: Do not set environment variables
37119         explicitly.
37120         * intl/tst-gettext6.sh: Likewise.
37121         * intl/tst-translit.sh: Likewise.
37122         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37123         $(test-program-prefix-before-env), $(run-program-env) and
37124         $(test-program-prefix-after-env).
37125         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37126         run_program_env and test_program_prefix_after_env arguments.
37127         * math/Makefile (run-regen-ulps): Use $(run-program-env).
37128         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37129         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
37130         explicitly with each use of ${test_wrapper_env}.
37131         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
37132         $(test-program-prefix-before-env), $(run-program-env) and
37133         $(test-program-prefix-after-env).
37134         * posix/tst-getconf.sh: Do not set environment variables
37135         explicitly.
37136         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
37137         run_program_env and test_program_prefix_after_env arguments.
37138         * stdio-common/tst-printf.sh: Do not set environment variables
37139         explicitly.
37140         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
37141         $(test-program-prefix-before-env), $(run-program-env) and
37142         $(test-program-prefix-after-env).
37143         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
37144         run_program_env and test_program_prefix_after_env arguments.
37145         Split $test calls into $test_pre and $test.
37146         * timezone/Makefile (build-testdata): Use
37147         $(built-program-cmd-before-env), $(run-program-env) and
37148         $(built-program-cmd-after-env).
37150 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37152         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
37153         strlen for non SHARED builds.
37155 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37157         * nptl/allocatestack.c (check_list): Inlined function...
37158         (__reclaim_stacks): ... here.
37160 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37162         [BZ #15698]
37163         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37164         memory overrun.
37166 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
37168         * Rules (make-test-out): Include
37169         LOCPATH=$(common-objpfx)localedata in default environment.
37170         * debug/Makefile (tst-chk1-ENV): Remove variable.
37171         (tst-chk2-ENV): Likewise.
37172         (tst-chk3-ENV): Likewise.
37173         (tst-chk4-ENV): Likewise.
37174         (tst-chk5-ENV): Likewise.
37175         (tst-chk6-ENV): Likewise.
37176         (tst-lfschk1-ENV): Likewise.
37177         (tst-lfschk2-ENV): Likewise.
37178         (tst-lfschk3-ENV): Likewise.
37179         (tst-lfschk4-ENV): Likewise.
37180         (tst-lfschk5-ENV): Likewise.
37181         (tst-lfschk6-ENV): Likewise.
37182         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
37183         (tst-iconv7-ENV): Likewise.
37184         * intl/Makefile (LOCPATH-ENV): Likewise.
37185         (tst-codeset-ENV): Likewise.
37186         (tst-gettext3-ENV): Likewise.
37187         (tst-gettext5-ENV): Likewise.
37188         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
37189         (tst-fopenloc-ENV): Likewise.
37190         (tst-fgetws-ENV): Remove variable.
37191         (tst-ungetwc1-ENV): Likewise.
37192         (tst-ungetwc2-ENV): Likewise.
37193         (bug-ungetwc2-ENV): Likewise.
37194         (tst-swscanf-ENV): Likewise.
37195         (bug-ftell-ENV): Likewise.
37196         (tst-fgetwc-ENV): Likewise.
37197         (tst-fseek-ENV): Likewise.
37198         (tst-ftell-partial-wide-ENV): Likewise.
37199         (tst-ftell-active-handler-ENV): Likewise.
37200         (tst-ftell-append-ENV): Likewise.
37201         * posix/Makefile (tst-fnmatch-ENV): Likewise.
37202         (tst-regexloc-ENV): Likewise.
37203         (bug-regex1-ENV): Likewise.
37204         (tst-regex-ENV): Likewise.
37205         (tst-regex2-ENV): Likewise.
37206         (bug-regex5-ENV): Likewise.
37207         (bug-regex6-ENV): Likewise.
37208         (bug-regex17-ENV): Likewise.
37209         (bug-regex18-ENV): Likewise.
37210         (bug-regex19-ENV): Likewise.
37211         (bug-regex20-ENV): Likewise.
37212         (bug-regex22-ENV): Likewise.
37213         (bug-regex23-ENV): Likewise.
37214         (bug-regex25-ENV): Likewise.
37215         (bug-regex26-ENV): Likewise.
37216         (bug-regex30-ENV): Likewise.
37217         (bug-regex32-ENV): Likewise.
37218         (bug-regex33-ENV): Likewise.
37219         (bug-regex34-ENV): Likewise.
37220         (bug-regex35-ENV): Likewise.
37221         (tst-rxspencer-ENV): Likewise.
37222         (tst-rxspencer-no-utf8-ENV): Likewise.
37223         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
37224         (tst-sscanf-ENV): Likewise.
37225         (tst-swprintf-ENV): Likewise.
37226         (tst-swscanf-ENV): Likewise.
37227         (test-vfprintf-ENV): Likewise.
37228         (scanf13-ENV): Likewise.
37229         (bug14-ENV): Likewise.
37230         (tst-grouping-ENV): Likewise.
37231         * stdlib/Makefile (tst-strtod-ENV): Likewise.
37232         (tst-strtod3-ENV): Likewise.
37233         (tst-strtod4-ENV): Likewise.
37234         (tst-strtod5-ENV): Likewise.
37235         (testmb2-ENV): Likewise./
37236         * string/Makefile (tst-strxfrm-ENV): Likewise.
37237         (tst-strxfrm2-ENV): Likewise.
37238         (bug-strcoll1-ENV): Likewise.
37239         (test-strcasecmp-ENV): Likewise.
37240         (test-strncasecmp-ENV): Likewise.
37241         * time/Makefile (tst-strptime-ENV): Likewise.
37242         (tst-ftime_l-ENV): Likewise.
37243         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
37244         (tst-mbrtowc-ENV): Likewise.
37245         (tst-wcrtomb-ENV): Likewise.
37246         (tst-mbrtowc2-ENV): Likewise.
37247         (tst-c16c32-1-ENV): Likewise.
37248         (tst-mbsnrtowcs-ENV): Likewise.
37250 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37252         * manual/resource.texi (How to get information about the memory
37253         subsystem?): Fix typo.
37254         Reported by Peon de la Parra Ivan <peon@keba.com>
37256 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
37258         [BZ #16882]
37259         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
37260         (pthread_spin_lock): Branch out of spin loop to proper location.
37261         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
37262         (pthread_spin_lock): Likewise.
37264         * nptl/tst-spin4.c: New test.
37265         * nptl/Makefile (tests): Add tst-spin4.
37267 2014-06-03  Andreas Schwab  <schwab@suse.de>
37269         [BZ #15946]
37270         * resolv/res_send.c (send_dg): Reload file descriptor after
37271         calling reopen.
37273 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
37275         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37277 2014-06-03  Richard Henderson  <rth@redhat.com>
37279         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
37280         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
37281         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
37282         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
37283         in the SAVE_PID block.
37284         (__libc_vfork): New alias.
37285         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
37287         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
37288         child in registers, not on the stack.  Remove RESET_PID conditionals.
37289         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
37291 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37293         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37295 2014-06-03  Wilco  <wdijkstr@arm.com>
37297         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
37298         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
37299         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37300         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
37301         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
37302         Likewise.
37304 2014-06-03  Wilco  <wdijkstr@arm.com>
37306         * sysdeps/aarch64/fpu/math_private.h
37307         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
37308         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37309         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37310         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37311         Fix declarations.
37313 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37315         * crypt/crypt-private.h: Include ufc-crypt.h.
37316         (__b64_from_24bit): Declare extern.
37317         * crypt/crypt_util.c(__b64_from_24bit): New function.
37318         (b64t): New static const variable.
37319         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37320         (b64t): Remove variable.
37321         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37322         * crypt/sha256-crypt.c: Include crypt-private.h.
37323         (b64t): Remove variable.
37324         (__sha256_crypt_r): Remove b64_from_24bit and replace
37325         with __b64_from_24bit.
37326         * crypt/sha512-crypt.c: Likewise.
37328 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37330         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37331         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37332         Label the code __libc_vfork rather than __vfork.
37333         [!NOT_IN_libc] (vfork): Define as weak alias.
37334         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37335         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37336         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37338 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37340         * malloc/malloc.c (malloc_info): Fix format specifier for
37341         n_mmaps.
37343 2014-06-02  Wilco  <wdijkstr@arm.com>
37345         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37346         FPCR write.
37348 2014-06-02  Wilco  <wdijkstr@arm.com>
37350         [BZ #17009]
37351         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37352         Rewrite to reduce FPCR/FPSR accesses.
37354 2014-06-01  David S. Miller  <davem@davemloft.net>
37356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37358 2014-05-31  David S. Miller  <davem@davemloft.net>
37360         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37361         to occur in round to nearest mode when |x| >= 2.0
37363 2014-05-30  Richard Henderson  <rth@twiddle.net>
37365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37366         (PSEUDO_RET_NOERRNO): Remove.
37367         (ret): Don't redefine.
37368         (ret_NOERRNO): Define in terms of ret.
37369         (ret_ERRVAL): Likewise.
37371         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37372         use of PSEUDO_RET; perform the error check directly.
37374 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
37376         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37377         with __int128_t.
37379 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37381         * malloc/malloc (malloc_info): Fix formatting.
37383 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37384             Roland McGrath  <roland@hack.frob.com>
37386         * malloc/malloc (malloc_info): Also print mmapped statistics.
37388 2014-05-30  Roland McGrath  <roland@hack.frob.com>
37390         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37391         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37393 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37395         * malloc/malloc.c (malloc_info): Inline mi_arena.
37397 2014-05-29  Richard Henderson  <rth@twiddle.net>
37399         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37400         Remove comma before expanding ASM_ARGS_##nr.
37401         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37402         Make _x0 a strict output; make _x8 a strict input; adjust expansion
37403         of ASM_ARGS_##nr.
37404         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37405         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37406         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37407         (ASM_ARGS_1): Add leading comma.
37409         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37410         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37411         to __errno_location.
37412         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37413         Remove the expected plt for __errno_location.
37415         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37416         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
37417         call to __read_tp.
37419         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37420         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
37421         it and break it down.
37422         (DOCARGS_0, DOCARGS_1): Do nothing.
37423         (DOCARGS_2): Update to store into the new stack frame.
37424         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
37425         (UNDOCARGS_1): Update to restore from the new stack frame.
37426         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
37427         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37429         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37430         (SINGLE_THREAD_P): New parameter for result regno.
37431         (PSEUDO): Update to match; use cbz instead of beq.
37433         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37434         Use ENTRY to define the _nocancel entry point.  Share the syscall
37435         and syscall error check paths with the cancel path.
37436         (PSEUDO_END): New.
37438         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
37439         whitespace; tabs before and after asm mnemonics.
37441 2014-05-29  Eric Wong  <normalperson@yhbt.net>
37443         [BZ #15132]
37444         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37445         Call fstat64 or stat64 internally, depending on arguments passed.
37446         Replace stat buffer argument with file descriptor argument.
37447         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
37448         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37449         Pass fd to __internal_statvfs instead of calling fstat64.
37450         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
37451         Pass fd to __internal_statvfs64 instead of calling fstat64.
37452         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37453         Pass -1 to __internal_statvfs instead of calling stat64.
37454         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
37455         Pass -1 to __internal_statvfs64 instead of calling stat64.
37457 2014-05-28  Roland McGrath  <roland@hack.frob.com>
37459         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
37460         that was previously under [RESET_PID].
37461         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
37463         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
37464         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
37466 2014-05-27  Roland McGrath  <roland@hack.frob.com>
37468         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
37470         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
37471         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37473 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
37475         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37477 2014-05-27  Andreas Schwab  <schwab@suse.de>
37479         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
37480         TLS_INIT_TP macro.
37481         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
37482         * elf/rtld.c (init_tls, dl_main): Likewise.
37483         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
37484         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
37485         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
37486         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
37487         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
37488         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
37489         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
37490         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
37491         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
37492         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
37493         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
37494         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
37495         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
37496         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
37497         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
37498         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
37499         * sysdeps/generic/tls.h: Update description.
37501 2014-05-27  Will Newton  <will.newton@linaro.org>
37503         [BZ #16990]
37504         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
37505         and restore r2 rather than just restoring.
37507 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37509         [BZ #16724]
37510         * libio/tst-ftell-append.c: New test case.
37511         * libio/Makefile (tests): Add test case.
37512         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
37513         append mode.
37514         * libio/wfileops.c (do_ftell_wide): Likewise.
37516 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37520         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
37521         ...
37522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
37523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37524         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
37525         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
37526         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
37527         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
37528         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
37529         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
37530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37531         Moved ...
37532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
37533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37534         Moved ...
37535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
37536         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
37537         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
37538         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
37539         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
37540         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
37541         ...
37542         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
37543         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
37544         Moved ...
37545         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
37546         here.
37547         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
37548         ...
37549         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
37550         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
37551         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
37553         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
37554         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
37555         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
37556         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
37558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
37559         merge into ...
37560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
37561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
37562         ...
37563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
37564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
37565         ...
37566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
37567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37568         Moved ...
37569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
37570         here.
37571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37572         Moved ...
37573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
37574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37575         Moved ...
37576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
37578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
37579         conditional [RESET_PID].
37580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
37581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
37582         removed.
37583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
37584         removed.
37586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
37587         <tcb-offsets.h>.
37588         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37589         (__libc_vfork): New strong alias.
37590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
37591         removed.
37592         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
37593         Removed.
37595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
37596         <tcb-offsets.h>.
37597         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
37598         (__libc_vfork): New strong alias.
37599         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
37600         removed.
37601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
37602         removed.
37604 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
37606         * malloc/malloc.c (mi_arena): New function.
37607         (malloc_info): Remove nested function mi_arena. Call non-nosted
37608         function mi_arena.
37610 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37612         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
37613         by insrwi.
37614         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37615         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37616         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
37617         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
37618         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
37619         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
37620         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
37622 2014-05-26  Andreas Schwab  <schwab@suse.de>
37624         [BZ #16984]
37625         * locale/programs/repertoire.c (repertoire_read): Add slash
37626         between I18NPATH element and file name.
37627         * locale/programs/locfile.c (locfile_read): Likewise.
37629 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37631         * nptl/pthread_mutexattr_settype.c
37632         (__pthread_mutexattr_settype):
37633         Disable lock elision for PTHREAD_MUTEX_NORMAL.
37635 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37637         * nptl/tst-mutex5 (do_test):
37638         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
37640 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37642         * benchtests/README: Document 'init' directive.
37643         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
37644         BENCH_INIT.
37645         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
37646         (parse_file): Recognize 'init' directive.
37648 2014-05-26  Kyle McMartin  <kyle@redhat.com>
37650         [BZ #16796]
37651         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
37652         alignment of struct pthread.
37654 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37656         [BZ #16878]
37657         * nscd/netgroupcache.c (addgetnetgrentX): Look for
37658         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37659         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
37660         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37662 2014-05-25  Richard Henderson  <rth@twiddle.net>
37664         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37665         (SINGLE_THREAD_P_PIC): Remove.
37666         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
37667         (SINGLE_THREAD_P_PIC): Remove.
37669         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
37670         branch to syscall error ...
37671         (PSEUDO): ... here.
37672         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
37673         from __local_syscall_error to .Lsyscall_error.
37674         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
37675         (SYSCALL_ERROR): Update label name.
37677         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37678         Do not use DOARGS/UNDOARGS.
37679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
37680         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
37681         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
37682         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
37683         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
37685         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
37686         block comment.
37688         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
37689         define if !NOT_IN_libc.
37690         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
37691         define with non-default symbol versions.
37693 2014-05-23  Richard Henderson  <rth@twiddle.net>
37695         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
37696         (vfork, __vfork): Define via compat_symbol.
37698         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
37699         [!HAVE_IFUNC] (vfork_compat): Remove.
37700         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
37702 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37704         [BZ #16978]
37705         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
37706         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
37707         variable.
37709 2014-05-23  Richard Henderson  <rth@twiddle.net>
37711         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
37712         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
37713         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
37714         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
37716         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
37717         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
37718         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
37719         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
37720         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
37721         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
37722         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
37723         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
37724         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
37725         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
37726         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
37727         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
37728         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
37729         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
37730         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
37731         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
37732         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
37733         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
37734         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
37735         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
37736         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
37737         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
37738         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
37739         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
37740         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
37741         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
37742         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
37743         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
37744         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37745         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
37746         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
37747         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
37748         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
37749         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
37750         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
37751         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
37752         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
37753         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
37754         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
37755         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
37756         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
37757         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
37758         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
37759         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
37760         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
37761         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
37762         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
37763         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
37764         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
37765         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
37766         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
37767         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
37768         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
37769         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
37770         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
37771         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
37773         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
37774         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
37775         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
37776         before exiting on error.
37777         (__libc_vfork): New strong alias.
37778         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
37779         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37781         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37782         that was previously under [RESET_PID].
37783         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37785         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37787 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37789         [BZ #16977]
37790         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37791         value when x - 1 is zero.
37792         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37793         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37794         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37795         0.0L for an argument of 1.0L.
37796         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37797         Likewise.
37798         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37799         value when x - 1 is zero.
37800         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37801         * sysdeps/i386/fpu/libm-test-ulps: Update.
37802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37804 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37806         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37807         alphasort and versionsort.
37809 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37811         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37812         macro.
37813         [copysignf]: Likewise.
37815 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37817         * crypt/md5-crypt.c: Fix formatting.
37819 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37821         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37822         (b64_from_24bit): New function.
37824 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37826         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37827         libc_hidden_builtin_def to ifunc.
37828         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37829         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37831 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37833         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37834         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37836 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37838         * nscd/Depend (linuxthreads): Remove.
37839         (nptl): Add.
37840         * resolv/Depend (linuxthreads): Remove.
37841         * rt/Depend (linuxthreads): Remove.
37843         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37844         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37845         $(common-objpfx)elf/.
37846         (link-libc-before-gnulib): Likewise.
37847         (elfobjdir): Remove variable.
37848         * Makefile (install): Use $(elf-objpfx) instead of
37849         $(common-objpfx)elf/.
37850         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37851         $(elfobjdir)/.
37852         (link-libc-deps): Likewise.
37853         ($(common-objpfx)libc.so): Likewise.
37854         ($(common-objpfx)linkobj/libc.so): Likewise.
37855         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37856         instead of $(common-objpfx)elf/.
37857         (symbolic-link-list): Likewise.
37858         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37859         [$(cross-compiling) = no]: Likewise.
37860         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37861         $(elfobjdir)/.
37862         (static-gnulib-arch): Likewise.
37863         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37864         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37865         $(common-objpfx)elf/.
37867 2014-05-21  Richard Henderson  <rth@redhat.com>
37869         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37870         (SINGLE_THREAD_P): Use the correct width load.  Fold
37871         into the ldr offset.
37873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37874         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37876 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37878         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37879         (libgcc_s_resume): Use __attribute_used__.
37880         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37881         Likewise.
37883 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37885         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37886         optimization when used with float constants.
37888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37890 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37892         [BZ #16915]
37893         * locale/nl_langinfo_l.c: Make direct reference to every
37894         _nl_current_CATEGORY symbol.
37895         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37896         (tests-static): Add tst-langinfo-static.
37897         (tests-special): Add tst-langinfo-static.out.
37898         ($(objpfx)tst-langinfo.out): Redirect output.
37899         ($(objpfx)tst-langinfo-static.out): New.
37900         * localedata/tst-langinfo.sh: Send output to stdout.
37901         * localedata/tst-langinfo-static.c: New file.
37903         [BZ #16965]
37904         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37905         when the shift amount is modulo the limb size.
37907 2014-05-20  Richard Henderson  <rth@redhat.com>
37909         [BZ #16967]
37910         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37911         Change type of sa_flags from unsigned int to int.
37913         [BZ #16966]
37914         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37916         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37918 2014-05-20  Will Newton  <will.newton@linaro.org>
37920         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37921         Test the return value of the system call in the nocancel case.
37923 2014-05-20  Will Newton  <will.newton@linaro.org>
37924             Yvan Roux  <yvan.roux@linaro.org>
37926         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37927         #include of asm/ptrace.h.
37928         (PTRACE_GET_THREAD_AREA): Remove #undef.
37929         (PTRACE_GETHBPREGS): Likewise.
37930         (PTRACE_SETHBPREGS): Likewise.
37931         (struct user_regs_struct): New structure.
37932         (struct user_fpsimd_struct): New structure.
37933         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37934         #include of asm/ptrace.h and second #include of sys/user.h.
37935         (PTRACE_GET_THREAD_AREA): Remove #undef.
37936         (PTRACE_GETHBPREGS): Likewise.
37937         (PTRACE_SETHBPREGS): Likewise.
37938         (ELF_NGREG): Use new struct user_regs_struct.
37939         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37941 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37943         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37944         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37946 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37948         [BZ #16958]
37949         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37950         membar to avoid block loads/stores to overlap previous stores.
37952 2014-05-17  Richard Henderson  <rth@redhat.com>
37954         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37955         Create the __##syscall_name##_nocancel entry point.
37956         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37957         Remove; let the sysdep-cancel.h code create it.
37959 2014-05-17  David S. Miller  <davem@davemloft.net>
37961         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37962         Protect with __USE_GNU.
37963         (TIOCSET_TEMPT): Likewise.
37964         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37965         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37966         these are already provided in bits/ioctl-types.h
37968 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37970         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37971         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37973         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37974         Use wait4 regardless of [__NR_waitpid].
37976 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37978         PR libgcc/60166
37979         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37980         (_FP_NANSIGN_Q): Set the quiet bit.
37982 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37984         * benchtests/Makefile
37985         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37986         not $(common-objpfx)math/libm.so.
37987         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37988         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37989         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37990         $(common-objpfx)dlfcn/libdl.so.
37991         ($(objpfx)tst-audit8): Depend on $(libm), not
37992         $(common-objpfx)math/libm.so.
37993         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37994         not $(common-objpfx)dlfcn/libdl.so.
37995         * math/Makefile
37996         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37997         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
37998         [$(build-shared) = yes].
37999         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38000         $(common-objpfx)nptl/libpthread.so.
38001         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38002         $(common-objpfx)math/libm.so$(libm.so-version) or
38003         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38004         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38005         $(common-objpfx)dlfcn/libdl.so.
38006         * setjmp/Makefile (link-libm): Remove variable.
38007         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38008         * stdio-common/Makefile (link-libm): Remove variable.
38009         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38010         * stdlib/Makefile (link-libm): Remove variable.
38011         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38012         ($(objpfx)tst-strtod-round): Likewise.
38013         ($(objpfx)tst-tininess): Likewise.
38014         ($(objpfx)tst-strtod-underflow): Likewise.
38015         ($(objpfx)tst-strtod6): Likewise.
38016         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38017         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38018         $(common-objpfx)dlfcn/libdl.so.
38020 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38022         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38023         BSD terminal modes definitions.
38025 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38027         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38028         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38030         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38031         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38032         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38033         Don't do #include_next.
38034         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38035         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38036         Don't do #include_next.
38037         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38038         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38039         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38040         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38042 2014-05-16  Allan McRae  <allan@archlinux.org>
38044         * po/sv.po: Update Swedish translation from translation project.
38046         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38047         in sed expression.
38049 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38051         [BZ #16917]
38052         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38053         errno if the TIOCGPTN ioctl fails with an error different than
38054         EINVAL.
38055         * login/tst-ptsname.c: New file.
38056         * login/Makefile (tests): Add tst-ptsname.
38058         [BZ #16943]
38059         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38060         and prlimit64.
38062 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38064         [BZ #16849]
38065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38066         herrno to return EAI_AGAIN.
38068 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38070         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38071         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38072         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38073         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38074         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38075         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38076         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38077         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38078         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38079         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38080         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38081         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38082         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38083         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38084         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38085         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38086         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38087         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38088         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38089         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38090         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38091         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38092         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38093         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38094         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38095         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38096         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38097         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38098         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38099         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38101         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38103         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38105         Moved ...
38106         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38108         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38110         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38112         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38114         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38116         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38118         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38120         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38122         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38124         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38126         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38128         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
38130         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
38131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
38132         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
38133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38134         Moved ...
38135         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
38136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
38137         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
38138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
38139         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
38140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
38141         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
38142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
38143         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
38144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
38145         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
38146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
38147         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
38148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
38149         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
38150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
38151         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
38152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
38153         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
38154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38155         Moved ...
38156         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
38157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
38158         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
38160         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
38161         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
38162         (libpthread-sysdep_routines): Add elision-related stuff here instead.
38163         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
38164         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
38165         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
38166         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
38167         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
38168         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
38169         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
38170         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
38171         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
38172         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
38173         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
38174         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
38175         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
38176         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
38177         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
38178         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
38179         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
38180         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
38181         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
38182         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
38183         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
38184         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
38185         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
38186         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
38187         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
38188         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
38189         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
38190         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
38192         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
38193         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
38195         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
38196         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
38197         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
38198         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
38199         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
38200         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
38201         Moved ...
38202         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
38203         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
38204         Moved ...
38205         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
38206         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
38207         Moved ...
38208         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
38209         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
38210         Moved ...
38211         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
38212         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
38213         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
38214         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
38215         Moved ...
38216         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
38217         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
38218         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
38219         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
38220         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
38221         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
38222         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
38223         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
38224         Moved ...
38225         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
38226         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38227         Moved ...
38228         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38229         ... here.
38230         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
38231         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
38232         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
38233         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
38234         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38235         Moved ...
38236         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38237         ... here.
38238         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
38239         Moved ...
38240         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
38241         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
38242         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
38243         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
38244         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
38245         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
38246         Moved ...
38247         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
38248         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
38249         Moved ...
38250         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
38251         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
38252         Moved ...
38253         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
38254         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
38255         Moved ...
38256         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
38257         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
38258         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
38259         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
38260         Moved ...
38261         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
38262         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
38263         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
38264         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
38265         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
38266         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
38267         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
38268         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
38269         Moved ...
38270         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
38271         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38272         Moved ...
38273         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38274         ... here.
38275         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
38276         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
38277         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
38278         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
38279         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38280         Moved ...
38281         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38282         ... here.
38283         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
38284         Moved ...
38285         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
38286         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
38287         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
38288         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
38289         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
38290         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
38291         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
38292         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
38293         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
38294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
38295         Moved ...
38296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
38297         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
38298         Moved ...
38299         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
38300         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
38301         Moved ...
38302         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
38303         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
38304         Moved ...
38305         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
38306         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
38307         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
38308         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38309         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38310         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38311         Moved ...
38312         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38313         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38314         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38315         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38316         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38317         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38318         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38319         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38320         Moved ...
38321         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38322         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38323         Moved ...
38324         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38325         ... here.
38326         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38327         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38328         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38329         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38330         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38331         Moved ...
38332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38333         ... here.
38334         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38335         Moved ...
38336         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38337         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38338         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38339         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38340         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38341         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38342         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38343         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38344         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38345         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38346         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38348         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38349         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38351         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38352         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38354         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38355         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38356         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38357         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38358         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38359         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38360         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38361         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38362         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38363         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38364         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38365         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38366         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38367         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38368         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38369         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38370         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38371         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38372         Moved ...
38373         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38374         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38375         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38376         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38377         Moved ...
38378         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38379         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38380         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38381         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38382         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38383         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38384         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38385         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38386         Moved ...
38387         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38389         Moved ...
38390         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38392         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38394         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38396         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38397         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38398         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38399         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38400         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38401         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38402         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38403         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38404         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38405         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38406         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38408         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38409         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38410         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38411         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38412         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
38414         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
38415         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
38416         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
38417         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
38418         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
38419         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
38420         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
38421         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
38422         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
38423         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
38425         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
38426         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
38428         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
38429         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
38430         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
38431         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
38432         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
38433         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
38434         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
38435         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
38436         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
38437         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
38438         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
38439         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
38440         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
38441         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
38442         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38443         Update #include.
38444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
38445         Likewise.
38446         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38447         Likewise.
38448         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38449         Likewise.
38450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38451         Likewise.
38452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
38453         Likewise.
38454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
38455         Likewise.
38456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38457         Likewise.
38458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
38459         Likewise.
38460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
38461         Likewise.
38462         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
38463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
38464         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
38465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
38466         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
38467         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
38468         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
38469         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
38470         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
38471         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
38472         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
38473         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
38474         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
38475         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
38476         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
38478         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
38479         that was previously under [RESET_PID].
38480         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38481         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
38482         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
38484         * sysdeps/i386/nptl/Implies: New file.
38485         * sysdeps/x86_64/nptl/Implies: New file.
38486         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
38487         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
38488         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
38489         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
38491         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
38492         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38493         (__libc_vfork): New strong alias.
38494         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
38495         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
38497         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
38498         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38499         (__libc_vfork): New strong alias.
38500         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
38501         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
38503         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
38504         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38505         (__libc_vfork): New strong alias.
38506         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
38507         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
38508         * nptl/pt-vfork.c: New file.
38509         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
38510         (libpthread: GLIBC_2.20): New version set (empty).
38512 2014-05-14  Will Newton  <will.newton@linaro.org>
38514         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
38515         rather than #if.
38517 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38519         [BZ #16564]
38520         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
38521         arguments with exponent 65 or above.
38522         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
38523         arguments 0x1p113L or above.
38524         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
38525         to arguments 0x1p107L or above.
38526         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
38527         positive arguments with exponent 65 or above.
38528         * math/auto-libm-test-in: Add more tests of log1p.
38529         * math/auto-libm-test-out: Regenerated.
38531         [BZ #16928]
38532         * math/s_cacos.c (__cacos): Ensure zero real part of result from
38533         non-finite arguments is +0.
38534         * math/s_cacosf.c (__cacosf): Likewise.
38535         * math/s_cacosl.c (__cacosl): Likewise.
38536         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
38537         * sysdeps/i386/fpu/libm-test-ulps: Update.
38538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38540         [BZ #16927]
38541         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
38542         value.
38543         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
38544         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
38545         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
38546         for explicit high bit of mantissa when testing for argument equal
38547         to 1.
38548         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
38549         * sysdeps/i386/fpu/libm-test-ulps: Update.
38550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38552         [BZ #16516]
38553         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
38554         (__erf): Scale by 16 instead of 8 in potentially underflowing
38555         case.  Ensure exception if result actually underflows.
38556         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
38557         (__erff): Scale by 16 instead of 8 in potentially underflowing
38558         case.  Ensure exception if result actually underflows.
38559         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
38560         (efx8): Remove variable.
38561         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38562         case.  Ensure exception if result actually underflows.
38563         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
38564         (efx8): Remove variable.
38565         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38566         case.  Ensure exception if result actually underflows.
38567         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
38568         (efx8): Remove variable.
38569         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38570         case.  Ensure exception if result actually underflows.
38571         * math/auto-libm-test-in: Add more tests of erf.
38572         * math/auto-libm-test-out: Regenerated.
38574 2014-05-14  Andreas Schwab  <schwab@suse.de>
38576         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
38577         Remove code conditionalized on USE___THREAD.
38579         * config.h.in (HAVE_PT_CHOWN): Define as 0.
38580         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
38581         not definedness.
38583 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38585         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
38586         Define unconditionally.
38587         (__ASSUME_O_CLOEXEC): Likewise.
38588         (__ASSUME_SOCK_CLOEXEC): Likewise.
38589         (__ASSUME_IN_NONBLOCK): Likewise.
38590         (__ASSUME_PIPE2): Likewise.
38591         (__ASSUME_EVENTFD2): Likewise.
38592         (__ASSUME_SIGNALFD4): Likewise.
38593         (__ASSUME_DUP3): Likewise.
38594         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38595         (__ASSUME_DUP3): Do not define.
38596         (__ASSUME_EVENTFD2): Likewise.
38597         (__ASSUME_IN_NONBLOCK): Likewise.
38598         (__ASSUME_O_CLOEXEC): Likewise.
38599         (__ASSUME_PIPE2): Likewise.
38600         (__ASSUME_SIGNALFD4): Likewise.
38601         (__ASSUME_SOCK_CLOEXEC): Likewise.
38602         (__ASSUME_UTIMES): Undefine.
38603         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38604         (__ASSUME_UTIMES): Do not define.
38605         (__ASSUME_O_CLOEXEC): Likewise.
38606         (__ASSUME_SOCK_CLOEXEC): Likewise.
38607         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
38608         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
38609         0x020621].
38610         (__ASSUME_PIPE2): Likewise.
38611         (__ASSUME_EVENTFD2): Likewise.
38612         (__ASSUME_SIGNALFD4): Likewise.
38613         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
38614         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
38615         Do not define.
38616         (__ASSUME_EVENTFD2): Likewise.
38617         (__ASSUME_SIGNALFD4): Likewise.
38618         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38619         (__ASSUME_32BITUIDS): Likewise.
38620         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38621         (__ASSUME_IPC64): Likewise.
38622         (__ASSUME_ST_INO_64_BIT): Likewise.
38623         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
38624         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
38625         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38626         (__ASSUME_UTIMES): Do not define.
38627         (__ASSUME_PSELECT): Likewise.
38628         (__ASSUME_PPOLL): Likewise.
38629         (__ASSUME_O_CLOEXEC): Likewise.
38630         (__ASSUME_SOCK_CLOEXEC): Likewise.
38631         (__ASSUME_IN_NONBLOCK): Likewise.
38632         (__ASSUME_PIPE2): Likewise.
38633         (__ASSUME_EVENTFD2): Likewise.
38634         (__ASSUME_SIGNALFD4): Likewise.
38635         (__ASSUME_DUP3): Likewise.
38636         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38637         (__ASSUME_UTIMES): Likewise.
38638         (__ASSUME_O_CLOEXEC): Likewise.
38639         (__ASSUME_SOCK_CLOEXEC): Likewise.
38640         (__ASSUME_IN_NONBLOCK): Likewise.
38641         (__ASSUME_PIPE2): Likewise.
38642         (__ASSUME_EVENTFD2): Likewise.
38643         (__ASSUME_SIGNALFD4): Likewise.
38644         (__ASSUME_DUP3): Likewise.
38645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38646         (__ASSUME_UTIMES): Likewise.
38647         (__ASSUME_O_CLOEXEC): Likewise.
38648         (__ASSUME_SOCK_CLOEXEC): Likewise.
38649         (__ASSUME_IN_NONBLOCK): Likewise.
38650         (__ASSUME_PIPE2): Likewise.
38651         (__ASSUME_EVENTFD2): Likewise.
38652         (__ASSUME_SIGNALFD4): Likewise.
38653         (__ASSUME_DUP3): Likewise.
38654         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
38655         Likewise.
38656         (__ASSUME_UTIMES): Likewise.
38657         (__ASSUME_EVENTFD2): Likewise.
38658         (__ASSUME_SIGNALFD4): Likewise.
38659         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38660         (__ASSUME_O_CLOEXEC): Likewise.
38661         (__ASSUME_SOCK_CLOEXEC): Likewise.
38662         (__ASSUME_IN_NONBLOCK): Likewise.
38663         (__ASSUME_PIPE2): Likewise.
38664         (__ASSUME_EVENTFD2): Likewise.
38665         (__ASSUME_SIGNALFD4): Likewise.
38666         (__ASSUME_DUP3): Likewise.
38667         (__ASSUME_UTIMES): Undefine.
38669         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
38670         feclearexcept.  Remove symbol versioning code.
38671         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
38672         symbol versioning code.
38673         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
38674         symbol versioning code.
38675         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
38676         feupdateenv.  Remove symbol versioning code.
38677         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
38678         fegetexceptflag.  Remove symbol versioning code.
38679         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
38680         fesetexceptflag.  Remove symbol versioning code.
38681         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
38682         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
38683         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
38684         (__posix_fadvise64_l32): Remove prototype.
38685         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
38686         code.
38688 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38690         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
38691         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
38692         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
38693         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
38695 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
38697         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
38698         current working directory
38700 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38702         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
38703         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
38704         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
38705         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
38706         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
38707         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
38708         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
38709         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
38710         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
38711         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
38712         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
38713         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
38714         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
38715         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
38716         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
38717         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
38718         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
38719         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
38720         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
38721         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
38722         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
38723         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
38724         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
38725         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
38726         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
38727         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
38728         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
38729         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
38730         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
38731         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
38732         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
38733         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
38734         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
38735         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
38736         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
38737         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
38738         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
38739         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
38740         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
38741         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
38742         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
38743         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
38745         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
38746         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
38748         * sysdeps/unix/sysv/linux/arm/Makefile
38749         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38750         Add rt-aeabi_unwind_cpp_pr1.
38751         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
38752         Add nptl-aeabi_unwind_cpp_pr1.
38753         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
38754         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
38755         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
38756         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38757         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
38758         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38760         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
38761         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
38762         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
38763         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
38765         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
38766         Deconditionalize the code that was previously under [RESET_PID].
38767         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
38769         * sysdeps/generic/exit-thread.h: New file.
38770         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
38771         * include/unistd.h (__exit_thread): Remove declaration.
38772         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
38773         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
38774         * csu/libc-start.c: Include <exit-thread.h>.
38775         (LIBC_START_MAIN): Pass no argument to __exit_thread.
38776         * nptl/pthread_create.c: Include <exit-thread.h>.
38777         (start_thread): Call __exit_thread in place of __exit_thread_inline.
38778         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
38779         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38780         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38781         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38782         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38783         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38784         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38785         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38786         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38787         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38788         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38789         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38790         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38791         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38792         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38793         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38795 2014-05-13  Andreas Schwab  <schwab@suse.de>
38797         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38799 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38801         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38802         (__ASSUME_UTIMES): Do not condition on kernel version.
38803         (__ASSUME_PSELECT): Define unconditionally.
38804         (__ASSUME_PPOLL): Likewise.
38805         (__ASSUME_ATFCTS): Likewise.
38806         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38807         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38808         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38809         (__ASSUME_UTIMENSAT): Define unconditionally.
38810         (__ASSUME_PRIVATE_FUTEX): Likewise.
38811         (__ASSUME_FALLOCATE): Likewise.
38812         (__ASSUME_O_CLOEXEC): Likewise.
38813         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38814         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38815         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38816         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38817         (__ASSUME_IN_NONBLOCK): Likewise.
38818         (__ASSUME_PIPE2): Likewise.
38819         (__ASSUME_EVENTFD2): Likewise.
38820         (__ASSUME_SIGNALFD4): Likewise.
38821         (__ASSUME_DUP3): Likewise.
38822         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38823         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38824         (__ASSUME_AT_RANDOM): Likewise.
38825         (__ASSUME_PREADV): Likewise.
38826         (__ASSUME_PWRITEV): Likewise.
38827         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38828         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38829         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38830         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38831         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38832         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38833         (__ASSUME_O_CLOEXEC): Define unconditionally.
38834         (__ASSUME_PSELECT): Do not undefine conditionally.
38835         (__ASSUME_PPOLL): Likewise.
38836         (__ASSUME_ATFCTS): Likewise.
38837         (__ASSUME_SET_ROBUST_LIST): Likewise.
38838         (__ASSUME_UTIMENSAT): Likewise.
38839         (__ASSUME_FDATASYNC): Define unconditionally.
38840         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38841         (__ASSUME_SIGFRAME_V2): Likewise.
38842         )__ASSUME_EVENTFD2): Likewise.
38843         (__ASSUME_SIGNALFD4): Likewise.
38844         (__ASSUME_PSELECT): Do not undefine conditionally.
38845         (__ASSUME_PPOLL): Likewise.
38846         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38847         (__ASSUME_PSELECT): Define unconditionally.
38848         (__ASSUME_PPOLL): Likewise.
38849         (__ASSUME_O_CLOEXEC): Likewise.
38850         (__ASSUME_SOCK_CLOEXEC): Likewise.
38851         (__ASSUME_IN_NONBLOCK): Likewise.
38852         (__ASSUME_PIPE2): Likewise.
38853         (__ASSUME_EVENTFD2): Likewise.
38854         (__ASSUME_SIGNALFD4): Likewise.
38855         (__ASSUME_DUP3): Likewise.
38856         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38857         (__ASSUME_O_CLOEXEC): Likewise.
38858         (__ASSUME_SOCK_CLOEXEC): Likewise.
38859         (__ASSUME_IN_NONBLOCK): Likewise.
38860         (__ASSUME_PIPE2): Likewise.
38861         (__ASSUME_EVENTFD2): Likewise.
38862         (__ASSUME_SIGNALFD4): Likewise.
38863         (__ASSUME_DUP3): Likewise.
38864         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38865         (__ASSUME_EVENTFD2): Likewise.
38866         (__ASSUME_SIGNALFD4): Likewise.
38867         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38869 2014-05-12  Andreas Schwab  <schwab@suse.de>
38871         [BZ #16932]
38872         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38873         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38874         than maximum RPC packet size.
38875         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38876         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38877         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38878         (_nss_nis_getservbyport_r): Likewise.
38880 2014-05-12  Will Newton  <will.newton@linaro.org>
38882         * malloc/Makefile (tests): Add tst-mallopt.
38883         * malloc/tst-mallopt.c: New file.
38885 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38887         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38888         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38890 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38892         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38893         (tst-tlsmod6.so): Likewise.
38895 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38897         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38899 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38901         [BZ #16064]
38902         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38903         and <dl-procinfo.h>.
38904         (__fegetenv): Save SSE state in envp->__eip if supported.
38905         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38906         envp->__eip if supported.
38907         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38908         and <dl-procinfo.h>.
38909         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38910         __data_offset and __data_selector in environment to 0.  Set SSE
38911         state if supported.
38912         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38913         test-fenv-sse.
38914         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38915         -mfpmath=sse.
38916         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38918 2014-05-09  Will Newton  <will.newton@linaro.org>
38920         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38921         and libc_relro_required for ARM.
38922         * sysdeps/arm/preconfigure: Regenerate.
38924 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38925             Stefan Liebler  <stli@linux.vnet.ibm.com>
38927         * config.make.in (enable-lock-elision): New Makefile variable.
38928         * configure.ac: Likewise.
38929         * configure: Regenerate.
38930         * sysdeps/s390/configure.ac:
38931         Add check for gcc transactions support.
38932         * sysdeps/s390/configure: Regenerate.
38933         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38934         Build elision files if enabled.
38935         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38936         Add lock elision support for s390.
38937         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38938         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38939         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38940         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38941         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38942         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38943         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38944         Likewise.
38945         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38946         Likewise.
38947         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38948         Likewise.
38949         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38950         Likewise.
38951         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38952         (__lll_timedlock_elision, __lll_lock_elision)
38953         (__lll_unlock_elision, __lll_trylock_elision)
38954         (lll_timedlock_elision, lll_lock_elision)
38955         (lll_unlock_elision, lll_trylock_elision): Add.
38956         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38957         (pthread_mutex_t): Add lock elision support for s390.
38959 2014-05-14  Wilco  <wdijkstr@arm.com>
38961         * sysdeps/arm/fclrexcpt.c: Cleanup.
38962         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38963         * sysdeps/arm/feenablxcpt.c: Cleanup.
38964         * sysdeps/arm/fegetenv.c: Cleanup.
38965         * sysdeps/arm/fegetexcept.c: Cleanup.
38966         * sysdeps/arm/fegetround.c: Cleanup.
38967         * sysdeps/arm/feholdexcpt.c: Cleanup.
38968         * sysdeps/arm/fesetenv.c: Cleanup.
38969         * sysdeps/arm/fesetround.c: Cleanup.
38970         * sysdeps/arm/feupdateenv.c: Cleanup.
38971         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38972         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38973         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38974         * sysdeps/arm/ftestexcept.c: Cleanup.
38975         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38976         * sysdeps/arm/setfpucw.c: Cleanup.
38978 2014-05-09  Will Newton  <will.newton@linaro.org>
38980         * sysdeps/arm/armv7/strcmp.S: New file.
38981         * NEWS: Mention addition of ARMv7 optimized strcmp.
38983 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38985         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38986         look for %.ac rather than %.in.
38988         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38989         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38990         * sysdeps/mach/hurd/configure: Regenerated.
38991         * sysdeps/unix/sysv/linux/configure: Regenerated.
38993         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
38995 2014-05-07  Steve Ellcey  <sellcey@mips.com>
38997         [BZ# 16922]
38998         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
38999         (LONG_SUB): Ditto.
39000         (PTR_SUB): Ditto.
39002 2014-05-07  Andreas Schwab  <schwab@suse.de>
39004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39005         when skipping over non-matching result from nscd.
39007 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39009         [BZ #16876]
39010         * nptl/sockperf.c (client): Check socket return value.
39012         [BZ #16877]
39013         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39014         nscd security class.
39016 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39018         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39019         * sysdeps/arm/unwind.h: ... here.
39021 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39023         [BZ# 16916]
39024         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39025         Define.
39027 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39029         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39030         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39031         multiarch strncpy for PPC64.
39032         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39033         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39035         multiarch optimizations.
39036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39037         (__libc_ifunc_impl_list): Likewise.
39038         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39039         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39040         multiarch stpncpy for PPC64.
39041         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39042         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39044 2014-05-06  Andreas Schwab  <schwab@suse.de>
39046         [BZ #16912]
39047         * gmon/mcount.c (_MCOUNT_DECL): Use
39048         atomic_compare_and_exchange_bool_acq instead of
39049         catomic_compare_and_exchange_bool_acq.
39051 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39053         * elf/Makefile (others, install-bin): Remove pldd.
39054         (pldd-modules): Variable removed.
39055         ($(objpfx)pldd): Target removed.
39056         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39057         (others, install-bin): Append pldd here.
39058         ($(objpfx)pldd): New target.
39060         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39061         to 0, so the first #if test emitted later doesn't see it undefined.
39062         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39063         * sysdeps/gnu/errlist.c: Regenerated.
39065 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39067         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39068         [libc_hidden_builtin_def]: Define to empty value.
39069         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39070         [libc_hidden_builtin_def]: Likewise.
39071         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39072         [libc_hidden_builtin_def]: Likewise.
39073         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39074         [libc_hidden_builtin_def]: Likewise.
39075         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39076         __redirect_memcpy and define ifunc as default hidden symbol.
39077         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39078         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39080 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39082         * locale/iso-4217.def: Reintroduce XDR currency.
39084 2014-05-04  Allan McRae  <allan@archlinux.org>
39086         * po/eo.po: Update Esperanto translation from translation project.
39088 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39090         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39091         and FEATURE_INDEX_MAX to 1.
39092         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39094 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39096         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39097         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39098         * iconvdata/big5.c (ONE_DIRECTION): Define.
39099         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39100         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39101         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39102         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39103         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39104         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39105         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39106         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39107         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39108         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39109         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39110         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39111         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39112         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39113         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39114         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39115         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39116         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39117         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39118         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39119         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39120         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39121         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39122         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39123         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39124         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39125         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39126         * iconvdata/iso646.c (ONE_DIRECTION): Define.
39127         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39128         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39129         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
39130         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
39131         * iconvdata/johab.c (ONE_DIRECTION): Define.
39132         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
39133         * iconvdata/sjis.c (ONE_DIRECTION): Define.
39134         * iconvdata/t.61.c (ONE_DIRECTION): Define.
39135         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
39136         * iconvdata/tscii.c (ONE_DIRECTION): Define.
39137         * iconvdata/uhc.c (ONE_DIRECTION): Define.
39138         * iconvdata/unicode.c (ONE_DIRECTION): Define.
39139         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
39140         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
39141         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
39143 2014-05-01  Roland McGrath  <roland@hack.frob.com>
39145         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
39146         (_IO_JUMPS_OFFSET): Define to 0.
39148         * nptl/sysdeps/pthread/bits/libc-lock.h
39149         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39150         (__libc_lock_define_initialized_recursive): Always define using
39151         initializer.  Modern compilers treat uninitialized (implicit zero) and
39152         explicit zero initializers the same (i.e. put the datum in bss).
39154 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39156         * nscd/nscd-client.h: Include <string.h>.
39158 2014-05-01  David S. Miller  <davem@davemloft.net>
39160         [BZ #16885]
39161         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
39162         multiple zero bytes exist at the end of a string.
39163         Reported by Aurelien Jarno <aurelien@aurel32.net>
39165         * string/test-strcmp.c (check): Add explicit test for situations where
39166         there are multiple zero bytes after the first.
39168 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39170         [BZ #16890]
39171         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
39172         when compiling wprintf.
39173         * stdio-common/tstdiomisc.c (t3): New function.
39174         (main): Call it.
39176 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39178         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
39179         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
39180         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39181         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
39183 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39185         * stdlib/longlong.h: Updated from GCC.
39187 2014-05-01  Will Newton  <will.newton@linaro.org>
39188             Bernard Ogden  <bernie.ogden@linaro.org>
39190         * NEWS: Update fixed bug list.
39192         [BZ #15119]
39193         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
39195 2014-04-30  David S. Miller  <davem@davemloft.net>
39197         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
39198         (libc_feholdexcept_setround_sparc_ctx): New function.
39199         (libc_fesetenv_sparc_ctx): Likewise.
39200         (libc_feupdateenv_sparc_ctx): Likewise.
39201         (libc_feholdsetround_sparc_ctx): Likewise.
39202         (libc_feholdexcept_setround_ctx): Define.
39203         (libc_feholdexcept_setroundf_ctx): Likewise.
39204         (libc_feholdexcept_setroundl_ctx): Likewise.
39205         (libc_fesetenv_ctx): Likewise.
39206         (libc_fesetenvf_ctx): Likewise.
39207         (libc_fesetenvl_ctx): Likewise.
39208         (libc_feupdateenv_ctx): Likewise.
39209         (libc_feupdateenvf_ctx): Likewise.
39210         (libc_feupdateenvl_ctx): Likewise.
39211         (libc_feresetround_ctx): Likewise.
39212         (libc_feresetroundf_ctx): Likewise.
39213         (libc_feresetroundl_ctx): Likewise.
39214         (libc_feholdsetround_ctx): Likewise.
39215         (libc_feholdsetroundf_ctx): Likewise.
39216         (libc_feholdsetroundl_ctx): Likewise.
39218         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39219         with __USE_GNU instead of XOPEN cpp guards.
39221         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
39222         0.
39224         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39225         with XOPEN cpp guards.
39227 2014-04-30  Julian Brown  <julian@codesourcery.com>
39229         [BZ #16888]
39230         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
39231         handling.
39233 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
39235         [BZ #9894]
39236         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
39237         Change to 2.6.32.
39238         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
39239         * sysdeps/unix/sysv/linux/configure: Regenerated.
39240         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
39241         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
39242         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
39243         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
39244         * README: Update reference to required Linux kernel version.
39245         * manual/install.texi (Linux): Update reference to required Linux
39246         kernel headers version.
39247         * INSTALL: Regenerated.
39249         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
39250         header inclusion.
39251         [POSIX] (limits.h): Likewise.
39252         [POSIX] (math.h): Likewise.
39253         [POSIX] (sys/wait.h): Likewise.
39254         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
39255         function.
39256         [POSIX] (stddef.h): Do not allow header inclusion.
39258 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39260         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
39262 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
39264         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
39265         Return immediately after lll_futex_wake.
39267 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39269         [BZ #16791]
39270         * nscd/nscd-client.h (datahead_init_common): Initialize entire
39271         structure.
39272         (datahead_init_pos): Call datahead_init_common early.
39273         (datahead_init_neg): Likewise.
39275         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
39276         datahead_init_neg): New functions.
39277         * nscd/aicache.c (addhstaiX): Use them.
39278         * nscd/grpcache.c (cache_addgr): Likewise.
39279         * nscd/hstcache.c (cache_addhst): Likewise.
39280         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39281         * nscd/netgroupcache.c (do_notfound): Likewise.
39282         (addgetnetgrentX): Likewise.
39283         (addinnetgrX): Likewise.
39284         * nscd/pwdcache.c (cache_addpw): Likewise.
39285         * nscd/servicescache.c (cache_addserv): Likewise.
39287 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39288             Atsushi Onoe  <atsushi@onoe.org>
39290         [BZ #14308]
39291         [BZ #12994]
39292         [BZ #13651]
39293         * resolv/res_query.c (__libc_res_nsearch): Return if at least
39294         one response is valid.
39295         * resolv/res_send.c (send_dg): Check for validity of other
39296         response if the current response is a referral.
39298 2014-04-29  Steve Ellcey  <sellcey@mips.com>
39300         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
39302 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
39304         [BZ #16823]
39305         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
39306         Always divide by positive zero when computing -Inf result.
39307         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39308         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39310 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39312         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39313         FPSCR if value do not change.
39314         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39315         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39316         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39317         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39318         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39319         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39320         function.
39322 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39324         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39325         * sysdeps/unix/sysv/linux/hppa: Move directory from
39326         ports/systeps/unix/sysv/linux/hppa.
39327         * README: Update listing for hppa-*-linux-gnu.
39329 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39331         [BZ #16754]
39332         * manual/stdio.texi (Hook functions): Fix types of stream hook
39333         functions.
39334         [BZ #16854]
39335         * socket/sys/socket.h: Fix typo in comment.
39337 2014-04-28  Wilco  <wdijkstr@arm.com>
39339         * sysdeps/arm/fenv_private.h: New file.
39340         * sysdeps/arm/math_private.h: New file.
39341         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39343 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
39345         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39346         with __int128_t.
39347         (La_x86_64_retval): Likewise.
39349 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
39351         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39352         fpsr if value didn't change.
39353         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39354         to fpcr if value didn't change.
39355         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39356         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39357         fpsr or fpcr if value didn't change.
39358         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39359         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39360         fpcr if value didn't change.
39361         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39362         to fpsr if value didn't change.
39364 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39366         * nptl/tst-sem3.c: Use test-skeleton.c
39367         (main): Rename to do_test.  Use return instead of
39368         exit.
39369         * nptl/tst-sem4.c: Use test-skeleton.c
39370         (main): Rename to do_test.
39372 2014-04-22  David S. Miller  <davem@davemloft.net>
39374         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39375         (struct sigaction): New struct member __glibc_reserved0, change
39376         type of sa_flags to int.
39378 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
39380         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39381         (COUNT_LEADING_ZEROS_0): Define for AArch64.
39383 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39385         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39386         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39388 2014-04-22  Will Newton  <will.newton@linaro.org>
39389             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
39391         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39392         (__longjmp): Add longjmp and longjmp_target SystemTap
39393         probes.
39394         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39395         (__sigsetjmp): Add setjmp SystemTap probe.
39397 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
39399         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39400         match manual order.
39402 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39404         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39406         * sysdeps/powerpc/fpu/fenv_private.h
39407         (libc_feholdexcept_setroundl_ctx): Define to
39408         libc_feholdexcept_setround_ppc_ctx.
39409         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39410         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39411         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39412         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
39414 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39416         * sysdeps/aarch64/math-tests.h: New file.
39418 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
39420         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
39421         New.
39422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39423         Check and set bit_AVX2_Usable.
39424         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
39425         macro.
39426         (bit_AVX2): Likewise.
39427         (index_AVX2_Usable): Likewise.
39428         (CPUID_AVX2): Likewise.
39429         (HAS_AVX2): Likewise.
39431 2014-04-17  Will Newton  <will.newton@linaro.org>
39433         * manual/setjmp.texi (System V contexts): Add note that
39434         calling setcontext on a context created by a call to a
39435         signal handler is undefined.  Update text to note that
39436         setcontext from a signal handler is possible but not
39437         recommended.
39439         [BZ #16629]
39440         * stdlib/tst-setcontext.c: Include signal.h.
39441         (main): Check that the signal stack before and
39442         after swapcontext is the same.
39444         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
39445         Re-implement to restore registers in user code and avoid
39446         rt_sigreturn system call.
39448 2014-04-17  Wilco  <wdijkstr@arm.com>
39450         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
39451         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
39452         * math/test-fenv.c: Skip exception trap tests on targets which only
39453         support non-stop mode.
39455 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39456             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39458         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
39459         (libc_feholdsetround_aarch64_ctx)
39460         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
39461         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
39462         (libc_feresetround_ctx, libc_feresetroundf_ctx)
39463         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
39464         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
39465         (libc_feresetround_noexl_ctx): Define.
39467 2014-04-16  Richard Henderson  <rth@redhat.com>
39469         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
39471         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
39472         unwind tables.
39474         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
39475         const from the non-libc, non-ldso copy.
39477         * sysdeps/alpha/libm-test-ulps: Regenerate.
39479 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
39480             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39482         * sysdeps/aarch64/fpu/math_private.h: New file.
39484 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39486         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39488 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
39490         [BZ #16275]
39491         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
39492         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
39493         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
39494         Intel MPX bound registers before _dl_profile_fixup.
39495         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
39496         registers after _dl_profile_fixup.  Save and restore bound
39497         registers bnd0/bnd1 when calling _dl_call_pltexit.
39498         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
39499         (LR_BND_OFFSET): Likewise.
39500         (LRV_BND0_OFFSET): Likewise.
39501         (LRV_BND1_OFFSET): Likewise.
39503 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39505         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
39506         to...
39507         * sysdeps/mach/hurd/i386/tls.h: ... here.
39508         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
39509         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
39510         fields.
39512 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39514         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
39516 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39518         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39520 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39522         [BZ #14770]
39523         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
39524         * sysdeps/s390/configure: Regenerate.
39526         [BZ #16824]
39527         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
39528         Set round-to-nearest internally to reduce error accumulation.
39530 2014-04-16  Alan Modra  <amodra@gmail.com>
39532         [BZ #16740]
39533         [BZ #16619]
39534         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
39535         * math/libm-test.inc (frexp_test_data): Add tests.
39536         * NEWS: Update fixed bug list.
39538 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39540         * benchtests/Makefile: Depend on libraries in build directory.
39541         (bench-math): Separate out math tests.
39542         (bench-pthread): Separate out pthread tests.
39543         (bench): Include math and pthread tests.
39545 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
39547         [BZ #16831]
39548         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
39549         _dl_debug_initialize.
39551         * configure.ac: Remove SELinux header check.
39552         * configure: Regenerate.
39553         * nscd/selinux.c (perms): Array of const char* to permission names.
39554         (nscd_request_avc_has_perm): Call security_deny_unknown to find
39555         default policy. Call string_to_security_class and string_to_av_perm to
39556         translate strings. Enforce default policy and call avs_has_perm with
39557         results of translated strings.
39559 2014-04-13  David S. Miller  <davem@davemloft.net>
39561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39563 2014-04-12  Allan McRae  <allan@archlinux.org>
39565         [BZ #16838]
39566         * manual/string.texi (Collation Functions): Fix qsort argument
39567         order in example.
39568         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39570 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
39572         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
39573         Make the test a no-op if there are no exceptions defined.
39575 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
39577         * elf/Makefile (tests): make tst-dlopen-aout conditional on
39578         enable-hardcoded-path-in-tests
39580 2014-04-11  Will Newton  <will.newton@linaro.org>
39582         * benchtests/Makefile (extra-objs): Add json-lib.o.
39583         (bench-func): Tidy up JSON output.
39584         * benchtests/bench-skeleton.c: Include json-lib.h.
39585         (main): Use JSON library functions to do output of
39586         benchmark results.
39587         * benchtests/bench-timing-type.c (main): Output the
39588         timing type simply, leaving formatting to the user.
39589         * benchtests/json-lib.c: New file.
39590         * benchtests/json-lib.h: Likewise.
39592 2014-04-11  Torvald Riegel  <triegel@redhat.com>
39594         [BZ #15215]
39595         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
39596         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
39597         memory barriers.  Add comments.
39598         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
39599         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
39600         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
39601         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
39602         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
39603         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
39605 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39607         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
39608         * sysdeps/s390/s390-64/configure.ac: ... this ...
39609         * sysdeps/s390/configure.ac: ... to here.
39610         * sysdeps/s390/s390-32/configure: Delete file.
39611         * sysdeps/s390/s390-64/configure: Delete file.
39612         * sysdeps/s390/configure: Regenerate.
39614 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
39616         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
39618 2014-04-11  Will Newton  <will.newton@linaro.org>
39620         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
39621         to zero if it is not defined elsewhere.  (mtrim): Test
39622         the value of MALLOC_DEBUG with #if rather than #ifdef.
39624 2014-04-10 Torvald Riegel  <triegel@redhat.com>
39626         * benchtests/pthread_once-inputs: New file.
39627         * benchtests/pthread_once-source.c: New file.
39628         * benchtests/README: Update documentation.
39630 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
39631             H.J. Lu  <hongjiu.lu@intel.com>
39633         [BZ #16275]
39634         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
39635         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
39636         * sysdeps/x86_64/configure: Regenerated.
39637         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
39638         macro.
39639         (REGISTER_SAVE_RAX): Likewise.
39640         (REGISTER_SAVE_RCX): Likewise.
39641         (REGISTER_SAVE_RDX): Likewise.
39642         (REGISTER_SAVE_RSI): Likewise.
39643         (REGISTER_SAVE_RDI): Likewise.
39644         (REGISTER_SAVE_R8): Likewise.
39645         (REGISTER_SAVE_R9): Likewise.
39646         (REGISTER_SAVE_BND0): Likewise.
39647         (REGISTER_SAVE_BND1): Likewise.
39648         (REGISTER_SAVE_BND2): Likewise.
39649         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
39650         bound registers when calling _dl_fixup.
39652 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39654         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
39655         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
39656         of its definition.
39657         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
39658         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
39659         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
39660         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
39661         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
39662         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
39663         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
39665 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
39667         [BZ #15514]
39668         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
39669         pathconf(_PC_NAME_MAX).
39671 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39673         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
39674         Remove macro usage.
39675         (__PTHREAD_SPINS): Move definition to ...
39676         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39677         (__PTHREAD_SPINS): ... here.
39678         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39679         (__PTHREAD_SPIN): Likewise.
39680         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
39681         (__PTHREAD_SPIN): Likewise.
39682         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
39683         (__PTHREAD_SPIN): Likewise.
39684         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
39685         (__PTHREAD_SPIN): Likewise.
39686         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39687         (__PTHREAD_SPIN): Likewise.
39688         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39689         (__PTHREAD_SPIN): Likewise.
39690         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
39691         (__PTHREAD_SPIN): Likewise.
39692         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39693         (__PTHREAD_SPIN): Likewise.
39694         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39695         (__PTHREAD_SPIN): Likewise.
39696         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39697         (__PTHREAD_SPIN): Likewise.
39698         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39699         (__PTHREAD_SPIN): Likewise.
39700         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
39701         (__PTHREAD_SPIN): Likewise.
39703         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
39704         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
39705         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
39706         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
39707         imply folder.
39708         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
39709         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
39710         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
39711         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
39712         correct imply path.
39713         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
39714         strlen symbol for non multi-arch builds.
39715         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
39716         missing hidden_def and weak_alias.
39718 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
39720         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
39722 2014-04-07  Will Newton  <will.newton@linaro.org>
39724         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
39725         and contents.  [!_LIBC] Remove #ifndef and contents.
39726         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
39727         * string/memccpy.c (__memccpy): Use ANSI prototype.
39728         * string/memfrob.c (memfrob): Likewise.
39729         * string/strcoll.c (STRCOLL): Likewise.
39730         * string/strlen.c (strlen): Likewise.
39731         * string/strtok.c (STRTOK): Likewise.
39732         * string/strcat.c: Remove unused #include of memcopy.h.
39733         (strcat): Use ANSI prototype.
39734         * string/strchr.c: Remove unused #include of memcopy.h.
39735         (strchr): Use ANSI prototype.
39736         * string/strcmp.c: Remove unused #include of memcopy.h.
39737         (strcmp): Use ANSI prototype.
39738         * string/strcpy.c: Remove unused #include of memcopy.h.
39739         (strcpy): Use ANSI prototype.
39741 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39743         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
39744         * config.make.in (config-extra-cppflags): Set it from
39745         libc_extra_cppflags.
39746         * configure.ac (libc_extra_cflags): Make it accumulate over
39747         configure fragments.
39748         (libc_extra_cppflags): New flag.
39749         * configure. Regenerate.
39750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39751         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
39752         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
39753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
39755         [BZ #16815]
39756         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
39757         result for FE_DOWNWARD rounding mode.
39758         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
39759         Likewise.
39760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39762 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
39764         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
39765         in function argument name.
39767 2014-04-03  David Svoboda  <svoboda@cert.org>
39769         [BZ #5666]
39770         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
39771         explicitly.
39773 2014-04-03  Roland McGrath  <roland@hack.frob.com>
39775         * elf/dl-unmap-segments.h: New file.
39776         * sysdeps/generic/ldsodefs.h
39777         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
39778         * elf/dl-close.c: Include <dl-unmap-segments.h>.
39779         * elf/dl-fptr.c: Likewise.
39780         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39781         * sysdeps/aarch64/tlsdesc.c: Likewise.
39782         * sysdeps/arm/tlsdesc.c: Likewise.
39783         * sysdeps/i386/tlsdesc.c: Likewise.
39784         * sysdeps/tile/dl-runtime.c: Likewise.
39785         * sysdeps/x86_64/tlsdesc.c: Likewise.
39786         * elf/dl-load.h: New file.
39787         * elf/dl-load.c: Include it.
39788         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39789         Macros moved to dl-load.h.
39790         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39791         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39792         Use _dl_unmap_segments in place of __munmap.
39793         Break out segment-mapping loop into ...
39794         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39796 2014-04-03  Will Newton  <will.newton@linaro.org>
39798         * elf/dl-lookup.c (do_lookup_x): Remove comment
39799         referring to nested function and move variable
39800         declarations down to before first use.
39802 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39804         [BZ #16799]
39805         [BZ #16800]
39806         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39807         with 0 numerator.
39808         * math/s_catanf.c (__catanf): Likewise.
39809         * math/s_catanh.c (__catanh): Likewise.
39810         * math/s_catanhf.c (__catanhf): Likewise.
39811         * math/s_catanhl.c (__catanhl): Likewise.
39812         * math/s_catanl.c (__catanl): Likewise.
39813         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39814         by positive zero when computing -Inf result.
39815         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39816         (catanh_test): Likewise.
39817         * sysdeps/i386/fpu/libm-test-ulps: Update.
39818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39820         [BZ #16789]
39821         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39822         instead of using underflowing value in computing result.
39823         * math/s_clog10.c (__clog10): Likewise.
39824         * math/s_clog10f.c (__clog10f): Likewise.
39825         * math/s_clog10l.c (__clog10l): Likewise.
39826         * math/s_clogf.c (__clogf): Likewise.
39827         * math/s_clogl.c (__clogl): Likewise.
39828         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39829         (clog10_test): Likewise.
39830         * sysdeps/i386/fpu/libm-test-ulps: Update.
39831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39833 2014-04-02  Alan Modra  <amodra@gmail.com>
39835         [BZ #16739]
39836         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39837         output when value is near a power of two.  Use int64_t for lx and
39838         remove casts.  Use decimal rather than hex exponent constants.
39839         Don't use long double multiplication when double will suffice.
39840         * math/libm-test.inc (nextafter_test_data): Add tests.
39841         * NEWS: Add 16739 and 16786 to bug list.
39843         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39845         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39847 2014-04-01  Will Newton  <will.newton@linaro.org>
39849         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39850         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39852 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39854         [BZ #13347]
39855         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39856         * nptl/tst-setuid2.c: New file.
39857         * nptl/Makefile (xtests): Add tst-setuid2.
39859 2014-04-01  Alan Modra  <amodra@gmail.com>
39861         [BZ #16786]
39862         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39864 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39866         [BZ #6803]
39867         [BZ #6804]
39868         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39869         set errno as appropriate.
39870         * math/w_scalbf.c (__scalbf): Likewise.
39871         * math/w_scalbl.c (__scalbl): Likewise.
39872         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39873         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39874         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39875         Add more NaN tests.
39877         [BZ #16349]
39878         * math/w_atan2.c: Include <errno.h>.
39879         (__atan2): Set errno for result underflowing to zero.
39880         * math/w_atan2f.c: Include <errno.h>.
39881         (__atan2f): Set errno for result underflowing to zero.
39882         * math/w_atan2l.c: Include <errno.h>.
39883         (__atan2l): Set errno for result underflowing to zero.
39884         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39885         tests.
39886         * math/auto-libm-test-out: Regenerated.
39888 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39890         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39891         Encode instruction correctly in little endian.
39892         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39893         Likewise.
39894         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39895         Likewise.
39896         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39897         Likewise.
39898         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39899         Likewise.
39901 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39903         [BZ #9894]
39904         * sysdeps/unix/sysv/linux/kernel-features.h
39905         [__sparc__ && !__arch64__ && !__sparc_v9__]
39906         (__ASSUME_SET_ROBUST_LIST): Do not define.
39907         [__sparc__ && !__arch64__ && !__sparc_v9__]
39908         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39909         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39910         Likewise.
39911         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39912         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39913         (__ASSUME_REQUEUE_PI): Likewise.
39914         (__ASSUME_SET_ROBUST_LIST): Likewise.
39915         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39916         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39917         Undefine.
39918         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39919         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39920         Likewise.
39921         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39922         Likewise.
39923         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39924         Likewise.
39925         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39926         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39927         Undefine.
39928         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39929         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39930         Likewise.
39932         [BZ #16648]
39933         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39934         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39935         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39937 2014-03-31  Will Newton  <will.newton@linaro.org>
39939         * benchtests/Makefile (bench): Add ffs and ffsll to list
39940         of tests.
39941         * benchtests/ffs-inputs: New file.
39942         * benchtests/ffsll-inputs: Likewise.
39944 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39946         [BZ #16770]
39947         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39948         too large before casting to int.
39949         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39950         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39951         * math/libm-test.inc (scalb_test_data): Add more tests.
39953 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39955         * benchtests/Makefile (DETAILED_OPT): New make option.
39956         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39957         set.
39958         * benchtests/bench-skeleton.c: Include stdbool.h.
39959         (main): Store and print timings per input.
39960         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39961         member to each argument value.
39962         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39963         (_print_arg_data): Initialize per-input timing to 0.
39965         * benchtests/Makefile (timing-type): New binary.
39966         (bench-clean): Also remove bench-timing-type.
39967         (bench): New target for timing-type.
39968         (bench-func): Print output in JSON format.
39969         * benchtests/bench-skeleton.c (main): Print output in JSON
39970         format.
39971         * benchtests/bench-timing-type.c: New file.
39972         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39973         (TIMING_PRINT_STATS): Remove.
39974         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39975         name separately.
39977         * benchtests/bench-modf.c: Remove.
39978         * benchtests/modf-inputs: New inputs file.
39980 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39982         [BZ #16362]
39983         * math/s_clog10.c (M_PI_LOG10E): New macro.
39984         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39985         imaginary parts are 0.
39986         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39987         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39988         imaginary parts are 0.
39989         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39990         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39991         imaginary parts are 0.
39992         * math/libm-test.inc (clog10_test_data): Update expected results
39993         for when real and imaginary parts are 0.
39995 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
39997         * elf/dl-load.c: Finish conversion of __builtin_expect into
39998         __glibc_{un}likely.
40000 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40002         [BZ #16348]
40003         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40004         1+x for argument with exponent below -67.
40005         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40006         Likewise.
40007         * math/auto-libm-test-in: Add more tests of exp.
40008         * math/auto-libm-test-out: Regenerated.
40010 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40012         [BZ #16759]
40013         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40014         (nscd_getnetgrent): Use it.
40016         [BZ #16760]
40017         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40018         of stpcpy.
40020 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40022         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40023         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40024         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40025         (lll_robust_unlock): Remove out of line section. Use cfi
40026         intrinsics.
40027         (LLL_STUB_UNWIND_INFO*): Remove.
40028         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40029         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40030         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40031         (lll_robust_unlock): Remove out of line section. Use cfi
40032         intrinsics.
40033         (LLL_STUB_UNWIND_INFO*): Remove.
40035 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40037         [BZ #16758]
40038         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40039         blank values.
40041 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40043         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40045 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40047         [BZ #16198]
40048         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40049         fnstenv.
40050         * math/test-fenv-preserve.c: New file.
40051         * math/Makefile (tests): Add test-fenv-preserve.
40053 2014-03-26  Will Newton <will.newton@linaro.org>
40055         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40057 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40059         * scripts/versionlist.awk: Partition the version sets and emit all
40060         GLIBC_* (sorted) before all others (sorted).
40062 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40064         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40065         GLIBC_2.2.5 version.
40067 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40069         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40070         calls.
40072         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40073         previous change.
40075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40077 2014-03-25  Andreas Schwab  <schwab@suse.de>
40079         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40080         label to be used after in6ailist is initialized.
40082 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40084         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40085         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40087 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40089         [BZ #16357]
40090         [BZ #16599]
40091         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40092         min_plus_half.
40093         (fp_formats): Update initializers.
40094         (init_fp_formats): Initialize new field.
40095         (output_for_one_input_case): Allow underflow for results up to
40096         min_plus_half.
40097         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40098         * math/auto-libm-test-in: Don't mark some underflows from asin and
40099         atanh as spurious.
40100         * math/auto-libm-test-out: Regenerated.
40101         * sysdeps/i386/fpu/libm-test-ulps: Update.
40102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40104 2014-03-25  Andreas Schwab  <schwab@suse.de>
40106         * libio/Makefile (tst-ftell-partial-wide-ENV)
40107         (tst-ftell-active-handler-ENV): Define.
40109 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40111         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40113 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40115         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40117 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40119         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40120         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40121         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40123 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40125         [BZ #16634]
40126         * elf/dl-load.c (open_verify): Add mode parameter.
40127         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40128         (open_path): Change from boolean 'secure' to complete flag 'mode'
40129         (_dl_map_object): Adjust.
40130         * elf/Makefile (tests): Add tst-dlopen-aout.
40131         * elf/tst-dlopen-aout.c: New test.
40133 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
40135         [BZ #16714]
40136         * sysdeps/unix/sysv/linux/s390/bits/stat.h
40137         (struct stat): Rename member pad0 to __glibc_reserved0.
40139         [BZ #16712]
40140         * sysdeps/s390/s390-32/bits/wordsize.h
40141         (__WORDSIZE32_SIZE_ULONG): New define.
40142         * sysdeps/s390/s390-64/bits/wordsize.h
40143         (__WORDSIZE32_SIZE_ULONG): Likewise.
40144         * sysdeps/generic/stdint.h (SIZE_MAX):
40145         Define as UL if __WORDSIZE32_SIZE_ULONG.
40147         [BZ #16713]
40148         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
40149         (__glibc_reserved0): New variable.
40150         (sa_flags): Change type to int.
40152         * posix/Makefile (before-compile): Use += before-compile instead
40153         of a :=.
40155         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40156         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40158 2014-03-20  Andreas Schwab  <schwab@suse.de>
40160         [BZ #16743]
40161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
40162         non-matching result from nscd.
40164 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40166         * scripts/bench.py: Moved to ...
40167         * benchtests/scripts/bench.py: ... here.
40168         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
40170 2014-03-24  Andreas Schwab  <schwab@suse.de>
40172         [BZ #16002]
40173         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
40174         alloca_account and account alloca use for struct in6ailist.
40176 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40178         [BZ #16284]
40179         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40180         rounding mode to recompute results that overflow to infinity or
40181         underflow to zero.
40182         * math/auto-libm-test-in: Don't mark tests as expected to fail for
40183         bug 16284.
40184         * math/auto-libm-test-out: Regenerated.
40185         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
40186         (ccosh_test): Likewise.
40187         (csin_test_data): Use plus_oflow.
40188         (csin_test): Use ALL_RM_TEST.
40189         (csinh_test_data): Use plus_oflow.
40190         (csinh_test): Use ALL_RM_TEST.
40191         * sysdeps/i386/fpu/libm-test-ulps: Update.
40192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40194 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
40196         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
40197         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
40198         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
40200         [BZ #16731]
40201         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
40202         when x - 1 is zero.
40203         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
40204         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
40205         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40206         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
40207         argument is 1.
40208         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40209         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
40210         zero.
40211         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
40212         * sysdeps/i386/fpu/libm-test-ulps: Update.
40213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40215 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40217         * scripts/bench.pl: Remove file.
40218         * scripts/bench.py: New benchmark script.
40219         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
40220         * benchtests/README: Mention python dependency.
40221         * scripts/pylintrc: New file.
40222         * scripts/pylint: New file.
40224         * bits/mathdef.h: Use #ifdef instead of #if.
40225         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
40226         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40227         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
40228         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40229         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
40230         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40232 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40233             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40235         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
40236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
40237         and strpbrk-ppc64 objects.
40238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40239         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
40240         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
40241         multiarch strpbrk for POWER7.
40242         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
40243         multiarch strpbrk for PPC64.
40244         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
40245         ifunc selector.
40246         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
40247         strpbrk for POWER7.
40249 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40251         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
40252         (atan_test): Likewise.
40253         (atanh_test_data): Use NO_TEST_INLINE for two tests.
40254         (atanh_test): Use ALL_RM_TEST.
40255         (atan2_test_data): Likewise.
40256         (cabs_test): Likewise.
40257         (cacosh_test): Likewise.
40258         (carg_test): Likewise.
40259         (casin_test): Likewise.
40260         (casinh_test): Likewise.
40261         (cbrt_test): Likewise.
40262         (csqrt_test): Likewise.
40263         (erf_test): Likewise.
40264         (erfc_test): Likewise.
40265         (pow10_test): Likewise.
40266         (exp2_test): Likewise.
40267         (hypot_test): Likewise.
40268         (j0_test): Likewise.
40269         (j1_test): Likewise.
40270         (lgamma_test): Likewise.
40271         (gamma_test): Likewise.
40272         (sincos_test): Likewise.
40273         (tanh_test): Likewise.
40274         (y0_test): Likewise.
40275         (y1_test): Likewise.
40276         * sysdeps/i386/fpu/libm-test-ulps: Update.
40277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40279 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40281         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
40282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
40283         and strcspn-ppc64 objects.
40284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40285         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
40286         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
40287         multiarch strcspn for POWER7.
40288         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
40289         multiarch strcspn for PPC64.
40290         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
40291         ifunc selector.
40292         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
40293         strcspn for POWER7.
40295 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40297         * math/gen-libm-test.pl (generate_testfile): Expect only function
40298         name as argument to AUTO_TESTS_* and pass results for all rounding
40299         modes to parse_args.
40300         (parse_auto_input): Separate inputs of automatic tests from
40301         outputs before storing in %auto_tests.
40302         * math/libm-test.inc (acos_test_data): Update call to
40303         AUTO_TESTS_f_f.
40304         (acos_test): Use ALL_RM_TEST.
40305         (acos_tonearest_test_data): Remove.
40306         (acos_test_tonearest): Likewise.
40307         (acos_towardzero_test_data): Likewise.
40308         (acos_test_towardzero): Likewise.
40309         (acos_downward_test_data): Likewise.
40310         (acos_test_downward): Likewise.
40311         (acos_upward_test_data): Likewise.
40312         (acos_test_upward): Likewise.
40313         (acosh_test_data): Update call to AUTO_TESTS_f_f.
40314         (asin_test_data): Likewise.
40315         (asin_test): Use ALL_RM_TEST.
40316         (asin_tonearest_test_data): Remove.
40317         (asin_test_tonearest): Likewise.
40318         (asin_towardzero_test_data): Likewise.
40319         (asin_test_towardzero): Likewise.
40320         (asin_downward_test_data): Likewise.
40321         (asin_test_downward): Likewise.
40322         (asin_upward_test_data): Likewise.
40323         (asin_test_upward): Likewise.
40324         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40325         (atan_test_data): Likewise.
40326         (atanh_test_data): Likewise.
40327         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40328         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40329         (carg_test_data): Likewise.
40330         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40331         (ccos_test_data): Update call to AUTO_TESTS_c_c.
40332         (ccosh_test_data): Likewise.
40333         (cexp_test_data): Likewise.
40334         (clog_test_data): Likewise.
40335         (clog10_test_data): Likewise.
40336         (cos_test_data): Update call to AUTO_TESTS_f_f.
40337         (cos_test): Use ALL_RM_TEST.
40338         (cos_tonearest_test_data): Remove.
40339         (cos_test_tonearest): Likewise.
40340         (cos_towardzero_test_data): Likewise.
40341         (cos_test_towardzero): Likewise.
40342         (cos_downward_test_data): Likewise.
40343         (cos_test_downward): Likewise.
40344         (cos_upward_test_data): Likewise.
40345         (cos_test_upward): Likewise.
40346         (cosh_test_data): Update call to AUTO_TESTS_f_f.
40347         (cosh_test): Use ALL_RM_TEST.
40348         (cosh_tonearest_test_data): Remove.
40349         (cosh_test_tonearest): Likewise.
40350         (cosh_towardzero_test_data): Likewise.
40351         (cosh_test_towardzero): Likewise.
40352         (cosh_downward_test_data): Likewise.
40353         (cosh_test_downward): Likewise.
40354         (cosh_upward_test_data): Likewise.
40355         (cosh_test_upward): Likewise.
40356         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40357         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40358         (ctan_test_data): Likewise.
40359         (ctan_test): Use ALL_RM_TEST.
40360         (ctan_tonearest_test_data): Remove.
40361         (ctan_test_tonearest): Likewise.
40362         (ctan_towardzero_test_data): Likewise.
40363         (ctan_test_towardzero): Likewise.
40364         (ctan_downward_test_data): Likewise.
40365         (ctan_test_downward): Likewise.
40366         (ctan_upward_test_data): Likewise.
40367         (ctan_test_upward): Likewise.
40368         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40369         (ctanh_test): Use ALL_RM_TEST.
40370         (ctanh_tonearest_test_data): Remove.
40371         (ctanh_test_tonearest): Likewise.
40372         (ctanh_towardzero_test_data): Likewise.
40373         (ctanh_test_towardzero): Likewise.
40374         (ctanh_downward_test_data): Likewise.
40375         (ctanh_test_downward): Likewise.
40376         (ctanh_upward_test_data): Likewise.
40377         (ctanh_test_upward): Likewise.
40378         (erf_test_data): Update call to AUTO_TESTS_f_f.
40379         (erfc_test_data): Likewise.
40380         (exp_test_data): Likewise.
40381         (exp_test): Use ALL_RM_TEST.
40382         (exp_tonearest_test_data): Remove.
40383         (exp_test_tonearest): Likewise.
40384         (exp_towardzero_test_data): Likewise.
40385         (exp_test_towardzero): Likewise.
40386         (exp_downward_test_data): Likewise.
40387         (exp_test_downward): Likewise.
40388         (exp_upward_test_data): Likewise.
40389         (exp_test_upward): Likewise.
40390         (exp10_test_data): Update call to AUTO_TESTS_f_f.
40391         (exp10_test): Use ALL_RM_TEST.
40392         (exp10_tonearest_test_data): Remove.
40393         (exp10_test_tonearest): Likewise.
40394         (exp10_towardzero_test_data): Likewise.
40395         (exp10_test_towardzero): Likewise.
40396         (exp10_downward_test_data): Likewise.
40397         (exp10_test_downward): Likewise.
40398         (exp10_upward_test_data): Likewise.
40399         (exp10_test_upward): Likewise.
40400         (exp2_test_data): Update call to AUTO_TESTS_f_f.
40401         (expm1_test_data): Likewise.
40402         (expm1_test): Use ALL_RM_TEST.
40403         (expm1_tonearest_test_data): Remove.
40404         (expm1_test_tonearest): Likewise.
40405         (expm1_towardzero_test_data): Likewise.
40406         (expm1_test_towardzero): Likewise.
40407         (expm1_downward_test_data): Likewise.
40408         (expm1_test_downward): Likewise.
40409         (expm1_upward_test_data): Likewise.
40410         (expm1_test_upward): Likewise.
40411         (fma_test_data): Update call to AUTO_TESTS_fff_f.
40412         (fma_test): Use ALL_RM_TEST.
40413         (fma_towardzero_test_data): Remove.
40414         (fma_test_towardzero): Likewise.
40415         (fma_downward_test_data): Likewise.
40416         (fma_test_downward): Likewise.
40417         (fma_upward_test_data): Likewise.
40418         (fma_test_upward): Likewise.
40419         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
40420         (j0_test_data): Update call to AUTO_TESTS_f_f.
40421         (j1_test_data): Likewise.
40422         (jn_test_data): Update call to AUTO_TESTS_if_f.
40423         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
40424         (log_test_data): Update call to AUTO_TESTS_f_f.
40425         (log10_test_data): Likewise.
40426         (log1p_test_data): Likewise.
40427         (log2_test_data): Likewise.
40428         (pow_test_data): Update call to AUTO_TESTS_ff_f.
40429         (pow_tonearest_test_data): Likewise.
40430         (sin_test_data): Update call to AUTO_TESTS_f_f.
40431         (sin_test): Use ALL_RM_TEST.
40432         (sin_tonearest_test_data): Remove.
40433         (sin_test_tonearest): Likewise.
40434         (sin_towardzero_test_data): Likewise.
40435         (sin_test_towardzero): Likewise.
40436         (sin_downward_test_data): Likewise.
40437         (sin_test_downward): Likewise.
40438         (sin_upward_test_data): Likewise.
40439         (sin_test_upward): Likewise.
40440         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
40441         (sinh_test_data): Update call to AUTO_TESTS_f_f.
40442         (sinh_test): Use ALL_RM_TEST.
40443         (sinh_tonearest_test_data): Remove.
40444         (sinh_test_tonearest): Likewise.
40445         (sinh_towardzero_test_data): Likewise.
40446         (sinh_test_towardzero): Likewise.
40447         (sinh_downward_test_data): Likewise.
40448         (sinh_test_downward): Likewise.
40449         (sinh_upward_test_data): Likewise.
40450         (sinh_test_upward): Likewise.
40451         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
40452         (sqrt_test): Use ALL_RM_TEST.
40453         (sqrt_tonearest_test_data): Remove.
40454         (sqrt_test_tonearest): Likewise.
40455         (sqrt_towardzero_test_data): Likewise.
40456         (sqrt_test_towardzero): Likewise.
40457         (sqrt_downward_test_data): Likewise.
40458         (sqrt_test_downward): Likewise.
40459         (sqrt_upward_test_data): Likewise.
40460         (sqrt_test_upward): Likewise.
40461         (tan_test_data): Update call to AUTO_TESTS_f_f.
40462         (tan_test): Use ALL_RM_TEST.
40463         (tan_tonearest_test_data): Remove.
40464         (tan_test_tonearest): Likewise.
40465         (tan_towardzero_test_data): Likewise.
40466         (tan_test_towardzero): Likewise.
40467         (tan_downward_test_data): Likewise.
40468         (tan_test_downward): Likewise.
40469         (tan_upward_test_data): Likewise.
40470         (tan_test_upward): Likewise.
40471         (tanh_test_data): Update call to AUTO_TESTS_f_f.
40472         (tgamma_test_data): Likewise.
40473         (y0_test_data): Likewise.
40474         (y1_test_data): Likewise.
40475         (yn_test_data): Update call to AUTO_TESTS_if_f.
40476         (main): Do not call removed functions.
40478 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40480         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
40481         (ldexp_test_data): Remove.
40482         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
40483         scalbn_test_data.
40484         (scalb_test): Use ALL_RM_TEST.
40486 2014-03-19  Andreas Schwab  <schwab@suse.de>
40488         * nscd/nscd.service: Also invalidate netgroup cache on reload.
40490 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40492         [BZ #16649]
40493         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40494         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
40495         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
40496         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40497         (__ASSUME_PREADV): Undefine.
40498         (__ASSUME_PWRITEV): Likewise.
40500 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40502         * bits/mman-linux.h: Add comment about non-Linux use.
40503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
40504         bits/mman-linux.h resting place.
40506         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
40507         * bits/mman-linux.h: ... here.
40509 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40511         * conform/conformtest.pl: Add standard definition when calling C
40512         preprocessor on data files.
40513         (checknamespace): Remove unused variable.
40515 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40517         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
40518         minus_oflow, plus_uflow and minus_uflow in expected results.
40519         * math/libm-test.inc (scalbn_test_data): Add more tests of
40520         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
40521         minus_uflow.
40522         (scalbn_test): Use ALL_RM_TEST.
40523         (scalbln_test_data): Add more tests of negative arguments.  Use
40524         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
40525         (scalbln_test): Use ALL_RM_TEST.
40527 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40529         * scripts/abilist.awk: Ignore symbols marked with .hidden.
40531 2014-03-18  Will Newton  <will.newton@linaro.org>
40533         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
40534         inaccurate comment.
40536 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40538         * Makerules [!subdir] (check-abi): Exit with error status if a
40539         test failed.
40541 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40543         * math/libm-test.inc (nearbyint_test_data): Include all tests used
40544         for rint.  Include results for all rounding modes.
40545         (nearbyint_test): Use ALL_RM_TEST.
40546         (rint_test_data): Include all tests used for nearbyint.
40548 2014-03-17  Will Newton  <will.newton@linaro.org>
40550         * nptl/sysdeps/pthread/pthread.h: Revert previous
40551         change.
40553         * sysdeps/generic/ldsodefs.h: Revert previous
40554         change.
40556         * libio/genops.c: Revert previous change.
40557         * libio/libioP.h: Likewise.
40558         * stdio-common/vfprintf.c: Likewise.
40560         * sysdeps/generic/math_private.h: Revert previous
40561         change.
40563         * sysdeps/generic/math_private.h: Check whether
40564         HAVE_RM_CTX is defined with #ifdef rather
40565         than #if.
40567         * argp/argp-fmtstream.h: Check whether
40568         __STRICT_ANSI__ is defined with #ifdef rather
40569         than #if.
40570         * argp/argp.h: Likewise.
40572         * libio/genops.c: Check whether
40573         _IO_JUMPS_OFFSET is defined with #ifdef rather
40574         than #if.
40575         * libio/libioP.h: Likewise.
40576         * stdio-common/vfprintf.c: Likewise.
40578         * sysdeps/generic/ldsodefs.h: Check whether
40579         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
40580         than #if.
40582         * nptl/sysdeps/pthread/pthread.h: Check
40583         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
40584         its value.
40586 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40588         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
40589         setting O_APPEND.
40590         * libio/tst-ftell-active-handler.c (do_append_test): Add a
40591         test case.
40593         [BZ #16680]
40594         * libio/fileops.c (_IO_file_open): Seek to end of file but
40595         don't cache the offset.
40596         (get_file_offset): Remove function.
40597         (do_ftell): Use cached offset when available.
40598         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
40599         don't cache the offset.
40600         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
40601         case.
40602         (do_one_test): Call it.
40603         (do_ftell_test): Fix up expected old offset for a+ mode.
40604         * libio/wfileops.c (do_ftell_wide): Used cached offset when
40605         available.
40607         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
40608         up test status with function return status.
40609         (do_write_test): Likewise.
40610         (do_append_test): Likewise.
40612         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
40613         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
40614         Remove.
40616 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40618         * math/gen-libm-test.pl (parse_args): Handle results specified for
40619         each rounding mode separately.
40620         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
40621         tests and results from lrint_tonearest_test_data,
40622         lrint_towardzero_test_data, lrint_downward_test_data and
40623         lrint_upward_test_data.
40624         (lrint_test): Use ALL_RM_TEST.
40625         (lrint_tonearest_test_data): Remove.
40626         (lrint_test_tonearest): Likewise.
40627         (lrint_towardzero_test_data): Likewise.
40628         (lrint_test_towardzero): Likewise.
40629         (lrint_downward_test_data): Likewise.
40630         (lrint_test_downward): Likewise.
40631         (lrint_upward_test_data): Likewise.
40632         (lrint_test_upward): Likewise.
40633         (llrint_test_data): Merge in per-rounding-mode tests and results
40634         from llrint_tonearest_test_data, llrint_towardzero_test_data,
40635         llrint_downward_test_data and llrint_upward_test_data.
40636         (llrint_test): Use ALL_RM_TEST.
40637         (llrint_tonearest_test_data): Remove.
40638         (llrint_test_tonearest): Likewise.
40639         (llrint_towardzero_test_data): Likewise.
40640         (llrint_test_towardzero): Likewise.
40641         (llrint_downward_test_data): Likewise.
40642         (llrint_test_downward): Likewise.
40643         (llrint_upward_test_data): Likewise.
40644         (llrint_test_upward): Likewise.
40645         (rint_test_data): Merge in per-rounding-mode tests and results
40646         from rint_tonearest_test_data, rint_towardzero_test_data,
40647         rint_downward_test_data and rint_upward_test_data.  Add
40648         per-rounding-mode results for tests not in those arrays.
40649         (rint_test): Use ALL_RM_TEST.
40650         (rint_tonearest_test_data): Remove.
40651         (rint_test_tonearest): Likewise.
40652         (rint_towardzero_test_data): Likewise.
40653         (rint_test_towardzero): Likewise.
40654         (rint_downward_test_data): Likewise.
40655         (rint_test_downward): Likewise.
40656         (rint_upward_test_data): Likewise.
40657         (rint_test_upward): Likewise.
40658         (main): Don't call removed functions.
40660 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40662         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
40663         "Compiled on ..." crapola.  It is anti-useful.
40665 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
40667         * scripts/evaluate-test.sh: Handle fourth argument to determine
40668         whether test run should stop on failure.
40669         * Makeconfig (stop-on-test-failure): New variable.
40670         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
40671         $(stop-on-test-failure).
40672         * Makefile (tests): Give a summary of results from testing and
40673         exit with failure status if they include an ERROR or FAIL.
40674         (xtests): Likewise.
40675         * manual/install.texi (Configuring and compiling): Mention
40676         stop-on-test-failure=y.
40677         * INSTALL: Regenerated.
40679 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40681         * scripts/versionlist.awk: New file.
40682         * Makerules [$(build-shared) = yes]
40683         (postclean-generated): Add Versions.def, not Versions.def.v and
40684         Versions.def.v.i.
40685         ($(common-objpfx)Versions.def.v.i): Target removed.
40686         ($(common-objpfx)Versions.def): New target.
40687         ($(common-objpfx)Versions.all): Depend on that rather that
40688         $(common-objpfx)Versions.def.v.
40689         * Versions.def: File removed.
40691         * Makeconfig (+gccwarn): Add -Wundef.
40692         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
40693         a dl-sysdep.h breaking its contract.
40694         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
40695         * include/stackinfo.h: New file.
40696         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
40697         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
40698         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
40699         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
40700         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
40701         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
40702         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40703         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40704         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40705         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40706         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40707         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
40708         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40709         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40710         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40712 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40714         [BZ #16707]
40715         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
40716         implementation.
40717         * math/libm-test.inc (round_test_data): Add more tests.
40719         [BZ #16706]
40720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
40721         implementation.
40722         * math/libm-test.inc (nearbyint_test_data): Add more tests.
40724         [BZ #16701]
40725         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
40726         implementation.
40727         * math/libm-test.inc (ceil_test_data): Add more tests.
40729         * math/libm-test.inc (trunc_test_data): Add more tests related to
40730         BZ#16414.
40732 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40734         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
40735         with #if rather than #ifdef.
40736         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
40738 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
40740         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
40741         first.  Disable AVX-512 GCC support if assembler doesn't support
40742         it.
40743         * sysdeps/x86_64/configure: Regenerated.
40745 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
40747         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
40748         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
40749         (__old_pthread_attr_setstack): Likewise.
40750         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
40751         [!_STACK_GROWS_DOWN]: Likewise.
40753 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
40755         * config.make.in (have-bash2): Delete.
40756         * configure.ac (libc_cv_have_bash2): Delete.
40757         * configure: Regenerate.
40758         * elf/Makefile (common-ldd-rewrite): Rename to ...
40759         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
40760         (sh-ldd-rewrite): Delete.
40761         (bash-ldd-rewrite): Delete.
40762         (have-bash2): Delete checks.
40763         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
40764         ldd-rewrite.
40766         * config.make.in (have-ksh): Delete.
40767         (KSH): Delete.
40768         * configure.ac (libc_cv_have_ksh): Delete.
40769         * configure: Regenerate.
40771         * elf/Makefile: Delete $(have-ksh) check.
40772         ($(objpfx)sotruss): Change KSH to BASH.
40773         * elf/sotruss.ksh: Rename to ...
40774         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
40775         function style to match POSIX.  Drop ksh vim mode setting.
40777         * manual/time.texi (Specifying the Time Zone with TZ): Change
40778         Tuesday to Thursday.
40780         * debug/tst-longjmp_chk2.c: Update header comment.
40781         (stackoverflow_handler): Add comment.  Call assert on pass value.
40783 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40785         [BZ #16194]
40786         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40787         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40788         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40789         (La_x86_64_vector): Add zmm.
40790         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40791         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40792         ($(objpfx)tst-audit10): New target.
40793         ($(objpfx)tst-audit10.out): Likewise.
40794         (tst-audit10-ENV): New.
40795         (AVX512-CFLAGS): Likewise.
40796         (CFLAGS-tst-audit10.c): Likewise.
40797         (CFLAGS-tst-auditmod10a.c): Likewise.
40798         (CFLAGS-tst-auditmod10b.c): Likewise.
40799         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40800         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40801         * sysdeps/x86_64/configure: Regenerated.
40802         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40803         AVX-512 zmm register support.
40804         (_dl_x86_64_save_sse): Likewise.
40805         (_dl_x86_64_restore_sse): Likewise.
40806         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40807         size vector registers.
40808         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40809         (ZMM_SIZE): Likewise.
40810         * sysdeps/x86_64/tst-audit10.c: New file.
40811         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40812         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40814 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40816         * configure.ac (HAVE_EHDR_START): New check.
40817         * configure: Regenerated.
40818         * config.h.in (HAVE_EHDR_START): New #undef.
40819         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40820         assuming the lowest-addressed segment maps the start of the file.
40822 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40824         * INSTALL: Regenerated.
40826 2014-03-13  Will Newton  <will.newton@linaro.org>
40828         * manual/setjmp.texi (System V contexts): Improve
40829         clarity and grammar of documentation.
40831 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40833         [BZ #16381]
40834         * elf/Makefile (tests): Add tst-pie2.
40835         (tests-pie): Add tst-pie2.
40836         * elf/tst-pie2.c: New file.
40837         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40838         for ET_EXEC.
40839         * elf/rtld.c (map_doit): Load executable as lt_executable.
40840         (dl_main): Likewise.
40842 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40844         [BZ #16642]
40845         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40846         (__ASSUME_PSELECT): Undefine.
40848 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40850         [BZ #16689]
40851         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40852         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40853         static build.
40854         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40855         selector for static builds.
40857 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40859         [BZ #16695]
40860         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40861         key in the buffer.
40863 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40865         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40866         IFUNC selector for static builds.
40868 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40870         * sysdeps/mips/math_private.h [__mips_hard_float]
40871         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40872         libc_feresetround_mips_ctx.
40873         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40874         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40875         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40877         [BZ #16677]
40878         * math/s_nextafter.c (__nextafter): Do not return value from
40879         overflowing computation.
40880         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40881         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40882         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40883         Likewise.
40884         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40885         Likewise.
40886         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40887         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40889 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40891         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40892         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40893         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40894         the new mov targetting sp.
40896 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40898         [BZ #16683]
40899         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40900         Define it for static builds as well.
40901         (NO_BZERO_IMPL): Likewise.
40903 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40905         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40906         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40907         multiarch strspn for PPC64.
40908         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40909         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40911         (__libc_ifunc_impl_list): Likewise.
40912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40913         multiarch optimizations
40914         * string/strspn.c (strspn): Using macro to redefine symbol name.
40916 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40917             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40919         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40920         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40921         multiarch strncat for PPC64.
40922         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40923         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40925         (__libc_ifunc_impl_list): Likewise.
40926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40927         multiarch optimizations
40929 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40931         [BZ #16639]
40932         * nscd/nscd.service: Make service type forking.
40934 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40936         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40937         sign in non default rounding modes.
40938         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40940 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40942         * math/libm-test.inc (ALL_RM_TEST): New macro.
40943         (ceil_test): Use ALL_RM_TEST.
40944         (cimag_test): Likewise.
40945         (conj_test): Likewise.
40946         (copysign_test): Likewise.
40947         (cproj_test): Likewise.
40948         (creal_test): Likewise.
40949         (fabs_test): Likewise.
40950         (floor_test): Likewise.
40951         (fmax_test): Likewise.
40952         (fmin_test): Likewise.
40953         (fmod_test): Likewise.
40954         (fpclassify_test): Likewise.
40955         (frexp_test): Likewise.
40956         (ilogb_test): Likewise.
40957         (isfinite_test): Likewise.
40958         (finite_test): Likewise.
40959         (isgreater_test): Likewise.
40960         (isgreaterequal_test): Likewise.
40961         (isinf_test): Likewise.
40962         (isless_test): Likewise.
40963         (islessequal_test): Likewise.
40964         (islessgreater_test): Likewise.
40965         (isnan_test): Likewise.
40966         (isnormal_test): Likewise.
40967         (issignaling_test): Likewise.
40968         (isunordered_test): Likewise.
40969         (logb_test): Likewise.
40970         (logb_downward_test_data): Remove.
40971         (logb_test_downward): Likewise.
40972         (lround_test): Use ALL_RM_TEST.
40973         (llround_test): Likewise.
40974         (modf_test): Likewise.
40975         (nexttoward_test): Likewise.
40976         (remainder_test): Likewise.
40977         (drem_test): Likewise.
40978         (remainder_tonearest_test_data): Likewise.
40979         (remainder_test_tonearest): Likewise.
40980         (drem_test_tonearest): Likewise.
40981         (remainder_towardzero_test_data): Likewise.
40982         (remainder_test_towardzero): Likewise.
40983         (drem_test_towardzero): Likewise.
40984         (remainder_downward_test_data): Likewise.
40985         (remainder_test_downward): Likewise.
40986         (drem_test_downward): Likewise.
40987         (remainder_upward_test_data): Likewise.
40988         (remainder_test_upward): Likewise.
40989         (drem_test_upward): Likewise.
40990         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40991         (round_test): Use ALL_RM_TEST.
40992         (signbit_test): Likewise.
40993         (trunc_test): Likewise.
40994         (significand_test): Likewise.
40995         (main): Don't call removed functions.
40997 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40999         [BZ #16674]
41000         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41001         || __USE_XOPEN2K8].
41002         (ILL_ILLOPN): Likewise.
41003         (ILL_ILLADR): Likewise.
41004         (ILL_ILLTRP): Likewise.
41005         (ILL_PRVOPC): Likewise.
41006         (ILL_PRVREG): Likewise.
41007         (ILL_COPROC): Likewise.
41008         (ILL_BADSTK): Likewise.
41009         (FPE_INTDIV): Likewise.
41010         (FPE_INTOVF): Likewise.
41011         (FPE_FLTDIV): Likewise.
41012         (FPE_FLTOVF): Likewise.
41013         (FPE_FLTUND): Likewise.
41014         (FPE_FLTRES): Likewise.
41015         (FPE_FLTINV): Likewise.
41016         (FPE_FLTSUB): Likewise.
41017         (SEGV_MAPERR): Likewise.
41018         (SEGV_ACCERR): Likewise.
41019         (BUS_ADRALN): Likewise.
41020         (BUS_ADRERR): Likewise.
41021         (BUS_OBJERR): Likewise.
41022         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41023         (TRAP_TRACE): Likewise.
41024         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41025         __USE_XOPEN2K8].
41026         (CLD_KILLED): Likewise.
41027         (CLD_DUMPED): Likewise.
41028         (CLD_TRAPPED): Likewise.
41029         (CLD_STOPPED): Likewise.
41030         (CLD_CONTINUED): Likewise.
41031         (POLL_IN): Likewise.
41032         (POLL_OUT): Likewise.
41033         (POLL_MSG): Likewise.
41034         (POLL_ERR): Likewise.
41035         (POLL_PRI): Likewise.
41036         (POLL_HUP): Likewise.
41037         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41038         Likewise.
41039         (ILL_ILLOPN): Likewise.
41040         (ILL_ILLADR): Likewise.
41041         (ILL_ILLTRP): Likewise.
41042         (ILL_PRVOPC): Likewise.
41043         (ILL_PRVREG): Likewise.
41044         (ILL_COPROC): Likewise.
41045         (ILL_BADSTK): Likewise.
41046         (FPE_INTDIV): Likewise.
41047         (FPE_INTOVF): Likewise.
41048         (FPE_FLTDIV): Likewise.
41049         (FPE_FLTOVF): Likewise.
41050         (FPE_FLTUND): Likewise.
41051         (FPE_FLTRES): Likewise.
41052         (FPE_FLTINV): Likewise.
41053         (FPE_FLTSUB): Likewise.
41054         (SEGV_MAPERR): Likewise.
41055         (SEGV_ACCERR): Likewise.
41056         (BUS_ADRALN): Likewise.
41057         (BUS_ADRERR): Likewise.
41058         (BUS_OBJERR): Likewise.
41059         (BUS_MCEERR_AR): Likewise.
41060         (BUS_MCEERR_AO): Likewise.
41061         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41062         (TRAP_TRACE): Likewise.
41063         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41064         __USE_XOPEN2K8].
41065         (CLD_KILLED): Likewise.
41066         (CLD_DUMPED): Likewise.
41067         (CLD_TRAPPED): Likewise.
41068         (CLD_STOPPED): Likewise.
41069         (CLD_CONTINUED): Likewise.
41070         (POLL_IN): Likewise.
41071         (POLL_OUT): Likewise.
41072         (POLL_MSG): Likewise.
41073         (POLL_ERR): Likewise.
41074         (POLL_PRI): Likewise.
41075         (POLL_HUP): Likewise.
41076         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41077         (ILL_ILLOPN): Likewise.
41078         (ILL_ILLADR): Likewise.
41079         (ILL_ILLTRP): Likewise.
41080         (ILL_PRVOPC): Likewise.
41081         (ILL_PRVREG): Likewise.
41082         (ILL_COPROC): Likewise.
41083         (ILL_BADSTK): Likewise.
41084         (FPE_INTDIV): Likewise.
41085         (FPE_INTOVF): Likewise.
41086         (FPE_FLTDIV): Likewise.
41087         (FPE_FLTOVF): Likewise.
41088         (FPE_FLTUND): Likewise.
41089         (FPE_FLTRES): Likewise.
41090         (FPE_FLTINV): Likewise.
41091         (FPE_FLTSUB): Likewise.
41092         (SEGV_MAPERR): Likewise.
41093         (SEGV_ACCERR): Likewise.
41094         (BUS_ADRALN): Likewise.
41095         (BUS_ADRERR): Likewise.
41096         (BUS_OBJERR): Likewise.
41097         (BUS_MCEERR_AR): Likewise.
41098         (BUS_MCEERR_AO): Likewise.
41099         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41100         (TRAP_TRACE): Likewise.
41101         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41102         __USE_XOPEN2K8].
41103         (CLD_KILLED): Likewise.
41104         (CLD_DUMPED): Likewise.
41105         (CLD_TRAPPED): Likewise.
41106         (CLD_STOPPED): Likewise.
41107         (CLD_CONTINUED): Likewise.
41108         (POLL_IN): Likewise.
41109         (POLL_OUT): Likewise.
41110         (POLL_MSG): Likewise.
41111         (POLL_ERR): Likewise.
41112         (POLL_PRI): Likewise.
41113         (POLL_HUP): Likewise.
41114         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41115         Likewise.
41116         (ILL_ILLOPN): Likewise.
41117         (ILL_ILLADR): Likewise.
41118         (ILL_ILLTRP): Likewise.
41119         (ILL_PRVOPC): Likewise.
41120         (ILL_PRVREG): Likewise.
41121         (ILL_COPROC): Likewise.
41122         (ILL_BADSTK): Likewise.
41123         (ILL_BADIADDR): Likewise.
41124         (ILL_BREAK): Likewise.
41125         (FPE_INTDIV): Likewise.
41126         (FPE_INTOVF): Likewise.
41127         (FPE_FLTDIV): Likewise.
41128         (FPE_FLTOVF): Likewise.
41129         (FPE_FLTUND): Likewise.
41130         (FPE_FLTRES): Likewise.
41131         (FPE_FLTINV): Likewise.
41132         (FPE_FLTSUB): Likewise.
41133         (FPE_DECOVF): Likewise.
41134         (FPE_DECDIV): Likewise.
41135         (FPE_DECERR): Likewise.
41136         (FPE_INVASC): Likewise.
41137         (FPE_INVDEC): Likewise.
41138         (SEGV_MAPERR): Likewise.
41139         (SEGV_ACCERR): Likewise.
41140         (SEGV_PSTKOVF): Likewise.
41141         (BUS_ADRALN): Likewise.
41142         (BUS_ADRERR): Likewise.
41143         (BUS_OBJERR): Likewise.
41144         (BUS_MCEERR_AR): Likewise.
41145         (BUS_MCEERR_AO): Likewise.
41146         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41147         (TRAP_TRACE): Likewise.
41148         (TRAP_BRANCH): Likewise.
41149         (TRAP_HWBKPT): Likewise.
41150         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41151         __USE_XOPEN2K8].
41152         (CLD_KILLED): Likewise.
41153         (CLD_DUMPED): Likewise.
41154         (CLD_TRAPPED): Likewise.
41155         (CLD_STOPPED): Likewise.
41156         (CLD_CONTINUED): Likewise.
41157         (POLL_IN): Likewise.
41158         (POLL_OUT): Likewise.
41159         (POLL_MSG): Likewise.
41160         (POLL_ERR): Likewise.
41161         (POLL_PRI): Likewise.
41162         (POLL_HUP): Likewise.
41163         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
41164         (ILL_ILLOPN): Likewise.
41165         (ILL_ILLADR): Likewise.
41166         (ILL_ILLTRP): Likewise.
41167         (ILL_PRVOPC): Likewise.
41168         (ILL_PRVREG): Likewise.
41169         (ILL_COPROC): Likewise.
41170         (ILL_BADSTK): Likewise.
41171         (FPE_INTDIV): Likewise.
41172         (FPE_INTOVF): Likewise.
41173         (FPE_FLTDIV): Likewise.
41174         (FPE_FLTOVF): Likewise.
41175         (FPE_FLTUND): Likewise.
41176         (FPE_FLTRES): Likewise.
41177         (FPE_FLTINV): Likewise.
41178         (FPE_FLTSUB): Likewise.
41179         (SEGV_MAPERR): Likewise.
41180         (SEGV_ACCERR): Likewise.
41181         (BUS_ADRALN): Likewise.
41182         (BUS_ADRERR): Likewise.
41183         (BUS_OBJERR): Likewise.
41184         (BUS_MCEERR_AR): Likewise.
41185         (BUS_MCEERR_AO): Likewise.
41186         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41187         (TRAP_TRACE): Likewise.
41188         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41189         __USE_XOPEN2K8].
41190         (CLD_KILLED): Likewise.
41191         (CLD_DUMPED): Likewise.
41192         (CLD_TRAPPED): Likewise.
41193         (CLD_STOPPED): Likewise.
41194         (CLD_CONTINUED): Likewise.
41195         (POLL_IN): Likewise.
41196         (POLL_OUT): Likewise.
41197         (POLL_MSG): Likewise.
41198         (POLL_ERR): Likewise.
41199         (POLL_PRI): Likewise.
41200         (POLL_HUP): Likewise.
41201         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
41202         (ILL_ILLOPN): Likewise.
41203         (ILL_ILLADR): Likewise.
41204         (ILL_ILLTRP): Likewise.
41205         (ILL_PRVOPC): Likewise.
41206         (ILL_PRVREG): Likewise.
41207         (ILL_COPROC): Likewise.
41208         (ILL_BADSTK): Likewise.
41209         (FPE_INTDIV): Likewise.
41210         (FPE_INTOVF): Likewise.
41211         (FPE_FLTDIV): Likewise.
41212         (FPE_FLTOVF): Likewise.
41213         (FPE_FLTUND): Likewise.
41214         (FPE_FLTRES): Likewise.
41215         (FPE_FLTINV): Likewise.
41216         (FPE_FLTSUB): Likewise.
41217         (SEGV_MAPERR): Likewise.
41218         (SEGV_ACCERR): Likewise.
41219         (BUS_ADRALN): Likewise.
41220         (BUS_ADRERR): Likewise.
41221         (BUS_OBJERR): Likewise.
41222         (BUS_MCEERR_AR): Likewise.
41223         (BUS_MCEERR_AO): Likewise.
41224         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41225         (TRAP_TRACE): Likewise.
41226         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41227         __USE_XOPEN2K8].
41228         (CLD_KILLED): Likewise.
41229         (CLD_DUMPED): Likewise.
41230         (CLD_TRAPPED): Likewise.
41231         (CLD_STOPPED): Likewise.
41232         (CLD_CONTINUED): Likewise.
41233         (POLL_IN): Likewise.
41234         (POLL_OUT): Likewise.
41235         (POLL_MSG): Likewise.
41236         (POLL_ERR): Likewise.
41237         (POLL_PRI): Likewise.
41238         (POLL_HUP): Likewise.
41239         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
41240         (ILL_ILLOPN): Likewise.
41241         (ILL_ILLADR): Likewise.
41242         (ILL_ILLTRP): Likewise.
41243         (ILL_PRVOPC): Likewise.
41244         (ILL_PRVREG): Likewise.
41245         (ILL_COPROC): Likewise.
41246         (ILL_BADSTK): Likewise.
41247         (FPE_INTDIV): Likewise.
41248         (FPE_INTOVF): Likewise.
41249         (FPE_FLTDIV): Likewise.
41250         (FPE_FLTOVF): Likewise.
41251         (FPE_FLTUND): Likewise.
41252         (FPE_FLTRES): Likewise.
41253         (FPE_FLTINV): Likewise.
41254         (FPE_FLTSUB): Likewise.
41255         (SEGV_MAPERR): Likewise.
41256         (SEGV_ACCERR): Likewise.
41257         (BUS_ADRALN): Likewise.
41258         (BUS_ADRERR): Likewise.
41259         (BUS_OBJERR): Likewise.
41260         (BUS_MCEERR_AR): Likewise.
41261         (BUS_MCEERR_AO): Likewise.
41262         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41263         (TRAP_TRACE): Likewise.
41264         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41265         __USE_XOPEN2K8].
41266         (CLD_KILLED): Likewise.
41267         (CLD_DUMPED): Likewise.
41268         (CLD_TRAPPED): Likewise.
41269         (CLD_STOPPED): Likewise.
41270         (CLD_CONTINUED): Likewise.
41271         (POLL_IN): Likewise.
41272         (POLL_OUT): Likewise.
41273         (POLL_MSG): Likewise.
41274         (POLL_ERR): Likewise.
41275         (POLL_PRI): Likewise.
41276         (POLL_HUP): Likewise.
41277         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
41278         (ILL_ILLOPN): Likewise.
41279         (ILL_ILLADR): Likewise.
41280         (ILL_ILLTRP): Likewise.
41281         (ILL_PRVOPC): Likewise.
41282         (ILL_PRVREG): Likewise.
41283         (ILL_COPROC): Likewise.
41284         (ILL_BADSTK): Likewise.
41285         (ILL_DBLFLT): Likewise.
41286         (ILL_HARDWALL): Likewise.
41287         (FPE_INTDIV): Likewise.
41288         (FPE_INTOVF): Likewise.
41289         (FPE_FLTDIV): Likewise.
41290         (FPE_FLTOVF): Likewise.
41291         (FPE_FLTUND): Likewise.
41292         (FPE_FLTRES): Likewise.
41293         (FPE_FLTINV): Likewise.
41294         (FPE_FLTSUB): Likewise.
41295         (SEGV_MAPERR): Likewise.
41296         (SEGV_ACCERR): Likewise.
41297         (BUS_ADRALN): Likewise.
41298         (BUS_ADRERR): Likewise.
41299         (BUS_OBJERR): Likewise.
41300         (BUS_MCEERR_AR): Likewise.
41301         (BUS_MCEERR_AO): Likewise.
41302         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41303         (TRAP_TRACE): Likewise.
41304         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41305         __USE_XOPEN2K8].
41306         (CLD_KILLED): Likewise.
41307         (CLD_DUMPED): Likewise.
41308         (CLD_TRAPPED): Likewise.
41309         (CLD_STOPPED): Likewise.
41310         (CLD_CONTINUED): Likewise.
41311         (POLL_IN): Likewise.
41312         (POLL_OUT): Likewise.
41313         (POLL_MSG): Likewise.
41314         (POLL_ERR): Likewise.
41315         (POLL_PRI): Likewise.
41316         (POLL_HUP): Likewise.
41317         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41318         (ILL_ILLOPN): Likewise.
41319         (ILL_ILLADR): Likewise.
41320         (ILL_ILLTRP): Likewise.
41321         (ILL_PRVOPC): Likewise.
41322         (ILL_PRVREG): Likewise.
41323         (ILL_COPROC): Likewise.
41324         (ILL_BADSTK): Likewise.
41325         (FPE_INTDIV): Likewise.
41326         (FPE_INTOVF): Likewise.
41327         (FPE_FLTDIV): Likewise.
41328         (FPE_FLTOVF): Likewise.
41329         (FPE_FLTUND): Likewise.
41330         (FPE_FLTRES): Likewise.
41331         (FPE_FLTINV): Likewise.
41332         (FPE_FLTSUB): Likewise.
41333         (SEGV_MAPERR): Likewise.
41334         (SEGV_ACCERR): Likewise.
41335         (BUS_ADRALN): Likewise.
41336         (BUS_ADRERR): Likewise.
41337         (BUS_OBJERR): Likewise.
41338         (BUS_MCEERR_AR): Likewise.
41339         (BUS_MCEERR_AO): Likewise.
41340         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41341         (TRAP_TRACE): Likewise.
41342         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41343         __USE_XOPEN2K8].
41344         (CLD_KILLED): Likewise.
41345         (CLD_DUMPED): Likewise.
41346         (CLD_TRAPPED): Likewise.
41347         (CLD_STOPPED): Likewise.
41348         (CLD_CONTINUED): Likewise.
41349         (POLL_IN): Likewise.
41350         (POLL_OUT): Likewise.
41351         (POLL_MSG): Likewise.
41352         (POLL_ERR): Likewise.
41353         (POLL_PRI): Likewise.
41354         (POLL_HUP): Likewise.
41355         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41356         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41358         [BZ #16670]
41359         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41360         before #include of <time.h>.
41361         [!__USE_XOPEN2K] (__need_timespec): Likewise.
41362         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41363         (test-xfail-UNIX98/sched.h/conform): Likewise.
41365 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41367         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41368         error absence of trapping exception support.
41369         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41371 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41373         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41374         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41375         * timezone/Makefile (testdata): Move definition above include of
41376         Rules.
41377         (test-zones): New variable.
41378         (tests-special): Add zone files.
41379         (build-testdata): Use $(evaluate-test).
41381         * elf/Makefile (tests-special): Rename tests to end with .out.
41382         ($(objpfx)noload-mem): Likewise.
41383         ($(objpfx)tst-leaks1-mem): Likewise.
41384         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41385         * iconv/Makefile (xtests-special): Change test-iconvconfig to
41386         $(objpfx)test-iconvconfig.out.
41387         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
41388         set -e inside subshell and redirect output to file.
41389         * iconvdata/Makefile (generated): Rename tests to end with .out.
41390         Correct type.
41391         (tests-special): Rename tests to end with .out.
41392         ($(objpfx)mtrace-tst-loading): Likewise.
41393         * intl/Makefile (generated): Likewise.
41394         (tests-special): Likewise.
41395         ($(objpfx)mtrace-tst-gettext): Likewise.
41396         * misc/Makefile (generated): Likewise.
41397         (tests-special): Likewise.
41398         ($(objpfx)tst-error1-mem): Likewise.
41399         * nptl/Makefile (tests-special): Likewise.
41400         ($(objpfx)tst-stack3-mem): Likewise.
41401         (generated): Likewise.
41402         * posix/Makefile (generated): Likewise.
41403         (tests-special): Likewise.
41404         (xtests-special): Likewise.
41405         ($(objpfx)tst-fnmatch-mem): Likewise.
41406         ($(objpfx)bug-regex2-mem): Likewise.
41407         ($(objpfx)bug-regex14-mem): Likewise.
41408         ($(objpfx)bug-regex21-mem): Likewise.
41409         ($(objpfx)bug-regex31-mem): Likewise.
41410         ($(objpfx)tst-vfork3-mem): Likewise.
41411         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41412         ($(objpfx)tst-pcre-mem): Likewise.
41413         ($(objpfx)tst-boost-mem): Likewise.
41414         ($(objpfx)bug-ga2-mem): Likewise.
41415         ($(objpfx)bug-glob2-mem): Likewise.
41416         * resolv/Makefile (generate): Likewise.
41417         (tests-special): Likewise.
41418         (xtests-special): Likewise.
41419         (generated): Likewise.
41420         ($(objpfx)mtrace-tst-leaks): Likewise.
41421         ($(objpfx)mtrace-tst-leaks2): Likewise.
41423         * scripts/merge-test-results.sh: New file.
41424         * Makefile (tests-special-notdir): New variable.
41425         (tests): Run merge-test-results.sh.
41426         (xtests): Likewise.
41427         * Rules (tests-special-notdir): New variable.
41428         (xtests-special-notdir): Likewise.
41429         (tests): Run merge-test-results.sh
41430         (xtests): Likewise.
41432         * Makeconfig (test-xfail-name): New variable.
41433         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
41434         compute variable name for expected failures.
41435         * conform/Makefile (conformtest-headers-data): New variable.
41436         (conformtest-standards): Likewise.
41437         (conformtest-headers-ISO): Likewise.
41438         (conformtest-headers-ISO99): Likewise.
41439         (conformtest-headers-ISO11): Likewise.
41440         (conformtest-headers-POSIX): Likewise.
41441         (conformtest-headers-XPG3): Likewise.
41442         (conformtest-headers-XPG4): Likewise.
41443         (conformtest-headers-UNIX98): Likewise.
41444         (conformtest-headers-XOPEN2K): Likewise.
41445         (conformtest-headers-POSIX2008): Likewise.
41446         (conformtest-headers-XOPEN2K8): Likewise.
41447         (conformtest-header-list-base): Likewise.
41448         (conformtest-header-list-tests): Likewise.
41449         (conformtest-header-base): Likewise.
41450         (conformtest-header-tests): Likewise.
41451         (tests-special): Add $(conformtest-header-list-tests).  If
41452         [$(fast-check) && !$(cross-compiling)], add
41453         $(conformtest-header-tests) instead of
41454         $(objpfx)run-conformtest.out.
41455         (generated): Add $(conformtest-header-list-base).  If
41456         [$(fast-check) && !$(cross-compiling)], add
41457         $(conformtest-header-base).  Remove previous setting.
41458         ($(conformtest-header-list-tests)): New target.
41459         (test-xfail-run-conformtest): Remove variable.
41460         ($(objpfx)run-conformtest.out): Remove target.
41461         (test-xfail-ISO11/complex.h/conform): New variable.
41462         (test-xfail-ISO11/stdalign.h/conform): Likewise.
41463         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
41464         (test-xfail-XPG3/varargs.h/conform): Likewise.
41465         (test-xfail-XPG4/varargs.h/conform): Likewise.
41466         (test-xfail-UNIX98/varargs.h/conform): Likewise.
41467         (test-xfail-XPG4/ndbm.h/conform): Likewise.
41468         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
41469         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
41470         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
41471         (test-xfail-XPG3/fcntl.h/conform): Likewise.
41472         (test-xfail-XPG3/ftw.h/conform): Likewise.
41473         (test-xfail-XPG3/grp.h/conform): Likewise.
41474         (test-xfail-XPG3/langinfo.h/conform): Likewise.
41475         (test-xfail-XPG3/limits.h/conform): Likewise.
41476         (test-xfail-XPG3/pwd.h/conform): Likewise.
41477         (test-xfail-XPG3/search.h/conform): Likewise.
41478         (test-xfail-XPG3/signal.h/conform): Likewise.
41479         (test-xfail-XPG3/stdio.h/conform): Likewise.
41480         (test-xfail-XPG3/stdlib.h/conform): Likewise.
41481         (test-xfail-XPG3/string.h/conform): Likewise.
41482         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
41483         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
41484         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
41485         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
41486         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
41487         (test-xfail-XPG3/sys/types.h/conform): Likewise.
41488         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
41489         (test-xfail-XPG3/termios.h/conform): Likewise.
41490         (test-xfail-XPG3/time.h/conform): Likewise.
41491         (test-xfail-XPG3/unistd.h/conform): Likewise.
41492         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
41493         (test-xfail-XPG4/fcntl.h/conform): Likewise.
41494         (test-xfail-XPG4/langinfo.h/conform): Likewise.
41495         (test-xfail-XPG4/netdb.h/conform): Likewise.
41496         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
41497         (test-xfail-XPG4/signal.h/conform): Likewise.
41498         (test-xfail-XPG4/stdio.h/conform): Likewise.
41499         (test-xfail-XPG4/stdlib.h/conform): Likewise.
41500         (test-xfail-XPG4/stropts.h/conform): Likewise.
41501         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
41502         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
41503         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
41504         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
41505         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
41506         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
41507         (test-xfail-XPG4/sys/time.h/conform): Likewise.
41508         (test-xfail-XPG4/sys/types.h/conform): Likewise.
41509         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
41510         (test-xfail-XPG4/termios.h/conform): Likewise.
41511         (test-xfail-XPG4/ucontext.h/conform): Likewise.
41512         (test-xfail-XPG4/unistd.h/conform): Likewise.
41513         (test-xfail-XPG4/utmpx.h/conform): Likewise.
41514         (test-xfail-POSIX/sched.h/conform): Likewise.
41515         (test-xfail-POSIX/signal.h/conform): Likewise.
41516         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41517         (test-xfail-POSIX/tar.h/conform): Likewise.
41518         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
41519         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
41520         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
41521         (test-xfail-UNIX98/netdb.h/conform): Likewise.
41522         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
41523         (test-xfail-UNIX98/sched.h/conform): Likewise.
41524         (test-xfail-UNIX98/signal.h/conform): Likewise.
41525         (test-xfail-UNIX98/stdio.h/conform): Likewise.
41526         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
41527         (test-xfail-UNIX98/stropts.h/conform): Likewise.
41528         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
41529         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
41530         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
41531         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
41532         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
41533         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
41534         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
41535         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
41536         (test-xfail-UNIX98/unistd.h/conform): Likewise.
41537         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
41538         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
41539         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
41540         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
41541         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
41542         (test-xfail-XOPEN2K/math.h/conform): Likewise.
41543         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
41544         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
41545         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
41546         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
41547         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
41548         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
41549         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
41550         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
41551         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
41552         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
41553         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
41554         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
41555         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
41556         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
41557         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
41558         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
41559         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
41560         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
41561         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
41562         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
41563         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
41564         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
41565         (test-xfail-POSIX2008/signal.h/conform): Likewise.
41566         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
41567         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
41568         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
41569         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
41570         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
41571         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
41572         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
41573         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
41574         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
41575         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
41576         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
41577         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
41578         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
41579         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
41580         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
41581         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
41582         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
41583         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
41584         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
41585         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
41586         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
41587         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
41588         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
41589         (conformtest-cc-flags): Likewise.
41590         ($(conformtest-header-tests): New target.
41591         * conform/check-header-lists.sh: New file.
41592         * conform/run-conformtest.sh: Remove.
41594         * conform/conformtest.pl: Allow ' and \ in values given for
41595         constants.
41596         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
41597         inclusion.
41598         [POSIX] (sys/types.h): Likewise.
41599         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
41600         inclusion.
41601         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
41602         inclusion.
41603         * conform/data/signal.h-data (SIGIO): Remove expectation.
41604         [XPG3] (SIGBUS): Do not expect.
41605         [POSIX || XPG3] (SIGPOLL): Likewise.
41606         [POSIX || XPG3] (SIGPROF): Likewise.
41607         [POSIX || XPG3] (SIGSYS): Likewise.
41608         [XPG3] (SIGTRAP): Likewise.
41609         [POSIX || XPG3] (SIGURG): Likewise.
41610         [POSIX || XPG3] (SIGVTALRM): Likewise.
41611         [POSIX || XPG3] (SIGXCPU): Likewise.
41612         [POSIX || XPG3] (SIGXFSZ): Likewise.
41613         [POSIX] (SA_SIGINFO): Expect.
41614         [XPG3] (siginfo_t): Do not expect type or contents.
41615         [POSIX] (si_pid): Do not expect element.
41616         [POSIX] (si_uid): Likewise.
41617         [POSIX] (si_addr): Likewise.
41618         [POSIX] (si_status): Likewise.
41619         [POSIX] (si_band): Likewise.
41620         [XPG4] (si_value): Likewise.
41621         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
41622         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
41623         [POSIX || XPG3] (ILL_ILLADR): Likewise.
41624         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
41625         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
41626         [POSIX || XPG3] (ILL_PRVREG): Likewise.
41627         [POSIX || XPG3] (ILL_COPROC): Likewise.
41628         [POSIX || XPG3] (ILL_BADSTK): Likewise.
41629         [POSIX || XPG3] (FPE_INTDIV): Likewise.
41630         [POSIX || XPG3] (FPE_INTOVF): Likewise.
41631         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
41632         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
41633         [POSIX || XPG3] (FPE_FLTUND): Likewise.
41634         [POSIX || XPG3] (FPE_FLTRES): Likewise.
41635         [POSIX || XPG3] (FPE_FLTINV): Likewise.
41636         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
41637         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
41638         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
41639         [POSIX || XPG3] (BUS_ADRALN): Likewise.
41640         [POSIX || XPG3] (BUS_ADRERR): Likewise.
41641         [POSIX || XPG3] (BUS_OBJERR): Likewise.
41642         [POSIX || XPG3] (CLD_EXITED): Likewise.
41643         [POSIX || XPG3] (CLD_KILLED): Likewise.
41644         [POSIX || XPG3] (CLD_DUMPED): Likewise.
41645         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
41646         [POSIX || XPG3] (CLD_STOPPED): Likewise.
41647         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
41648         [POSIX || XPG3] (POLL_IN): Likewise.
41649         [POSIX || XPG3] (POLL_OUT): Likewise.
41650         [POSIX || XPG3] (POLL_MSG): Likewise.
41651         [POSIX || XPG3] (POLL_ERR): Likewise.
41652         [POSIX || XPG3] (POLL_PRI): Likewise.
41653         [POSIX || XPG3] (POLL_HUP): Likewise.
41654         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
41655         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
41656         (SIG*): Do not allow.
41657         [XPG3] (si_*): Likewise.
41658         [XPG3] (SI_*): Likewise.
41659         [XPG3 || XPG4] (sigev_*): Likewise.
41660         [XPG3 || XPG4] (SIGEV_*): Likewise.
41661         [XPG3 || XPG4] (sival_*): Likewise.
41662         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
41663         [POSIX || XPG3] (BUS_*): Likewise.
41664         [POSIX || XPG3] (CLD_*): Likewise.
41665         [POSIX || XPG3] (FPE_*): Likewise.
41666         [POSIX || XPG3] (ILL_*): Likewise.
41667         [POSIX || XPG3] (POLL_*): Likewise.
41668         [POSIX || XPG3] (SEGV_*): Likewise.
41669         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
41670         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
41671         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
41672         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
41673         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
41674         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
41675         Specify type and value.
41676         (TVERSLEN): Likewise.
41677         (REGTYPE): Likewise.
41678         (AREGTYPE): Likewise.
41679         (LNKTYPE): Likewise.
41680         (SYMTYPE): Likewise.
41681         (CHRTYPE): Likewise.
41682         (BLKTYPE): Likewise.
41683         (DIRTYPE): Likewise.
41684         (FIFOTYPE): Likewise.
41685         (CONTTYPE): Likewise.
41686         (TSUID): Likewise.
41687         (TSGID): Likewise.
41688         (TSVTX): Likewise.
41689         (TUREAD): Likewise.
41690         (TUWRITE): Likewise.
41691         (TUEXEC): Likewise.
41692         (TGREAD): Likewise.
41693         (TGWRITE): Likewise.
41694         (TGEXEC): Likewise.
41695         (TOREAD): Likewise.
41696         (TOWRITE): Likewise.
41697         (TOEXEC): Likewise.
41698         [POSIX] (TSVTX): Expect constant.
41700 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
41702         * Makefile (tests): Change dependencies to ....
41703         (tests-special): ... additions to this variable.
41704         (tests): Depend on $(tests-special).
41705         * Makerules (check-abi-list): New variable.
41706         (check-abi): Depend on $(check-abi-list).
41707         [$(subdir) = elf] (tests-special): Add
41708         $(objpfx)check-abi-libc.out.
41709         [$(build-shared) = yes && subdir] (tests-special): Add
41710         $(check-abi-list).
41711         [$(build-shared) = yes && subdir] (tests): Do not depend on
41712         check-abi.
41713         * Rules (tests): Depend on $(tests-special).
41714         (xtests): Depend on $(xtests-special).
41715         * catgets/Makefile (tests): Change dependencies to ....
41716         (tests-special): ... additions to this variable.
41717         * conform/Makefile (tests): Change dependencies to ....
41718         (tests-special): ... additions to this variable.
41719         * elf/Makefile (tests): Change dependencies to ....
41720         (tests-special): ... additions to this variable.
41721         * grp/Makefile (tests): Change dependencies to ....
41722         (tests-special): ... additions to this variable.
41723         * iconv/Makefile (xtests): Change dependencies to ....
41724         (xtests-special): ... additions to this variable.
41725         * iconvdata/Makefile (tests): Change dependencies to ....
41726         (tests-special): ... additions to this variable.
41727         * intl/Makefile (tests): Change dependencies to ....
41728         (tests-special): ... additions to this variable.  Also add
41729         $(objpfx)tst-gettext.out.
41730         * io/Makefile (tests): Change dependencies to ....
41731         (tests-special): ... additions to this variable.
41732         * libio/Makefile (tests): Change dependencies to ....
41733         (tests-special): ... additions to this variable.
41734         * malloc/Makefile (tests): Change dependencies to ....
41735         (tests-special): ... additions to this variable.
41736         * misc/Makefile (tests): Change dependencies to ....
41737         (tests-special): ... additions to this variable.
41738         * nptl/Makefile (tests): Change dependencies to ....
41739         (tests-special): ... additions to this variable.
41740         * nptl_db/Makefile (tests): Change dependencies to ....
41741         (tests-special): ... additions to this variable.
41742         * posix/Makefile (tests): Change dependencies to ....
41743         (tests-special): ... additions to this variable.
41744         (xtests): Change dependencies to ....
41745         (xtests-special): ... additions to this variable.
41746         * resolv/Makefile (tests): Change dependencies to ....
41747         (tests-special): ... additions to this variable.
41748         (xtests): Change dependencies to ....
41749         (xtests-special): ... additions to this variable.
41750         * stdio-common/Makefile (tests): Change dependencies to ....
41751         (tests-special): ... additions to this variable.
41752         (do-tst-unbputc): Remove target.
41753         (do-tst-printf): Likewise.
41754         * stdlib/Makefile (tests): Change dependencies to ....
41755         (tests-special): ... additions to this variable.
41756         * string/Makefile (tests): Change dependencies to ....
41757         (tests-special): ... additions to this variable.
41758         * sysdeps/x86/Makefile (tests): Change dependencies to ....
41759         (tests-special): ... additions to this variable.
41761         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
41762         whole file.
41763         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
41764         whole file.
41765         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
41766         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
41768         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
41769         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
41770         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
41771         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
41772         * conform/data/libgen.h-data [XPG3]: Likewise.
41773         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
41774         * conform/data/ndbm.h-data [XPG3]: Likewise.
41775         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41776         * conform/data/netdb.h-data [XPG3]: Likewise.
41777         * conform/data/netinet/in.h-data [XPG3]: Likewise.
41778         * conform/data/poll.h-data [XPG3]: Likewise.
41779         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41780         * conform/data/strings.h-data [XPG3]: Likewise.
41781         * conform/data/stropts.h-data [XPG3]: Likewise.
41782         * conform/data/sys/mman.h-data [XPG3]: Likewise.
41783         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41784         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41785         Likewise.
41786         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41787         * conform/data/sys/time.h-data [XPG3]: Likewise.
41788         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41789         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41790         * conform/data/sys/un.h-data [XPG3]: Likewise.
41791         * conform/data/syslog.h-data [XPG3]: Likewise.
41792         * conform/data/ucontext.h-data [XPG3]: Likewise.
41793         * conform/data/utmpx.h-data [XPG3]: Likewise.
41794         * conform/data/varargs.h-data [UNIX98]: Enable file.
41796         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41798         * math/libm-test.inc (struct test_f_f_data): Move expected results
41799         into structure for each rounding mode.
41800         (struct test_ff_f_data): Likewise.
41801         (struct test_ff_f_data_nexttoward): Likewise.
41802         (struct test_fi_f_data): Likewise.
41803         (struct test_fl_f_data): Likewise.
41804         (struct test_if_f_data): Likewise.
41805         (struct test_fff_f_data): Likewise.
41806         (struct test_c_f_data): Likewise.
41807         (struct test_f_f1_data): Likewise.
41808         (struct test_fF_f1_data): Likewise.
41809         (struct test_ffI_f1_data): Likewise.
41810         (struct test_c_c_data): Likewise.
41811         (struct test_cc_c_data): Likewise.
41812         (struct test_f_i_data): Likewise.
41813         (struct test_ff_i_data): Likewise.
41814         (struct test_f_l_data): Likewise.
41815         (struct test_f_L_data): Likewise.
41816         (struct test_fFF_11_data): Likewise.
41817         (RM_): New macro.
41818         (RM_FE_DOWNWARD): Likewise.
41819         (RM_FE_TONEAREST): Likewise.
41820         (RM_FE_TOWARDZERO): Likewise.
41821         (RM_FE_UPWARD): Likewise.
41822         (RUN_TEST_LOOP_f_f): Update references to expected results.
41823         (RUN_TEST_LOOP_2_f): Likewise.
41824         (RUN_TEST_LOOP_fff_f): Likewise.
41825         (RUN_TEST_LOOP_c_f): Likewise.
41826         (RUN_TEST_LOOP_f_f1): Likewise.
41827         (RUN_TEST_LOOP_fF_f1): Likewise.
41828         (RUN_TEST_LOOP_fI_f1): Likewise.
41829         (RUN_TEST_LOOP_ffI_f1): Likewise.
41830         (RUN_TEST_LOOP_c_c): Likewise.
41831         (RUN_TEST_LOOP_cc_c): Likewise.
41832         (RUN_TEST_LOOP_f_i): Likewise.
41833         (RUN_TEST_LOOP_f_i_tg): Likewise.
41834         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41835         (RUN_TEST_LOOP_f_b): Likewise.
41836         (RUN_TEST_LOOP_f_b_tg): Likewise.
41837         (RUN_TEST_LOOP_f_l): Likewise.
41838         (RUN_TEST_LOOP_f_L): Likewise.
41839         (RUN_TEST_LOOP_fFF_11): Likewise.
41840         * math/gen-libm-test.pl (parse_args): Output four copies of
41841         expected results for each test.
41843         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41844         (__ASSUME_UTIMES): Remove.
41845         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41846         (__ASSUME_UTIMES): Likewise.
41848         * math/gen-auto-libm-tests.c: Update comment on output format.
41849         (output_for_one_input_case): Generate before-rounding and
41850         after-rounding information as conditions on output flags not
41851         floating-point format.
41852         * math/auto-libm-test-out: Regenerated.
41853         * math/gen-libm-test.pl (cond_value): New function.
41854         (or_cond_value): Use cond_value.
41855         (generate_testfile): Handle conditional exceptions.
41857 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41859         * math/libm-test.inc (max_valid_error): New variable.
41860         (init_max_error): Take new argument specifying whether function
41861         results are exactly determined.  Set max_valid_error and bound
41862         other variables for errors based on this argument.
41863         (set_max_error): Do not record results above max_valid_error.
41864         (check_float_internal): Only accept errors of up to 0.5ulps if
41865         also at most max_valid_error.
41866         (START): Take new argument EXACT and pass it to init_max_error.
41867         (acos_test): Update call to START.
41868         (acos_test_tonearest): Likewise.
41869         (acos_test_towardzero): Likewise.
41870         (acos_test_downward): Likewise.
41871         (acos_test_upward): Likewise.
41872         (acosh_test): Likewise.
41873         (asin_test): Likewise.
41874         (asin_test_tonearest): Likewise.
41875         (asin_test_towardzero): Likewise.
41876         (asin_test_downward): Likewise.
41877         (asin_test_upward): Likewise.
41878         (asinh_test): Likewise.
41879         (atan_test): Likewise.
41880         (atanh_test): Likewise.
41881         (atan2_test): Likewise.
41882         (cabs_test): Likewise.
41883         (cacos_test): Likewise.
41884         (cacosh_test): Likewise.
41885         (carg_test): Likewise.
41886         (casin_test): Likewise.
41887         (casinh_test): Likewise.
41888         (catan_test): Likewise.
41889         (catanh_test): Likewise.
41890         (cbrt_test): Likewise.
41891         (ccos_test): Likewise.
41892         (ccosh_test): Likewise.
41893         (ceil_test): Likewise.
41894         (cexp_test): Likewise.
41895         (cimag_test): Likewise.
41896         (clog_test): Likewise.
41897         (clog10_test): Likewise.
41898         (conj_test): Likewise.
41899         (copysign_test): Likewise.
41900         (cos_test): Likewise.
41901         (cos_test_tonearest): Likewise.
41902         (cos_test_towardzero): Likewise.
41903         (cos_test_downward): Likewise.
41904         (cos_test_upward): Likewise.
41905         (cosh_test): Likewise.
41906         (cosh_test_tonearest): Likewise.
41907         (cosh_test_towardzero): Likewise.
41908         (cosh_test_downward): Likewise.
41909         (cosh_test_upward): Likewise.
41910         (cpow_test): Likewise.
41911         (cproj_test): Likewise.
41912         (creal_test): Likewise.
41913         (csin_test): Likewise.
41914         (csinh_test): Likewise.
41915         (csqrt_test): Likewise.
41916         (ctan_test): Likewise.
41917         (ctan_test_tonearest): Likewise.
41918         (ctan_test_towardzero): Likewise.
41919         (ctan_test_downward): Likewise.
41920         (ctan_test_upward): Likewise.
41921         (ctanh_test): Likewise.
41922         (ctanh_test_tonearest): Likewise.
41923         (ctanh_test_towardzero): Likewise.
41924         (ctanh_test_downward): Likewise.
41925         (ctanh_test_upward): Likewise.
41926         (erf_test): Likewise.
41927         (erfc_test): Likewise.
41928         (exp_test): Likewise.
41929         (exp_test_tonearest): Likewise.
41930         (exp_test_towardzero): Likewise.
41931         (exp_test_downward): Likewise.
41932         (exp_test_upward): Likewise.
41933         (exp10_test): Likewise.
41934         (exp10_test_tonearest): Likewise.
41935         (exp10_test_towardzero): Likewise.
41936         (exp10_test_downward): Likewise.
41937         (exp10_test_upward): Likewise.
41938         (pow10_test): Likewise.
41939         (exp2_test): Likewise.
41940         (expm1_test): Likewise.
41941         (expm1_test_tonearest): Likewise.
41942         (expm1_test_towardzero): Likewise.
41943         (expm1_test_downward): Likewise.
41944         (expm1_test_upward): Likewise.
41945         (fabs_test): Likewise.
41946         (fdim_test): Likewise.
41947         (floor_test): Likewise.
41948         (fma_test): Likewise.
41949         (fma_test_towardzero): Likewise.
41950         (fma_test_downward): Likewise.
41951         (fma_test_upward): Likewise.
41952         (fmax_test): Likewise.
41953         (fmin_test): Likewise.
41954         (fmod_test): Likewise.
41955         (fpclassify_test): Likewise.
41956         (frexp_test): Likewise.
41957         (hypot_test): Likewise.
41958         (ilogb_test): Likewise.
41959         (isfinite_test): Likewise.
41960         (finite_test): Likewise.
41961         (isgreater_test): Likewise.
41962         (isgreaterequal_test): Likewise.
41963         (isinf_test): Likewise.
41964         (isless_test): Likewise.
41965         (islessequal_test): Likewise.
41966         (islessgreater_test): Likewise.
41967         (isnan_test): Likewise.
41968         (isnormal_test): Likewise.
41969         (issignaling_test): Likewise.
41970         (isunordered_test): Likewise.
41971         (j0_test): Likewise.
41972         (j1_test): Likewise.
41973         (jn_test): Likewise.
41974         (ldexp_test): Likewise.
41975         (lgamma_test): Likewise.
41976         (gamma_test): Likewise.
41977         (lrint_test): Likewise.
41978         (lrint_test_tonearest): Likewise.
41979         (lrint_test_towardzero): Likewise.
41980         (lrint_test_downward): Likewise.
41981         (lrint_test_upward): Likewise.
41982         (llrint_test): Likewise.
41983         (llrint_test_tonearest): Likewise.
41984         (llrint_test_towardzero): Likewise.
41985         (llrint_test_downward): Likewise.
41986         (llrint_test_upward): Likewise.
41987         (log_test): Likewise.
41988         (log10_test): Likewise.
41989         (log1p_test): Likewise.
41990         (log2_test): Likewise.
41991         (logb_test): Likewise.
41992         (logb_test_downward): Likewise.
41993         (lround_test): Likewise.
41994         (llround_test): Likewise.
41995         (modf_test): Likewise.
41996         (nearbyint_test): Likewise.
41997         (nextafter_test): Likewise.
41998         (nexttoward_test): Likewise.
41999         (pow_test): Likewise.
42000         (pow_test_tonearest): Likewise.
42001         (pow_test_towardzero): Likewise.
42002         (pow_test_downward): Likewise.
42003         (pow_test_upward): Likewise.
42004         (remainder_test): Likewise.
42005         (drem_test): Likewise.
42006         (remainder_test_tonearest): Likewise.
42007         (drem_test_tonearest): Likewise.
42008         (remainder_test_towardzero): Likewise.
42009         (drem_test_towardzero): Likewise.
42010         (remainder_test_downward): Likewise.
42011         (drem_test_downward): Likewise.
42012         (remainder_test_upward): Likewise.
42013         (drem_test_upward): Likewise.
42014         (remquo_test): Likewise.
42015         (rint_test): Likewise.
42016         (rint_test_tonearest): Likewise.
42017         (rint_test_towardzero): Likewise.
42018         (rint_test_downward): Likewise.
42019         (rint_test_upward): Likewise.
42020         (round_test): Likewise.
42021         (scalb_test): Likewise.
42022         (scalbn_test): Likewise.
42023         (scalbln_test): Likewise.
42024         (signbit_test): Likewise.
42025         (sin_test): Likewise.
42026         (sin_test_tonearest): Likewise.
42027         (sin_test_towardzero): Likewise.
42028         (sin_test_downward): Likewise.
42029         (sin_test_upward): Likewise.
42030         (sincos_test): Likewise.
42031         (sinh_test): Likewise.
42032         (sinh_test_tonearest): Likewise.
42033         (sinh_test_towardzero): Likewise.
42034         (sinh_test_downward): Likewise.
42035         (sinh_test_upward): Likewise.
42036         (sqrt_test): Likewise.
42037         (sqrt_test_tonearest): Likewise.
42038         (sqrt_test_towardzero): Likewise.
42039         (sqrt_test_downward): Likewise.
42040         (sqrt_test_upward): Likewise.
42041         (tan_test): Likewise.
42042         (tan_test_tonearest): Likewise.
42043         (tan_test_towardzero): Likewise.
42044         (tan_test_downward): Likewise.
42045         (tan_test_upward): Likewise.
42046         (tanh_test): Likewise.
42047         (tgamma_test): Likewise.
42048         (trunc_test): Likewise.
42049         (y0_test): Likewise.
42050         (y1_test): Likewise.
42051         (yn_test): Likewise.
42052         (significand_test): Likewise.
42054         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42055         individual tests in comment.
42056         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42057         (prev_max_error): New variable.
42058         (prev_real_max_error): Likewise.
42059         (prev_imag_max_error): Likewise.
42060         (compare_ulp_data): Don't refer to test names in comment.
42061         (find_test_ulps): Remove function.
42062         (find_function_ulps): Likewise.
42063         (find_complex_function_ulps): Likewise.
42064         (init_max_error): Take function name as argument.  Look up ulps
42065         for that function.
42066         (print_ulps): Remove function.
42067         (print_max_error): Use prev_max_error instead of calling
42068         find_function_ulps.
42069         (print_complex_max_error): Use prev_real_max_error and
42070         prev_imag_max_error instead of calling find_complex_function_ulps.
42071         (check_float_internal): Take max_ulp parameter instead of calling
42072         find_test_ulps.  Don't call print_ulps.
42073         (check_float): Update call to check_float_internal.
42074         (check_complex): Update calls to check_float_internal.
42075         (START): Pass argument to init_max_error.
42076         * math/gen-libm-test.pl (%results): Don't include "kind"
42077         information.
42078         (parse_ulps): Don't handle ulps of individual tests.
42079         (print_ulps_file): Likewise.
42080         (output_ulps): Likewise.
42081         * math/README.libm-test: Update.
42082         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42083         individual tests.
42084         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42085         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42086         * sysdeps/arm/libm-test-ulps: Likewise.
42087         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42088         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42089         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42090         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42091         * sysdeps/microblaze/libm-test-ulps: Likewise.
42092         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42093         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42094         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42095         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42096         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42097         * sysdeps/sh/libm-test-ulps: Likewise.
42098         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42099         * sysdeps/tile/libm-test-ulps: Likewise.
42100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42102 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42104         * math/libm-test.inc (print_complex_max_error): Check separately
42105         whether real and imaginary errors are within allowed range and
42106         pass 0 to print_complex_function_ulps instead of value within
42107         allowed range.
42109 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42111         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42112         formatting.
42113         (get_handles_fopen): Likewise.
42114         (do_write_test): Likewise.
42116         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42118         * libio/fileops.c (do_ftell): Use cached offset when
42119         available.
42120         * libio/iofwide.c (do_ftell_wide): Likewise.
42121         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42122         _IO_file_attach.
42123         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42125         [BZ #16532]
42126         * libio/libioP.h (get_file_offset): New function.
42127         * libio/fileops.c (get_file_offset): Likewise.
42128         (do_ftell): Likewise.
42129         (_IO_new_file_seekoff): Split out ftell logic.
42130         * libio/wfileops.c (do_ftell_wide): Likewise.
42131         (_IO_wfile_seekoff): Split out ftell logic.
42132         * libio/tst-ftell-active-handler.c: New test case.
42133         * libio/Makefile (tests): Add it.
42135 2014-03-03  Roland McGrath  <roland@hack.frob.com>
42137         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
42138         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
42140 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42142         [BZ #16639]
42143         * nscd/connections.c (nscd_init): Call do_exit.
42144         (start_threads): Call do_exit and notify_parent.
42145         (begin_drop_privileges): Call do_exit.
42146         (finish_drop_privileges): Likewise.
42147         * nscd/selinux.c (preserve_capabilities): Likewise.
42148         (install_real_capabilities): Likewise.
42149         (nscd_selinux_enabled): Likewise.
42150         (avc_create_thread): Likewise.
42151         (avc_alloc_lock): Likewise.
42152         (nscd_avc_init): Likewise.
42153         * nscd/nscd.c (parent_fd): New static variable.
42154         (main): Create a pipe between parent and child processes.
42155         Skip closing parent_fd.
42156         (monitor_child): New function.
42157         (do_exit): Likewise.
42158         (notify_parent): Likewise.
42159         * nscd/nscd.h (notify_parent): Likewise.
42160         (do_exit): Likewise.
42162 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
42164         * malloc/malloc.c (__libc_calloc): Revert last change.
42166 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42170 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42172         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
42173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
42174         implementation.
42175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42176         (__libc_ifunc_impl_list): Likewise.
42177         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
42178         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
42179         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
42180         * string/strrchr.c: Define STRRCHR.
42182 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
42184         * benchtest/bench-strtok.c (simple_strtok): Delete.
42185         (strtok_string): Use as benchmark.
42186         * string/strtok (STRTOK): New macro.
42188 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
42190         * manual/threads.texi: Add header and standard comments to all
42191         functions.
42193         * elf/dl-lookup.c (check_match): New function.
42194         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
42195         (do_lookup_x): Remove nested function check_match. Use non-nested
42196         function check_match.
42198 2014-02-28  Roland McGrath  <roland@hack.frob.com>
42200         * csu/Makefile (generated, before-compile): Use += rather than =.
42201         * catgets/Makefile (generated, generated-dirs): Likewise.
42202         * debug/Makefile (generated): Likewise.
42203         * dlfcn/Makefile (generated): Likewise.
42204         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
42205         * iconvdata/Makefile (before-compile, generated): Likewise.
42206         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
42207         * libio/Makefile (generated): Likewise.
42208         * malloc/Makefile (generated): Likewise.
42209         * manual/Makefile (generated, generated-dirs): Likewise.
42210         * misc/Makefile (generated): Likewise.
42211         * posix/Makefile (generated): Likewise.
42212         * resolv/Makefile (generated): Likewise.
42213         * sunrpc/Makefile (generated, generated-dirs): Likewise.
42214         * timezone/Makefile (generated, generated-dirs): Likewise.
42216         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
42218 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42221         power8 implementation.
42222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
42223         file: POWER8 llround ifunc implementation.
42224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
42225         (__lllround): Add POWER8 implementation.
42226         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
42227         POWER8 llround implementation.
42229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
42230         power8 implementation.
42231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
42232         file: POWER8 llrint ifunc implementation.
42233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
42234         Add POWER8 implementation.
42235         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
42236         POWER8 llrint implementation.
42238         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
42239         power8 implementation.
42240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
42241         file: POWER8 finite ifunc implementation.
42242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
42243         Add POWER8 implementation.
42244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
42245         Likewise.
42246         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
42247         POWER8 finite implementation.
42248         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
42250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
42251         power8 implementation.
42252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
42253         file: POWER8 isinf ifunc implementation.
42254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
42255         POWER8 implementation.
42256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
42257         Likewise.
42258         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
42259         isinf implementation.
42260         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
42262         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
42263         (INIT_ARCH): Add hwcap2 initialization.
42264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42265         power8 implementation.
42266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
42267         file: POWER8 isnan ifunc implementation.
42268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
42269         POWER8 implementation.
42270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
42271         Likewise.
42272         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
42273         isnan implementation.
42274         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
42276 2014-02-27  Joey Ye  <joey.ye@arm.com>
42278         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42279         (_FP_NANFRAC_Q): Set to zero.
42281 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42283         [BZ #16623]
42284         * math/auto-libm-test-in: New test inputs.
42285         * math/auto-libm-test-out: Regenerate.
42286         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
42287         and DA.
42288         (__cos): Likewise.
42289         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42291 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
42293         * scripts/evaluate-test.sh: Take new argument indicating whether
42294         failure is expected.
42295         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
42296         indicating whether failure is expected.
42297         * conform/Makefile (test-xfail-run-conformtest): New variable.
42298         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
42299         level.
42300         * posix/Makefile (test-xfail-annexc): New variable.
42301         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
42303 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
42305         * argp/Makefile: Include Makeconfig immediately after defining
42306         subdir.
42307         * assert/Makefile: Likewise.
42308         * benchtests/Makefile: Likewise.
42309         * catgets/Makefile: Likewise.
42310         * conform/Makefile: Likewise.
42311         * crypt/Makefile: Likewise.
42312         * csu/Makefile: Likewise.
42313         (all): Remove target.
42314         * ctype/Makefile: Include Makeconfig immediately after defining
42315         subdir.
42316         * debug/Makefile: Likewise.
42317         * dirent/Makefile: Likewise.
42318         * dlfcn/Makefile: Likewise.
42319         * gmon/Makefile: Likewise.
42320         * gnulib/Makefile: Likewise.
42321         * grp/Makefile: Likewise.
42322         * gshadow/Makefile: Likewise.
42323         * hesiod/Makefile: Likewise.
42324         * hurd/Makefile: Likewise.
42325         (all): Remove target.
42326         * iconvdata/Makefile: Include Makeconfig immediately after
42327         defining subdir.
42328         * inet/Makefile: Likewise.
42329         * intl/Makefile: Likewise.
42330         * io/Makefile: Likewise.
42331         * libio/Makefile: Likewise.
42332         (all): Remove target.
42333         * locale/Makefile: Include Makeconfig immediately after defining
42334         subdir.
42335         * login/Makefile: Likewise.
42336         * mach/Makefile: Likewise.
42337         (all): Remove target.
42338         * malloc/Makefile: Include Makeconfig immediately after defining
42339         subdir.
42340         (all): Remove target.
42341         * manual/Makefile: Include Makeconfig immediately after defining
42342         subdir.
42343         * math/Makefile: Likewise.
42344         * misc/Makefile: Likewise.
42345         * nis/Makefile: Likewise.
42346         * nss/Makefile: Likewise.
42347         * po/Makefile: Likewise.
42348         (all): Remove target.
42349         * posix/Makefile: Include Makeconfig immediately after defining
42350         subdir.
42351         * pwd/Makefile: Likewise.
42352         * resolv/Makefile: Likewise.
42353         * resource/Makefile: Likewise.
42354         * rt/Makefile: Likewise.
42355         * setjmp/Makefile: Likewise.
42356         * shadow/Makefile: Likewise.
42357         * signal/Makefile: Likewise.
42358         * socket/Makefile: Likewise.
42359         * soft-fp/Makefile: Likewise.
42360         * stdio-common/Makefile: Likewise.
42361         * stdlib/Makefile: Likewise.
42362         * streams/Makefile: Likewise.
42363         * string/Makefile: Likewise.
42364         * sunrpc/Makefile: Likewise.
42365         (all): Remove target.
42366         * sysvipc/Makefile: Include Makeconfig immediately after defining
42367         subdir.
42368         * termios/Makefile: Likewise.
42369         * time/Makefile: Likewise.
42370         * timezone/Makefile: Likewise.
42371         (all): Remove target.
42372         * wcsmbs/Makefile: Include Makeconfig immediately after defining
42373         subdir.
42374         * wctype/Makefile: Likewise.
42376 2014-02-26  Steve Ellcey  <sellcey@mips.com>
42378         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42379         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42380         (libc_feholdexcept_setround_mips): Ditto.
42381         (libc_feholdsetround): New.
42382         (libc_feholdsetroundf): New.
42383         (libc_feholdsetroundl): New.
42384         (libc_feupdateenv_test_mips): New.
42385         (libc_feupdateenv_test): New.
42386         (libc_feupdateenv_testf): New.
42387         (libc_feupdateenv_testl): New.
42388         (libc_feresetround): New.
42389         (libc_feresetroundf): New.
42390         (libc_feresetroundl): New.
42391         (libc_fetestexcept_mips): New.
42392         (libc_fetestexcept): New.
42393         (libc_fetestexceptf): New.
42394         (libc_fetestexceptl): New.
42395         (HAVE_RM_CTX): New.
42396         (libc_feholdexcept_setround_mips_ctx): New.
42397         (libc_feholdexcept_setround_ctx): New.
42398         (libc_feholdexcept_setroundf_ctx): New.
42399         (libc_feholdexcept_setroundl_ctx): New.
42400         (libc_fesetenv_mips_ctx): New.
42401         (libc_fesetenv_ctx): New.
42402         (libc_fesetenv_ctxf): New.
42403         (libc_fesetenv_ctxl): New.
42404         (libc_feupdateenv_mips_ctx): New.
42405         (libc_feupdateenv_ctx): New.
42406         (libc_feupdateenvf_ctx): New.
42407         (libc_feupdateenvl_ctx): New.
42408         (libc_feholdsetround_mips_ctx): New.
42409         (libc_feholdsetround_ctx): New.
42410         (libc_feholdsetroundf_ctx): New.
42411         (libc_feholdsetroundl_ctx): New.
42412         (libc_feresetround_mips_ctx): New.
42413         (libc_feresetround_ctx): New.
42414         (libc_feresetroundf_ctx): New.
42415         (libc_feresetroundl_ctx): New.
42417 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
42419         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
42421         * manual/ipc.texi: New file.
42422         * manual/Makefile (chapters): Add ipc.
42423         * manual/job.texi: Add "Inter-Process Communication" to next.
42424         * manual/process.texi: Add "Inter-Process Communication" to prev.
42426 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42430 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
42432         * malloc/malloc.c (__libc_calloc): Simplify implementation.
42434         * manual/arith.texi: Fix spaces after sentences.
42435         * manual/charset.texi: Likewise.
42436         * manual/errno.texi: Likewise.
42437         * manual/install.texi: Likewise.
42438         * manual/llio.texi: Likewise.
42439         * manual/locale.texi: Likewise.
42440         * manual/maint.texi: Likewise.
42441         * manual/math.texi: Likewise.
42442         * manual/memory.texi: Likewise.
42443         * manual/message.texi: Likewise.
42444         * manual/probes.texi: Likewise.
42445         * manual/resource.texi: Likewise.
42446         * manual/signal.texi: Likewise.
42447         * manual/socket.texi: Likewise.
42448         * manual/stdio.texi: Likewise.
42449         * manual/string.texi: Likewise.
42450         * manual/time.texi: Likewise.
42451         * manual/users.texi: Likewise.
42453 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
42455         [BZ #16632]
42456         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
42457         _DEFAULT_SOURCE is defined.
42459 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
42460             Carlos O'Donell  <carlos@redhat.com>
42462         [BZ #16613]
42463         * elf/dl-tls.c (_dl_count_modids): New function.
42464         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
42465         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
42466         audit library and increment generation counter.
42467         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
42468         * elf/tst-audit9.c: New file.
42469         * elf/tst-auditmod9a.c: New file.
42470         * elf/tst-auditmod9b.c: New file.
42471         * elf/Makefile: Add rules to build and run tst-audit9.
42473 2014-02-25  Florian Weimer  <fweimer@redhat.com>
42475         [BZ #15347]
42476         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
42478 2014-02-25  Will Newton  <will.newton@linaro.org>
42480         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
42481         (__longjmp): Restore sp and lr before restoring callee
42482         saved registers.  Add longjmp and longjmp_target
42483         SystemTap probe point.
42484         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
42485         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
42486         Define to zero to match jmpbuf layout.
42487         * sysdeps/arm/setjmp.S: Include stap-probe.h.
42488         (__sigsetjmp): Save sp and lr before saving callee
42489         saved registers.  Add setjmp SystemTap probe point.
42491 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
42493         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42495 2014-02-24  Andreas Schwab  <schwab@suse.de>
42497         [BZ #15804]
42498         * elf/pldd.c (wait_for_ptrace_stop): New function.
42499         (main): Call it after attaching.
42501 2014-02-22  Roland McGrath  <roland@hack.frob.com>
42503         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
42504         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
42505         Versions files is now verboten.
42506         * hurd/Versions (libc: GLIBC_2.0):
42507         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
42508         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
42509         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
42510         * mach/Versions: Likewise.
42512         * csu/Versions: Remove unused %include.
42513         * resolv/Versions: Likewise.
42515 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
42517         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
42518         ($(objpfx)check-local-headers.out): Likewise.
42519         ($(objpfx)begin-end-check.out): Likewise.
42520         * Makerules (check-abi-%.out): Likewise.
42521         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
42522         ($(objpfx)test2.cat): Likewise.
42523         ($(objpfx)de/libc.cat): Likewise.
42524         ($(objpfx)test-gencat.out): Likewise.
42525         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
42526         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
42527         ($(objpfx)noload-mem): Likewise.
42528         ($(objpfx)tst-pathopt.out): Likewise.
42529         ($(objpfx)tst-rtld-load-self.out): Likewise.
42530         ($(objpfx)tst-array1-cmp.out): Likewise.
42531         ($(objpfx)tst-array1-static-cmp.out): Likewise.
42532         ($(objpfx)tst-array2-cmp.out): Likewise.
42533         ($(objpfx)tst-array3-cmp.out): Likewise.
42534         ($(objpfx)tst-array4-cmp.out): Likewise.
42535         ($(objpfx)tst-array5-cmp.out): Likewise.
42536         ($(objpfx)tst-array5-static-cmp.out): Likewise.
42537         ($(objpfx)check-textrel.out): Likewise.
42538         ($(objpfx)check-execstack.out): Likewise.
42539         ($(objpfx)check-localplt.out): Likewise.
42540         ($(objpfx)order2-cmp.out): Likewise.
42541         ($(objpfx)tst-leaks1-mem): Likewise.
42542         ($(objpfx)tst-leaks1-static-mem): Likewise.
42543         ($(objpfx)tst-initorder-cmp.out): Likewise.
42544         ($(objpfx)tst-initorder2-cmp.out): Likewise.
42545         ($(objpfx)tst-unused-dep.out): Likewise.
42546         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
42547         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
42548         * iconv/Makefile (test-iconvconfig): Likewise.
42549         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
42550         ($(objpfx)iconv-test.out): Likewise.
42551         ($(objpfx)tst-tables.out): Likewise.
42552         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
42553         ($(objpfx)tst-gettext.out): Likewise.
42554         ($(objpfx)tst-translit.out): Likewise.
42555         ($(objpfx)tst-gettext2.out): Likewise.
42556         ($(objpfx)tst-gettext4.out): Likewise.
42557         ($(objpfx)tst-gettext6.out): Likewise.
42558         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
42559         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
42560         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
42561         ($(objpfx)tst-fopenloc-mem.out): Likewise.
42562         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
42563         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
42564         * posix/Makefile ($(objpfx)globtest.out): Likewise.
42565         ($(objpfx)wordexp-tst.out): Likewise.
42566         ($(objpfx)annexc.out): Likewise.
42567         ($(objpfx)tst-fnmatch-mem): Likewise.
42568         ($(objpfx)bug-regex2-mem): Likewise.
42569         ($(objpfx)bug-regex14-mem): Likewise.
42570         ($(objpfx)bug-regex21-mem): Likewise.
42571         ($(objpfx)bug-regex31-mem): Likewise.
42572         ($(objpfx)tst-vfork3-mem): Likewise.
42573         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42574         ($(objpfx)tst-pcre-mem): Likewise.
42575         ($(objpfx)tst-boost-mem): Likewise.
42576         ($(objpfx)tst-getconf.out): Likewise.
42577         ($(objpfx)bug-ga2-mem): Likewise.
42578         ($(objpfx)bug-glob2-mem): Likewise.
42579         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
42580         ($(objpfx)mtrace-tst-leaks2): Likewise.
42581         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
42582         ($(objpfx)tst-printf.out): Likewise.
42583         ($(objpfx)tst-setvbuf1.out): Likewise.
42584         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
42585         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
42586         ($(objpfx)tst-fmtmsg.out): Likewise.
42587         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
42588         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
42590         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
42591         * bits/sigaction.h [__USE_MISC]: Likewise.
42592         * bits/waitstatus.h: Update #endif comments.
42593         * ctype/ctype.h: Likewise.
42594         * dirent/dirent.h: Likewise.
42595         [__USE_MISC]: Remove redundant conditionals.
42596         * grp/grp.h: Update #endif comments.
42597         [__USE_GNU]: Remove redundant conditionals.
42598         [__USE_MISC]: Likewise.
42599         * inet/netinet/in.h [__USE_GNU]: Likewise.
42600         * io/sys/stat.h [__USE_MISC]: Likewise.
42601         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
42602         * libio/bits/stdio.h: Update #endif comments.
42603         [__USE_MISC]: Remove redundant conditionals.
42604         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
42605         * libio/stdio.h: Update #endif comments.
42606         [__USE_MISC]: Remove redundant conditionals.
42607         * math/bits/math-finite.h [__USE_MISC]: Likewise.
42608         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
42609         * math/math.h: Update #else and #endif comments.
42610         [__USE_MISC]: Remove redundant conditionals.
42611         * misc/sys/uio.h: Update #endif comments.
42612         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
42613         * posix/glob.h [__USE_MISC]: Likewise.
42614         * posix/sys/types.h: Update #endif comments.
42615         [__USE_MISC]: Remove redundant conditionals.
42616         * posix/sys/wait.h: Update #endif comments.
42617         [__USE_MISC]: Remove redundant conditionals.
42618         * posix/unistd.h: Update #endif comments.
42619         [__USE_MISC]: Remove redundant conditionals.
42620         * pwd/pwd.h [__USE_GNU]: Likewise.
42621         [__USE_MISC]: Likewise.
42622         * resolv/netdb.h [__USE_GNU]: Likewise.
42623         * signal/signal.h: Update #endif comments.
42624         [__USE_MISC]: Remove redundant conditionals.
42625         * stdlib/stdlib.h: Update #else and #endif comments.
42626         [__USE_MISC]: Remove redundant conditionals.
42627         [__USE_GNU]: Likewise.
42628         * string/bits/string2.h [__USE_MISC]: Likewise.
42629         * string/string.h: Update #endif comments.
42630         [__USE_MISC]: Remove redundant conditionals.
42631         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
42632         Likewise.
42633         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
42634         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
42635         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
42636         Likewise.
42637         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
42638         Likewise.
42639         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
42640         comments.
42641         [__USE_MISC]: Remove redundant conditionals.
42642         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
42643         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
42644         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
42645         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
42646         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
42647         Likewise.
42648         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
42649         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
42650         Likewise.
42651         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
42652         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
42653         Likewise.
42654         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
42655         Likewise.
42656         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
42657         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
42658         Likewise.
42659         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
42660         Likewise.
42661         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
42662         * sysdeps/x86/bits/string.h: Update #endif comments.
42663         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
42664         conditionals.
42665         * time/sys/time.h: Update #endif comments.
42666         * time/time.h: Likewise.
42667         [__USE_MISC]: Remove redundant conditionals.
42669 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
42671         [BZ #16600]
42672         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
42674 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
42676         * Versions.def (librt): Add GLIBC_2.17.
42678 2014-02-21  Adam Conrad  <adconrad@0c3.net>
42680         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
42681         synonym for _SYS_AUXV_H to allow direct inclusion.
42682         * sysdeps/sparc/bits/hwcap.h: Likewise.
42683         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
42684         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
42685         * sysdeps/sparc/sysdep.h: Likewise.
42687 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42689         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
42691 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42693         * benchtests/bench-strrchr.c: Print length instead of position.
42695 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
42697         [BZ #16611]
42698         * sysdeps/unix/sysv/linux/kernel-features.h
42699         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
42700         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
42701         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
42702         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
42703         Likewise.
42704         [__i386__ || __powerpc__ || __sh__ || __sparc__]
42705         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42706         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
42707         (__ASSUME_SENDMMSG): Define instead of using previous
42708         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
42709         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42710         (__ASSUME_SENDMMSG_SYSCALL): Define.
42711         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42712         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
42713         Likewise.
42714         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42715         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42716         Likewise.
42717         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42718         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42719         Likewise.
42720         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
42721         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42722         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42723         [__ASSUME_SENDMMSG]: Change conditionals to
42724         [__ASSUME_SENDMMSG_SOCKETCALL].
42725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42726         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
42727         Define.
42728         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42729         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
42730         Likewise.
42731         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
42732         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42733         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42734         [!__ASSUME_SENDMMSG]: Change conditional to
42735         [!__ASSUME_SENDMMSG_SOCKETCALL].
42736         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42737         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42738         Define.
42740         [BZ #16610]
42741         * sysdeps/unix/sysv/linux/kernel-features.h
42742         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
42743         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
42744         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
42745         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
42746         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42747         [__i386__ || __sparc__]
42748         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42749         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
42750         (__ASSUME_RECVMMSG): Define instead of using previous
42751         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
42752         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42753         (__ASSUME_RECVMMSG_SYSCALL): Define.
42754         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42755         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42756         Likewise.
42757         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42758         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42759         Likewise.
42760         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42761         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42762         Likewise.
42763         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
42764         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42765         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42766         [__ASSUME_RECVMMSG]: Change condition to
42767         [__ASSUME_RECVMMSG_SOCKETCALL].
42768         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42769         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42770         Define.
42771         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42772         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42773         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42774         Likewise.
42775         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
42776         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42777         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42778         [!__ASSUME_RECVMMSG]: Change condition to
42779         [!__ASSUME_RECVMMSG_SOCKETCALL].
42780         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42781         (__ASSUME_RECVMMSG_SYSCALL): Define.
42783         [BZ #16609]
42784         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42785         __powerpc__ || __s390__ || __sh__ || __sparc__]
42786         (__ASSUME_SOCKETCALL): Define.
42787         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42788         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42789         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42790         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42791         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42792         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42793         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42794         (__ASSUME_ACCEPT4): Define instead of using previous
42795         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42796         __powerpc__ || __sparc__ || __s390__)] condition.
42797         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42798         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42799         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42800         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42801         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42802         [!__ASSUME_ACCEPT4]: Change condition to
42803         [!__ASSUME_ACCEPT4_SOCKETCALL].
42804         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42805         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42806         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42807         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42808         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42809         __ASSUME_ACCEPT4_SYSCALL.
42810         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42811         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42812         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42813         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42814         __ASSUME_ACCEPT4_SYSCALL.
42815         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42816         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42817         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42818         [__ASSUME_ACCEPT4]: Change condition to
42819         [__ASSUME_ACCEPT4_SOCKETCALL].
42820         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42821         (__ASSUME_SOCKETCALL): Define.
42822         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42823         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42824         (__ASSUME_SOCKETCALL): Define.
42825         (__ASSUME_ACCEPT4): Remove.
42826         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42827         Define.
42828         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42829         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42830         Likewise.
42831         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42832         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42834         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42835         macro.
42836         (HWCAP_ARM_LPAE): Likewise.
42837         (HWCAP_ARM_EVTSTRM): Likewise.
42838         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42839         Add vpfd32, lpae and evtstrm.
42840         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42841         Increase to 22.
42843 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42845         * math/auto-libm-test-in: Add tests of clog10.
42846         * math/auto-libm-test-out: Regenerated.
42847         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42848         * sysdeps/i386/fpu/libm-test-ulps: Update.
42849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42851 2014-02-18  Andreas Schwab  <schwab@suse.de>
42853         [BZ #16574]
42854         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42855         Store non-zero if the second buffer was newly allocated.
42856         (send_dg): Likewise.
42857         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42858         to send_vc and send_dg.
42859         (res_nsend): Pass NULL for ansp2_malloced.
42860         * resolv/res_query.c (__libc_res_nquery): Add parameter
42861         answerp2_malloced and pass it down to __libc_res_nsend.
42862         (res_nquery): Pass additional NULL to __libc_res_nquery.
42863         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42864         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42865         second answer buffer if answerp2_malloced was set.
42866         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42867         (__libc_res_nquerydomain): Add parameter
42868         answerp2_malloced and pass it down to __libc_res_nquery.
42869         (res_nquerydomain): Pass additional NULL to
42870         __libc_res_nquerydomain.
42871         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42872         additional NULL to __libc_res_nsend and __libc_res_nquery.
42873         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42874         additional NULL to __libc_res_nsearch.
42875         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42876         parameter of __libc_res_nsearch to check for separately allocated
42877         second buffer.
42878         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42879         __libc_res_nquery.
42880         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42881         additional NULL to __libc_res_nquery.
42882         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42883         __libc_res_nsearch.
42884         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42885         * include/resolv.h: Update prototypes of __libc_res_nquery,
42886         __libc_res_nsearch, __libc_res_nsend.
42888 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42890         * math/auto-libm-test-in: Add tests of fma.
42891         * math/auto-libm-test-out: Regenerated.
42892         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42893         (fma_towardzero_test_data): Likewise.
42894         (fma_downward_test_data): Likewise.
42895         (fma_upward_test_data): Likewise.
42896         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42897         mpc_mode.
42898         (rounding_modes): Add values for new field.
42899         (func_calc_method): Add value mpfr_fff_f.
42900         (func_calc_desc): Add mpfr_fff_f union field.
42901         (test_function): Add field exact_args.
42902         (FUNC): Add macro argument EXACT_ARGS.
42903         (FUNC_mpfr_f_f): Update call to FUNC.
42904         (FUNC_mpfr_f_f): Likewise.
42905         (FUNC_mpfr_ff_f): Likewise.
42906         (FUNC_mpfr_if_f): Likewise.
42907         (FUNC_mpc_c_f): Likewise.
42908         (FUNC_mpc_c_c): Likewise.
42909         (test_functions): Add fma.  Update calls to FUNC.
42910         (handle_input_arg): Add argument exact_args.
42911         (add_test): Update call to handle_input_arg.
42912         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42913         (output_for_one_input_case): Update call to calc_generic_results.
42914         Recalculate exact zero results in each rounding mode.
42916         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42917         non-negative before setting low bit.
42918         * math/auto-libm-test-in: Mark one asin test possibly having
42919         spurious underflow.
42920         * math/auto-libm-test-out: Regenerated.
42921         * sysdeps/i386/fpu/libm-test-ulps: Update.
42922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42924 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42926         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42927         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42928         ports/sysdeps/unix/sysv/linux/microblaze.
42929         * README: Add missing listing for microblaze*-*-linux-gnu.
42931 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42933         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42934         duplicate code
42936 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42938         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42939         * sysdeps/unix/sysv/linux/ia64: Move directory from
42940         ports/sysdeps/unix/sysv/linux/ia64.
42941         * README: Update listing for ia64-*-linux-gnu.
42943 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42944             Joseph Myers  <joseph@codesourcery.com>
42946         * Makeconfig (test-name): New variable.
42947         (evaluate-test): Likewise.
42948         * Makerules (do-test-clean): Remove .test-result files.
42949         (common-mostlyclean): Likewise.
42950         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42951         * scripts/evaluate-test.sh: New file.
42953 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42955         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42956         separate $(objpfx)tst-fopenloc-cmp.out and
42957         $(objpfx)tst-fopenloc-mem.out targets.
42958         (tests): Update dependencies.
42959         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42960         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42961         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42962         (tst-rxspencer-no-utf8-ARGS): New variable.
42963         (tst-rxspencer-no-utf8-ENV): Likewise.
42964         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42965         instead of $(objpfx)tst-rxspencer-mem.
42966         ($(objpfx)tst-rxspencer-mem): Change target to
42967         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42968         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42969         * posix/tst-rxspencer-no-utf8.c: New file.
42971         * elf/Makefile ($(objpfx)order.out): Remove rule.
42972         [$(run-built-tests) = yes] (tests): Depend on
42973         $(objpfx)order-cmp.out.
42974         ($(objpfx)order-cmp.out): New rule.
42975         [$(run-built-tests) = yes] (tests): Depend on
42976         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42977         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42978         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42979         $(objpfx)tst-array5-static-cmp.out.
42980         ($(objpfx)tst-array1.out): Remove rule.
42981         ($(objpfx)tst-array1-cmp.out): New rule.
42982         ($(objpfx)tst-array1-static.out): Remove rule.
42983         ($(objpfx)tst-array1-static-cmp.out): New rule.
42984         ($(objpfx)tst-array2.out): Remove rule.
42985         ($(objpfx)tst-array2-cmp.out): New rule.
42986         ($(objpfx)tst-array3.out): Remove rule.
42987         ($(objpfx)tst-array3-cmp.out): New rule.
42988         ($(objpfx)tst-array4.out): Remove rule.
42989         ($(objpfx)tst-array4-cmp.out): New rule.
42990         ($(objpfx)tst-array5.out): Remove rule.
42991         ($(objpfx)tst-array5-cmp.out): New rule.
42992         ($(objpfx)tst-array5-static.out): Remove rule.
42993         ($(objpfx)tst-array5-static-cmp.out): New rule.
42994         [$(run-built-tests) = yes] (tests): Depend on
42995         $(objpfx)order2-cmp.out.
42996         ($(objpfx)order2.out): Remove rule.
42997         ($(objpfx)order2-cmp.out): New rule.
42998         ($(objpfx)tst-initorder.out): Remove rule.
42999         [$(run-built-tests) = yes] (tests): Depend on
43000         $(objpfx)tst-initorder-cmp.out.
43001         ($(objpfx)tst-initorder-cmp.out): New rule.
43002         ($(objpfx)tst-initorder2.out): Remove rule.
43003         [$(run-built-tests) = yes] (tests): Depend on
43004         $(objpfx)tst-initorder2-cmp.out.
43005         ($(objpfx)tst-initorder2-cmp.out): New rule.
43006         [$(run-built-tests) = yes] (tests): Depend on
43007         $(objpfx)tst-unused-dep-cmp.out.
43008         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43009         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43010         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43011         on $(objpfx)tst-setvbuf1-cmp.out.
43012         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43013         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43014         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43015         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43016         ($(objpfx)tst-svc.out): Remove rule.
43017         ($(objpfx)tst-svc-cmp.out): New rule.
43019 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43021         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43022         * ctype/ctype.h [__USE_MISC]: Likewise.
43023         * dirent/dirent.h [__USE_MISC]: Likewise.
43024         * grp/grp.h [__USE_MISC]: Likewise.
43025         * io/fcntl.h [__USE_MISC]: Likewise.
43026         * io/sys/stat.h [__USE_MISC]: Likewise.
43027         * libio/stdio.h [__USE_MISC]: Likewise.
43028         * posix/unistd.h [__USE_MISC]: Likewise.
43029         * pwd/pwd.h [__USE_MISC]: Likewise.
43030         * stdlib.h [__USE_MISC]: Likewise.
43031         * string/bits/string2.h [__USE_MISC]: Likewise.
43032         * string/string.h [__USE_MISC]: Likewise.
43033         * time/time.h [__USE_MISC]: Likewise.
43035 2014-02-13  Andreas Schwab  <schwab@suse.de>
43037         [BZ #16574]
43038         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43039         second answer buffer if it was separately allocated.
43041 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43043         * sysdeps/mips/math-tests.h: Include <features.h>.
43044         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43045         (ROUNDING_TESTS_long_double): Do not define.
43046         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43047         (EXCEPTION_TESTS_long_double): Likewise.
43048         * sysdeps/mips/mips64/libm-test-ulps: Update.
43050         * include/features.h (__USE_BSD): Remove macro definitions.
43051         (__USE_SVID): Likewise.
43052         (_BSD_SOURCE): Likewise.
43053         (_SVID_SOURCE): Likewise.
43054         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43055         from definition of _DEFAULT_SOURCE.
43056         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43057         [_DEFAULT_SOURCE].
43058         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43059         * bits/mman.h [__USE_BSD]: Likewise.
43060         * bits/termios.h [__USE_BSD]: Likewise.
43061         * bits/waitstatus.h [__USE_BSD]: Likewise.
43062         * ctype/ctype.h [__USE_SVID]: Likewise.
43063         * dirent/dirent.h [__USE_BSD]: Likewise.
43064         * grp/grp.h [__USE_SVID]: Likewise.
43065         [__USE_BSD]: Likewise.
43066         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43067         * io/fcntl.h [__USE_BSD]: Likewise.
43068         * io/ftw.h [__USE_BSD]: Likewise.
43069         * io/sys/stat.h [__USE_BSD]: Likewise.
43070         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43071         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43072         * libio/stdio.h [__USE_SVID]: Likewise.
43073         [__USE_BSD]: Likewise.
43074         * math/math.h [__USE_SVID]: Likewise.
43075         [__USE_BSD]: Likewise.
43076         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43077         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43078         * misc/search.h [__USE_SVID]: Likewise.
43079         * misc/sys/mman.h [__USE_BSD]: Likewise.
43080         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43081         * misc/sys/uio.h [__USE_BSD]: Likewise.
43082         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43083         * posix/glob.h [__USE_BSD]: Likewise.
43084         * posix/regex.h [__USE_BSD]: Likewise.
43085         * posix/sys/types.h [__USE_BSD]: Likewise.
43086         [__USE_SVID]: Likewise.
43087         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43088         * posix/sys/wait.h [__USE_BSD]: Likewise.
43089         [__USE_SVID]: Likewise.
43090         * posix/unistd.h [__USE_BSD]: Likewise.
43091         [__USE_SVID]: Likewise.
43092         * pwd/pwd.h [__USE_SVID]: Likewise.
43093         * resolv/netdb.h [__USE_BSD]: Likewise.
43094         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43095         * signal/signal.h [__USE_BSD]: Likewise.
43096         [__USE_SVID]: Likewise.
43097         * socket/sys/socket.h [__USE_BSD]: Likewise.
43098         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43099         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43100         [__USE_SVID]: Likewise.
43101         * string/bits/string2.h [__USE_BSD]: Likewise.
43102         [__USE_SVID]: Likewise.
43103         * string/bits/string3.h [__USE_BSD]: Likewise.
43104         * string/endian.h [__USE_BSD]: Likewise.
43105         * string/string.h [__USE_SVID]: Likewise.
43106         [__USE_BSD]: Likewise.
43107         * string/strings.h [__USE_BSD]: Likewise.
43108         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43109         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43110         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43111         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43112         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43113         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43114         Likewise.
43115         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43116         Likewise.
43117         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43118         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43119         Likewise.
43120         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43121         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43122         Likewise.
43123         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43124         Likewise.
43125         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43126         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43127         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43128         Likewise.
43129         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
43130         Likewise.
43131         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
43132         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
43133         * termios/termios.h [__USE_BSD]: Likewise.
43134         * time/sys/time.h [__USE_BSD]: Likewise.
43135         * time/time.h [__USE_BSD]: Likewise.
43136         [__USE_SVID]: Likewise.
43138         * Makefile (subdir_targets): Remove subdir_lint.out.
43140         * stdio-common/Makefile (do-tst-unbputc): Remove target.
43141         (do-tst-printf): Likewise.
43142         (tests): Depend directly on $(objpfx)tst-unbputc.out and
43143         $(objpfx)tst-printf.out.
43145         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
43147         * Makerules (check-abi-%): Change target to
43148         $(objpfx)check-abi-%.out.
43149         (check-abi target): Update dependencies.
43150         (check-abi-pattern variable): Redirect output of diff to $@.
43151         (check-abi variable): Likewise.
43152         * elf/Makefile (check-abi): Update dependencies.
43154         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
43155         unused.
43156         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
43157         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
43158         subnormal range.
43159         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
43160         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
43161         value has largest subnormal exponent.
43162         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
43163         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
43164         * sysdeps/aarch64/soft-fp/sfp-machine.h
43165         (_FP_TININESS_AFTER_ROUNDING): New macro.
43166         * sysdeps/alpha/soft-fp/sfp-machine.h
43167         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43168         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43169         Likewise.
43170         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
43171         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43172         * sysdeps/mips/soft-fp/sfp-machine.h
43173         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43174         * sysdeps/powerpc/soft-fp/sfp-machine.h
43175         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43176         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43177         Likewise.
43178         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43179         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43180         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43181         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43182         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43183         Likewise.
43185 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
43187         [BZ #16545]
43188         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
43189         model 1.
43191 2014-02-12  Richard Henderson  <rth@redhat.com>
43193         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43194         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
43195         * sysdeps/unix/sysv/linux/alpha: Move directory from
43196         ports/sysdeps/unix/sysv/linux/alpha.
43197         * README: Update listing for alpha-*-linux-gnu.
43199 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
43201         * include/features.h: Update comment documenting feature test
43202         macros.
43203         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
43204         _DEFAULT_SOURCE.
43205         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
43206         (_SVID_SOURCE): Likewise.
43207         (_DEFAULT_SOURCE): Update description of default features.
43208         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
43209         with _GNU_SOURCE.
43210         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
43211         (S_ISVTX): Likewise.
43212         * manual/math.texi (Mathematical Constants): Likewise.
43213         * manual/signal.texi (Interrupted Primitives): Likewise.
43214         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
43215         * math/test-matherr.c (_SVID_SOURCE): Do not define.
43216         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
43217         Don't refer to _SVID_SOURCE in warning text.
43219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43221         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
43222         already defined.
43223         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
43224         * sysdeps/mips/dl-lookup.c: Remove.
43225         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
43227 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43229         [BZ #16447]
43230         * math/auto-libm-test-in: Add testcase for expl.
43231         * math/auto-libm-test-out: Regenerate.
43232         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43233         calculation of unsafe.
43234         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
43236 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43238         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
43239         * sysdeps/unix/sysv/linux/aarch64: Move directory from
43240         ports/sysdeps/unix/sysv/linux/aarch64.
43241         * README: Update listing for aarch64*-*-linux-gnu.
43243 2014-02-11  Will Newton  <will.newton@linaro.org>
43245         * manual/probes.texi (Mathematical Function Probes): Use
43246         "triggered" instead of "hit".
43248         * manual/probes.texi (Internal Probes): Add documentation
43249         of setjmp, longjmp and longjmp_target probes.
43251         * include/stap-probe.h: Add comment about probe argument
43252         format.
43254         * malloc/mtrace.c (attribute_hidden): Remove unused macro
43255         definition.  (tr_where, tr_freehook, tr_mallochook,
43256         tr_reallochook, tr_memalignhook): Use ANSI protoype.
43258 2014-02-11  David S. Miller  <davem@davemloft.net>
43260         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
43261         processing int_tests.
43263 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
43265         * sysdeps/mips: Move directory from ports/sysdeps/mips.
43266         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
43267         * sysdeps/unix/sysv/linux/mips: Move directory from
43268         ports/sysdeps/unix/sysv/linux/mips.
43269         * README: Update listing for mips-*-linux-gnu and
43270         mips64-*-linux-gnu.
43272 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
43274         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
43275         * sysdeps/unix/sysv/linux/m68k: Move directory from
43276         ports/sysdeps/unix/sysv/linux/m68k.
43277         * README: Update listing for m68k-*-linux-gnu.
43279 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
43281         * sysdeps/tile: Move directory from ports/sysdeps/tile.
43282         * sysdeps/unix/sysv/linux/generic: Move directory from
43283         ports/sysdeps/unix/sysv/linux/generic.
43284         * sysdeps/unix/sysv/linux/tile: Move directory from
43285         ports/sysdeps/unix/sysv/linux/tile.
43286         * README: Update listing for tile*-*-linux-gnu.
43288 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
43290         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
43291         __builtin_expect.
43292         * benchtests/bench-memmem.c (simple_memmem): Likewise.
43293         * catgets/open_catalog.c (__open_catalog): Likewise.
43294         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43295         * debug/confstr_chk.c: Likewise.
43296         * debug/fread_chk.c (__fread_chk): Likewise.
43297         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
43298         * debug/getgroups_chk.c: Likewise.
43299         * debug/mbsnrtowcs_chk.c: Likewise.
43300         * debug/mbsrtowcs_chk.c: Likewise.
43301         * debug/mbstowcs_chk.c: Likewise.
43302         * debug/memcpy_chk.c: Likewise.
43303         * debug/memmove_chk.c: Likewise.
43304         * debug/mempcpy_chk.c: Likewise.
43305         * debug/memset_chk.c: Likewise.
43306         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43307         * debug/strcat_chk.c (__strcat_chk): Likewise.
43308         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43309         * debug/strncat_chk.c (__strncat_chk): Likewise.
43310         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43311         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43312         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43313         * debug/wcpncpy_chk.c: Likewise.
43314         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43315         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43316         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43317         * debug/wcsncpy_chk.c: Likewise.
43318         * debug/wcsnrtombs_chk.c: Likewise.
43319         * debug/wcsrtombs_chk.c: Likewise.
43320         * debug/wcstombs_chk.c: Likewise.
43321         * debug/wmemcpy_chk.c: Likewise.
43322         * debug/wmemmove_chk.c: Likewise.
43323         * debug/wmempcpy_chk.c: Likewise.
43324         * debug/wmemset_chk.c: Likewise.
43325         * dirent/scandirat.c (SCANDIRAT): Likewise.
43326         * dlfcn/dladdr1.c (dladdr1): Likewise.
43327         * dlfcn/dladdr.c (dladdr): Likewise.
43328         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43329         * dlfcn/dlerror.c (__dlerror): Likewise.
43330         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43331         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43332         * dlfcn/dlopen.c (dlopen_doit): Likewise.
43333         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43334         * dlfcn/dlsym.c (dlsym_doit): Likewise.
43335         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43336         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43337         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43338         Likewise.
43339         * elf/dl-conflict.c: Likewise.
43340         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43341         * elf/dl-dst.h: Likewise.
43342         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43343         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43344         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43345         * elf/dl-init.c (call_init, _dl_init): Likewise.
43346         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43347         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43348         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43349         Likewise.
43350         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43351         Likewise.
43352         * elf/dl-minimal.c (__libc_memalign): Likewise.
43353         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43354         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43355         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43356         * elf/dl-sym.c (do_sym): Likewise.
43357         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43358         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43359         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43360         * elf/dl-writev.h (_dl_writev): Likewise.
43361         * elf/ldconfig.c (search_dir): Likewise.
43362         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43363         (dl_main): Likewise.
43364         * elf/setup-vdso.h (setup_vdso): Likewise.
43365         * grp/compat-initgroups.c (compat_call): Likewise.
43366         * grp/fgetgrent.c (fgetgrent): Likewise.
43367         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43368         * grp/putgrent.c (putgrent): Likewise.
43369         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43370         Likewise.
43371         * hurd/hurdinit.c: Likewise.
43372         * iconvdata/8bit-gap.c (struct): Likewise.
43373         * iconvdata/ansi_x3.110.c : Likewise.
43374         * iconvdata/big5.c : Likewise.
43375         * iconvdata/big5hkscs.c : Likewise.
43376         * iconvdata/cp1255.c: Likewise.
43377         * iconvdata/cp1258.c : Likewise.
43378         * iconvdata/cp932.c : Likewise.
43379         * iconvdata/euc-cn.c: Likewise.
43380         * iconvdata/euc-jisx0213.c : Likewise.
43381         * iconvdata/euc-jp.c: Likewise.
43382         * iconvdata/euc-jp-ms.c : Likewise.
43383         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43384         * iconvdata/gb18030.c : Likewise.
43385         * iconvdata/gbbig5.c (const): Likewise.
43386         * iconvdata/gbgbk.c: Likewise.
43387         * iconvdata/gbk.c : Likewise.
43388         * iconvdata/ibm1364.c : Likewise.
43389         * iconvdata/ibm930.c : Likewise.
43390         * iconvdata/ibm932.c: Likewise.
43391         * iconvdata/ibm933.c : Likewise.
43392         * iconvdata/ibm935.c : Likewise.
43393         * iconvdata/ibm937.c : Likewise.
43394         * iconvdata/ibm939.c : Likewise.
43395         * iconvdata/ibm943.c: Likewise.
43396         * iconvdata/iso_11548-1.c: Likewise.
43397         * iconvdata/iso-2022-cn.c : Likewise.
43398         * iconvdata/iso-2022-cn-ext.c : Likewise.
43399         * iconvdata/iso-2022-jp-3.c: Likewise.
43400         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43401         * iconvdata/iso-2022-kr.c : Likewise.
43402         * iconvdata/iso646.c (gconv_end): Likewise.
43403         * iconvdata/iso_6937-2.c : Likewise.
43404         * iconvdata/iso_6937.c : Likewise.
43405         * iconvdata/iso8859-1.c: Likewise.
43406         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43407         * iconvdata/shift_jisx0213.c : Likewise.
43408         * iconvdata/sjis.c : Likewise.
43409         * iconvdata/t.61.c : Likewise.
43410         * iconvdata/tcvn5712-1.c : Likewise.
43411         * iconvdata/tscii.c: Likewise.
43412         * iconvdata/uhc.c : Likewise.
43413         * iconvdata/unicode.c (gconv_end): Likewise.
43414         * iconvdata/utf-16.c (gconv_end): Likewise.
43415         * iconvdata/utf-32.c (gconv_end): Likewise.
43416         * iconvdata/utf-7.c (base64): Likewise.
43417         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
43418         * iconv/gconv_close.c (__gconv_close): Likewise.
43419         * iconv/gconv_open.c (__gconv_open): Likewise.
43420         * iconv/gconv_simple.c (internal_ucs4_loop_single)
43421         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
43422         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
43423         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
43424         (ucs4le_internal_loop_single): Likewise.
43425         * iconv/iconv.c (iconv): Likewise.
43426         * iconv/iconv_close.c: Likewise.
43427         * iconv/loop.c (SINGLE): Likewise.
43428         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
43429         * include/atomic.h: Likewise.
43430         * inet/inet6_option.c (option_alloc): Likewise.
43431         * intl/bindtextdom.c (set_binding_values): Likewise.
43432         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
43433         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
43434         * intl/localealias.c (read_alias_file): Likewise.
43435         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
43436         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
43437         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
43438         * libio/fmemopen.c (fmemopen): Likewise.
43439         * libio/iofgets.c (_IO_fgets): Likewise.
43440         * libio/iofgets_u.c (fgets_unlocked): Likewise.
43441         * libio/iofgetws.c (fgetws): Likewise.
43442         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
43443         * libio/iogetdelim.c (_IO_getdelim): Likewise.
43444         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
43445         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
43446         * locale/findlocale.c (_nl_find_locale): Likewise.
43447         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
43448         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
43449         Likewise.
43450         * locale/setlocale.c (setlocale): Likewise.
43451         * login/programs/pt_chown.c (main): Likewise.
43452         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
43453         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
43454         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
43455         (mmap, mmap64, mremap, munmap): Likewise.
43456         * math/e_exp2l.c: Likewise.
43457         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
43458         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
43459         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
43460         * math/s_catan.c (__catan): Likewise.
43461         * math/s_catanf.c (__catanf): Likewise.
43462         * math/s_catanh.c (__catanh): Likewise.
43463         * math/s_catanhf.c (__catanhf): Likewise.
43464         * math/s_catanhl.c (__catanhl): Likewise.
43465         * math/s_catanl.c (__catanl): Likewise.
43466         * math/s_ccosh.c (__ccosh): Likewise.
43467         * math/s_ccoshf.c (__ccoshf): Likewise.
43468         * math/s_ccoshl.c (__ccoshl): Likewise.
43469         * math/s_cexp.c (__cexp): Likewise.
43470         * math/s_cexpf.c (__cexpf): Likewise.
43471         * math/s_cexpl.c (__cexpl): Likewise.
43472         * math/s_clog10.c (__clog10): Likewise.
43473         * math/s_clog10f.c (__clog10f): Likewise.
43474         * math/s_clog10l.c (__clog10l): Likewise.
43475         * math/s_clog.c (__clog): Likewise.
43476         * math/s_clogf.c (__clogf): Likewise.
43477         * math/s_clogl.c (__clogl): Likewise.
43478         * math/s_csin.c (__csin): Likewise.
43479         * math/s_csinf.c (__csinf): Likewise.
43480         * math/s_csinh.c (__csinh): Likewise.
43481         * math/s_csinhf.c (__csinhf): Likewise.
43482         * math/s_csinhl.c (__csinhl): Likewise.
43483         * math/s_csinl.c (__csinl): Likewise.
43484         * math/s_csqrt.c (__csqrt): Likewise.
43485         * math/s_csqrtf.c (__csqrtf): Likewise.
43486         * math/s_csqrtl.c (__csqrtl): Likewise.
43487         * math/s_ctan.c (__ctan): Likewise.
43488         * math/s_ctanf.c (__ctanf): Likewise.
43489         * math/s_ctanh.c (__ctanh): Likewise.
43490         * math/s_ctanhf.c (__ctanhf): Likewise.
43491         * math/s_ctanhl.c (__ctanhl): Likewise.
43492         * math/s_ctanl.c (__ctanl): Likewise.
43493         * math/w_pow.c: Likewise.
43494         * math/w_powf.c: Likewise.
43495         * math/w_powl.c: Likewise.
43496         * math/w_scalb.c (sysv_scalb): Likewise.
43497         * math/w_scalbf.c (sysv_scalbf): Likewise.
43498         * math/w_scalbl.c (sysv_scalbl): Likewise.
43499         * misc/error.c (error_tail): Likewise.
43500         * misc/pselect.c (__pselect): Likewise.
43501         * nis/nis_callback.c (__nis_create_callback): Likewise.
43502         * nis/nis_call.c (__nisfind_server): Likewise.
43503         * nis/nis_creategroup.c (nis_creategroup): Likewise.
43504         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
43505         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
43506         * nis/nis_getservlist.c (nis_getservlist): Likewise.
43507         * nis/nis_lookup.c (nis_lookup): Likewise.
43508         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
43509         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
43510         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
43511         * nis/nis_xdr.c (xdr_endpoint): Likewise.
43512         * nis/nss_compat/compat-grp.c (getgrent_next_file)
43513         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
43514         * nis/nss_compat/compat-initgroups.c (add_group)
43515         (internal_getgrent_r): Likewise.
43516         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
43517         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
43518         * nis/nss_compat/compat-spwd.c (getspent_next_file)
43519         (internal_getspnam_r): Likewise.
43520         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
43521         (_nss_nis_getaliasbyname_r): Likewise.
43522         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
43523         (_nss_nis_getntohost_r): Likewise.
43524         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
43525         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
43526         (_nss_nis_getgrgid_r): Likewise.
43527         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
43528         (internal_nis_gethostent_r, internal_gethostbyname2_r)
43529         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
43530         (_nss_nis_gethostbyname4_r): Likewise.
43531         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
43532         (initgroups_netid): Likewise.
43533         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
43534         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
43535         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
43536         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
43537         (_nss_nis_getprotobynumber_r): Likewise.
43538         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
43539         (_nss_nis_getsecretkey): Likewise.
43540         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
43541         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
43542         (_nss_nis_getpwuid_r): Likewise.
43543         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
43544         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
43545         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
43546         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
43547         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
43548         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
43549         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
43550         Likewise.
43551         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
43552         (_nss_nisplus_getntohost_r): Likewise.
43553         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
43554         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
43555         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
43556         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
43557         Likewise.
43558         * nis/nss_nisplus/nisplus-initgroups.c
43559         (_nss_nisplus_initgroups_dyn): Likewise.
43560         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
43561         (_nss_nisplus_getnetbyaddr_r): Likewise.
43562         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
43563         (_nss_nisplus_getprotobynumber_r): Likewise.
43564         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
43565         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
43566         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
43567         Likewise.
43568         * nis/nss_nisplus/nisplus-service.c
43569         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
43570         (_nss_nisplus_getservbyport_r): Likewise.
43571         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
43572         (_nss_nisplus_getspnam_r): Likewise.
43573         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
43574         Likewise.
43575         * nscd/aicache.c (addhstaiX): Likewise.
43576         * nscd/cache.c (cache_search, prune_cache): Likewise.
43577         * nscd/connections.c (register_traced_file, send_ro_fd)
43578         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
43579         (main_loop_epoll): Likewise.
43580         * nscd/grpcache.c (addgrbyX): Likewise.
43581         * nscd/hstcache.c (addhstbyX): Likewise.
43582         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43583         * nscd/mem.c (gc, mempool_alloc): Likewise.
43584         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
43585         (addinnetgrX): Likewise.
43586         * nscd/nscd-client.h (__nscd_acquire_maplock)
43587         (__nscd_drop_map_ref): Likewise.
43588         * nscd/nscd_getai.c (__nscd_getai): Likewise.
43589         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
43590         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
43591         Likewise.
43592         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
43593         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43594         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
43595         (__nscd_get_map_ref): Likewise.
43596         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
43597         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
43598         Likewise.
43599         * nscd/pwdcache.c (addpwbyX): Likewise.
43600         * nscd/selinux.c (preserve_capabilities): Likewise.
43601         * nscd/servicescache.c (addservbyX): Likewise.
43602         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
43603         * posix/fnmatch.c (fnmatch): Likewise.
43604         * posix/getopt.c (_getopt_internal_r): Likewise.
43605         * posix/glob.c (glob, glob_in_dir): Likewise.
43606         * posix/wordexp.c (exec_comm_child): Likewise.
43607         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
43608         (getanswer_r, gaih_getanswer_slice): Likewise.
43609         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
43610         * resolv/res_init.c: Likewise.
43611         * resolv/res_mkquery.c (res_nmkquery): Likewise.
43612         * resolv/res_query.c (__libc_res_nquery): Likewise.
43613         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
43614         Likewise.
43615         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
43616         * stdio-common/perror.c (perror): Likewise.
43617         * stdio-common/printf_fp.c (___printf_fp): Likewise.
43618         * stdio-common/tmpnam.c (tmpnam): Likewise.
43619         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43620         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
43621         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
43622         Likewise.
43623         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
43624         * stdlib/putenv.c (putenv): Likewise.
43625         * stdlib/setenv.c (__add_to_environ): Likewise.
43626         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43627         * stdlib/strtol_l.c (INTERNAL): Likewise.
43628         * string/memmem.c (memmem): Likewise.
43629         * string/strerror.c (strerror): Likewise.
43630         * string/strnlen.c (__strnlen): Likewise.
43631         * string/test-memmem.c (simple_memmem): Likewise.
43632         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
43633         * sunrpc/pm_getport.c (__get_socket): Likewise.
43634         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
43635         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
43636         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
43637         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
43638         Likewise.
43639         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
43640         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
43641         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
43642         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
43643         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
43644         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
43645         Likewise.
43646         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
43647         Likewise.
43648         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
43649         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
43650         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43651         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
43652         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
43653         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
43654         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43655         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
43656         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
43657         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
43658         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43659         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
43660         Likewise.
43661         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
43662         Likewise.
43663         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
43664         Likewise.
43665         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
43666         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43667         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
43668         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
43669         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
43670         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
43671         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43672         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
43673         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
43674         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
43675         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
43676         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43677         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43678         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
43679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43680         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
43681         Likewise.
43682         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
43683         Likewise.
43684         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
43685         Likewise.
43686         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
43687         Likewise.
43688         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43689         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43690         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
43691         Likewise.
43692         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
43693         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
43694         * sysdeps/posix/opendir.c (__opendirat): Likewise.
43695         * sysdeps/posix/sleep.c: Likewise.
43696         * sysdeps/posix/tempname.c: Likewise.
43697         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
43698         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43699         Likewise.
43700         * sysdeps/powerpc/powerpc32/dl-machine.h
43701         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
43702         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43703         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43704         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
43705         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
43706         Likewise.
43707         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
43708         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
43709         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43710         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
43711         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43712         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
43713         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
43714         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
43715         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43716         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
43717         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
43718         (elf_machine_lazy_rel): Likewise.
43719         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43720         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
43721         (elf_machine_lazy_rel): Likewise.
43722         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
43723         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
43724         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
43725         * sysdeps/unix/grantpt.c (grantpt): Likewise.
43726         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
43727         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
43728         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
43729         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43730         Likewise.
43731         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
43732         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
43733         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
43734         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
43735         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43736         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43737         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
43738         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
43739         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
43740         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43741         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43742         Likewise.
43743         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
43744         (__posix_fallocate64_l64): Likewise.
43745         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
43746         (posix_fallocate): Likewise.
43747         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
43748         Likewise.
43749         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43750         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
43751         (getifaddrs_internal): Likewise.
43752         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
43753         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
43754         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
43755         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
43756         * sysdeps/unix/sysv/linux/posix_fallocate64.c
43757         (__posix_fallocate64_l64): Likewise.
43758         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
43759         Likewise.
43760         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
43761         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
43762         (__get_clockfreq): Likewise.
43763         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
43764         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
43765         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
43766         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43768         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
43769         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
43770         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
43771         Likewise.
43772         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
43773         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
43774         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
43775         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
43776         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43777         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
43778         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
43779         Likewise.
43780         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43781         (posix_fallocate): Likewise.
43782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43783         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43784         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43785         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43786         (elf_machine_rela, elf_machine_rela_relative)
43787         (elf_machine_lazy_rel): Likewise.
43788         * time/asctime.c (asctime_internal): Likewise.
43789         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43790         * time/tzset.c (__tzset_parse_tz): Likewise.
43791         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43792         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43793         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43794         * wcsmbs/wcsmbsload.h: Likewise.
43796         [BZ #15894]
43797         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43799         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43800         (arena_get2): Remove THREAD_STATS conditionals.
43801         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43802         (__malloc_stats, int): Likewise.
43804 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43806         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43807         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43809         * manual/setjmp.texi: Fix typos/grammar errors.
43811         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43812         Only return early when n is <= 0.  Delete unused return statement.
43814         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43815         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43816         * debug/tst-longjmp_chk3.c: New file.
43818         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43819         (test_main): Replace code with set_fortify_handler call.
43820         * debug/test-strcpy_chk.c: Likewise.
43821         * debug/tst-chk1.c: Likewise.
43822         * debug/tst-longjmp_chk.c: Likewise.
43823         * test-skeleton.c: Include fcntl.h & paths.h
43824         (set_fortify_handler): Define.
43826         * debug/tst-longjmp_chk.c: Add header comment and include
43827         ../test-skeleton.c.
43828         (do_test): Mark static.
43829         (TEST_FUNCTION): Define.
43831         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43832         (IP_PMTUDISC_INTERFACE): Likewise.
43833         (IP_MULTICAST_IF): Likewise.
43834         (IP_MULTICAST_TTL): Likewise.
43835         (IP_MULTICAST_LOOP): Likewise.
43836         (IP_ADD_MEMBERSHIP): Likewise.
43837         (IP_DROP_MEMBERSHIP): Likewise.
43838         (IP_UNBLOCK_SOURCE): Likewise.
43839         (IP_BLOCK_SOURCE): Likewise.
43840         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43841         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43842         (IP_MSFILTER): Likewise.
43843         (MCAST_JOIN_GROUP): Likewise.
43844         (MCAST_BLOCK_SOURCE): Likewise.
43845         (MCAST_UNBLOCK_SOURCE): Likewise.
43846         (MCAST_LEAVE_GROUP): Likewise.
43847         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43848         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43849         (MCAST_MSFILTER): Likewise.
43850         (IP_MULTICAST_ALL): Likewise.
43851         (IP_UNICAST_IF): Likewise.
43853         * timezone/Makefile: Delete $(have-ksh) check.
43854         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43855         * timezone/tzselect.ksh: Add +x mode bits.
43857         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43858         (ANON_INODE_FS_MAGIC): Likewise.
43859         (BDEVFS_MAGIC): Likewise.
43860         (BINFMTFS_MAGIC): Likewise.
43861         (BTRFS_TEST_MAGIC): Likewise.
43862         (CRAMFS_MAGIC_WEND): Likewise.
43863         (DEBUGFS_MAGIC): Likewise.
43864         (ECRYPTFS_SUPER_MAGIC): Likewise.
43865         (EXT3_SUPER_MAGIC): Likewise.
43866         (EXT4_SUPER_MAGIC): Likewise.
43867         (FUTEXFS_SUPER_MAGIC): Likewise.
43868         (HOSTFS_SUPER_MAGIC): Likewise.
43869         (HUGETLBFS_MAGIC): Likewise.
43870         (MINIX3_SUPER_MAGIC): Likewise.
43871         (MTD_INODE_FS_MAGIC): Likewise.
43872         (NILFS_SUPER_MAGIC): Likewise.
43873         (OPENPROM_SUPER_MAGIC): Likewise.
43874         (PIPEFS_MAGIC): Likewise.
43875         (PSTOREFS_MAGIC): Likewise.
43876         (QNX6_SUPER_MAGIC): Likewise.
43877         (RAMFS_MAGIC): Likewise.
43878         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43879         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43880         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43881         (SECURITYFS_MAGIC): Likewise.
43882         (SELINUX_MAGIC): Likewise.
43883         (SMACK_MAGIC): Likewise.
43884         (SOCKFS_MAGIC): Likewise.
43885         (SQUASHFS_MAGIC): Likewise.
43886         (STACK_END_MAGIC): Likewise.
43887         (TMPFS_MAGIC): Likewise.
43888         (USBDEVICE_SUPER_MAGIC): Likewise.
43889         (V9FS_MAGIC): Likewise.
43890         (XENFS_SUPER_MAGIC): Likewise.
43891         (CRAMFS_MAGIC): Fix typo in comment.
43892         (EXT2_SUPER_MAGIC): Update comment.
43893         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43895 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43897         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43898         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43899         * sysdeps/unix/sysv/linux/arm: Move directory from
43900         ports/sysdeps/unix/sysv/linux/arm.
43901         * README: Update listing for arm-*-linux-gnueabi.
43903         * README: Remove mention of am33.
43905 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43907         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43908         than the comma operator, to avoid "rhs of comma has no effect"
43909         compiler warnings.
43910         (__sigfillset, __sigandset, __sigorset): Likewise.
43911         * include/signal.h (__sigemptyset): Likewise.
43912         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43914 2014-02-07  Allan McRae  <allan@archlinux.org>
43916         * version.h (RELEASE): Set to "development".
43917         (VERSION): Set to "2.19.90"
43918         * NEWS: Add 2.20 section.
43920 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43922         [BZ #16529]
43923         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43925 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43927         * manual/contrib.texi: Update entry for Carlos O'Donell,
43928         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43930 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43932         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43934         * sysdeps/unix/sysv/linux/kernel-features.h
43935         [__LINUX_KERNEL_VERSION >= 0x020621]
43936         (__ASSUME_PROC_PID_TASK_COMM): Define.
43938 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43940         [BZ #16398]
43941         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43942         conversion when destination buffer does not have enough space.
43943         * libio/tst-ftell-partial-wide.c: New test case.
43944         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43946         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43947         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43948         Leonard and Allan McRae.
43950 2014-02-04  David S. Miller  <davem@davemloft.net>
43952         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43953         32-bit.
43955 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43958         New file
43959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43960         New file
43961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43962         New file.
43963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43964         New file.
43965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43966         New file.
43967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43968         New file.
43969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43970         New file.
43971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43972         New file.
43973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43974         New file.
43975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43976         New file.
43977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43978         New file.
43979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43980         New file.
43981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43982         New file.
43984 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43986         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43987         * shlib-versions: Likewise.
43989 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43990             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43992         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43993         (abilist-pattern): New variable, set to %-le.abilist.
43995         * Makerules (abilist-pattern): New variable.
43996         (vpath): Use $(abilist-pattern) in place of %.abilist.
43997         (check-abi-% pattern rule): Likewise.
43998         (check-abi, update-abi): Likewise.
44000 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44004 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44006         * manual/startup.texi: Add next, previous, and top entries for
44007         the `Program Arguments' and `Environment Variables' nodes.
44009 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44011         * manual/macros.texi: Add comments before MTASC-safety macros.
44013         * manual/users.texi: Document MTASC-safety properties.
44015         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44016         (pthread_getspecific, pthread_setspecific): Format with
44017         @deftypefun, and add @safety note.
44018         * manual/signal.texi: Move comments that analyze the above
44019         functions to their home place.
44021 2014-02-03  Allan McRae  <allan@archlinux.org>
44023         * po/sl.po: Update Slovenian translation from translation project.
44025 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44027         * manual/time.texi (timegm): Add missing blank after @c.
44028         Reported by Joseph Myers <joseph@codesourcery.com>.
44030 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44032         * manual/check-safety.sh: New.
44033         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44035         * manual/terminal.texi: Document MTASC-safety properties.
44037         * manual/filesys.texi: Document MTASC-safety properties.
44039         * manual/errno.texi: Document MTASC-safety properties.
44041         * manual/intro.texi: Document safety identifiers and
44042         conditionals.
44044         * manual/string.texi (wcstok): Fix prototype.
44045         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44047         * manual/time.texi: Document MTASC-safety properties.
44049         * manual/string.texi: Document MTASC-safety properties.
44051         * manual/threads.texi: Document MTASC-safety properties.
44053         * manual/stdio.texi: Document MTASC-safety properties.
44055         * manual/syslog.texi: Document MTASC-safety properties.
44057         * manual/sysinfo.texi: Document MTASC-safety properties.
44059         * manual/startup.texi: Document MTASC-safety properties.
44061         * manual/socket.texi: Document MTASC-safety properties.
44063         * manual/signal.texi: Document MTASC-safety properties.
44065 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44067         * manual/setjmp.texi: Document MTASC-safety properties.
44069         * manual/search.texi: Document MTASC-safety properties.
44071         * manual/resource.texi: Document MTASC-safety properties.
44073         * manual/process.texi: Document MTASC-safety properties.
44075         * manual/platform.texi: Document MTASC-safety properties.
44077         * manual/pipe.texi: Document MTASC-safety properties.
44079         * manual/pattern.texi: Document MTASC-safety properties.
44081         * manual/message.texi: Document MTASC-safety properties.
44083         [BZ #12751]
44084         * manual/memory.texi: Document MTASC-safety properties.
44086         * manual/math.texi: Document MTASC-safety properties.
44088         * manual/locale.texi: Document MTASC-safety properties.
44090         * manual/llio.texi: Document MTASC-safety properties.
44092         * manual/libdl.texi: New.
44094         * manual/lang.texi: Document MTASC-safety properties.
44096         * manual/job.texi: Document MTASC-safety properties.
44098         * manual/getopt.texi: Document MTASC-safety properties.
44100         * manual/ctype.texi: Document MTASC-safety properties.
44102 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44104         [BZ #16046]
44105         * csu/libc-tls.c (static_map): Remove variable.
44106         (__libc_setup_tls): Use main executable's link map for TLS data.
44107         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44108         casing for LM_ID_BASE and GL(dl_nns).
44109         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44110         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44111         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44112         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44113         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44114         member.
44115         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44116         l_phnum members.
44118 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44120         * manual/debug.texi: Document MTASC-safety properties.
44122 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44124         [BZ #16510]
44125         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44126         of __x86_64__ when disabling x87 inline functions.
44128 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
44130         * manual/charset.texi: Document MTASC-safety properties.
44132         * manual/crypt.texi: Document MTASC-safety properties.
44134         * manual/conf.texi: Document MTASC-safety properties.
44136         * manual/arith.texi: Document MTASC-safety properties.
44138         * manual/argp.texi: Document MTASC-safety properties.
44140         * manual/macros.texi: Introduce macros to document multi
44141         thread, asynchronous signal and asynchronous cancellation
44142         safety properties.
44143         * manual/intro.texi: Introduce the properties themselves.
44145 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44147         * sysdeps/sh/sh4/Makefile: New file.
44149 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
44151         * math/gen-libm-test.pl ($srcdir): New variable.
44152         ($auto_input): Use it.
44154 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44156         [BZ #16506]
44157         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
44158         access beyond array bounds when parsing netgroups file.
44160         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
44161         the old buffer before realloc.
44163 2014-01-27  Allan McRae  <allan@archlinux.org>
44165         * po/fr.po: Update French translation from translation project.
44167 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44169         * sysdeps/sh/libm-test-ulps: Regenerate.
44171 2014-01-24  David S. Miller  <davem@davemloft.net>
44173         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
44175 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44177         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
44178         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
44180 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44182         [BZ #16474]
44183         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
44184         string pointers after reallocation.
44186 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44188         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
44189         __SH4A__ instead of __SH_FPU_ANY__.
44191 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44193         * sysdeps/sh/fpu_control.h: New file.
44194         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
44195         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
44196         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44197         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
44198         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
44199         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
44200         * sysdeps/sh/sys/ucontext.h: Remove.
44201         * sysdeps/sh/sys: Remove directory.
44203 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44205         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44206         s390/sys/ucontext.h.
44207         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
44208         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
44210 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
44212         [BZ #15605]
44213         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
44215 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44217         [BZ#16431]
44218         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44219         Adjust the vDSO correctly for internal calls.
44220         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
44222 2014-01-20  Allan McRae  <allan@archlinux.org>
44224         * po/ca.po: Update Catalan translation from translation project.
44226 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
44228         * sysdeps/s390/sotruss-lib.c: New file.
44230 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44232         [BZ#16430]
44233         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
44234         (__GI___gettimeofday): Alias for a different internal symbol to avoid
44235         local calls issues by not having a PLT stub required for IFUNC calls.
44236         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
44238 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
44240         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
44241         * math/test-fpucw-static.c: Likewise.
44243 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44245         [BZ #16453]
44246         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
44248 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44250         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
44251         implementation for powerpc.
44253 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
44255         [BZ #14782]
44256         * sysdeps/posix/system.c (__libc_system): Do not enable
44257         asynchronous cancellation.
44259 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44261         [BZ #16427]
44262         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
44263         handling only for numbers special also in the IEEE case.
44265 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44267         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44269 2014-01-11  Allan McRae  <allan@archlinux.org>
44271         * po/bg.po: Update Bulgarian translation from translation project.
44273         * po/de.po: Update German translation from translation project.
44275 2014-01-10  Roland McGrath  <roland@hack.frob.com>
44277         * sysdeps/generic/gcc-compat.h: New file.
44279 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44281         * benchtests/asin-inputs: Correct slow inputs.
44282         * benchtests/acos-inputs: Likewise.
44284 2014-01-10  Allan McRae  <allan@archlinux.org>
44286         * po:sv.po: Update Swedish translation from translation project.
44288         * po/vi.po: Update Vietnamese translation from translation project.
44290         * po/eo.po: Update Esperanto translation from translation project.
44292         * po/cs.po: Update Czech translation from translation project.
44294         * po/nl.po: Update Dutch translation from translation project.
44296         * po/pl.po: Update Polish translation from translation project.
44298         * po/ru.po: Update Russian translation from translation project.
44300         * po/uk.po: Update Ukrainian translation from translation project.
44302 2014-01-08  Brooks Moses  <bmoses@google.com>
44304         * elf/dl-load.c: Fix comment typo.
44306 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
44308         * po/header.pot: Rename to...
44309         * po/pot.header: ... this.
44310         * po/Makefile: Use pot.header.
44312 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
44313             Maxim Kuvyrkov  <maxim@kugelworks.com>
44315         [BZ #16394]
44316         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44317         SRC and DEST against LEN.
44319 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44321         [BZ #16414]
44322         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44323         implementation.
44324         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44326 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44330 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
44332         [BZ #16408]
44333         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44334         for large positive arguments.
44336 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
44338         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44340         * math/auto-libm-test-in: Mark various tests with
44341         xfail-rounding:ldbl-128ibm.
44342         * math/auto-libm-test-out: Regenerated.
44344         [BZ #16407]
44345         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44346         Increase overflow threshold.
44348 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
44350         [BZ #14286]
44351         * stdio-common/vfprintf.c: Check for integer overflow.
44353 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44355         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44356         the first argument and return value of __tls_get_addr_internal.
44358 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44360         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44361         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44363 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44365         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44366         * sysdeps/s390/rtld-global-offsets.sym: New file.
44367         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44368         GLIBC_2.19 symbol.
44369         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44370         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44371         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44372         ... this.
44373         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44374         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44375         ... this.
44376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44377         Regenerate.
44378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44379         Regenerate.
44380         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44381         halfs of GPRs for high_gprs contexts.
44382         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44383         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
44384         field.
44385         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44386         uc_flags field.
44387         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44388         64 bit versions:
44389         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44390         for high GPRs (uc_high_gprs) and for future extensions
44391         (__reserved).
44392         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44393         for future extensions (__reserved).
44394         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44395         64 bit versions:
44396         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44397         SC_HIGHGPRS offset definition.
44398         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44399         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44401         * Versions.def: Add GLIBC_2.19 for libpthread.
44402         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44403         siglongjmp for libpthread with GLIBC_2.19 symver.
44404         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44405         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44406         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44407         * sysdeps/s390/__longjmp.c: New file.
44408         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44409         * sysdeps/s390/longjmp.c: New file.
44410         * sysdeps/s390/setjmp.S: New file.
44411         * sysdeps/s390/sigjmp.S: New file.
44412         * sysdeps/s390/v1-longjmp.c: New file.
44413         * sysdeps/s390/v1-setjmp.h: New file.
44414         * sysdeps/s390/v1-sigjmp.c: New file.
44415         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
44416         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
44417         GLIBC_2.19 version.
44418         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
44419         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
44420         versioned symbols for ____longjmp_chk.
44421         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44422         Likewise.
44423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44424         Regenerate.
44425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44426         Regenerate.
44427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44428         Regenerate.
44429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44430         Regenerate.
44431         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
44432         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
44433         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
44434         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
44435         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
44436         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
44437         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
44438         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
44439         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
44440         * sysdeps/s390/rtld-__longjmp.c: New file.
44441         * sysdeps/s390/rtld-setjmp.S: New file.
44443 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
44445         [BZ #16400]
44446         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44447         Return -__logl (x) for small positive arguments without evaluating
44448         a polynomial.
44450 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
44452         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
44453         Rename to ...
44454         (__ptrace_peeksiginfo_args): ... this.
44455         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44456         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44457         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44459 2014-01-06  Allan McRae  <allan@archlinux.org>
44461         * inet/netinet/in.h: Fix typo in comment.
44463 2014-01-05  Andreas Jaeger  <aj@suse.de>
44465         * sysdeps/i386/fpu/libm-test-ulps: Update.
44467 2014-01-05  Allan McRae  <allan@archlinux.org>
44469         * po/libc.pot: Regenerated.
44471         * malloc/memusagestat.c: Fix gettext call formatting.
44473 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
44475         * nscd/nscd.c: Improve usage() output.
44477 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
44479         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
44480         * sysdeps/unix/sysv/linux/configure: Regenerated.
44481         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
44482         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
44484 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44486         [BZ #16390]
44487         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44488         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
44490 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44492         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44493         extra tokens at end of #undef directive.
44494         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
44495         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
44496         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
44498 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44500         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44502         * math/auto-libm-test-in: Mark various tests with
44503         xfail-rounding:ldbl-128ibm.
44504         * math/auto-libm-test-out: Regenerated.
44506 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
44508         [BZ #16386]
44509         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
44510         numbers with subnormal high part when calculating exponent.
44512         [BZ #16385]
44513         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
44514         fabs.
44516         [BZ #16384]
44517         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44518         M_LN2l.
44519         (__ieee754_acoshl): Use __log1pl not __log1p.
44521 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
44523         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
44524         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
44525         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
44526         (grow_heap, heap_trim, _int_new_arena, get_free_list)
44527         (reused_arena, arena_get2): Convert to GNU style.
44528         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
44529         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
44530         (memalign_check, __malloc_set_state): Likewise.
44531         * malloc/mallocbug.c (main): Likewise.
44532         * malloc/malloc.c (__malloc_assert, malloc_init_state)
44533         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
44534         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
44535         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
44536         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
44537         (__posix_memalign, malloc_info): Likewise.
44538         * malloc/malloc.h: Likewise.
44539         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
44540         (mallochook, memalignhook, reallochook, mabort): Likewise.
44541         * malloc/mcheck.h: Likewise.
44542         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
44543         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
44544         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
44545         * malloc/morecore.c (__default_morecore): Likewise.
44546         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
44547         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
44548         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
44549         (print_and_abort): Likewise.
44550         * malloc/obstack.h: Likewise.
44551         * malloc/set-freeres.c (__libc_freeres): Likewise.
44552         * malloc/tst-mallocstate.c (main): Likewise.
44553         * malloc/tst-mtrace.c (main): Likewise.
44554         * malloc/tst-realloc.c (do_test): Likewise.
44556 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44558         [BZ #16366]
44559         * nscd/netgroupcache.c (do_notfound): New function.
44560         (addgetnetgrentX): Use it.
44562         [BZ # 16365]
44563         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
44564         NSS_STATUS_NOTFOUND.
44566 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
44568         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44571 2014-01-01  Allan McRae  <allan@archlinux.org>
44573         * scripts/update-copyrights: Update configure input file suffix.
44575         * NEWS: Update copyright year.
44576         * catgets/gencat.c: Likewise.
44577         * csu/version.c: Likewise.
44578         * debug/catchsegv.sh: Likewise.
44579         * debug/pcprofiledump.c: Likewise.
44580         * debug/xtrace.sh: Likewise.
44581         * elf/ldconfig.c: Likewise.
44582         * elf/ldd.bash.in: Likewise.
44583         * elf/pldd.c: Likewise.
44584         * elf/sotruss.ksh: Likewise.
44585         * elf/sprof.c: Likewise.
44586         * iconv/iconv_prog.c: Likewise.
44587         * iconv/iconvconfig.c: Likewise.
44588         * locale/programs/locale.c: Likewise.
44589         * locale/programs/localedef.c: Likewise.
44590         * login/programs/pt_chown.c: Likewise.
44591         * malloc/memusage.sh: Likewise.
44592         * malloc/memusagestat.c: Likewise.
44593         * malloc/mtrace.pl: Likewise.
44594         * manual/libc.texinfo: Likewise.
44595         * nscd/nscd.c: Likewise.
44596         * nss/getent.c: Likewise.
44597         * nss/makedb.c: Likewise.
44598         * posix/getconf.c: Likewise.
44599         * scripts/test-installation.pl: Likewise.
44601         * All files with FSF copyright notices: Update copyright dates
44602         using scripts/update-copyrights.
44603         * intl/plural.c: Regenerated.
44604         * locale/programs/charmap-kw.h: Likewise.
44605         * locale/programs/locfile-kw.h: Likewise.
44607 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
44609         * sysdeps/unix/sysv/linux/configure: Regenerated.
44610         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
44611         the linux/fanotify.h header.
44612         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
44613         HAVE_LINUX_FANOTIFY_H is defined.
44615 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44617         * benchtests/cos-inputs: New inputs.
44618         * benchtests/sin-inputs: Likewise.
44620         * benchtests/atan-inputs: New inputs. Fix name of multiple
44621         precision fallback inputs.
44623         * benchtests/atanh-inputs: New inputs.
44624         * benchtests/tanh-inputs: Likewise.
44626         * benchtests/acosh-inputs: New inputs.
44627         * benchtests/asinh-inputs: Likewise.
44629         * benchtests/cosh-inputs: New inputs.
44630         * benchtests/sinh-inputs: Likewise.
44632         * benchtests/acos-inputs: Add more inputs.
44633         * benchtests/asin-inputs: Likewise.
44635 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
44637         [BZ #16375]
44638         * manual/arith.texi: Fix spelling.
44639         * manual/charset.texi: Likewise.
44640         * manual/errno.texi: Likewise.
44641         * manual/filesys.texi: Likewise.
44642         * manual/lang.texi: Likewise.
44643         * manual/llio.texi: Likewise.
44644         * manual/locale.texi: Likewise.
44645         * manual/message.texi: Likewise.
44646         * manual/resource.texi: Likewise.
44647         * manual/search.texi: Likewise.
44648         * manual/setjmp.texi: Likewise.
44649         * manual/stdio.texi: Likewise.
44650         * manual/string.texi: Likewise.
44651         * manual/sysinfo.texi: Likewise.
44652         * manual/time.texi: Likewise.
44654 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
44656         * po/sl.po: New file.
44658 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
44660         * .gitignore: Add core/.gdbinit/.gdb_history.
44662 2013-12-27  Allan McRae  <allan@archlinux.org>
44664         [BZ #16369]
44665         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
44666         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
44668 2013-12-24  Brooks Moses  <bmoses@google.com>
44670         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
44671         all compilers that claim C++98 compliance, not just GCC.
44672         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
44673         Likewise.
44675 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44677         * NEWS: Restore accidentally deleted bug-fix entries.
44679 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44680             Ondřej Bílka  <neleai@seznam.cz>
44682         [BZ #15073]
44683         * malloc/malloc.c (_int_free): Perform sanity check only if we
44684         have_lock.
44686 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
44688         [BZ #12986]
44689         * manual/stdio.texi (String Input Conversions): Clarify that character
44690         classes are not supported.
44692 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44696 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
44698         [BZ #16337]
44699         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44700         Calculate results for small negative arguments directly rather
44701         than using reflection formula with special underflow handling.
44703         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
44704         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
44705         sysdeps/unix/bsd/bsd4.4/syscalls.list.
44706         (fchflags): Likewise.
44707         (revoke): Likewise.
44708         (setlogin): Likewise.
44709         (sigaltstack): Likewise.
44710         (wait4): Likewise.
44711         (sigblock): Remove.
44712         (sigsetmask): Likewise.
44713         (wait3): Likewise.
44714         (waitpid): Likewise.
44715         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
44716         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
44717         file.
44718         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
44719         * sysdeps/unix/bsd/Makefile: ... here.
44720         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
44721         * sysdeps/unix/bsd/Versions: ... here.
44722         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
44723         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
44724         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
44725         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
44726         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
44727         * sysdeps/unix/bsd/sigblock.c: ... here.
44728         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
44729         * sysdeps/unix/bsd/sigsetmask.c: ... here.
44730         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
44731         * sysdeps/unix/bsd/sigvec.c: ... here.
44732         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
44733         * sysdeps/unix/bsd/tcdrain.c: ... here.
44734         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
44735         * sysdeps/unix/bsd/tcgetattr.c: ... here.
44736         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
44737         * sysdeps/unix/bsd/tcsetattr.c: ... here.
44738         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
44739         * sysdeps/unix/bsd/wait.c: ... here.
44740         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
44741         * sysdeps/unix/bsd/wait3.c: ... here.
44742         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
44743         * sysdeps/unix/bsd/waitpid.c: ... here.
44745 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
44747         [BZ #16356]
44748         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
44749         round-to-nearest for [!USE_AS_EXPM1L].
44750         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
44751         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
44752         more tests of exp and exp10.  Expect some exp10 tests to miss
44753         exceptions or fail in directed rounding modes.
44754         * math/auto-libm-test-out: Regenerated.
44755         * math/libm-test.inc (exp10_tonearest_test_data): New array.
44756         (exp10_test_tonearest): New function.
44757         (exp10_towardzero_test_data): New array.
44758         (exp10_test_towardzero): New function.
44759         (exp10_downward_test_data): New array.
44760         (exp10_test_downward): New function.
44761         (exp10_upward_test_data): New array.
44762         (exp10_test_upward): New function.
44763         (main): Call the new functions.
44764         * sysdeps/i386/fpu/libm-test-ulps: Update.
44765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44767 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
44769         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
44770         asinh, atan, atan2, atanh, cbrt, cos and cosh.
44771         * math/auto-libm-test-out: Regenerated.
44772         * math/libm-test.inc (acosh_test_data): Add more tests.
44773         (atanh_test_data): Likewise.
44774         (ceil_test_data): Likewise.
44775         (copysign_test_data): Likewise.
44776         * sysdeps/i386/fpu/libm-test-ulps: Update.
44777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44779         * timezone/checktab.awk: Update from tzcode 2013i.
44780         * timezone/private.h: Likewise.
44781         * timezone/scheck.c: Likewise.
44782         * timezone/tzfile.h: Likewise.
44783         * timezone/tzselect.ksh: Likewise.
44784         * timezone/zdump.c: Likewise.
44785         * timezone/zic.c: Likewise.
44787         * math/auto-libm-test-in: Add tests of cpow.
44788         * math/auto-libm-test-out: Regenerated.
44789         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44790         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44791         mpc_cc_c.
44792         (func_calc_desc): Add mpc_cc_c union field.
44793         (test_functions): Add cpow.
44794         (special_fill_2pi): New function.
44795         (special_real_inputs): Add 2pi.
44796         (calc_generic_results): Handle mpc_cc_c.
44797         * sysdeps/i386/fpu/libm-test-ulps: Update.
44798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44800         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44801         csqrt, ctan and ctanh.
44802         * math/auto-libm-test-out: Regenerated.
44803         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44804         (TEST_COND_x86): Likewise.
44805         (ccos_test_data): Use AUTO_TESTS_c_c.
44806         (ccosh_test_data): Likewise.
44807         (cexp_test_data): Likewise.
44808         (clog_test_data): Likewise.
44809         (csqrt_test_data): Likewise.
44810         (ctan_test_data): Likewise.
44811         (ctan_tonearest_test_data): Likewise.
44812         (ctan_towardzero_test_data): Likewise.
44813         (ctan_downward_test_data): Likewise.
44814         (ctan_upward_test_data): Likewise.
44815         (ctanh_test_data): Likewise.
44816         (ctanh_tonearest_test_data): Likewise.
44817         (ctanh_towardzero_test_data): Likewise.
44818         (ctanh_downward_test_data): Likewise.
44819         (ctanh_upward_test_data): Likewise.
44820         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44821         mpc_c_c.
44822         (func_calc_desc): Add mpc_c_c union field.
44823         (FUNC_mpc_c_c): New macro.
44824         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44825         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44826         ctanh.
44827         (special_fill_min_subnorm_p120): New function.
44828         (special_real_inputs): Add min_subnorm_p120.
44829         (calc_generic_results): Handle mpc_c_c.
44830         * sysdeps/i386/fpu/libm-test-ulps: Update.
44831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44833 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44835         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44836         (do_sin_slow): New functions.
44837         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44838         (cslow2, csloww1, csloww2): Use the new functions.
44840         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44841         Use M to change sign of result instead of X.  Assume X is
44842         positive.
44843         (csloww1): Likewise.
44844         (__sin): Adjust.
44845         (__cos): Adjust.
44847         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44848         arguments A and DA.
44849         (__sin): Adjust.
44850         (__cos): Likewise.
44852         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44853         (__cos): Likewise.
44854         (sloww1): Don't adjust sign of DX.
44855         (csloww1): Likewise.
44856         (sloww2): Use X directly and don't adjust sign of DX.
44857         (csloww2): Likewise.
44859 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44861         * math/auto-libm-test-in: Add tests of cabs and carg.
44862         * math/auto-libm-test-out: Regenerated.
44863         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44864         (carg_test_data): Likewise.
44865         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44866         mpc_c_f.
44867         (func_calc_desc): Add mpc_c_f union field.
44868         (test_functions): Add cabs and carg.
44869         (calc_generic_results): Handle mpc_c_f.
44871         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44872         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44873         as a macro and a compat symbol.
44874         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44875         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44876         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44877         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44878         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44879         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44880         not use .hidden.
44881         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44882         Likewise.
44883         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44884         Likewise.
44885         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44886         Likewise.
44887         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44888         Likewise.
44889         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44890         Likewise.
44891         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44892         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44893         from GLIBC_2.3.2.
44895 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44899 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44901         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44902         trailing whitespace removed.
44903         * scripts/config.guess: Update to version 2013-11-29.
44904         * scripts/config.sub: Update to version 2013-10-01.
44906         * math/auto-libm-test-in: Add tests of sincos.
44907         * math/auto-libm-test-out: Regenerated.
44908         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44909         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44910         mpfr_f_11.
44911         (func_calc_desc): Add mpfr_f_11 union field.
44912         (test_functions): Add sincos.
44913         (calc_generic_results): Handle mpfr_f_11.
44914         * sysdeps/i386/fpu/libm-test-ulps: Update.
44915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44917 2013-12-19  Andreas Schwab  <schwab@suse.de>
44919         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44920         CALL_MCOUNT.
44921         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44922         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44923         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44925 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44927         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44928         * sysdeps/i386/fpu/libm-test-ulps: Update.
44929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44931         [BZ #16293]
44932         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44933         round-to-nearest mode when using frndint.
44934         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44935         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44936         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44937         Likewise.
44938         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44939         sinh test to fail.
44940         * math/auto-libm-test-out: Regenerated.
44941         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44942         (TEST_COND_x86): Likewise.
44943         (expm1_tonearest_test_data): New array.
44944         (expm1_test_tonearest): New function.
44945         (expm1_towardzero_test_data): New array.
44946         (expm1_test_towardzero): New function.
44947         (expm1_downward_test_data): New array.
44948         (expm1_test_downward): New function.
44949         (expm1_upward_test_data): New array.
44950         (expm1_test_upward): New function.
44951         (main): Run the new test functions.
44952         * sysdeps/i386/fpu/libm-test-ulps: Update.
44953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44955         * include/features.h: Update comment documenting feature test
44956         macros.  Mention _DEFAULT_SOURCE in comment.
44957         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44958         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44959         _BSD_SOURCE and _SVID_SOURCE.
44960         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44961         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44962         !_SVID_SOURCE]: Likewise.
44963         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44964         (__USE_POSIX_IMPLICITLY): Define.
44965         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44966         (_POSIX_SOURCE): Undefine and redefine.
44967         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44968         (_POSIX_C_SOURCE): Likewise.
44969         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44970         (Feature Test Macros): Update documentation of default features.
44972 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44974         * benchtests/Makefile: Add bench-strtok.
44975         * benchtests/bench-strtok.c: New file: strtok benchtest.
44977 2013-12-19  Allan McRae  <allan@archlinux.org>
44979         * manual/install.texi: Suppress menu for plain text output.
44980         * INSTALL: Regenerated.
44982 2013-12-18  Brooks Moses  <bmoses@google.com>
44984         [BZ #15846]
44985         * misc/getauxval.c: Include errno.h.
44986         (__getauxval): Set errno to ENOENT if the requested type is not
44987         found.
44988         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44989         don't declare with __attribute_const__.
44990         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44991         * manual/startup.texi: Document that getauxval sets errno.
44993 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44995         * math/auto-libm-test-in: Add tests of jn and yn.
44996         * math/auto-libm-test-out: Regenerated.
44997         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
44998         (yn_test_data): Likewise.
44999         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45000         mpfr_if_f.
45001         (func_calc_desc): Add mpfr_if_f union field.
45002         (FUNC_mpfr_if_f): New macro.
45003         (test_functions): Add jn and yn.
45004         (calc_generic_results): Assert type of second input for
45005         mpfr_ff_f.  Handle mpfr_if_f.
45006         (output_for_one_input_case): Disable all checking for arguments
45007         fitting floating-point types in case of an integer argument.
45008         * sysdeps/i386/fpu/libm-test-ulps: Update.
45009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45012         Don't expect fegetround reference in libm.so.
45014 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45016         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45017         $(config-cflags-nofma).
45019 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45021         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45022         * math/auto-libm-test-out: Regenerated.
45024         [BZ #16338]
45025         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45026         to determine exponent and adjust argument to have exponent of -1.
45027         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45028         log2.
45029         * math/auto-libm-test-out: Regenerated.
45030         * sysdeps/i386/fpu/libm-test-ulps: Update.
45031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45033 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45035         * manual/probes.texi: Remove cases when per-thread arenas are
45036         disabled.
45038 2013-12-18  Andreas Schwab  <schwab@suse.de>
45040         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45041         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45042         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45043         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45044         * sysdeps/i386/i686/multiarch/Makefile: Update.
45045         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45047 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45049         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45050         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45052 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45054         [BZ #15968]
45055         Support TZ transition times < 00:00:00.
45056         This is needed for version-3 tz-format files; it supports time
45057         stamps past 2037 for America/Godthab (the only entry in the tz
45058         database for which this change is relevant).
45059         * manual/time.texi (TZ Variable): Document transition times
45060         from -167:59:59 through -00:00:01.
45061         * time/tzset.c (tz_rule): Time of day is now signed.
45062         (__tzset_parse_tz): Parse negative time of day.
45064         Document TZ transition times >= 25:00:00.
45065         * manual/time.texi (TZ Variable): Document transition times from
45066         25:00:00 through 167:59:59.  These are already supported, and this
45067         support will help with version-3 tz-format files.
45069         * manual/time.texi (TZ Variable): Modernize North America example
45070         to reflect current (i.e., 2007-and-later) daylight saving rules.
45072         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45074 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45076         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45077         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45078         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45080         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45081         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45082         * sysdeps/unix/bsd/clock.c: Likewise.
45083         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45084         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45085         * sysdeps/unix/bsd/init-posix.c: Likewise.
45086         * sysdeps/unix/bsd/poll.c: Likewise.
45087         * sysdeps/unix/bsd/ptsname.c: Likewise.
45088         * sysdeps/unix/bsd/seekdir.c: Likewise.
45089         * sysdeps/unix/bsd/setegid.c: Likewise.
45090         * sysdeps/unix/bsd/seteuid.c: Likewise.
45091         * sysdeps/unix/bsd/setgid.c: Likewise.
45092         * sysdeps/unix/bsd/setrgid.c: Likewise.
45093         * sysdeps/unix/bsd/setruid.c: Likewise.
45094         * sysdeps/unix/bsd/setsid.c: Likewise.
45095         * sysdeps/unix/bsd/setuid.c: Likewise.
45096         * sysdeps/unix/bsd/sigaction.c: Likewise.
45097         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45098         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45099         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45100         * sysdeps/unix/bsd/telldir.c: Likewise.
45101         * sysdeps/unix/bsd/times.c: Likewise.
45102         * sysdeps/unix/bsd/usleep.c: Likewise.
45104         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45105         ($(objpfx)libbsd-compat.a): Remove rule.
45107         * include/features.h (__FAVOR_BSD): Do not define.
45108         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45109         features conflicting with POSIX.
45110         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45111         (_BSD_SOURCE): Remove description of not being a subset of other
45112         feature test macros.
45113         * manual/job.texi (getpgrp): Do not document BSD version.
45114         (getpgid): Do not document by reference to BSD getpgrp.
45115         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45116         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45117         * signal/signal.h [__FAVOR_BSD]: Likewise.
45118         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45119         instead of making contents conditional on [__FAVOR_BSD].
45120         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45122 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45126 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45128         [BZ #16314]
45129         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
45130         values below 2**-450, not 2**-500.
45131         * math/auto-libm-test-in: Don't allow spurious underflow from
45132         hypot.
45133         * math/auto-libm-test-out: Regenerated.
45135         [BZ #16316]
45136         [BZ #16330]
45137         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
45138         values of ha and hb and sort them after adjusting subnormal
45139         arguments.
45140         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
45141         Likewise.
45142         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
45143         values of ea and eb and sort them after adjusting subnormal
45144         arguments.
45145         * math/auto-libm-test-in: Do not expect some hypot tests of
45146         subnormals to fail.  Add more hypot tests.
45147         * math/auto-libm-test-out: Regenerated.
45149 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45151         [BZ #13304]
45152         * sysdeps/sh/s_fma.c: New file.
45153         * sysdeps/sh/s_fmaf.c: New file.
45154         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
45155         version.
45156         * sysdeps/sh/Implies: Add sh/soft-fp.
45158 2013-12-16  Roland McGrath  <roland@hack.frob.com>
45160         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
45161         level of indirection to members `objname', `errstring', `malloced'.
45162         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
45163         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
45164         it as the __longjmp argument (just pass 1 instead).
45165         (_dl_catch_error): Initialize C with argument pointers and address of
45166         volatile local ERRCODE rather than copying values out of C at return.
45168 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
45170         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
45171         * math/auto-libm-test-out: Regenerated.
45172         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
45173         (hypot_test_data): Likewise.
45174         (pow_test_data): Likewise.
45175         (pow_tonearest_test_data): Likewise.
45176         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45177         mpfr_ff_f.
45178         (func_calc_desc): Add mpfr_ff_f union field.
45179         (FUNC_mpfr_ff_f): New macro.
45180         (test_functions): Add atan2, hypot and pow.
45181         (special_fill_min): New function.
45182         (special_fill_minus_min): Likewise.
45183         (special_fill_min_subnorm): Likewise.
45184         (special_fill_minus_min_subnorm): Likewise.
45185         (special_real_inputs): Add min, -min, min_subnorm and
45186         -min_subnorm.
45187         (calc_generic_results): Handle mpfr_ff_f.
45188         * sysdeps/i386/fpu/libm-test-ulps: Update.
45189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45191 2013-12-16  Will Newton  <will.newton@linaro.org>
45193         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
45194         (Aligned Memory Blocks): Add documentation for aligned_alloc
45195         and suggest it as an alternative to posix_memalign.
45196         (Hooks for Malloc): Document __memalign_hook is also called
45197         for aligned_alloc.  (Summary of Malloc): Add summary for
45198         aligned alloc.  Document __memalign_hook is also called
45199         for aligned_alloc.
45201 2013-12-16  Will Newton  <will.newton@linaro.org>
45203         * manual/memory.texi (Malloc Examples): Clarify default
45204         alignment documentation.  Suggest posix_memalign rather
45205         than memalign or valloc.
45206         (Aligned Memory Blocks): Remove suggestion to use memalign
45207         or valloc.  Remove obsolete comment about BSD.
45208         Document memalign errno values and mark the function obsolete.
45209         Document posix_memalign returned error codes.  Mark valloc
45210         as obsolete.  (Hooks for Malloc): __memalign_hook is also
45211         called for posix_memalign and valloc.
45212         (Summary of Malloc): Add posix_memalign to function summary.
45213         __memalign_hook is also called for posix_memalign and valloc.
45215 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45217         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
45218         TAYLOR_SIN.
45219         (__sin): Adjust.
45220         (__cos): Likewise.
45221         (sloww): Use mynumber union.  Expand ternary operator into
45222         if-else statements.
45223         (cslow): use mynumber union.
45225 2013-12-16  Allan McRae  <allan@archlinux.org>
45227         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
45228         * configure: Regenerated.
45230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
45232         [BZ #14120]
45233         * configure.ac: Added --enable-maintainer-mode. Check for
45234         autoconf when enabled.
45235         * configure: Regenerated.
45237         * nscd/nscd.service: New file.
45238         * nscd/nscd.tmpfiles: New file.
45240 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
45242         [BZ #12100]
45243         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
45244         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45245         * sysdeps/x86_64/multiarch/strstr.c: ... here.
45246         (strstr): Add __strstr_sse2_unaligned ifunc.
45247         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
45248         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
45249         (strcasestr): Remove __strcasestr_sse42 ifunc.
45250         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
45251         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45254 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45256         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
45257         * sysdeps/sh/bits/fenv.h: ... here.
45258         * sysdeps/sh/sh4/fpu/bits: Remove directory.
45260 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45262         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
45264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
45265         hypotf multiarch implementations.
45266         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45267         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
45268         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
45269         multiarch hypot for PPC64.
45270         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
45271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45272         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
45273         multiarch hypotf for PPC64.
45275         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
45276         modff multiarch implementations.
45277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
45278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
45279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
45280         multiarch modf for PPC64.
45281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
45282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
45283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
45284         multiarch modff for PPC64.
45286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
45287         and logl multiarch implementations.
45288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
45289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
45290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
45291         multiarch logb for PPC64.
45292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
45293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
45294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
45295         multiarch logb for PPC64.
45296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
45297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
45299         multiarch logb for PPC64.
45301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
45302         isinff multiarch implementation.
45303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
45304         file.
45305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
45306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
45307         multiarch isinf for PPC64.
45308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45309         file.
45310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45311         multiarch isinff for PPC64.
45313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45314         finitef multiarch implementation.
45315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45316         file.
45317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45319         multiarch finite for PPC64.
45320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45321         file.
45322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45323         multiarch finitef for PPC64.
45325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45326         lrint multiarch implementation.
45327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45328         file.
45329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45331         multiarch llrint for PPC64.
45332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45333         multiarch lrint for PPC64.
45335         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45336         copysignf multiarch implementation.
45337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45338         file.
45339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45340         file.
45341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45342         multiarch copysign for PPC64.
45343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45344         multiarch copysignf for PPC64.
45346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45347         multiarch implementation.
45348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45349         file.
45350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45351         file.
45352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45353         file.
45354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45355         file.
45356         multiarch llround for PPC64.
45357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45358         multiarch trunc for PPC64.
45359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45360         multiarch truncf for PPC64.
45362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45363         multiarch implementation.
45364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45365         file.
45366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45367         file.
45368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45369         file.
45370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45371         file.
45372         multiarch llround for PPC64.
45373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45374         multiarch round for PPC64.
45375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45376         multiarch roundf for PPC64.
45378         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45379         multiarch implementation.
45380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45381         file.
45382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45383         file.
45384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45385         file.
45386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45387         file.
45388         multiarch llround for PPC64.
45389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45390         multiarch floor for PPC64.
45391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45392         multiarch floorf for PPC64.
45394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45395         multiarch implementation.
45396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45397         file.
45398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45399         file.
45400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45401         file.
45402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45403         file.
45404         multiarch llround for PPC64.
45405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45406         multiarch ceil for PPC64.
45407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45408         multiarch ceilf for PPC64.
45410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45411         multiarch implementation.
45412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45413         file.
45414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
45415         file.
45416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
45417         file.
45418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
45419         multiarch llround for PPC64.
45420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
45421         multiarch lround for PPC64.
45423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45424         multiarch implementation.
45425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
45426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
45427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
45428         file.
45429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
45430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
45431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45432         multiarch isnan for PPC64.
45433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
45434         multiarch isnanf for PPC64.
45436         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
45437         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
45438         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
45439         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
45440         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
45441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
45443         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
45444         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45445         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45446         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
45449         multiarch implementations.
45450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45451         (__libc_ifunc_impl_list): Likewise.
45452         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
45453         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
45454         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
45455         multiarch stpcpy for PPC64.
45457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
45458         multiarch implementations.
45459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45460         (__libc_ifunc_impl_list): Likewise.
45461         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
45462         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
45463         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
45464         multiarch strcpy for PPC64.
45466         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
45467         redefine function name.
45468         (_wordcopy_fwd_dest_aligned): Likewise.
45469         (_wordcopy_bwd_aligned): Likewise.
45470         (_wordcopy_bwd_dest_aligned): Likewise.
45471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
45472         multiarch implementations.
45473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45474         (__libc_ifunc_impl_list): Likewise.
45475         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
45476         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
45477         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
45478         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
45479         multiarch wcscpy for PPC64.
45481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
45482         multiarch implementations.
45483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45484         (__libc_ifunc_impl_list): Likewise.
45485         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
45486         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
45487         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
45488         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
45489         multiarch wcscpy for PPC64.
45491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
45492         multiarch implementations.
45493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45494         (__libc_ifunc_impl_list): Likewise.
45495         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
45496         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
45497         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
45498         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
45499         multiarch wcsrchr for PPC64.
45501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
45502         multiarch implementations.
45503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45504         (__libc_ifunc_impl_list): Likewise.
45505         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
45506         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
45507         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
45508         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
45509         multiarch wcschr for PPC64.
45511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
45512         multiarch implementations.
45513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45514         (__libc_ifunc_impl_list): Likewise.
45515         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
45516         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
45517         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
45518         multiarch strchrnul for PPC64.
45520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
45521         implementations.
45522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45523         (__libc_ifunc_impl_list): Likewise.
45524         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
45525         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
45526         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
45527         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
45528         strchr for PPC64.
45530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
45531         implementations.
45532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45533         (__libc_ifunc_impl_list): Likewise.
45534         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
45535         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
45536         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
45537         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
45538         strncmp for PPC64.
45540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
45541         multiarch implementations.
45542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45543         (__libc_ifunc_impl_list): Likewise.
45544         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
45545         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
45546         strncasecmp for PPC64.
45547         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
45548         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
45549         multiarch strncasecmp_l for PPC64.
45551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
45552         multiarch implementations.
45553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45554         (__libc_ifunc_impl_list): Likewise.
45555         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
45556         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
45557         multiarch strcasecmp for PPC64.
45558         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
45559         file.
45560         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
45561         multiarch strcasecmp_l for PPC64.
45563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
45564         implementations.
45565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45566         (__libc_ifunc_impl_list): Likewise.
45567         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
45568         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
45569         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
45570         strnlen for PPC64.
45572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
45573         implementations.
45574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45575         (__libc_ifunc_impl_list): Likewise.
45576         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
45577         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
45578         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
45579         strlen for PPC64.
45581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
45582         implementations.
45583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45584         (__libc_ifunc_impl_list): Likewise.
45585         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
45586         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
45587         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
45588         rawmemrchr for PPC64.
45590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
45591         implementation.
45592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45593         (__libc_ifunc_impl_list): Likewise.
45594         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
45595         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
45596         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
45597         memrchr for PPC64.
45599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
45600         implementation.
45601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45602         (__libc_ifunc_impl_list): Likewise.
45603         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
45604         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
45605         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
45606         memchr for PPC64.
45608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
45609         implementation.
45610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45611         (__libc_ifunc_impl_list): Likewise.
45612         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
45613         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
45614         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
45615         mempcpy for PPC64.
45617         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
45618         avoid cretion of __bzero symbol.
45619         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
45620         Likewise.
45621         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
45622         Likewise.
45623         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
45624         Likewise.
45625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
45626         multiarch implementations.
45627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45628         (__libc_ifunc_impl_list): Likewise.
45629         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
45630         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
45631         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
45632         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
45633         bzero for PPC32.
45634         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
45635         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
45636         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
45637         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
45638         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
45639         memset for PPC64.
45640         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
45642         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
45643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
45644         implementations.
45645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45646         (__libc_ifunc_impl_list): Likewise.
45647         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
45648         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
45649         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
45650         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
45651         memcmp for PPC64.
45653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
45654         multiarch for POWER/PPC64.
45655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
45656         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
45657         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
45658         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
45659         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
45660         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
45661         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
45662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
45663         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
45664         memcpy for PPC64.
45666         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
45667         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
45668         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
45669         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
45670         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
45671         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
45672         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
45673         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
45674         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
45675         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
45676         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
45677         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
45678         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
45679         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
45680         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
45681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
45682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
45683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
45684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
45685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
45686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
45687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
45689 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45691         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
45693 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45695         * benchtests/Makefile (bench): Add exp2 and log2.
45696         (LDLIBS-bench-exp2): Add -lm.
45697         (LDLIBS-bench-log2): Likewise.
45698         * benchtests/exp2-inputs: New inputs file.
45699         * benchtests/log2-inputs: New inputs file.
45700         * benchtests/log-inputs: Add new inputs.
45701         * benchtests/tan-inputs: Likewise.
45703 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45705         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
45706         definition...
45707         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
45708         (csloww2): ... from here.
45710         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
45711         instead of structures.
45712         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
45713         (POLYNOMIAL): Likewise.
45714         (TAYLOR_SLOW): Likewise.
45715         (__sin): Likewise.
45716         (__cos): Likewise.
45717         (slow1): Likewise.
45718         (slow2): Likewise.
45719         (sloww): Likewise.
45720         (sloww1); Likewise.
45721         (sloww2): Likewise.
45722         (bsloww1): Likewise.
45723         (bsloww2): Likewise.
45724         (cslow2): Likewise.
45725         (csloww): Likewise.
45726         (csloww1): Likewise.
45727         (csloww2): Likewise.
45729 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
45731         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
45732         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
45733         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
45734         * malloc/hooks.c (realloc_check): Likewise.
45736         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
45737         * malloc/arena.c: Remove PER_THREAD conditional.
45738         [!PER_THREAD]: Remove code.
45739         (ptmalloc_unlock_all2): Likewise.
45740         (ptmalloc_init): Likewise.
45741         (_int_new_arena): Likewise.
45742         (arena_get2): Likewise.
45743         * malloc/hooks.c (__malloc_get_state): Likewise.
45744         (__malloc_set_state): Likewise.
45745         * malloc/malloc.c: Likewise.
45746         (struct malloc_state): Likewise.
45747         (struct malloc_par): Likewise.
45748         (__libc_realloc): Likewise.
45749         (__libc_mallopt): Likewise.
45751 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45753         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
45755 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
45757         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
45758         macro to a function.  Check for zero perturb_byte.
45759         (_int_malloc, _int_free): Remove zero perturb_byte checks.
45761         * malloc/malloc.c: (force_reg): Remove.
45762         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
45763         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
45764         force_reg by atomic_forced_read.
45765         * malloc/arena.c (ptmalloc_init): Likewise.
45766         * malloc/hooks.c (top_check): Likewise.
45768 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45772 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
45774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45776 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
45778         * math/auto-libm-test-in: Add tests of lgamma.
45779         * math/auto-libm-test-out: Regenerated.
45780         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45781         (M_LOG_2_SQRT_PIl): Likewise.
45782         (lgamma_test_data): Use AUTO_TESTS_f_f1.
45783         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45784         mpfr_f_f1.
45785         (func_calc_desc): Add mpfr_f_f1 union field.
45786         (ARGS1): New macro.
45787         (ARGS2): Likewise.
45788         (ARGS3): Likewise.
45789         (ARGS4): Likewise.
45790         (RET1): Likewise.
45791         (RET2): Likewise.
45792         (CALC): Likewise.
45793         (FUNC): Likewise.
45794         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45795         (test_functions): Add lgamma.
45796         (calc_generic_results): Handle mpfr_f_f1.
45797         * sysdeps/i386/fpu/libm-test-ulps: Update.
45798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45800 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45802         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45803         __mpn_add_n for PowerPC64/POWER7.
45804         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45805         __mpn_sub_n for PowerPC64/POWER7.
45807         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45808         __mpn_addmul_1 for PowerPC64.
45809         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45810         __mpn_submul_1 for PowerPC64.
45811         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45812         for PowerPC64.
45813         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45814         for PowerPC64.
45816 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45818         [BZ #15089]
45819         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45821 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45823         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45825         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45826         add multiarch folders.
45827         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45828         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45829         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45830         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45831         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45832         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45833         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45834         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45835         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45836         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45837         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45846         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45848         New file.
45849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45850         New file.
45851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45852         multiarch __ieee754_hypot for PowerPC32.
45853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45854         New file.
45855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45856         New file.
45857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45858         multiarch __ieee754_hypotf for PowerPC32.
45860         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45861         long_double_symbol only if __logbl is defined.
45862         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45863         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45864         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45865         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45866         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45867         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45868         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45869         path for implementation.
45870         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45871         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45873         logb, and logbl multiarch implementations for PowerPC32.
45874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45875         file.
45876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45877         file.
45878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45879         multiarch logb for PowerPC32.
45880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45881         file.
45882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45883         file.
45884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45885         multiarch logbf for PowerPC32.
45886         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45888         file.
45889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45890         multiarch logbl implementation for PowerPC32.
45892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45893         and modff multiarch implementations.
45894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45895         New file.
45896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45897         New file.
45898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45899         multiarch modf for PowerPC32.
45900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45901         New file.
45902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45903         New file.
45904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45905         multiarch modff for PowerPC32.
45907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45908         and lrintf multiarch implementations.
45909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45910         New file.
45911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45912         New file.
45913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45914         multiarch lrint for PowerPC32.
45915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45916         file: multiarch lrintf for PowerPC32.
45918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45919         and lroundf multiarch implementations.
45920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45921         New file.
45922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45923         New file.
45924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45925         New file.
45926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45927         multiarch lround for PowerPC32.
45928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45929         file: multiarch lroundf for PowerPC32.
45931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45932         copysign and copysignf multiarch implementations.
45933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45934         New file.
45935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45936         New file.
45937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45938         file: multiarch copysign for PowerPC32.
45939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45940         file: multiarch copysignf for PowerPC32.
45942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45943         and truncf multiarch implementations.
45944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45945         New file.
45946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45947         file.
45948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45949         multiarch trunc for PowerPC32.
45950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45951         New file.
45952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45953         New file.
45954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45955         multiarch truncf for PowerPC32.
45957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45958         and roundf multiarch implementations.
45959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45960         New file.
45961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45962         file.
45963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45964         multiarch round for PowerPC32.
45965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45966         New file.
45967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45968         New file.
45969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45970         multiarch roundf for PowerPC32.
45972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45973         and floorf multiarch implementations.
45974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45975         New file.
45976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45977         file.
45978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45979         multiarch floor for PowerPC32.
45980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45981         New file.
45982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45983         New file.
45984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45985         multiarch floorf for PowerPC32.
45987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45988         and ceilf multiarch implementations.
45989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45990         New file.
45991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45992         file.
45993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45994         multiarch ceil for PowerPC32.
45995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
45996         New file.
45997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
45998         file.
45999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46000         multiarch ceilf for PowerPC32.
46002         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46003         is defined.
46004         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46005         FINITEF is defined.
46006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46007         and finitef multiarch implementations.
46008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46009         New file.
46010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46011         file.
46012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46013         multiarch finite for PowerPC32.
46014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46015         New file.
46016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46017         file: multiarch finitef for PowerPC32.
46019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46020         and isinff multiarch implementations.
46021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46022         file.
46023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46024         file.
46025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46026         multiarch isinf for PowerPC32.
46027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46028         New file.
46029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46030         multiarch isinff for PowerPC32.
46032         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46033         alias when __isnan is defined.
46034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46035         and isnanf multiarch implementations.
46036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46037         file.
46038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46039         file.
46040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46041         file.
46042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46043         file.
46044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46045         multiarch isnan for PowerPC32.
46046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46047         New file.
46048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46049         New file.
46050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46051         multiarch isnanf for PowerPC32.
46053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46054         and sqrtf multiarch implementations.
46055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46056         file.
46057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46058         file.
46059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46060         multiarch sqrt for PowerPC32.
46061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46062         file.
46063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46064         file.
46065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46066         multiarch sqrtf for PowerPC32.
46068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46069         and llroundf multiarch implementations.
46070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46071         New file.
46072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46073         New file.
46074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46075         New file.
46076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46077         file: multiarch llround for PowerPC32.
46078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46079         file: multiarch llroundf for PowerPC32.
46081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46082         multiarch PowerPC32 fpu implementations.
46083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46084         New file.
46085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46086         New file.
46087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46088         multiarch llrint for PowerPC32.
46089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46090         New file.
46091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46092         New file.
46093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46094         file.
46096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46098         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46099         file.
46100         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46101         file.
46102         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46103         file.
46104         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46105         multiarch wordcopy for PPC32.
46106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46107         wordcopy objects.
46108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46109         (__libc_ifunc_impl_list): Likewise.
46110         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46111         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46112         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46113         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46114         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46115         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46117         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46119         file.
46120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46121         file.
46122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46123         file.
46124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46125         multiarch wcscpy for PPC32.
46126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46127         multiarch objects.
46128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46129         (__libc_ifunc_impl_list): Likewise.
46130         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46131         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46132         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
46133         sysdeps/powerpc/power6/wcscpy.c.
46135         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
46136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
46137         file.
46138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
46139         file.
46140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
46141         file.
46142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
46143         multiarch wcsrchr for PPC32.
46144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46145         multiarch objects.
46146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46147         (__libc_ifunc_impl_list): Likewise.
46148         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46149         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46150         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
46151         sysdeps/powerpc/power6/wcsrchr.c.
46153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
46154         file.
46155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
46156         file.
46157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
46158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
46159         multiarch wcschr for PPc32.
46160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46161         multiarch objects.
46162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46163         (__libc_ifunc_impl_list): Likewise.
46164         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
46165         * sysdeps/powerpc/power6/wcschr.c: ... to here.
46166         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
46167         sysdeps/powerpc/power6/wcschr.c.
46169         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
46170         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
46171         file.
46172         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
46173         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46174         file: multiarch strchr for PPC32.
46175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
46176         multiarch objects.
46177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46178         (__libc_ifunc_impl_list): Likewise.
46180         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
46181         name.
46182         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
46183         file.
46184         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
46185         file.
46186         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
46187         multiarch strchrnul for PPC32.
46188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
46189         multiarch objects.
46190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46191         (__libc_ifunc_impl_list): Likewise.
46193         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
46194         file.
46195         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
46196         multiarch strncasecmp for PPC32.
46197         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
46198         file.
46199         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
46200         multiarch strncasecmp_l for PPC32.
46201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
46202         strncasecmp multiarch objects.
46203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46204         (__libc_ifunc_impl_list): Likewise.
46206         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
46207         file.
46208         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
46209         multiarch strncasecmp for PPC32.
46210         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46211         New file.
46212         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
46213         multiarch strcasecmp_l for PPC32.
46214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
46215         multiarch objects.
46216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46217         (__libc_ifunc_impl_list): Likewise.
46219         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
46220         file.
46221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
46222         file.
46223         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
46224         multiarch strncmp for PPC32.
46225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
46226         multiarch objects.
46227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46228         (__libc_ifunc_impl_list): Likewise.
46230         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
46231         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
46232         file.
46233         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
46234         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
46235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
46236         multiarch objects.
46237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46238         (__libc_ifunc_impl_list): Likewise.
46240         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
46241         file.
46242         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
46243         file.
46244         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
46245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
46246         multiarch objects.
46247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46248         (__libc_ifunc_impl_list): Likewise.
46250         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
46251         file.
46252         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
46253         file.
46254         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
46255         multiarch rawmemchr for PPC32.
46256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
46257         multiarch objects.
46258         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46259         (__libc_ifunc_impl_list): Likewise.
46261         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
46262         file.
46263         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
46264         file.
46265         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
46266         file: memrchr multiarch for PPC32.
46267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
46268         multiarch objects.
46269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46270         (__libc_ifunc_impl_list): Likewise.
46272         * string/memchr.c (__memchr): Using macro to redefine symbol name.
46273         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
46274         file.
46275         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
46276         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
46277         multiarch memchr for PPC32.
46278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
46279         multiarch objects.
46280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46281         (__libc_ifunc_impl_list): Likewise.
46283         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
46284         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
46285         file.
46286         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46287         file.
46288         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
46289         file: multiarch mempcpy for PPC32.
46290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
46291         multiarch objects.
46292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46293         (__libc_ifunc_impl_list): Likewise.
46295         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
46296         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
46297         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
46298         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
46299         multiarch bzero for PPC32.
46300         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
46301         file.
46302         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
46303         file.
46304         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
46305         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
46306         file: multiarch memset for PPC32.
46307         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
46308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46309         memset multiarch objects.
46310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46311         (__libc_ifunc_impl_list): Likewise.
46313         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46314         file.
46315         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46317         memcmp for PPC32.
46318         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46320         multiarch objects.
46321         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46322         (__libc_ifunc_impl_list): Likewise.
46324         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46325         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46326         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46327         file.
46328         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46329         file.
46330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46331         file.
46332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46333         multiarch memcpy for PPC32.
46334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46335         multiarch objects.
46336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46337         (__libc_ifunc_impl_list): Likewise.
46339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46340         support multiarch for POWER/PPC32.
46341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46342         Likewise.
46343         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46345         Implies file to make multiarch folder appers before the fpu and
46346         default folder for power4 configuration.
46348 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46350         * scripts/bench.pl: Append volatile keyword to type.
46352 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46354         * sysdeps/sh/sotruss-lib.c: New file.
46355         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46357 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46361 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
46363         [BZ #6810]
46364         * math/w_tgamma.c: Include <errno.h>.
46365         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
46366         * math/w_tgammaf.c: Include <errno.h>.
46367         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
46368         * math/w_tgammal.c: Include <errno.h>.
46369         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
46370         * math/auto-libm-test-in: Do not allow missing errno on tgamma
46371         underflow.  Add more tgamma tests.
46372         * math/auto-libm-test-out: Regenerated.
46373         * sysdeps/i386/fpu/libm-test-ulps: Update.
46374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46376         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46377         sin, sinh, tan, tanh, tgamma, y0 and y1.
46378         * math/auto-libm-test-out: Regenerated.
46379         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46380         (TEST_COND_x86): Likewise.
46381         (M_E2l): Remove macro.
46382         (M_E3l): Likewise.
46383         (M_2_SQRT_PIl): Likewise.
46384         (M_SQRT_PIl): Likewise.
46385         (M_1_DIV_El): Likewise.
46386         (log_test_data): Use AUTO_TESTS_f_f.
46387         (log10_test_data): Likewise.
46388         (log1p_test_data): Likewise.
46389         (log2_test_data): Likewise.
46390         (sin_test_data): Likewise.
46391         (sin_tonearest_test_data): Likewise.
46392         (sin_towardzero_test_data): Likewise.
46393         (sin_downward_test_data): Likewise.
46394         (sin_upward_test_data): Likewise.
46395         (sinh_test_data): Likewise.
46396         (sinh_tonearest_test_data): Likewise.
46397         (sinh_towardzero_test_data): Likewise.
46398         (sinh_downward_test_data): Likewise.
46399         (sinh_upward_test_data): Likewise.
46400         (tan_test_data): Likewise.
46401         (tan_tonearest_test_data): Likewise.
46402         (tan_towardzero_test_data): Likewise.
46403         (tan_downward_test_data): Likewise.
46404         (tan_upward_test_data): Likewise.
46405         (tanh_test_data): Likewise.
46406         (tgamma_test_data): Likewise.
46407         (y0_test_data): Likewise.
46408         (y1_test_data): Likewise.
46409         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46410         (special_real_inputs): Add pi/4.
46411         * sysdeps/i386/fpu/libm-test-ulps: Update.
46412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46414 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46416         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
46417         "longjmp_target" static probes.
46418         (__longjmp): Rename to __longjmp_symbol.
46419         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46420         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
46421         on which longjmp to generate.
46422         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46423         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
46424         probe.
46425         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46426         (__sigjmp_save): Rename to __sigjmp_save_symbol.
46427         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46428         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
46429         and __sigjmp_save_symbol based on which sigsetjmp to generated.
46430         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
46432         __longjmp_symbol based on which __longjmp to generate.
46433         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
46434         probe.
46435         (setjmp): Rename to setjmp_symbol.
46436         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46437         (_setjmp): Rename to _setjmp_symbol.
46438         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46439         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
46440         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
46441         which setjmp to generate.
46442         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
46443         "longjmp_target" static probes.
46445 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46447         * benchtests/README: Add note about output arguments.
46448         * benchtests/bench-sincos.c: Remove file.
46449         * benchtests/sincos-inputs: New file.
46450         * scripts/bench.pl: Identify output arguments and define
46451         static variables for them.
46453         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
46455         [BZ #15941]
46456         * Makefile (INSTALL): Add install-plain.texi as the primary
46457         dependency.
46458         * manual/install-plain.texi: New file.
46459         * manual/install.texi: Include node directive only for
46460         non-plaintext output.
46462 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
46464         * stdlib/longlong.h: Update from GCC.
46466         [BZ #6807]
46467         [BZ #15901]
46468         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
46469         * math/w_j0f.c (y0f): Likewise.
46470         * math/w_j0l.c (__y0l): Likewise.
46471         * math/w_j1.c (y1): Likewise.
46472         * math/w_j1f.c (y1f): Likewise.
46473         * math/w_j1l.c (__y1l): Likewise.
46474         * math/w_jn.c (yn): Likewise.
46475         * math/w_jnf.c (ynf): Likewise.
46476         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
46477         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
46478         value for Bessel function domain errors outside _SVID_ mode.
46479         Adjust sign of return value for yn (negative integer, 0).
46480         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
46481         by zero in return for negative x and set sign appropriately for
46482         negative n.
46483         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
46484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46485         * math/libm-test.inc (y0_test_data): Add more tests and adjust
46486         expectations in error cases.
46487         (y1_test_data): Likewise.
46488         (yn_test_data): Likewise.
46489         * sysdeps/i386/fpu/libm-test-ulps: Update.
46490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46492 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46494         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
46495         "64" to "64-v1".  Add "64-v2".
46496         (abi-64-options): Rename to ...
46497         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
46498         (abi-64-condition): Rename to ...
46499         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
46500         (abi-64-ld-soname): Rename to ...
46501         (abi-64-v1-ld-soname): ... this.
46502         (abi-64-v2-options): Define.
46503         (abi-64-v2-condition): Likewise.
46504         (abi-64-v2-ld-soname): Likewise.
46505         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
46506         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
46508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
46511 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46512             Alan Modra  <amodra@gmail.com>
46514         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
46515         New versions for use with the ELFv2 ABI.
46516         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
46517         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
46518         declaration.
46519         (struct La_ppc64v2_retval): Likewise.
46520         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
46521         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
46522         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
46523         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
46524         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
46525         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46526         Do not save or restore CR.
46527         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
46528         (_dl_profile_resolve): Do no save or restore CR.  Support extended
46529         return values for ELFv2 ABI.  Fix location of FPR return registers.
46530         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
46531         updated values for _CALL_ELF == 2.
46532         (La_regs, La_retval, int_retval): Likewise.
46534 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46536         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
46537         (FRAME_MIN_SIZE_PARM): Likewise.
46538         (FRAME_BACKCHAIN): Likewise.
46539         (FRAME_CR_SAVE): Likewise.
46540         (FRAME_LR_SAVE): Likewise.
46541         (FRAME_TOC_SAVE): Likewise.
46542         (FRAME_PARM_SAVE): Likewise.
46543         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
46544         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
46545         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46546         (call_mcount_parm_offset): New macro.
46547         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
46548         (PROF): Use symbolic stack frame offsets.
46549         (TAIL_CALL_SYSCALL_ERROR): Likewise.
46550         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
46551         Redefine in terms of FRAME_MIN_SIZE.
46552         (_dl_runtime_resolve): Use symbolic stack frame offsets.
46553         (_dl_profile_resolve): Likewise.  Update comment.
46554         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
46555         symbols stack frame offsets.
46556         (__sigsetjmp): Likewise.
46557         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
46558         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
46559         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
46560         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
46562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
46563         (FRAME_BACKCHAIN): Remove.
46564         (FRAME_CR_SAVE): Likewise.
46565         (FRAME_LR_SAVE): Likewise.
46566         (FRAME_COMPILER_DW): Likewise.
46567         (FRAME_LINKER_DW): Likewise.
46568         (FRAME_TOC_SAVE): Likewise.
46569         (FRAME_PARM_SAVE): Likewise.
46570         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
46571         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
46572         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
46574         (CHECK_SP): Use symbolic stack frame offsets.
46575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
46576         zone" instead of caller's parameter save area for temp storage.
46577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46578         Likewise.  Also, use symbolic stack frame offsets.
46579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
46580         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
46581         our own stack frame instead of the caller's.
46582         (__socket): Use symbolic stack frame offsets.
46584 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46585             Alan Modra  <amodra@gmail.com>
46587         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
46588         Define.
46589         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
46590         (PPC64_LOCAL_ENTRY_OFFSET): Define.
46591         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
46592         New function.
46593         (elf_machine_fixup_plt): Call it.
46594         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
46595         reloc arguments.
46596         (elf_machine_rela): Update call to elf_machine_plt_conflict.
46597         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46598         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
46599         r2 before calling target.
46601 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46602             Alan Modra  <amodra@gmail.com>
46604         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
46605         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
46606         versions of macros to support ELFv2 ABI.
46607         (LOCALENTRY): New macro.
46608         (ENTRY, EALIGN): Use it.
46609         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
46610         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
46611         fall through into ENTRY entry point.
46612         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
46613         Only define if _CALL_ELF != 2.
46615         (elf_machine_matches_host): Verify ABI version matches.
46616         (RTLD_START): Use LOCALENTRY.
46617         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
46618         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
46619         (PLT_ENTRY_WORDS): New macro.
46620         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
46621         (elf_machine_runtime_setup): Support ELFv2 ABI.
46622         (elf_machine_fixup_plt): Likewise.
46623         (elf_machine_plt_conflict): Likewise.
46624         (resolve_ifunc): Likewise.
46625         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46626         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46627         Likewise.
46628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
46629         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
46630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46631         (makecontext): Support ELFv2 ABI.
46632         * elf/elf.h (EF_PPC64_ABI): Define.
46634 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46636         * sysdeps/powerpc/powerpc64/sysdep.h
46637         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
46638         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
46639         (ENTRY) [ASSEMBLER]: ... but instead here ...
46640         (EALIGN) [ASSEMBLER]: ... and here.
46641         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
46642         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
46643         (ENTRY_2) [!ASSEMBLER]: Use it.
46644         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
46645         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
46646         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46647         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
46648         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
46649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
46650         Use PPC64_LOAD_FUNCPTR.
46652         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
46654 2013-12-04  Alan Modra  <amodra@gmail.com>
46656         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
46657         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
46658         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
46659         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
46661         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
46662         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
46663         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
46664         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
46665         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
46666         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
46668 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46671         (__makecontext): Fix incorrect CFI when backtracing out of
46672         context created via makecontext.
46673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
46674         (__setcontext): Fix incorrect CFI during switch to new context.
46675         (__novec_setcontext): Likewise.
46677 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46679         [BZ #4772]
46680         * time/strptime_l.c (__strptime_internal): Allow modifiers
46681         in strptime.
46682         * time/tst-strptime.c (day_tests): Add testcase.
46684 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46686         * scripts/bench.pl: Skip over blank lines.
46688 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
46690         [BZ #926]
46691         * manual/time.texi (Calendar Time): Clarify what timezone functions
46692         use.
46694 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46698 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46700         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
46701         implementation.
46702         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
46703         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
46704         * debug/memset_chk.c (__memset_chk): Likewise.
46705         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
46706         * debug/strncpy_chk.c: Likewise.
46708 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46710         [BZ #15268]
46711         [BZ #15425]
46712         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
46713         (__ieee754_exp): For possibly underflowing results, check size of
46714         result and force underflow exception if required.
46715         * math/auto-libm-test-in: Add more tests of exp.
46716         * math/auto-libm-test-out: Regenerated.
46717         * sysdeps/i386/fpu/libm-test-ulps: Update.
46718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46720         [BZ #16283]
46721         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
46722         * math/w_exp2f.c (__exp2f): Likewise.
46723         * math/w_exp2l.c (__exp2l): Likewise.
46724         * math/auto-libm-test-in: Do not allow missing errno on exp2
46725         underflow.
46726         * math/auto-libm-test-out: Regenerated.
46728 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
46730         [BZ #16274]
46731         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
46732         handle filename validation.
46733         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
46734         (do_open): Delete.
46736 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46738         [BZ #6786]
46739         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
46740         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
46741         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46742         <float.h>.
46743         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
46744         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
46745         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46746         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
46747         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46748         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
46749         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46750         * math/auto-libm-test-in: Don't allow missing errno from erfc.
46751         Add more erfc tests.
46752         * math/auto-libm-test-out: Regenerated.
46753         * sysdeps/i386/fpu/libm-test-ulps: Update.
46754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46756         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
46757         exp2, expm1, j0 and j1.
46758         * math/auto-libm-test-out: Regenerated.
46759         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
46760         (erfc_test_data): Likewise.
46761         (exp_test_data): Likewise.
46762         (exp_tonearest_test_data): Likewise.
46763         (exp_towardzero_test_data): Likewise.
46764         (exp_downward_test_data): Likewise.
46765         (exp_upward_test_data): Likewise.
46766         (exp10_test_data): Likewise.
46767         (exp2_test_data): Likewise.
46768         (expm1_test_data): Likewise.
46769         (j0_test_data): Likewise.
46770         (j1_test_data): Likewise.
46771         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
46772         (input_flag_type): Add flag_xfail_rounding.
46773         (input_flags): Add xfail-rounding.
46774         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
46775         (output_for_one_input_case): Handle flag_xfail_rounding.
46776         * sysdeps/i386/fpu/libm-test-ulps: Update.
46777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46779 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
46781         [BZ #16289]
46782         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46783         division by 0.
46785 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46787         [BZ #16195]
46788         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46789         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46790         (STAP_PROBE0): New macro.
46791         (STAP_PROBE1): Likewise.
46792         (STAP_PROBE2): Likewise.
46793         (STAP_PROBE3): Likewise.
46794         (STAP_PROBE4): Likewise.
46796 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46798         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46800 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46802         * benchtests/Makefile (bench): Add sqrt.
46803         (LDLIBS-bench-sqrt): New.
46804         * benchtests/sqrt-input: New.
46806 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46808         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46809         (GAIH_EAI): Likewise.
46810         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46811         (gaih_inet): Likewise.
46812         (getaddrinfo): Don't use GAIH_EAI.
46814         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46815         (struct gaih): Remove definition.
46817 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46819         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46820         Use HERRNOP directly.
46822 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46826 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46828         * math/gen-auto-libm-tests.c (test_functions): Add more
46829         single-argument functions.
46830         (special_fill_pi_2): New function.
46831         (special_fill_minus_pi_2): Likewise.
46832         (special_fill_pi_6): Likewise.
46833         (special_fill_minus_pi_6): Likewise.
46834         (special_fill_pi_3): Likewise.
46835         (special_fill_2pi_3): Likewise.
46836         (special_fill_e): Likewise.
46837         (special_fill_1_e): Likewise.
46838         (special_fill_e_minus_1): Likewise.
46839         (special_real_inputs): Add more special inputs.
46840         (output_for_one_input_case): Do not require ERANGE on underflow to
46841         zero if round-to-nearest result does not underflow to zero, unless
46842         exact results required.
46843         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46844         atan, atanh, cbrt, cos and cosh.
46845         * math/auto-libm-test-out: Regenerated.
46846         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46847         (acos_tonearest_test_data): Likewise.
46848         (acos_towardzero_test_data): Likewise.
46849         (acos_downward_test_data): Likewise.
46850         (acos_upward_test_data): Likewise.
46851         (acosh_test_data): Likewise.
46852         (asin_test_data): Likewise.
46853         (asin_tonearest_test_data): Likewise.
46854         (asin_towardzero_test_data): Likewise.
46855         (asin_upward_test_data): Likewise.
46856         (asinh_test_data): Likewise.
46857         (atan_test_data): Likewise.
46858         (atanh_test_data): Likewise.
46859         (cbrt_test_data): Likewise.
46860         (cos_test_data): Likewise.
46861         (cos_tonearest_test_data): Likewise.
46862         (cos_towardzero_test_data): Likewise.
46863         (cos_downward_test_data): Likewise.
46864         (cos_upward_test_data): Likewise.
46865         (cosh_test_data): Likewise.
46866         (cosh_tonearest_test_data): Likewise.
46867         (cosh_towardzero_test_data): Likewise.
46868         (cosh_downward_test_data): Likewise.
46869         (cosh_upward_test_data): Likewise.
46870         * sysdeps/i386/fpu/libm-test-ulps: Update.
46871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46873 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46875         [BZ #6787]
46876         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46877         * math/w_exp10f.c (__exp10f): Likewise.
46878         * math/w_exp10l.c (__exp10l): Likewise.
46879         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46880         errno settings in existing tests.
46882         [BZ #14032]
46883         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46884         precision control set to double precision.
46885         * sysdeps/i386/fpu/w_sqrt.c: New file.
46886         * math/auto-libm-test-in: Add more tests.
46887         * math/auto-libm-test-out: Update.
46889         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46890         (sqrt_test_tonearest): New function.
46891         (sqrt_towardzero_test_data): New variable.
46892         (sqrt_test_towardzero): New function.
46893         (sqrt_downward_test_data): New variable.
46894         (sqrt_test_downward): New function.
46895         (sqrt_upward_test_data): New variable.
46896         (sqrt_test_upward): New function.
46897         (main): Call the new functions.
46899         * math/gen-auto-libm-tests.c: New file.
46900         * math/auto-libm-test-in: Likewise.
46901         * math/auto-libm-test-out: New generated file.
46902         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46903         variables.
46904         (%beautify): Add generated representations of zero.
46905         (top level): Set $auto_input and call parse_auto_input.
46906         (beautify): Remove trailing "f" from hex float constants.
46907         (parse_args): Handle XFAIL_TEST.
46908         (convert_condition): New function.
46909         (or_value): Likewise.
46910         (or_cond_value): Likewise.
46911         (generate_testfile): Handle AUTO_TESTS_* lines.
46912         (parse_auto_input): New function.
46913         * math/libm-test.inc (XFAIL_TEST): New macro.
46914         (ERRNO_UNCHANGED): Update value.
46915         (ERRNO_EDOM): Likewise.
46916         (ERRNO_ERANGE): Likewise.
46917         (IGNORE_RESULT): Likewise.
46918         (TEST_COND_flt_32): New macro.
46919         (TEST_COND_dbl_64): Likewise.
46920         (TEST_COND_ldbl_96_intel): Likewise.
46921         (TEST_COND_ldbl_96_m68k): Likewise.
46922         (TEST_COND_ldbl_128): Likewise.
46923         (TEST_COND_ldbl_128ibm): Likewise.
46924         (TEST_COND_long32): Likewise.
46925         (TEST_COND_long64): Likewise.
46926         (TEST_COND_before_rounding): Likewise.
46927         (TEST_COND_after_rounding): Likewise.
46928         (enable_test): Handle XFAIL_TEST flag.
46929         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46930         with finite results.
46931         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46932         auto-libm-test-out.
46934 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46935             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46937         [BZ #16214]
46938         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46939         __tls_get_addr_internal instead of __tls_get_offset in order to
46940         avoid GOT pointer dependency.  Make rtld export
46941         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46942         __tls_get_addr since we are a __tls_get_offset platform.
46943         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46944         GOT pointer being set up before.
46945         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46947 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46949         * manual/math.texi (Errors in Math Functions): Document accuracy
46950         goals.
46952         [BZ #15004]
46953         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46954         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46955         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46956         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46957         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46958         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46959         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46960         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46961         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46962         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46963         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46964         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46965         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46966         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46967         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46968         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46970         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46971         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46972         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46973         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46974         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46975         Likewise.
46976         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46977         Likewise.
46978         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46979         Likewise.
46980         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46981         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46982         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46983         atomic-feupdateenv and flt-rounds.
46984         * sysdeps/powerpc/nofpu/Versions (libc): Add
46985         __atomic_feholdexcept, __atomic_feclearexcept,
46986         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46987         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46988         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46989         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46990         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46991         here.
46992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46993         Update.
46995         * manual/arith.texi (FP Exceptions): Document that exceptions may
46996         not be raised when matherr is used.
46997         (Math Error Reporting): Document overflow in directed rounding
46998         modes.  Document that errno may not be set when finite values are
46999         returned on overflow.  Document intent to set errno on underflow
47000         only for underflow to zero.
47002         [BZ #16271]
47003         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47004         round-to-nearest then adjust result for other rounding modes.
47005         * include/fenv.h (fegetround): Use libm_hidden_proto.
47006         * math/fegetround.c (fegetround): Use libm_hidden_def.
47007         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47008         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47009         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47010         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47011         Likewise.
47012         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47013         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47014         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47015         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47017 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47019         [BZ #16077]
47020         * nss/Versions (libnss_files): Add
47021         _nss_files_gethostbyname3_r.
47022         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47023         New function.
47024         (HOST_DB_LOOKUP): Remove macro.
47025         (_nss_files_gethostbyname_r): Implement function without the
47026         HOST_DB_LOOKUP macro.
47027         (_nss_files_gethostbyname2_r): Likewise.
47029 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47031         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47033 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47035         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47036         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47037         warning.
47039 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47041         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47042         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47043         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47044         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47045         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47046         __fe_nomask_env_priv and attribute_hidden.
47047         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47048         (libc_feupdateenv_test_ppc): Likewise.
47049         (libc_feresetround_ppc): Likewise.
47050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47051         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47052         compat_symbol macro.
47053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47054         (__fe_nomask_env): Likewise.
47055         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47057 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47059         * string/Makefile: Remove ifunc tests.
47060         * string/test-string.h: Define TEST_IFUNC.
47061         * string/test-bcopy-ifunc.c: Remove.
47062         * string/test-bzero-ifunc.c: Likewise.
47063         * string/test-memccpy-ifunc.c: Likewise.
47064         * string/test-memchr-ifunc.c: Likewise.
47065         * string/test-memcmp-ifunc.c: Likewise.
47066         * string/test-memcpy-ifunc.c: Likewise.
47067         * string/test-memmem-ifunc.c: Likewise.
47068         * string/test-memmove-ifunc.c: Likewise.
47069         * string/test-mempcpy-ifunc.c: Likewise.
47070         * string/test-memrchr-ifunc.c: Likewise.
47071         * string/test-memset-ifunc.c: Likewise.
47072         * string/test-rawmemchr-ifunc.c: Likewise.
47073         * string/test-stpcpy-ifunc.c: Likewise.
47074         * string/test-stpncpy-ifunc.c: Likewise.
47075         * string/test-strcasecmp-ifunc.c: Likewise.
47076         * string/test-strcasestr-ifunc.c: Likewise.
47077         * string/test-strcat-ifunc.c: Likewise.
47078         * string/test-strchr-ifunc.c: Likewise.
47079         * string/test-strchrnul-ifunc.c: Likewise.
47080         * string/test-strcmp-ifunc.c: Likewise.
47081         * string/test-strcpy-ifunc.c: Likewise.
47082         * string/test-strcspn-ifunc.c: Likewise.
47083         * string/test-strlen-ifunc.c: Likewise.
47084         * string/test-strncasecmp-ifunc.c: Likewise.
47085         * string/test-strncat-ifunc.c: Likewise.
47086         * string/test-strncmp-ifunc.c: Likewise.
47087         * string/test-strncpy-ifunc.c: Likewise.
47088         * string/test-strnlen-ifunc.c: Likewise.
47089         * string/test-strpbrk-ifunc.c: Likewise.
47090         * string/test-strrchr-ifunc.c: Likewise.
47091         * string/test-strspn-ifunc.c: Likewise.
47092         * string/test-strstr-ifunc.c: Likewise.
47094 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47096         * benchtests/Makefile: Remove ifunc tests.
47097         * benchtests/bench-string.h: Define TEST_IFUNC.
47098         * benchtests/bench-bcopy-ifunc.c: Remove.
47099         * benchtests/bench-bzero-ifunc.c: Likewise.
47100         * benchtests/bench-memccpy-ifunc.c: Likewise.
47101         * benchtests/bench-memchr-ifunc.c: Likewise.
47102         * benchtests/bench-memcmp-ifunc.c: Likewise.
47103         * benchtests/bench-memcpy-ifunc.c: Likewise.
47104         * benchtests/bench-memmem-ifunc.c: Likewise.
47105         * benchtests/bench-memmove-ifunc.c: Likewise.
47106         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47107         * benchtests/bench-memrchr-ifunc.c: Likewise.
47108         * benchtests/bench-memset-ifunc.c: Likewise.
47109         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47110         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47111         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47112         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47113         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47114         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47115         * benchtests/bench-strcat-ifunc.c: Likewise.
47116         * benchtests/bench-strchr-ifunc.c: Likewise.
47117         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47118         * benchtests/bench-strcmp-ifunc.c: Likewise.
47119         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47120         * benchtests/bench-strcpy-ifunc.c: Likewise.
47121         * benchtests/bench-strcspn-ifunc.c: Likewise.
47122         * benchtests/bench-strlen-ifunc.c: Likewise.
47123         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47124         * benchtests/bench-strncat-ifunc.c: Likewise.
47125         * benchtests/bench-strncmp-ifunc.c: Likewise.
47126         * benchtests/bench-strncpy-ifunc.c: Likewise.
47127         * benchtests/bench-strnlen-ifunc.c: Likewise.
47128         * benchtests/bench-strpbrk-ifunc.c: Likewise.
47129         * benchtests/bench-strrchr-ifunc.c: Likewise.
47130         * benchtests/bench-strsep-ifunc.c: Likewise.
47131         * benchtests/bench-strspn-ifunc.c: Likewise.
47132         * benchtests/bench-strstr-ifunc.c: Likewise.
47134 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47136         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
47138 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47140         * resolv/netdb.h: Use __glibc_reserved instead __unused.
47141         * rt/aio.h: Likewise.
47142         * sysdeps/gnu/bits/utmp.h: Likewise.
47143         * sysdeps/gnu/bits/utmpx.h: Likewise.
47144         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47145         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47146         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
47147         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
47148         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
47149         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
47150         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
47151         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
47152         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
47153         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
47154         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
47155         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
47156         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
47157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
47158         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47159         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
47160         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
47161         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
47162         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
47163         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
47164         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
47165         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
47166         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
47167         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47168         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
47169         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47170         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
47171         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
47172         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
47173         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
47174         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
47175         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
47176         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
47177         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47178         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
47179         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
47180         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
47181         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47182         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
47183         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
47184         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47185         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47187 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
47189         [BZ #16245]
47190         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
47191         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
47193 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
47195         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
47196         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
47197         Likewise.
47199 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47201         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
47202         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
47203         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
47204         (__fesetround): Remove define.
47205         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
47206         rounding and exceptions handling.
47207         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
47208         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
47209         (__fe_nomask_env): Likewise.
47210         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
47211         __fegetround instead of fegetround.
47212         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47213         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
47215 2013-11-21  Roland McGrath  <roland@hack.frob.com>
47217         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
47218         it's there.
47220         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
47222 2013-11-21  Meador Inge  <meadori@codesourcery.com>
47224         [BZ #11157]
47225         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
47226         (encrypt_r): Likewise.
47227         * malloc/obstack.h (obstack_free): Likewise.
47228         * posix/unistd.h (encrypt): Likewise.
47230 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
47232         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47233         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
47234         DL_CALL_DT_FINI() that call the functions directly.
47235         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
47236         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
47237         * elf/dl-fini.c: Likewise.
47239 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
47241         * malloc/hooks.c (memalign_check): Add alignment rounding.
47242         * malloc/malloc.c (_mid_memalign): New function.
47243         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
47244         Implement by calling _mid_memalign.
47245         * manual/probes.texi (Memory Allocation Probes): Remove
47246         memory_valloc_retry and memory_pvalloc_retry.
47248 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47250         * locale/programs/locarchive.c (open_archive): Add const
47251         qualifier to ARCHIVEFNAME and copy default fname to
47252         DEFAULT_FNAME.
47254         [BZ #15601]
47255         * libio/tst-widetext.input: Rename Oriya to Odia.
47256         * locale/iso-639.def: Likewise.
47258         * manual/probes.texi (Mathematical Function Probes): Add
47259         documentation for sin, cos, asin and acos probes.
47260         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47261         (__sin32): Add slowasin probe.
47262         (__cos32): Add slowacos probe.
47263         (__mpsin): Add slowsin probe.
47264         (__mpcos): Add slowcos probe.
47266 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
47268         [BZ #15483]
47269         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
47270         thread-local __sim_exceptions_thread and global
47271         __sim_exceptions_global.
47272         (__sim_disabled_exceptions): Change to thread-local
47273         __sim_disabled_exceptions_thread and global
47274         __sim_disabled_exceptions_global.
47275         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47276         and global __sim_round_mode_global.
47277         (__simulate_exceptions): Use thread-local floating-point state and
47278         set global state from it as needed.
47279         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
47280         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
47281         __sim_round_mode_thread.
47282         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
47283         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
47284         and global __sim_exceptions_global.
47285         (__sim_disabled_exceptions): Change to thread-local
47286         __sim_disabled_exceptions_thread and global
47287         __sim_disabled_exceptions_global.
47288         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47289         and global __sim_round_mode_global.
47290         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
47291         (SIM_SET_GLOBAL): Likewise.
47292         * sysdeps/powerpc/soft-fp/sfp-machine.h
47293         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47294         __sim_round_mode_thread.
47295         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
47296         __sim_disabled_exceptions_thread.
47297         (__sim_exceptions): Change to __sim_exceptions_thread.
47298         (__sim_disabled_exceptions): Change to
47299         __sim_disabled_exceptions_thread.
47300         (__sim_round_mode): Change to __sim_round_mode_thread.
47301         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
47302         thread-local floating-point state and set global state from it as
47303         needed.
47304         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
47305         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
47306         (__sim_disabled_exceptions): Remove extern declaration.
47307         (feenableexcept): Use thread-local floating-point state and set
47308         global state from it as needed.
47309         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47310         extern declaration.
47311         (__sim_disabled_exceptions): Likewise.
47312         (__sim_round_mode): Likewise.
47313         (__fegetenv): Use thread-local floating-point state.
47314         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47315         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47316         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47317         floating-point state and set global state from it as needed.
47318         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47319         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47320         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47321         Likewise.
47322         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47323         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47324         Likewise.
47325         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47326         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47327         Use __sim_round_mode_thread.
47328         * math/test-fenv-tls.c: New file.
47329         * math/Makefile (tests): Add test-fenv-tls.
47330         ($(objpfx)test-fenv-tls): Depend on
47331         $(common-objpfx)nptl/libpthread.so.
47333 2013-11-19  Andreas Schwab  <schwab@suse.de>
47335         * locale/programs/locale.c (show_info): Decode wordarray elements.
47336         * locale/categories.def (LC_MONETARY): Add element for
47337         _NL_MONETARY_CRNCYSTR.
47338         * locale/C-monetary.c (conversion_rate): New variable.
47339         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47340         element.
47342 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
47344         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47345         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47347 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47349         * elf/Makefile (tst-auxv): New test.
47350         * elf/tst-auxv.c: New
47351         * elf/rtld.c (dl_main): Adjust AT_EXECFN
47353 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
47355         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47356         (hidden_proto): Caller changed.
47357         (hidden_tls_proto): New macro.
47358         (libc_hidden_tls_proto): Likewise.
47359         (rtld_hidden_tls_proto): Likewise.
47360         (libm_hidden_tls_proto): Likewise.
47361         (libresolv_hidden_tls_proto): Likewise.
47362         (librt_hidden_tls_proto): Likewise.
47363         (libdl_hidden_tls_proto): Likewise.
47364         (libnss_files_hidden_tls_proto): Likewise.
47365         (libnsl_hidden_tls_proto): Likewise.
47366         (libnss_nisplus_hidden_tls_proto): Likewise.
47367         (libutil_hidden_tls_proto): Likewise.
47369 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
47371         [BZ #10253]
47372         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47373         (decompose_rpath): Defer expansion to fillin_rpath.
47374         (_dl_init_paths): Pass linkmap to fillin_rpath.
47376 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47378         * benchtests/Makefile: Add strsep.
47379         * benchtests/bench-strsep.c: New file: strsep benchtest.
47380         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47382 2013-11-18  Andreas Schwab  <schwab@suse.de>
47384         * locale/programs/locale.c (show_info) [case byte]: Check for
47385         '\377' instead of '\177'.
47386         * locale/C-monetary.c (not_available): Always use "\377".
47387         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47388         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
47389         detect unavailable sign_posn locale elements.
47390         * locale/localeconv.c (__localeconv): For grouping and
47391         mon_grouping handle "\177" and "\377" like no grouping.
47392         (INT_ELEM): New macro.  Use it to set all numeric members.
47393         * locale/programs/ld-monetary.c (monetary_read)
47394         <tok_mon_grouping>: Normalize single -1 to the empty string.
47395         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47396         Likewise.
47398 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47400         [BZ #16055]
47401         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47402         when we match (nil).
47403         * stdio-common/tst-sscanf.c (struct test): Add testcase.
47405 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
47407         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47408         (NO_TEST_INLINE): Update value.
47409         (ERRNO_UNCHANGED): Likewise.
47410         (ERRNO_EDOM): Likewise.
47411         (ERRNO_ERANGE): Likewise.
47412         (IGNORE_RESULT): Likewise.
47413         (check_float_internal): Check signs of NaN results if
47414         TEST_NAN_SIGN used.
47415         (check_complex): Pass TEST_NAN_SIGN flag through to second
47416         check_float_internal call.
47417         (copysign_test_data): Add tests with quiet NaNs as second
47418         argument.  Use TEST_NAN_SIGN.
47419         (fabs_test_data): Add test of negative quiet NaN argument.  Use
47420         TEST_NAN_SIGN.
47421         (signbit_test_data): Add tests of quiet NaN argument.
47422         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
47424         * math/gen-libm-test.pl (show_exceptions): Take extra argument
47425         $ignore_result.
47426         (parse_args): Handle function results specified as IGNORE.
47427         * math/libm-test.inc (IGNORE_RESULT): New macro.
47428         (check_float_internal): Do not check numerical result if flag
47429         IGNORE_RESULT set.
47430         (check_complex): Pass through IGNORE_RESULT to second
47431         check_float_internal call.
47432         (check_int): Do not check numerical result if flag IGNORE_RESULT
47433         set.
47434         (check_long): Likewise.
47435         (check_bool): Likewise.
47436         (check_longlong): Likewise.
47437         (lrint_test_data): Add tests of infinite and NaN arguments.
47438         (lrint_tonearest_test_data): Likewise.
47439         (lrint_towardzero_test_data): Likewise.
47440         (lrint_downward_test_data): Likewise.
47441         (lrint_upward_test_data): Likewise.
47442         (llrint_test_data): Likewise.
47443         (llrint_tonearest_test_data): Likewise.
47444         (llrint_towardzero_test_data): Likewise.
47445         (llrint_downward_test_data): Likewise.
47446         (llrint_upward_test_data): Likewise.
47447         (lround_test_data): Likewise.
47448         (llround_test_data): Likewise.
47450         * math/libm-test.inc (NO_TEST_INLINE): New macro.
47451         (ERRNO_UNCHANGED): Update value.
47452         (ERRNO_EDOM): Likewise.
47453         (ERRNO_ERANGE): Likewise.
47454         (NO_TEST_INLINE_FLOAT): New macro.
47455         (NO_TEST_INLINE_DOUBLE): Likewise.
47456         (enable_test): New function.
47457         (RUN_TEST_f_f): Check enable_test before running test.
47458         (RUN_TEST_2_f): Likewise.
47459         (RUN_TEST_fff_f): Likewise.
47460         (RUN_TEST_c_f): Likewise.
47461         (RUN_TEST_f_f1): Likewise.
47462         (RUN_TEST_fF_f1): Likewise.
47463         (RUN_TEST_fI_f1): Likewise.
47464         (RUN_TEST_ffI_f1): Likewise.
47465         (RUN_TEST_c_c): Likewise.
47466         (RUN_TEST_cc_c): Likewise.
47467         (RUN_TEST_f_i): Likewise.
47468         (RUN_TEST_f_i_tg): Likewise.
47469         (RUN_TEST_ff_i_tg): Likewise.
47470         (RUN_TEST_f_b): Likewise.
47471         (RUN_TEST_f_b_tg): Likewise.
47472         (RUN_TEST_f_l): Likewise.
47473         (RUN_TEST_f_L): Likewise.
47474         (RUN_TEST_fFF_11): Likewise.
47475         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
47476         conditionals.
47477         (cosh_test_data): Likewise.
47478         (exp_test_data): Likewise.
47479         (expm1_test_data): Likewise.
47480         (hypot_test_data): Likewise.
47481         (pow_test_data): Likewise.
47482         (sinh_test_data): Likewise.
47483         (tanh_test_data): Likewise.
47484         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
47485         flags argument.
47487         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
47488         tests with quiet NaN input and output.
47489         (acosh_test_data): Likewise.
47490         (asin_test_data): Likewise.
47491         (asinh_test_data): Likewise.
47492         (atan_test_data): Likewise.
47493         (atanh_test_data): Likewise.
47494         (atan2_test_data): Likewise.
47495         (cbrt_test_data): Likewise.
47496         (cos_test_data): Likewise.
47497         (cosh_test_data): Likewise.
47498         (erf_test_data): Likewise.
47499         (erfc_test_data): Likewise.
47500         (exp_test_data): Likewise.
47501         (exp10_test_data): Likewise.
47502         (exp2_test_data): Likewise.
47503         (expm1_test_data): Likewise.
47504         (hypot_test_data): Likewise.
47505         (j0_test_data): Likewise.
47506         (j1_test_data): Likewise.
47507         (jn_test_data): Likewise.
47508         (lgamma_test_data): Likewise.
47509         (log_test_data): Likewise.
47510         (log10_test_data): Likewise.
47511         (log1p_test_data): Likewise.
47512         (log2_test_data): Likewise.
47513         (pow_test_data): Likewise.
47514         (scalb_test_data): Likewise.
47515         (sin_test_data): Likewise.
47516         (sincos_test_data): Likewise.
47517         (sinh_test_data): Likewise.
47518         (tan_test_data): Likewise.
47519         (tanh_test_data): Likewise.
47520         (tgamma_test_data): Likewise.
47521         (y0_test_data): Likewise.
47522         (y1_test_data): Likewise.
47523         (yn_test_data): Likewise.
47525         [BZ #16167]
47526         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
47527         argument being NaN and avoid computations with second argument in
47528         that case.
47529         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47530         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47531         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47533 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
47535         * locale/iso-639.def: Add Chitwani Tharu (the).
47537 2013-11-14  Andreas Schwab  <schwab@suse.de>
47539         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
47540         word instead of empty string.
47542 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47545         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
47546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47547         (__fe_nomask_env): Likewise.
47549 2013-11-13  Steve Ellcey  <sellcey@mips.com>
47551         * benchtests/bench-timing.h: Include time.h.
47553 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
47555         [BZ #15997]
47556         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
47557         to 3.4.0 for x32.
47558         * sysdeps/unix/sysv/linux/configure: Regenerated.
47560 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
47562         [BZ #16151]
47563         * stdlib/strtod_l.c (round_and_return): Do not consider
47564         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
47565         exponent one less than half the least subnormal exponent.
47566         * stdlib/test-strtod-round-data: Add more tests.
47567         * stdlib/tst-strtod-round.c (tests): Regenerated.
47569 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47571         [BZ #14143]
47572         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
47573         (__fe_mask_env): Likewise.
47574         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
47575         libm_hidden_proto and add function prototype.
47576         (__fe_mask_env): Add function prototype.
47577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47578         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
47579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47580         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
47581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47582         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
47584 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47586         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
47587         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
47589 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47591         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
47592         of htab_find_slot().
47594 2013-11-11  David S. Miller  <davem@davemloft.net>
47596         [BZ #16150]
47597         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
47598         symbol in the non-vis3 case in static builds.
47599         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
47600         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
47601         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
47602         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
47604 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
47606         [BZ #387]
47607         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
47608         it is empty.
47610 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47612         * benchtests/Makefile: Add bench-strtod.
47613         * benchtests/bench-strtod.c: New file: strtod benchtest
47615 2013-11-11  Andreas Schwab  <schwab@suse.de>
47617         [BZ #16153]
47618         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
47619         terminating NUL in key length.
47621 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47623         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47624         Add artificial ODP entry for vDSO symbol for PPC64.
47625         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
47626         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
47628 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47630         [BZ #15374]
47631         * nss/getent.c (services_keys): Recognize services starting with digit.
47633 2013-11-06  David S. Miller  <davem@davemloft.net>
47635         [BZ #15985]
47636         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
47637         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
47639 2013-11-06  Will Newton  <will.newton@linaro.org>
47641         * manual/memory.texi (Malloc Examples): Remove register
47642         keyword from examples.
47644 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
47646         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
47648 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
47650         [BZ #6981]
47651         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
47652         depending on [__GCC_IEC_559 > 0].
47653         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
47654         depending on [__GCC_IEC_559_COMPLEX > 0].
47656 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
47658         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
47659         to iso-639.def.
47661 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
47663         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
47665 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
47667         [BZ #16112]
47668         * malloc/malloc (malloc_info): Do not handle first bin as
47669         special case.
47671 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
47673         * locale/iso-639.def: Add Central Nahuatl (nhn).
47675 2013-11-01  Bruno Haible  <bruno@clisp.org>
47677         [BZ #7003]
47678         * manual/math.texi (BSD Random): Specify range upper bound as
47679         in POSIX.
47681 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
47683         * locale/iso-639.def: Add Meadow Mari (mhr).
47685 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
47687         [BZ #14752], [BZ #15763]
47688         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
47689         Validate name.
47690         * rt/tst_shm.c: Add test for escaping directory.
47692 2013-10-31  Andreas Schwab  <schwab@suse.de>
47694         [BZ #15917]
47695         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
47696         followed by 'x' as part of digit sequence.
47697         * stdio-common/tst-sscanf.c (double_tests2): New tests.
47699 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
47701         [BZ #16037]
47702         * configure.ac: allow GNU Make 4.0 and greater.
47703         * configure: Regenerated.
47705 2013-10-30  Will Newton  <will.newton@linaro.org>
47707         [BZ #16038]
47708         * malloc/hooks.c (memalign_check): Limit alignment to the
47709         maximum representable power of two.
47710         * malloc/malloc.c (__libc_memalign): Likewise.
47711         * malloc/tst-memalign.c (do_test): Add test for very
47712         large alignment values.
47713         * malloc/tst-posix_memalign.c (do_test): Likewise.
47715 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47717         [BZ #11087]
47718         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
47719         (munmap_chunk): Likewise.
47720         (mremap_chunk): Likewise.
47722 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47724         [BZ #15799]
47725         * stdlib/div.c (div): Remove obsolete code.
47726         * stdlib/ldiv.c (ldiv): Likewise.
47727         * stdlib/lldiv.c (lldiv): Likewise.
47729 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47731         [BZ #16071]
47732         * nss/nss_files/files-XXX.c (get_contents_ret): New
47733         enumerator.
47734         (get_contents): New function.
47735         (internal_getent): Use it.  Expand size of LINEBUFLEN.
47737 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
47739         * configure.in: Moved to ...
47740         * configure.ac: ... here. Change reference to configure.in
47741         to configure.ac.
47742         * sysdeps/arm/preconfigure.ac: ... here.
47743         configure.in to configure.ac.
47744         * sysdeps/gnu/configure.in: Moved to ...
47745         * sysdeps/gnu/configure.ac: ... here.
47746         * sysdeps/i386/configure.in: Moved to ...
47747         * sysdeps/i386/configure.ac: ... here.
47748         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
47749         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
47750         * sysdeps/mach/configure.in: Moved to ...
47751         * sysdeps/mach/configure.ac: ... here.
47752         * sysdeps/mach/hurd/configure.in: Moved to ...
47753         * sysdeps/mach/hurd/configure.ac: ... here.
47754         * sysdeps/powerpc/configure.in: Moved to ...
47755         * sysdeps/powerpc/configure.ac: ... here.
47756         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
47757         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
47758         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
47759         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
47760         * sysdeps/s390/s390-32/configure.in: Moved to ...
47761         * sysdeps/s390/s390-32/configure.ac: ... here.
47762         * sysdeps/s390/s390-64/configure.in: Moved to ...
47763         * sysdeps/s390/s390-64/configure.ac: ... here.
47764         * sysdeps/sh/configure.in: Moved to ...
47765         * sysdeps/sh/configure.ac: ... here.
47766         * sysdeps/sparc/configure.in: Moved to ...
47767         * sysdeps/sparc/configure.ac: ... here.
47768         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
47769         * sysdeps/unix/sysv/linux/configure.ac: ... here.
47770         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
47771         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
47772         * sysdeps/x86_64/configure.in: Moved to ...
47773         * sysdeps/x86_64/configure.ac: ... here.
47774         * sysdeps/x86_64/preconfigure.in: Moved to ...
47775         * sysdeps/x86_64/preconfigure.ac: ... here.
47776         * aclocal.m4: Change reference to configure.in to configure.ac.
47777         * config.h.in: Likewise.
47778         * manual/install.texi: Likewise.
47779         * manual/maint.texi: Likewise.
47780         * Makefile: Likewise.
47781         * malloc/Makefile: Likewise.
47782         * nscd/Makefile: Likewise.
47783         * Makeconfig: Change reference to configure.in and
47784         preconfigure.in to configure.ac and preconfigure.ac
47785         respectively.
47786         * INSTALL: Regenerated.
47787         * configure: Likewise.
47788         * sysdeps/gnu/configure: Likewise.
47789         * sysdeps/i386/configure: Likewise.
47790         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47791         * sysdeps/mach/configure: Likewise.
47792         * sysdeps/mach/hurd/configure: Likewise.
47793         * sysdeps/powerpc/configure: Likewise.
47794         * sysdeps/powerpc/powerpc32/configure: Likewise.
47795         * sysdeps/powerpc/powerpc64/configure: Likewise.
47796         * sysdeps/s390/s390-32/configure: Likewise.
47797         * sysdeps/s390/s390-64/configure: Likewise.
47798         * sysdeps/sh/configure: Likewise.
47799         * sysdeps/sparc/configure: Likewise.
47800         * sysdeps/unix/sysv/linux/configure: Likewise.
47801         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47802         * sysdeps/x86_64/configure: Likewise.
47803         * sysdeps/x86_64/preconfigure: Likewise.
47805 2013-10-29  Andreas Schwab  <schwab@suse.de>
47807         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47809 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47811         * benchtests/pow-inputs: Add new inputs.
47813         * benchtests/exp-inputs: Add new inputs.
47815         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47816         conditional check for return value.
47817         (__cos32): Likewise.
47819 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47821         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47822         to provide a boost for large inputs with word alignment.
47823         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47824         implementation based on optimized PPC64 strcpy.
47825         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47826         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47827         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47828         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47830 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47832         [BZ #2801]
47833         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47835 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47837         [BZ #14876]
47838         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47839         * time/tst-strptime.c (day_tests): Add testcase.
47841 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47843         [BZ #14029]
47844         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47846 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47848         [BZ #16074]
47849         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47850         MAP_FAILED on error.
47852 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47854         [BZ #16072]
47855         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47856         heap for large requests.
47858 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47860         [BZ #9954]
47861         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47862         result if the result has no associated interface.
47863         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47864         interface for all 127.X.Y.Z addresses.
47866 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47868         * locale/iso-639.def: Add Ligurian (lij)
47870 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47872         [BZ #15825]
47873         * sunrpc/rpc_main.c: Document rpcgen -5.
47875 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47877         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47879 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47881         [BZ #10278]
47882         * posix/glob.c: Match only directories when trailing slash is present.
47883         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47884         (main): Add testcase.
47886 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47888         [BZ #15670]
47889         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47891 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47893         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47894         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47895         AUTH_DES and cindex for FIPS 140-2.
47896         (DES Encryption): Add cindex FIPS 46-3.
47898         * locale/locarchive.h (struct locarhandle): Add fname.
47899         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47900         if an optional argument was specified to --list-archive,
47901         otherwise NULL.
47902         * locale/programs/locarchive.c (show_archive_content): Take new
47903         argument fname and pass it via ah.fname to open_archive.
47904         * locale/programs/localedef.h: Update decl.
47905         (open_archive): If AH->fname is non-null, open that file
47906         rather than the default file name, and don't ignore ENOENT.
47907         (create_archive): Set AH.fname to NULL.
47908         (delete_locales_from_archive): Likewise.
47909         (add_locales_to_archive): Likewise.
47910         * locale/programs/locfile.c (write_all_categories): Likewise.
47912 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47913             Aldy Hernandez  <aldyh@redhat.com>
47915         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47916         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47917         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47918         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47919         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47920         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47921         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47922         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47923         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47924         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47925         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47926         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47927         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47928         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47929         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47930         Likewise.
47931         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47932         Likewise.
47933         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47934         Likewise.
47935         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47936         Likewise.
47937         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47938         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47939         Likewise.
47940         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47941         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47942         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47943         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47944         Likewise.
47945         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47946         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47947         * sysdeps/powerpc/preconfigure: Likewise.
47948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47949         Likewise.
47950         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47951         Replace contents of file by #include of <fenv_libc.h>.
47952         * sysdeps/powerpc/soft-fp/sfp-machine.h
47953         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47954         and <sys/prctl.h>.
47955         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47956         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47957         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47958         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47959         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47960         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47961         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47962         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47963         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47964         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47966         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47968         Allow copysignl PLT reference to be missing.
47970 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47971             Joseph Myers  <joseph@codesourcery.com
47973         [BZ #15948]
47974         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47975         single character.
47976         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47978 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47980         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47981         * elf/tst-tls1.c: Likewise.
47982         * elf/tst-tls10.h: Likewise.
47983         * elf/tst-tls14.c: Likewise.
47984         * elf/tst-tls2.c: Likewise.
47985         * elf/tst-tls3.c: Likewise.
47986         * elf/tst-tls4.c: Likewise.
47987         * elf/tst-tls5.c: Likewise.
47988         * elf/tst-tls6.c: Likewise.
47989         * elf/tst-tls7.c: Likewise.
47990         * elf/tst-tls8.c: Likewise.
47991         * elf/tst-tls9.c: Likewise.
47992         * elf/tst-tlsmod1.c: Likewise.
47993         * elf/tst-tlsmod13.c: Likewise.
47994         * elf/tst-tlsmod13a.c: Likewise.
47995         * elf/tst-tlsmod14a.c: Likewise.
47996         * elf/tst-tlsmod16a.c: Likewise.
47997         * elf/tst-tlsmod16b.c: Likewise.
47998         * elf/tst-tlsmod2.c: Likewise.
47999         * elf/tst-tlsmod3.c: Likewise.
48000         * elf/tst-tlsmod4.c: Likewise.
48001         * elf/tst-tlsmod5.c: Likewise.
48002         * elf/tst-tlsmod6.c: Likewise.
48004 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48006         [BZ #12486]
48007         * malloc/malloc.c: remove checks for statistics.
48009 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48011         [BZ #15277]
48012         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48013         * inet/tst-network.c: Add testcase.
48015 2013-10-17  Andreas Schwab  <schwab@suse.de>
48017         [BZ #15218]
48018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48019         to determine canonical name.
48021 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48023         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48024         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48025         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48026         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48027         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48028         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48029         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48030         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48031         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48032         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48033         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48034         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48035         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48036         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48037         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48038         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48039         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48040         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48041         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48042         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48043         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48044         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48045         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48046         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48047         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48048         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48049         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48050         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48051         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48052         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48053         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48054         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48055         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48056         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48057         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48058         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48059         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48060         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48061         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48062         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48063         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48064         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48065         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48066         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48067         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48068         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48069         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48070         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48071         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48072         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48073         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48074         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48075         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48076         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48077         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48078         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48079         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48080         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48082 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48084         [BZ #16041]
48085         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48086         make result into a quiet NaN.
48088 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48090         * soft-fp/adddf3.c: Fix horizontal whitespace.
48091         * soft-fp/addsf3.c: Likewise.
48092         * soft-fp/addtf3.c: Likewise.
48093         * soft-fp/divdf3.c: Likewise.
48094         * soft-fp/divsf3.c: Likewise.
48095         * soft-fp/divtf3.c: Likewise.
48096         * soft-fp/double.h: Likewise.
48097         * soft-fp/eqdf2.c: Likewise.
48098         * soft-fp/eqsf2.c: Likewise.
48099         * soft-fp/eqtf2.c: Likewise.
48100         * soft-fp/extenddftf2.c: Likewise.
48101         * soft-fp/extended.h: Likewise.
48102         * soft-fp/extendsfdf2.c: Likewise.
48103         * soft-fp/extendsftf2.c: Likewise.
48104         * soft-fp/extendxftf2.c: Likewise.
48105         * soft-fp/fixdfdi.c: Likewise.
48106         * soft-fp/fixdfsi.c: Likewise.
48107         * soft-fp/fixdfti.c: Likewise.
48108         * soft-fp/fixsfdi.c: Likewise.
48109         * soft-fp/fixsfsi.c: Likewise.
48110         * soft-fp/fixsfti.c: Likewise.
48111         * soft-fp/fixtfdi.c: Likewise.
48112         * soft-fp/fixtfsi.c: Likewise.
48113         * soft-fp/fixtfti.c: Likewise.
48114         * soft-fp/fixunsdfdi.c: Likewise.
48115         * soft-fp/fixunsdfsi.c: Likewise.
48116         * soft-fp/fixunsdfti.c: Likewise.
48117         * soft-fp/fixunssfdi.c: Likewise.
48118         * soft-fp/fixunssfsi.c: Likewise.
48119         * soft-fp/fixunssfti.c: Likewise.
48120         * soft-fp/fixunstfdi.c: Likewise.
48121         * soft-fp/fixunstfsi.c: Likewise.
48122         * soft-fp/fixunstfti.c: Likewise.
48123         * soft-fp/floatdidf.c: Likewise.
48124         * soft-fp/floatdisf.c: Likewise.
48125         * soft-fp/floatditf.c: Likewise.
48126         * soft-fp/floatsidf.c: Likewise.
48127         * soft-fp/floatsisf.c: Likewise.
48128         * soft-fp/floatsitf.c: Likewise.
48129         * soft-fp/floattidf.c: Likewise.
48130         * soft-fp/floattisf.c: Likewise.
48131         * soft-fp/floattitf.c: Likewise.
48132         * soft-fp/floatundidf.c: Likewise.
48133         * soft-fp/floatundisf.c: Likewise.
48134         * soft-fp/floatunditf.c: Likewise.
48135         * soft-fp/floatunsidf.c: Likewise.
48136         * soft-fp/floatunsisf.c: Likewise.
48137         * soft-fp/floatunsitf.c: Likewise.
48138         * soft-fp/floatuntidf.c: Likewise.
48139         * soft-fp/floatuntisf.c: Likewise.
48140         * soft-fp/floatuntitf.c: Likewise.
48141         * soft-fp/fmadf4.c: Likewise.
48142         * soft-fp/fmasf4.c: Likewise.
48143         * soft-fp/fmatf4.c: Likewise.
48144         * soft-fp/gedf2.c: Likewise.
48145         * soft-fp/gesf2.c: Likewise.
48146         * soft-fp/getf2.c: Likewise.
48147         * soft-fp/ledf2.c: Likewise.
48148         * soft-fp/lesf2.c: Likewise.
48149         * soft-fp/letf2.c: Likewise.
48150         * soft-fp/muldf3.c: Likewise.
48151         * soft-fp/mulsf3.c: Likewise.
48152         * soft-fp/multf3.c: Likewise.
48153         * soft-fp/negdf2.c: Likewise.
48154         * soft-fp/negsf2.c: Likewise.
48155         * soft-fp/negtf2.c: Likewise.
48156         * soft-fp/op-1.h: Likewise.
48157         * soft-fp/op-2.h: Likewise.
48158         * soft-fp/op-4.h: Likewise.
48159         * soft-fp/op-8.h: Likewise.
48160         * soft-fp/op-common.h: Likewise.
48161         * soft-fp/quad.h: Likewise.
48162         * soft-fp/single.h: Likewise.
48163         * soft-fp/soft-fp.h: Likewise.
48164         * soft-fp/sqrtdf2.c: Likewise.
48165         * soft-fp/sqrtsf2.c: Likewise.
48166         * soft-fp/sqrttf2.c: Likewise.
48167         * soft-fp/subdf3.c: Likewise.
48168         * soft-fp/subsf3.c: Likewise.
48169         * soft-fp/subtf3.c: Likewise.
48170         * soft-fp/truncdfsf2.c: Likewise.
48171         * soft-fp/trunctfdf2.c: Likewise.
48172         * soft-fp/trunctfsf2.c: Likewise.
48173         * soft-fp/trunctfxf2.c: Likewise.
48174         * soft-fp/unorddf2.c: Likewise.
48175         * soft-fp/unordsf2.c: Likewise.
48176         * soft-fp/unordtf2.c: Likewise.
48178 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
48180         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
48181         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
48183 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
48185         * elf/dl-libc.c: Clear initfini list after freeing.
48187 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
48189         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
48190         * soft-fp/addsf3.c: Likewise.
48191         * soft-fp/addtf3.c: Likewise.
48192         * soft-fp/divdf3.c: Likewise.
48193         * soft-fp/divsf3.c: Likewise.
48194         * soft-fp/divtf3.c: Likewise.
48195         * soft-fp/double.h: Likewise.
48196         * soft-fp/eqdf2.c: Likewise.
48197         * soft-fp/eqsf2.c: Likewise.
48198         * soft-fp/eqtf2.c: Likewise.
48199         * soft-fp/extenddftf2.c: Likewise.
48200         * soft-fp/extended.h: Likewise.
48201         * soft-fp/extendsfdf2.c: Likewise.
48202         * soft-fp/extendsftf2.c: Likewise.
48203         * soft-fp/extendxftf2.c: Likewise.
48204         * soft-fp/fixdfdi.c: Likewise.
48205         * soft-fp/fixdfsi.c: Likewise.
48206         * soft-fp/fixdfti.c: Likewise.
48207         * soft-fp/fixsfdi.c: Likewise.
48208         * soft-fp/fixsfsi.c: Likewise.
48209         * soft-fp/fixsfti.c: Likewise.
48210         * soft-fp/fixtfdi.c: Likewise.
48211         * soft-fp/fixtfsi.c: Likewise.
48212         * soft-fp/fixtfti.c: Likewise.
48213         * soft-fp/fixunsdfdi.c: Likewise.
48214         * soft-fp/fixunsdfsi.c: Likewise.
48215         * soft-fp/fixunsdfti.c: Likewise.
48216         * soft-fp/fixunssfdi.c: Likewise.
48217         * soft-fp/fixunssfsi.c: Likewise.
48218         * soft-fp/fixunssfti.c: Likewise.
48219         * soft-fp/fixunstfdi.c: Likewise.
48220         * soft-fp/fixunstfsi.c: Likewise.
48221         * soft-fp/fixunstfti.c: Likewise.
48222         * soft-fp/floatdidf.c: Likewise.
48223         * soft-fp/floatdisf.c: Likewise.
48224         * soft-fp/floatditf.c: Likewise.
48225         * soft-fp/floatsidf.c: Likewise.
48226         * soft-fp/floatsisf.c: Likewise.
48227         * soft-fp/floatsitf.c: Likewise.
48228         * soft-fp/floattidf.c: Likewise.
48229         * soft-fp/floattisf.c: Likewise.
48230         * soft-fp/floattitf.c: Likewise.
48231         * soft-fp/floatundidf.c: Likewise.
48232         * soft-fp/floatundisf.c: Likewise.
48233         * soft-fp/floatunsidf.c: Likewise.
48234         * soft-fp/floatunsisf.c: Likewise.
48235         * soft-fp/floatuntidf.c: Likewise.
48236         * soft-fp/floatuntisf.c: Likewise.
48237         * soft-fp/floatuntitf.c: Likewise.
48238         * soft-fp/fmadf4.c: Likewise.
48239         * soft-fp/fmasf4.c: Likewise.
48240         * soft-fp/fmatf4.c: Likewise.
48241         * soft-fp/gedf2.c: Likewise.
48242         * soft-fp/gesf2.c: Likewise.
48243         * soft-fp/getf2.c: Likewise.
48244         * soft-fp/ledf2.c: Likewise.
48245         * soft-fp/lesf2.c: Likewise.
48246         * soft-fp/letf2.c: Likewise.
48247         * soft-fp/muldf3.c: Likewise.
48248         * soft-fp/mulsf3.c: Likewise.
48249         * soft-fp/multf3.c: Likewise.
48250         * soft-fp/negdf2.c: Likewise.
48251         * soft-fp/negsf2.c: Likewise.
48252         * soft-fp/negtf2.c: Likewise.
48253         * soft-fp/op-1.h: Likewise.
48254         * soft-fp/op-2.h: Likewise.
48255         * soft-fp/op-4.h: Likewise.
48256         * soft-fp/op-8.h: Likewise.
48257         * soft-fp/op-common.h: Likewise.
48258         * soft-fp/quad.h: Likewise.
48259         * soft-fp/single.h: Likewise.
48260         * soft-fp/soft-fp.h: Likewise.
48261         * soft-fp/sqrtdf2.c: Likewise.
48262         * soft-fp/sqrtsf2.c: Likewise.
48263         * soft-fp/sqrttf2.c: Likewise.
48264         * soft-fp/subdf3.c: Likewise.
48265         * soft-fp/subsf3.c: Likewise.
48266         * soft-fp/subtf3.c: Likewise.
48267         * soft-fp/truncdfsf2.c: Likewise.
48268         * soft-fp/trunctfdf2.c: Likewise.
48269         * soft-fp/trunctfsf2.c: Likewise.
48270         * soft-fp/trunctfxf2.c: Likewise.
48271         * soft-fp/unorddf2.c: Likewise.
48272         * soft-fp/unordsf2.c: Likewise.
48273         * soft-fp/unordtf2.c: Likewise.
48275 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
48277         [BZ #15672]
48278         * misc/error.c (error_tail): Fix possible buffer overflow.
48280 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
48282         [BZ #13028]
48283         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
48284         address.
48286 2013-10-14  P. J. McDermott  <pj@pehjota.net>
48288         [BZ #832]
48289         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
48290         testing pipefail option.
48292 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48294         * soft-fp/double.h: Indent preprocessor directives inside #if.
48295         * soft-fp/extended.h: Likewise.
48296         * soft-fp/op-2.h: Likewise.
48297         * soft-fp/op-4.h: Likewise.
48298         * soft-fp/op-common.h: Likewise.
48299         * soft-fp/quad.h: Likewise.
48300         * soft-fp/single.h: Likewise.
48301         * soft-fp/soft-fp.h: Likewise.
48303 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
48305         * iconv/iconv_prog.c: Fix typos.
48306         * stdio-common/psiginfo-data.h: Likewise.
48308 2013-10-12   Reuben Thomas <rrt@sc3d.org>
48310         [BZ #15764]
48311         * locale/setlocale.c: Fix typo.
48313 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48315         [BZ #16036]
48316         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48317         signaling NaN arguments.
48318         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48319         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48321         [BZ #14910]
48322         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48323         unordered operands.
48324         * soft-fp/gesf2.c (__gesf2): Likewise.
48325         * soft-fp/getf2.c (__getf2): Likewise.
48326         * soft-fp/ledf2.c (__ledf2): Likewise.
48327         * soft-fp/lesf2.c (__lesf2): Likewise.
48328         * soft-fp/letf2.c (__letf2): Likewise.
48330         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48331         * soft-fp/eqsf2.c (__eqsf2): Likewise.
48332         * soft-fp/eqtf2.c (__eqtf2): Likewise.
48333         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48334         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48335         * soft-fp/fixdfti.c (__fixdfti): Likewise.
48336         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48337         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48338         * soft-fp/fixsfti.c (__fixsfti): Likewise.
48339         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48340         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48341         * soft-fp/fixtfti.c (__fixtfti): Likewise.
48342         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48343         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48344         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48345         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48346         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48347         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48348         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48349         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48350         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48351         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48352         * soft-fp/floatdisf.c (__floatdisf): Likewise.
48353         * soft-fp/floatsisf.c (__floatsisf): Likewise.
48354         * soft-fp/floattidf.c (__floattidf): Likewise.
48355         * soft-fp/floattisf.c (__floattisf): Likewise.
48356         * soft-fp/floattitf.c (__floattitf): Likewise.
48357         * soft-fp/floatundidf.c (__floatundidf): Likewise.
48358         * soft-fp/floatundisf.c (__floatundisf): Likewise.
48359         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48360         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48361         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48362         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48363         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48364         * soft-fp/gesf2.c (__gesf2): Likewise.
48365         * soft-fp/getf2.c (__getf2): Likewise.
48366         * soft-fp/ledf2.c (__ledf2): Likewise.
48367         * soft-fp/lesf2.c (__lesf2): Likewise.
48368         * soft-fp/letf2.c (__letf2): Likewise.
48370         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48371         Undefine and redefine.
48372         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48373         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48374         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48375         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48376         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48377         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48378         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48379         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48380         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48381         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48382         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48383         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48384         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48385         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48386         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48388         [BZ #16032]
48389         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48390         without decrementing exponent if mantissa >= that for the
48391         denominator, not >.
48392         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48393         denominator, not >.  Decrement exponent in < case instead of
48394         incrementing in >= case.
48395         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48396         without decrementing exponent if mantissa >= that for the
48397         denominator, not >.
48399         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48400         computing saturated result for unsigned overflow.
48402 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48403             Jeff Law  <law@redhat.com>
48405         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48406         (atan2Mp): Add systemtap probe marker.
48407         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48408         (__ieee754_log): Add systemtap probe marker.
48409         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48410         (atanMp): Add systemtap probe marker.
48411         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48412         (tanMp): Add systemtap probe marker.
48413         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
48414         (__slowexp): Add systemtap probe marker.
48415         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
48416         (__slowpow): Add systemtap probe marker.
48417         * manual/probes.texi: Document probes.
48419 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
48421         [BZ #15362]
48422         * libio/fileops.c (_IO_new_file_write): Return count of bytes
48423         written.
48424         (_IO_new_file_xsputn): Don't return EOF if nothing has been
48425         written.
48426         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
48427         written to buffer but not flushed.
48428         * libio/iofwrite_u.c:  Likewise.
48429         * libio/iopadn.c:  Return bytes returned even if EOF was
48430         encountered.
48431         * libio/iowpadn.c:  Likewise.
48432         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48433         if _IO_padn does not write the whole buffer.
48434         [!COMPILE_WPRINTF] (PAD): Likewise.
48436 2013-10-10  David S. Miller  <davem@davemloft.net>
48438         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
48439         directory block.
48441 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48443         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
48444         instead of FSF address.
48445         * soft-fp/fixdfti.c: Likewise.
48446         * soft-fp/fixsfti.c: Likewise.
48447         * soft-fp/fixtfti.c: Likewise.
48448         * soft-fp/fixunsdfti.c: Likewise.
48449         * soft-fp/fixunssfti.c: Likewise.
48450         * soft-fp/fixunstfti.c: Likewise.
48451         * soft-fp/floattidf.c: Likewise.
48452         * soft-fp/floattisf.c: Likewise.
48453         * soft-fp/floattitf.c: Likewise.
48454         * soft-fp/floatuntidf.c: Likewise.
48455         * soft-fp/floatuntisf.c: Likewise.
48456         * soft-fp/floatuntitf.c: Likewise.
48457         * soft-fp/trunctfxf2.c: Likewise.
48459         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
48460         * soft-fp/fixdfti.c: Likewise.
48461         * soft-fp/fixsfti.c: Likewise.
48462         * soft-fp/fixtfti.c: Likewise.
48463         * soft-fp/fixunsdfti.c: Likewise.
48464         * soft-fp/fixunssfti.c: Likewise.
48465         * soft-fp/fixunstfti.c: Likewise.
48466         * soft-fp/floattidf.c: Likewise.
48467         * soft-fp/floattisf.c: Likewise.
48468         * soft-fp/floattitf.c: Likewise.
48469         * soft-fp/floatuntidf.c: Likewise.
48470         * soft-fp/floatuntisf.c: Likewise.
48471         * soft-fp/floatuntitf.c: Likewise.
48472         * soft-fp/trunctfxf2.c: Likewise.
48474 2013-10-10  David S. Miller  <davem@davemloft.net>
48476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48478 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
48480         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48481         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
48482         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48483         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
48484         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
48485         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
48486         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
48488         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
48489         for NaNs before doing comparisons on argument.
48490         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
48491         Likewise.
48493 2013-10-10  Will Newton  <will.newton@linaro.org>
48495         * malloc/hooks.c (memalign_check): Ensure the value of bytes
48496         passed to _int_memalign does not overflow.
48498 2013-10-10  Torvald Riegel  <triegel@redhat.com>
48500         * scripts/bench.pl: Add include-sources directive.
48501         * benchtests/README: Update documentation.
48503 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48505         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
48506         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
48507         instead of FP_INIT_ROUNDMODE.
48508         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
48509         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
48511         [BZ #16034]
48512         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
48513         copy class of input value.
48514         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
48515         not handle exceptions.
48516         * soft-fp/negsf2.c (__negsf2): Likewise.
48517         * soft-fp/negtf2.c (__negtf2): Likewise.
48518         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
48520 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
48522         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
48523         semicolon.  From Linux kernel.
48525 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
48527         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
48529 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
48531         [BZ #156]
48532         * manual/socket.texi: Added statement about buffer
48533         for gethostbyname2_r.
48535 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
48537         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
48538         Use .p2align directive instead, throughout.
48539         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48540         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
48541         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
48542         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48543         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48544         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
48545         * sysdeps/x86_64/strchr.S: Likewise.
48546         * sysdeps/x86_64/strrchr.S: Likewise.
48548 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48550         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
48552         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
48554         * sysdeps/generic/math_private.h (__mpsin1): Remove
48555         declaration.
48556         (__mpcos1): Likewise.
48557         (__mpsin): New argument __range_reduce.
48558         (__mpcos): Likewise.
48559         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48560         (slow): Use __mpsin and __mpcos.
48561         (slow1): Likewise.
48562         (slow2): Likewise.
48563         (sloww): Likewise.
48564         (sloww1): Likewise.
48565         (sloww2): Likewise.
48566         (bsloww): Likewise.
48567         (bsloww1): Likewise.
48568         (bsloww2): Likewise.
48569         (cslow2): Likewise.
48570         (csloww): Likewise.
48571         (csloww1): Likewise.
48572         (csloww2): Likewise.
48573         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
48574         range_reduce.  Merge in __mpsin1.
48575         (__mpcos): Likewise.
48576         (__mpsin1): Remove.
48577         (__mpcos1): Likewise.
48579 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
48581         * locale/loadlocale.c (_nl_intern_locale_data): Use
48582         LOCFILE_ALIGNED_P.
48583         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
48584         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
48585         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
48586         obstack data is appropriately aligned.
48587         (obstack_int32_grow_fast): Likewise.
48588         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
48589         * locale/programs/locfile.c (add_locale_uint32): Likewise.
48590         (add_locale_uint32_array): Likewise.
48592 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48594         * benchtests/Makefile: Remove ARGLIST and RET variables.
48595         ($(objpfx)bench-%.c): Pass only function name to the script.
48596         * benchtests/README: Update documentation.
48597         * benchtests/acos-inputs: Add new directives.
48598         * benchtests/acosh-inputs: Likewise.
48599         * benchtests/asin-inputs: Likewise.
48600         * benchtests/asinh-inputs: Likewise.
48601         * benchtests/atan-inputs: Likewise.
48602         * benchtests/atanh-inputs: Likewise.
48603         * benchtests/cos-inputs: Likewise.
48604         * benchtests/cosh-inputs: Likewise.
48605         * benchtests/exp-inputs: Likewise.
48606         * benchtests/log-inputs: Likewise.
48607         * benchtests/pow-inputs: Likewise.
48608         * benchtests/rint-inputs: Likewise.
48609         * benchtests/sin-inputs: Likewise.
48610         * benchtests/sinh-inputs: Likewise.
48611         * benchtests/tan-inputs: Likewise.
48612         * benchtests/tanh-inputs: Likewise.
48613         * scripts/bench.pl: Add support for new directives.
48615 2013-10-07  Alan Modra  <amodra@gmail.com>
48617         * README: Fix careless merge.
48619 2013-10-05  Alan Modra  <amodra@gmail.com>
48621         * NEWS: Mention powerpc64le support and bugs fixed.
48622         * README: Both big-endian and little-endian powerpc64 supported.
48624 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48626         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
48627         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
48628         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
48629         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
48631 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
48633         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
48634         match prototype.
48636 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
48638         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
48639         Move -mhard-float appending from
48640         ports/sysdeps/powerpc/powerpc32/Makefile.
48641         [$(with-fp) = yes] (ASFLAGS): Likewise.
48642         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
48643         * sysdeps/powerpc/nofpu: Move directory from
48644         ports/sysdeps/powerpc/nofpu.
48645         * sysdeps/powerpc/soft-fp: Move directory from
48646         ports/sysdeps/powerpc/soft-fp.
48647         * sysdeps/powerpc/powerpc32/405: Move directory from
48648         ports/sysdeps/powerpc/powerpc32/405.
48649         * sysdeps/powerpc/powerpc32/440: Move directory from
48650         ports/sysdeps/powerpc/powerpc32/440.
48651         * sysdeps/powerpc/powerpc32/464: Move directory from
48652         ports/sysdeps/powerpc/powerpc32/464.
48653         * sysdeps/powerpc/powerpc32/476: Move directory from
48654         ports/sysdeps/powerpc/powerpc32/476.
48655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
48656         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
48657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
48658         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
48659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
48660         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
48661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
48662         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
48663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
48664         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
48665         * README: Update for powerpc-*-linux-gnu software floating point
48666         support in libc.
48668         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
48669         case to powerpc/powerpc32*.
48670         * sysdeps/unix/sysv/linux/configure: Regenerated.
48672         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
48673         (_FPU_MASK_OM): Define as 0x04.
48674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
48675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
48676         0x00c10080.
48677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
48678         0x0000003c.
48679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
48681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
48682         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48683         getcontext_e500.
48684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
48685         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48686         setcontext_e500.
48687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
48688         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
48689         and setcontext_e500.
48691 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
48693         * locale/iso-3166.def: Update iso-1366.def and related occurrences
48695 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48697         * manual/threads.texi (Default Thread Attributes): Fix typo.
48699 2013-10-04  Will Newton  <will.newton@linaro.org>
48701         * malloc/Makefile: Add tst-memalign.
48702         * malloc/tst-memalign.c: New file.
48704         * malloc/tst-posix_memalign.c: Add comments.
48705         (do_test): Add comments and call free on all potentially
48706         allocated pointers. Add space after cast.
48708         * malloc/tst-pvalloc.c: Add comments.
48709         (do_test): Add comments and call free on all potentially
48710         allocated pointers. Remove duplicate check for NULL pointer.
48711         Add space after cast.
48713         * malloc/tst-valloc.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 2013-10-04  Alan Modra  <amodra@gmail.com>
48720         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48721         Use stdint types in rather than __attribute__((mode())).
48722         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48724 2013-10-04  Alan Modra  <amodra@gmail.com>
48726         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48727         Correct handling of unaligned relocs for little-endian.
48728         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48730 2013-10-04  Alan Modra  <amodra@gmail.com>
48732         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
48733         * configure: Regenerate.
48734         * nptl/shlib-versions: Powerpc*le starts at 2.18.
48735         * shlib-versions: Likewise.
48737 2013-10-04  Alan Modra  <amodra@gmail.com>
48739         * string/tester.c (test_memrchr): Increment reported test cycle.
48741 2013-10-04  Alan Modra  <amodra@gmail.com>
48743         * string/test-memcpy.c (do_one_test): When reporting errors, print
48744         string address and don't overrun end of string.
48746 2013-10-04  Alan Modra  <amodra@gmail.com>
48748         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
48749         insrdi.  Make better use of reg selection to speed exit slightly.
48750         Schedule entry path a little better.  Remove useless "are we done"
48751         checks on entry to main loop.  Handle wrapping around zero address.
48752         Correct main loop count.  Handle single left-over word from main
48753         loop inline rather than by using loop_small.  Remove extra word
48754         case in loop_small caused by wrong loop count.  Add little-endian
48755         support.
48756         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48757         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
48758         cache hint.
48759         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48760         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
48761         support.  Avoid rlwimi.
48762         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
48764 2013-10-04  Alan Modra  <amodra@gmail.com>
48766         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
48767         insrdi.  Formatting.
48768         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
48769         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48770         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48771         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48772         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48773         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
48775 2013-10-04  Alan Modra  <amodra@gmail.com>
48777         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
48778         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48779         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48780         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48781         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48782         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48783         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48784         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48785         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48786         use of regs.  Use power7 mtocrf.  Tidy function tails.
48788 2013-10-04  Alan Modra  <amodra@gmail.com>
48790         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48791         Formatting.  Consistently use rXXX register defines or rN defines.
48792         Use early exit labels that avoid restoring unused non-volatile regs.
48793         Make cr field use more consistent with rWORDn compares.  Rename
48794         regs used as shift registers for unaligned loop, using rN defines
48795         for short lifetime/multiple use regs.
48796         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48797         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48798         addi 1,1,64 to pop stack frame.  Simplify return value code.
48799         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48801 2013-10-04  Alan Modra  <amodra@gmail.com>
48803         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48804         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48805         rather than rlwimi.
48806         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48807         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48808         little-endian support.  Correct typos.
48809         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48810         rather than rlwimi.
48811         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48812         in loop and entry code to keep "and." results.
48813         (strchr): Add little-endian support.  Comment.  Move cntlzd
48814         earlier in tail.
48815         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48817 2013-10-04  Alan Modra  <amodra@gmail.com>
48819         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48820         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48821         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48822         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48824 2013-10-04  Alan Modra  <amodra@gmail.com>
48826         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48827         (rTMP): Define as r11.
48828         (strcmp): Add little-endian support.  Optimise tail.
48829         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48830         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48831         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48832         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48833         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48834         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48835         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48837 2013-10-04  Alan Modra  <amodra@gmail.com>
48839         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48840         little-endian support.  Remove unnecessary "are we done" tests.
48841         Handle "s" wrapping around zero and extremely large "size".
48842         Correct main loop count.  Handle single left-over word from main
48843         loop inline rather than by using small_loop.  Correct comments.
48844         Delete "zero" tail, use "end_max" instead.
48845         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48847 2013-10-04  Alan Modra  <amodra@gmail.com>
48849         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48850         support.  Don't branch over align.
48851         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48852         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48853         support.  Rearrange tmp reg use to suit.  Comment.
48854         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48856 2013-10-04  Alan Modra  <amodra@gmail.com>
48858         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48860 2013-10-04  Alan Modra  <amodra@gmail.com>
48862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48863         conditional form of branch and link when obtaining pc.
48864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48866 2013-10-04  Alan Modra  <amodra@gmail.com>
48868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48869         HIWORD/LOWORD.
48870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48873 2013-10-04  Alan Modra  <amodra@gmail.com>
48875         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48876         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48877         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48878         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48879         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48880         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48881         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48882         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48883         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48884         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48886 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48887             Alistair Popple <alistair@ozlabs.au.ibm.com>
48888             Alan Modra <amodra@gmail.com>
48890         [BZ #15723]
48891         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48892         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48893         _dl_hwcap access for little-endian.
48894         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48895         destroy vmx regs when saving unaligned.
48896         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48897         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48898         destroy vmx regs when saving unaligned.
48900 2013-10-04  Alan Modra  <amodra@gmail.com>
48902         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48903         Don't use a union to pack hi/low value.
48905 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48907         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48908         for little-endian.
48909         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48910         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48911         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48912         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48913         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48915 2013-10-04  Alan Modra  <amodra@gmail.com>
48917         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48918         constants to usual value for .cst8 section, and remove redundant
48919         high address load.
48920         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48921         constant for 0x1p52.  Load little-endian words of double from
48922         correct stack offsets.
48924 2013-10-04  Alan Modra  <amodra@gmail.com>
48926         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48927         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48928         words of double from correct stack offsets.
48929         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48930         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48931         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48932         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48933         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48934         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48935         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48936         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48937         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48938         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48939         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48940         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48941         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48942         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48943         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48944         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48945         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48947 2013-10-04  Alan Modra  <amodra@gmail.com>
48949         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48950         64-bit int/double union.
48951         (_FPU_SETCW): Likewise.
48952         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48953         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48955 2013-10-04  Alan Modra  <amodra@gmail.com>
48957         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48958         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48960 2013-10-04  Alan Modra  <amodra@gmail.com>
48962         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48963         use vector int constants.
48964         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48966 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48968         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48969         array with long long.
48970         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48971         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48972         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48973         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48974         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48975         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48976         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48977         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48978         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48979         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48980         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48981         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48982         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48984 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48986         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48987         (__signbit): Likewise.  Correct for little-endian.
48988         (__signbitl): Call __signbit.
48989         (lrint): Correct for little-endian.
48990         (lrintf): Call lrint.
48992 2013-10-04  Alan Modra  <amodra@gmail.com>
48994         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
48995         union 32-bit int array member with 64-bit int array.
48996         (t515, tm256): Double rather than long double.
48997         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
48999 2013-10-04  Alan Modra  <amodra@gmail.com>
49001         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49002         Delete.
49003         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49004         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49005         version of math_ldbl.h.
49007 2013-10-04  Alan Modra  <amodra@gmail.com>
49009         [BZ #15734], [BZ #15735]
49010         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49011         all uses of ieee875 long double macros and unions.  Simplify test
49012         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49013         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49014         normalize after ldbl_extract_mantissa, and don't add hidden bit
49015         already handled.  Don't treat low word of ieee854 mantissa like
49016         low word of IBM long double and mask off bit when testing for
49017         zero.
49018         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49019         all uses of ieee875 long double macros and unions.  Simplify tests
49020         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49021         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49022         two1022, instead use their values.  Recognise that tests for large
49023         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49024         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49025         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49026         test for 0.0L and nan.  Correct negation.
49027         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49028         ieee875 long double macros and unions.  Correct output for large
49029         magnitude x.  Correct absolute value calculation.
49030         (__erfcl): Likewise.
49031         * math/libm-test.inc: Add tests for errors discovered in IBM long
49032         double versions of fmodl, remainderl, erfl and erfcl.
49034 2013-10-04  Alan Modra  <amodra@gmail.com>
49036         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49037         all uses of ieee854 long double macros and unions.  Simplify tests
49038         for long doubles that are fully specified by the high double.
49039         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49040         Likewise.
49041         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49042         Remove dead code too.
49043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49044         (__ieee754_ynl): Likewise.
49045         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49046         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49047         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49048         Remove dead code too.
49049         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49050         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49051         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49052         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49053         Simplify.
49054         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49055         Simplify.
49056         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49057         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49058         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49059         Comment on variable precision.
49060         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49061         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49062         Likewise.
49063         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49064         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49065         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49066         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49067         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49069 2013-10-04  Alan Modra  <amodra@gmail.com>
49071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49072         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49073         all uses of ieee854 long double macros and unions.
49074         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49075         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49076         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49077         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49078         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49079         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49080         Likewise.
49081         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49082         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49083         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49084         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49085         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49086         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49087         Simplify sign and nan test too.
49088         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49089         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49090         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49091         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49092         Likewise.
49093         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49094         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49095         Likewise.
49096         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49097         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49098         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49099         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49100         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49101         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49103 2013-10-04  Alan Modra  <amodra@gmail.com>
49105         * stdio-common/printf_size.c (__printf_size): Don't use
49106         union ieee854_long_double in fpnum union.
49107         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49108         signbit macro to retrieve sign from long double.
49109         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49110         retrieve sign from long double.
49111         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49112         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49113         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49114         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49115         * math/test-misc.c (main): Don't use union ieee854_long_double.
49117 2013-10-04  Alan Modra  <amodra@gmail.com>
49119         [BZ #15680]
49120         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49121         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49122         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49123         calculation.  Remove unnecessary test for denormal exponent.
49124         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49125         Correct handling of denormals.  Avoid undefined shift behaviour.
49126         Correct normalisation of low mantissa when low double is denormal.
49127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49128         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
49129         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
49130         Correct normalisation of low mantissa.  Test for overflow of high
49131         mantissa and normalise.
49132         (ldbl_nearbyint): Use more readable constant for two52.
49133         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
49134         (__mpn_construct_long_double): Fix test for overflow of high
49135         mantissa and correct normalisation.  Avoid undefined shift.
49137 2013-10-04  Alan Modra  <amodra@gmail.com>
49139         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49140         (union ibm_extended_long_double): Define as an array of ieee754_double.
49141         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
49142         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
49143         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
49144         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49145         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49146         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
49147         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49148         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49149         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49150         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
49151         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49153 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
49155         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
49156         page size instead of calling getpagesize.
49158         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
49159         (LOCFILE_ALIGN_MASK): Likewise.
49160         (LOCFILE_ALIGN_UP): Likewise.
49161         (LOCFILE_ALIGNED_P): Likewise.
49162         * locale/programs/ld-collate.c (collate_output): Use the new
49163         macros instead of __alignof__ (int32_t).
49164         * locale/weight.h (findidx): Likewise.
49166 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
49168         [BZ #431]
49169         * manual/string.texi: Fix strncat and wcsncat.
49171 2013-10-03  Brooks Moses  <bmoses@google.com>
49173         [BZ #15915]
49174         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
49175         * Makerules: ...here, and adjust associated comments.
49177 2013-10-02  Will Newton  <will.newton@linaro.org>
49179         * malloc/Makefile: Add tst-pvalloc.
49180         * malloc/tst-pvalloc.c: New file.
49182 2013-10-02  Will Newton  <will.newton@linaro.org>
49184         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49185         improve test coverage.
49187 2013-10-02  Will Newton  <will.newton@linaro.org>
49189         * malloc/Makefile: Add tst-posix_memalign.
49190         * malloc/tst-posix_memalign.c: New file.
49192 2013-10-01  Eric Blake  <eblake@redhat.com>
49194         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
49195         Use __THROWNL rather than __THROW on static functions.
49197 2013-09-30  Petr Machata  <pmachata@redhat.com>
49199         * elf/elf.h (R_AARCH64_ABS16): New macro.
49200         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49201         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
49202         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
49203         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49204         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
49205         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
49206         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
49207         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
49208         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
49209         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
49210         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
49211         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
49212         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
49213         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
49214         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
49215         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
49216         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
49217         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
49218         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49219         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
49220         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
49221         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
49222         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
49223         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
49224         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49225         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
49226         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
49227         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
49228         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
49229         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
49230         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
49231         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
49232         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
49233         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
49234         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49235         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
49236         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
49237         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
49238         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
49239         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
49240         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
49241         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
49242         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
49243         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
49244         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49245         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
49246         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
49247         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
49248         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
49249         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
49250         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
49251         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
49252         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
49253         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
49254         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
49255         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
49256         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
49257         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
49258         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
49259         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
49260         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
49261         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
49262         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
49263         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
49264         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
49265         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
49266         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
49267         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
49268         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
49269         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
49270         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
49271         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
49272         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
49273         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
49274         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
49275         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
49276         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
49277         (R_AARCH64_TLSDESC_LDR): Likewise.
49278         (R_AARCH64_TLSDESC_ADD): Likewise.
49279         (R_AARCH64_TLSDESC_CALL): Likewise.
49281 2013-09-30  Andreas Schwab  <schwab@suse.de>
49283         [BZ #15048]
49284         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
49285         the nss database lookup.
49286         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49289 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
49291         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
49293 2013-09-28  P. J. McDermott  <pj@pehjota.net>
49295         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
49296         ${Bash-specific parameter/pattern/string} parameter expansion.
49297         * sysdeps/unix/make-syscalls.sh: Likewise.
49299 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49301         * sysdeps/sh/stackguard-macros.h: New file.
49303 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
49305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
49307         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
49308         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49309         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49310         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49312 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49314         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49315         Fix thread ID register.
49317 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49319         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49320         [POSIX || UNIX98]: Require rather than permitting all symbols from
49321         <time.h>.
49322         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49323         element of struct sched_param.
49324         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49325         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49326         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49327         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49328         constant.
49330 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
49332         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49333         argument calculation.
49335 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49337         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49338         Expect macro.
49339         [POSIX] (pthread_attr_t): Do not require type.
49340         [POSIX] (pthread_cond_t): Likewise.
49341         [POSIX] (pthread_condattr_t): Likewise.
49342         [POSIX] (pthread_key_t): Likewise.
49343         [POSIX] (pthread_mutex_t): Likewise.
49344         [POSIX] (pthread_mutexattr_t): Likewise.
49345         [POSIX] (pthread_once_t): Likewise.
49346         [POSIX] (pthread_t): Likewise.
49347         [POSIX-based standards] (pthread_atfork): Expect function.
49349 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49350             Richard Sandiford  <richard@codesourcery.com>
49352         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49353         (swap_endianness_p): New extern variable.
49354         (set_big_endian): New inline function.
49355         (maybe_swap_uint32): Likewise.
49356         (maybe_swap_uint32_array): Likewise.
49357         (maybe_swap_uint32_obstack): Likewise.
49358         * locale/programs/locfile.c: Include <stdbool.h>.
49359         (swap_endianness_p): New variable.
49360         (add_locale_uint32): Call maybe_swap_uint32.
49361         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49362         (write_locale_data): Call maybe_swap_uint32_array.
49363         * locale/programs/ld-collate.c (obstack_int32_grow): Call
49364         maybe_swap_uint32.
49365         (obstack_int32_grow_fast): Likewise.
49366         (output_weightwc): Call maybe_swap_uint32_obstack.
49367         (collate_output): Likewise.
49368         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49369         (OPT_LITTLE_ENDIAN): Likewise.
49370         (options): Add --little-endian and --big-endian options.
49371         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49372         * locale/programs/locarchive.c: Include "locfile.h".
49373         (GET): New macro.
49374         (SET): Likewise.
49375         (INC): Likewise.
49376         (create_archive): Use the new macros to access fields of
49377         structures directly mapped from or written to locale archives.
49378         (oldlocrecentcmp): Likewise.
49379         (enlarge_archive): Likewise.
49380         (insert_name): Likewise.
49381         (add_alias): Likewise.
49382         (add_locale): Likewise.
49383         (delete_locales_from_archive): Likewise.
49384         (show_archive_content): Likewise.
49385         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
49386         locale data.
49388 2013-09-24  Roland McGrath  <roland@hack.frob.com>
49390         * manual/freemanuals.texi: Updated from (newly) canonical copy at
49391         http://www.gnu.org/doc/freemanuals.texi.
49392         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49394 2013-09-24  Will Newton  <will.newton@linaro.org>
49396         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49397         macro.
49399 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
49401         * locale/hashval.h (compute_hashval): Interpret bytes of key as
49402         unsigned char.
49404 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
49406         * manual/threads.texi (POSIX Threads): Fix a typo.
49408 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49410         [BZ #14547]
49411         * string/tst-strcoll-overflow.c: New test case.
49412         * string/Makefile (xtests): Add tst-strcoll-overflow.
49413         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
49414         cache if string sizes may cause integer overflow.
49416         [BZ #14547]
49417         * string/strcoll_l.c (coll_seq): New members rule, idx,
49418         save_idx and back_us.
49419         (get_next_seq_nocache): New function.
49420         (do_compare_nocache): New function.
49421         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
49422         when malloc fails.
49424 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
49426         [BZ #15754]
49427         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
49428         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
49429         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
49431         [BZ #15754]
49432         * elf/Makefile (tests): Add tst-ptrguard1.
49433         (tests-static): Add tst-ptrguard1-static.
49434         (tst-ptrguard1-ARGS): Define.
49435         (tst-ptrguard1-static-ARGS): Define.
49436         * elf/tst-ptrguard1.c: New file.
49437         * elf/tst-ptrguard1-static.c: New file.
49438         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
49439         * sysdeps/i386/stackguard-macros.h: Likewise.
49440         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49441         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49442         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49443         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49444         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49445         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49447 2013-09-23  Hector Marco  <hecmargi@upv.es>
49448             Ismael Ripoll  <iripoll@disca.upv.es>
49449             Carlos O'Donell  <carlos@redhat.com>
49451         [BZ #15754]
49452         * sysdeps/generic/stackguard-macros.h: Define
49453         __pointer_chk_guard_local and POINTER_CHK_GUARD.
49454         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
49455         Define __pointer_chk_guard_local.
49456         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
49457         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
49459 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
49461         [BZ #15859]
49462         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
49464 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
49466         * include/string.h (__ffs): Declare as hidden.
49467         * string/ffs.c (__ffs): Define as hidden.
49468         * sysdeps/i386/ffs.c (__ffs): Likewise.
49469         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
49470         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
49471         * sysdeps/s390/ffs.c (__ffs): Likewise.
49472         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
49474 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
49476         * NEWS: Mention malloc probes.
49478         * malloc/arena.c (new_heap): New memory_heap_new probe.
49479         (grow_heap): New memory_heap_more probe.
49480         (shrink_heap): New memory_heap_less probe.
49481         (heap_trim): New memory_heap_free probe.
49482         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
49483         (systrim): New memory_sbrk_less probe.
49484         * manual/probes.texi: Document them.
49486         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
49487         * manual/probes.texi: Document it.
49489         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
49490         (__libc_realloc): Add memory_realloc_retry probe.
49491         (__libc_memalign): Add memory_memalign_retry probe.
49492         (__libc_valloc): Add memory_valloc_retry probe.
49493         (__libc_pvalloc): Add memory_pvalloc_retry probe.
49494         (__libc_calloc): Add memory_calloc_retry probe.
49495         * manual/probes.texi: Document them.
49497         * malloc/arena.c (get_free_list): Add probe
49498         memory_arena_reuse_free_list.
49499         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
49500         and memory_arena_reuse.
49501         (arena_get2) [!PER_THREAD]: Likewise.
49502         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
49503         memory_arena_reuse_realloc.
49504         * manual/probes.texi: Document them.
49506         * malloc/malloc.c (__libc_free): Add
49507         memory_mallopt_free_dyn_thresholds probe.
49508         (__libc_mallopt): Add multiple memory_mallopt probes.
49509         * manual/probes.texi: Document them.
49511         * malloc/malloc.c: Include stap-probe.h.
49512         (__libc_mallopt): Add memory_mallopt probe.
49513         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
49514         * manual/probes.texi: New.
49515         * manual/Makefile (chapters): Add probes.
49516         * manual/threads.texi: Set next node.
49518 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
49520         [BZ #15963, #13985]
49521         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49522         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
49523         Add `Chinese' to `nan' entry name.
49525 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49527         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
49528         (POLYNOMIAL): Likewise.
49529         (TAYLOR_SINCOS): Likewise.
49530         (TAYLOR_SLOW): Likewise.
49531         (__sin): Use TAYLOR_SINCOS.
49532         (__cos): Likewise.
49533         (slow): Use TAYLOR_SLOW.
49534         (sloww): Likewise.
49535         (bsloww): Likewise.
49536         (csloww): Likewise.
49538 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49540         * stdlib/strtod_l.c: Fix buffer overrun.
49542 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49544         * benchtests/Makefile (bench): Add sincos.
49545         * benchtests/bench-sincos.c: New file.
49547         * math/libm-test.inc (cos_test_data): New test inputs.
49548         (sin_test_data): Likewise.
49550         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
49551         macro.
49552         (__sin): Use it.
49553         (__cos): Likewise.
49554         (slow1): Likewise.
49555         (slow2): Likewise.
49556         (sloww1): Likewise.
49557         (sloww2): Likewise.
49558         (bsloww1): Likewise.
49559         (bsloww2): Likewise.
49560         (cslow2): Likewise.
49561         (csloww1): Likewise.
49562         (csloww2): Likewise.
49564         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
49565         function.
49566         (__sin): Use it.
49567         (__cos): Likewise.
49569         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
49570         gotos.
49571         (__cos): Likewise.
49573 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
49575         * config.h.in (HAVE_MIPS_NAN2008): New macro.
49576         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
49577         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
49578         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
49579         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
49580         * elf/cache.c (print_entry): Handle the new cache flags.
49582 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49583             Aldy Hernandez  <aldyh@redhat.com>
49585         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
49586         Change condition to [_SOFT_FLOAT].
49587         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
49588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
49589         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
49590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
49591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
49592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
49593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
49594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
49595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
49596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
49597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
49598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
49599         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
49600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
49601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
49602         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
49603         declaration.
49605 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49607         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
49608         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49609         (__longjmp): Use LOAD_GP to load saved GPRs.
49610         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
49611         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49612         (__sigsetjmp): Use SAVE_GP to save GPRs.
49614         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
49615         Do not append -msoft-float.
49616         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
49618 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49620         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
49622 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
49624         [BZ #15966]
49625         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
49626         (_FPU_GETCW): Use initial "__" on variable and field names but not
49627         on macro parameter name.
49628         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
49629         parentheses around reference to macro parameter.
49631 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
49633         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
49634         prototype.
49635         (ctype_startup): Use uint32_t in cast and sizeof for
49636         ctype->charnames.
49638 2013-09-11  Jia Liu  <proljc@gmail.com>
49640         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
49641         __daddr_t_defined.
49642         [__FreeBSD__]: Likewise.
49644 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
49646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
49647         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
49648         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
49649         (strchr): Remove __strchr_sse42 ifunc selection.
49650         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
49651         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
49653 2013-09-11  Will Newton  <will.newton@linaro.org>
49655         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
49656         parameter to RES. Remove hardcoded 1000 value.
49657         * benchtests/bench-skeleton.c (main): Pass RES parameter
49658         to TIMING_INIT and multiply result by 1000.
49660 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49664 2013-09-11  Andreas Schwab  <schwab@suse.de>
49666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
49667         if not defined.
49668         (O_TMPFILE) [__USE_GNU]: Define.
49669         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
49670         Define.
49672 2013-09-11  Will Newton  <will.newton@linaro.org>
49674         [BZ #15857]
49675         * malloc/malloc.c (__libc_memalign): Check the value of bytes
49676         does not overflow.
49678 2013-09-11  Will Newton  <will.newton@linaro.org>
49680         [BZ #15856]
49681         * malloc/malloc.c (__libc_valloc): Check the value of bytes
49682         does not overflow.
49684 2013-09-11  Will Newton  <will.newton@linaro.org>
49686         [BZ #15855]
49687         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
49688         does not overflow.
49690 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
49692         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
49693         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49694         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49695         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49696         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49698 2013-09-10  Allan McRae  <allan@archlinux.org>
49700         [BZ #15748]
49701         * manual/arith.texi (Parsing of Floats): Clarify
49702         cross-reference.
49704         [BZ #15849]
49705         * manual/install.texi (Running make install): Mention
49706         --enable-pt-chown.
49707         * INSTALL: Regenerated.
49709 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
49711         * csu/init-first.c (_init): Remove the !SHARED condition around
49712         FPU control word initialization.
49713         * elf/dl-support.c (_dl_fpu_control): New variable.
49714         (_dl_aux_init) <AT_FPUCW>: Initialize it.
49715         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
49716         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
49717         * math/test-fpucw-static.c: New file.
49718         * math/test-fpucw-ieee.c: New file.
49719         * math/test-fpucw-ieee-static.c: New file.
49720         * math/Makefile (tests): Add `test-fpucw-ieee' and
49721         `$(tests-static)'.
49722         (tests-static): New variable.
49723         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
49724         dependency to...
49725         [($(build-shared),yes)]
49726         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49727         ... this.
49728         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
49729         New dependency.
49731 2013-09-09  Allan McRae  <allan@archlinux.org>
49733         [BZ #15939]
49734         * manual/string.texi (Collation Functions): Fix typo in
49735         strcoll example.
49736         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
49738         [BZ #15893]
49739         * stdlib/isomac.c (get_null_defines): Fix memory leak.
49741         [BZ #15892]
49742         * libio/memstream.c (open_memstream): Fix memory leak.
49743         * libio/wmemstream.c (open_wmemstream): Likewise.
49745         [BZ #15895]
49746         * nscd/netgroupcache.c: Fix nesting of ifdefs.
49748 2013-09-09  Will Newton  <will.newton@linaro.org>
49750         * malloc/Makefile: Add tst-realloc to tests.
49751         * malloc/tst-realloc.c: New file.
49753 2013-09-09  Allan McRae  <allan@archlinux.org>
49755         [BZ #15844]
49756         * COPYING: Update from GNU website to fix FSF address.
49757         * COPYING.LIB: Likewise.
49759 2013-09-06  David S. Miller  <davem@davemloft.net>
49761         * po/zh_TW.po: Update Chinese (traditional) translation from
49762         translation project.
49764 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
49765             Joseph Myers  <joseph@codesourcery.com>
49767         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
49768         "localeinfo.h".
49769         (obstack_chunk_alloc): New macro.
49770         (obstack_chunk_free): Likewise.
49771         (record_offset): New function.
49772         (init_locale_data): Likewise.
49773         (align_locale_data): Likewise.
49774         (add_locale_empty): Likewise.
49775         (add_locale_raw_data): Likewise.
49776         (add_locale_raw_obstack): Likewise.
49777         (add_locale_string): Likewise.
49778         (add_locale_wstring): Likewise.
49779         (add_locale_uint32): Likewise.
49780         (add_locale_uint32_array): Likewise.
49781         (add_locale_char): Likewise.
49782         (start_locale_structure): Likewise.
49783         (end_locale_structure): Likewise.
49784         (start_locale_prelude): Likewise.
49785         (end_locale_prelude): Likewise.
49786         (write_locale_data): Take locale_file structure rather than an
49787         iovec.
49788         * locale/programs/locfile.h: Include "obstack.h".
49789         (struct locale_file): Change to store locale file contents instead
49790         of header.
49791         (init_locale_data): New prototype.
49792         (align_locale_data): Likewise.
49793         (add_locale_empty): Likewise.
49794         (add_locale_raw_data): Likewise.
49795         (add_locale_raw_obstack): Likewise.
49796         (add_locale_string): Likewise.
49797         (add_locale_wstring): Likewise.
49798         (add_locale_uint32): Likewise.
49799         (add_locale_uint32_array): Likewise.
49800         (add_locale_char): Likewise.
49801         (start_locale_structure): Likewise.
49802         (end_locale_structure): Likewise.
49803         (start_locale_prelude): Likewise.
49804         (end_locale_prelude): Likewise.
49805         (write_locale_data): Update prototype.
49806         * locale/programs/3level.h (struct TABLE): Remove result field.
49807         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49808         Use new locale_file interface.
49809         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49810         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49811         * locale/programs/ld-address.c (address_output): Use new
49812         locale_file interface.
49813         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49814         NO_ADD_LOCALE.
49815         (collate_finish): Don't call collseq_table_finalize.
49816         (collate_output): Use new locale_file interface.
49817         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49818         in file.
49819         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49820         (TABLE): Move defines earlier in file.
49821         (ELEMENT): Likewise.
49822         (DEFAULT): Likewise.
49823         (wctrans_table_add): Move macro and inline function earlier in
49824         file.
49825         (struct wctype_table): Move type earlier in file.
49826         (add_locale_wctype_table): New static prototype.
49827         (struct locale_ctype_t): Use logical types instead of struct iovec
49828         pointers for members.
49829         (ctype_output): Use new locale_file interface.
49830         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49831         new locale_file interface.
49832         (allocate_arrays): Update for use of new locale_file interface.
49833         * locale/programs/ld-identification.c (identification_output): Use
49834         new locale_file interface.
49835         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49836         * locale/programs/ld-messages.c (messages_output): Likewise.
49837         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49838         * locale/programs/ld-name.c (name_output): Likewise.
49839         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49840         * locale/programs/ld-paper.c (paper_output): Likewise.
49841         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49842         * locale/programs/ld-time.c (time_output): Likewise.
49844 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49846         * benchtests/Makefile: Add memrchr benchmark.
49847         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49848         benchmark as memrchr.
49849         * benchtests/bench-memrchr-ifunc.c: New file.
49850         * benchtests/bench-memrchr.c: New file.
49852 2013-09-06   Will Newton  <will.newton@linaro.org>
49854         * benchtests/Makefile (string-bench): Add memcpy.
49856 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49857             Cong Wang  <amwang@redhat.com>
49859         [BZ #15850]
49860         * sysdeps/unix/sysv/linux/bits/in.h
49861         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49862         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49863         before __USE_KERNEL_IPV6_DEFS uses.
49864         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49865         IPPROTO_BEETPH.
49866         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49867         sockaddr_in6, or ipv6_mreq.
49869 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49871         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49872         memory access for final bytes in some large inputs.
49873         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49875 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49877         * string/test-memrchr.c: New file.
49878         * string/test-memrchr-ifunc.c: New file.
49879         * string/Makefile: Add new memrchr testcase.
49881 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49883         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49884         fanotify_init returns EPERM.
49886 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49888         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49889         errors.
49890         (top level): Treat second token from macro or constant entries for
49891         allowed headers as allowed.
49892         * include/complex.h: Condition internal declarations on
49893         [!_ISOMAC].
49894         * include/fenv.h: Condition include of <stdbool.h> and internal
49895         declarations on [!_ISOMAC].
49897 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49899         [BZ #15923]
49900         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49902 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49904         * configure.in (--enable-versioning): Remove configure option.
49905         (libc_cv_asm_symver_directive): Remove configure test.
49906         (libc_cv_ld_version_script_option): Likewise.
49907         (VERSIONING): Remove variable and AC_SUBST.
49908         (DO_VERSIONING): Remove AC_DEFINE.
49909         * configure: Regenerated.
49910         * config.h.in (DO_VERSIONING): Remove macro.
49911         * Makerules [$(versioning) = yes]: Change conditionals to
49912         [$(build-shared) = yes].
49913         * config.make.in (versioning): Remove variable.
49914         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49915         [$(build-shared) = yes].
49916         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49917         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49918         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49919         [$(build-shared) = yes].
49920         * extra-lib.mk [$(versioning) = yes]: Likewise.
49921         * hurd/Makefile [$(versioning) = yes]: Likewise.
49922         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49923         [SHARED].
49924         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49925         [SHARED].
49926         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49927         [SHARED && !NO_HIDDEN].
49928         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49929         [SHARED].
49930         [SHARED && DO_VERSIONING]: Likewise..
49931         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49932         [$(build-shared) = yes].
49933         * manual/install.texi (--disable-versioning): Remove
49934         documentation.
49935         * INSTALL: Regenerated.
49936         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49937         to [SHARED].
49938         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49939         [$(build-shared) = yes].
49940         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49941         * sysdeps/i386/i686/multiarch/strstr-c.c
49942         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49943         [SHARED && !NO_HIDDEN].
49944         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49945         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49946         * sysdeps/powerpc/powerpc32/dl-machine.c
49947         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49948         * sysdeps/powerpc/powerpc32/sysdep.h
49949         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49950         to [SHARED && PIC && !NO_HIDDEN].
49951         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49952         conditional to [SHARED].
49954 2013-09-04   Will Newton  <will.newton@linaro.org>
49956         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49957         * benchtests/bench-string.h: Include bench-timing.h instead
49958         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49959         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49960         call to HP_TIMING_DIFF_INIT.
49961         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49962         instead of hp-timing.h macros.
49963         * benchtests/bench-memchr.c: Likewise.
49964         * benchtests/bench-memcmp.c: Likewise.
49965         * benchtests/bench-memcpy.c: Likewise.
49966         * benchtests/bench-memmem.c: Likewise.
49967         * benchtests/bench-memmove.c: Likewise.
49968         * benchtests/bench-memset.c: Likewise.
49969         * benchtests/bench-rawmemchr.c: Likewise.
49970         * benchtests/bench-strcasecmp.c: Likewise.
49971         * benchtests/bench-strcasestr.c: Likewise.
49972         * benchtests/bench-strcat.c: Likewise.
49973         * benchtests/bench-strchr.c: Likewise.
49974         * benchtests/bench-strcmp.c: Likewise.
49975         * benchtests/bench-strcpy.c: Likewise.
49976         * benchtests/bench-strcpy_chk.c: Likewise.
49977         * benchtests/bench-strlen.c: Likewise.
49978         * benchtests/bench-strncasecmp.c: Likewise.
49979         * benchtests/bench-strncat.c: Likewise.
49980         * benchtests/bench-strncmp.c: Likewise.
49981         * benchtests/bench-strncpy.c: Likewise.
49982         * benchtests/bench-strnlen.c: Likewise.
49983         * benchtests/bench-strpbrk.c: Likewise.
49984         * benchtests/bench-strrchr.c: Likewise.
49985         * benchtests/bench-strspn.c: Likewise.
49986         * benchtests/bench-strstr.c: Likewise.
49988 2013-09-04  Will Newton  <will.newton@linaro.org>
49990         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49992 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49994         [BZ #15427]
49995         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
49996         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
49997         * math/libm-test.inc (lgamma_test_data): Add more tests.
49998         * sysdeps/i386/fpu/libm-test-ulps: Update.
49999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50001 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50003         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50005         Add ifunc.
50006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50007         Add strcmp-sse2-unaligned
50008         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50010 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50012         * Versions.def (libc): Add GLIBC_2.19.
50014 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50016         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50017         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50019 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50021         [BZ #14155]
50022         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50023         intermediate calculations in recurrence.
50024         (__ieee754_ynf): Likewise.
50025         * math/libm-test.inc (jn_test_data): Do not allow spurious
50026         underflow exception.  Add more tests.
50027         (yn_test_data): Add more tests.
50028         * sysdeps/i386/fpu/libm-test-ulps: Update.
50029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50031 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50033         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50035 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50037         * csu/init-first.c: Fix then/than typos.
50038         * locale/programs/ld-collate.c: Likewise.
50039         * locale/programs/linereader.h: Likewise.
50040         * manual/charset.texi: Likewise.
50041         * manual/filesys.texi: Likewise.
50042         * manual/stdio.texi: Likewise.
50043         * manual/string.texi: Likewise.
50044         * stdlib/fmtmsg.c: Likewise.
50045         * sysdeps/i386/stpncpy.S: Likewise.
50046         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50047         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50048         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50049         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50051 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50053         * elf/dl-open.c: Fix typos.
50054         * iconvdata/gbbig5.c: Likewise.
50055         * iconvdata/iso-2022-jp.c: Likewise.
50056         * iconv/gconv_int.h: Likewise.
50057         * iconv/loop.c: Likewise.
50058         * nis/rpcsvc/nis.h: Likewise.
50059         * resolv/ns_name.c: Likewise.
50060         * stdio-common/vfscanf.c: Likewise.
50061         * streams/stropts.h: Likewise.
50062         * sunrpc/rpc_thread.c: Likewise.
50063         * sysdeps/i386/strpbrk.S: Likewise.
50064         * sysdeps/ieee754/k_standard.c: Likewise.
50065         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50066         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50067         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50068         * sysdeps/mach/hurd/profil.c: Likewise.
50069         * sysdeps/s390/dl-procinfo.h: Likewise.
50070         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50071         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50072         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50073         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50074         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50076 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50078         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50079         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50081 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50083         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50084         aix specific files.
50085         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50086         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50087         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50088         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50089         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50090         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50091         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50092         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50094 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50095             Roland McGrath  <roland@hack.frob.com>
50097         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50098         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50100 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50102         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50103         __executable_start symbol instead of _start.
50105 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50107         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50108         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50109         Move macros to...
50110         * sysdeps/gnu/ldsodefs.h: ... this new file.
50112         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50113         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50114         instead of ELFOSABI_LINUX.
50116         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50117         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50118         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50119         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50120         Likewise.
50121         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50122         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50123         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50124         Likewise.
50125         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50126         (ibm_extended_long_double): Add ieee_nan member.
50127         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50128         (do_test): New function.
50130         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
50131         TEST_TRUNC.
50132         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
50133         functions, renamed from truncdfsf_test, trunctfsf_test,
50134         trunctfdf_test.
50135         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
50136         functions.
50137         (do_test): Run all these.
50139 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
50141         * argp/argp-help.c: Fix typos.
50142         * argp/argp-parse.c: Likewise.
50143         * debug/backtracesyms.c: Likewise.
50144         * elf/elf.h: Likewise.
50145         * malloc/malloc.c: Likewise.
50146         * nis/nis_print.c: Likewise.
50147         * resolv/res_comp.c: Likewise.
50148         * stdlib/stdlib.h: Likewise.
50149         * sunrpc/clnt_tcp.c: Likewise.
50150         * sunrpc/clnt_udp.c: Likewise.
50151         * sunrpc/clnt_unix.c: Likewise.
50152         * sysdeps/unix/bsd/ptsname.c: Likewise.
50153         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
50154         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
50155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
50156         Likewise.
50157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
50158         Likewise.
50159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50160         Likewise.
50161         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50163 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50165         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
50166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50168 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
50170         [BZ #15897]
50171         * dlfcn/Makefile (tests): Add bug-dl-leaf.
50172         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
50173         ($(objpfx)bug-dl-leaf): New rule.
50174         ($(objpfx)bug-dl-leaf.so): Likewise.
50175         ($(objpfx)bug-dl-leaf.out): Likewise.
50176         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
50177         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
50178         * dlfcn/bug-dl-leaf.c: New test.
50179         * dlfcn/bug-dl-leaf-lib.c: Likewise.
50180         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
50181         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
50182         (dlclose): Likewise.
50183         (dlmopen): Likewise.
50185 2013-08-27  Roland McGrath  <roland@hack.frob.com>
50187         * include/netdb.h [!_ISOMAC]:
50188         Don't include <tls.h>.
50189         (h_errno, __libc_h_errno): Move declaration and macros out of
50190         [_LIBC_REENTRANT].
50192         * include/resolv.h [_RESOLV_H_]:
50193         Don't include <tls.h>.
50194         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
50195         * resolv/res_libc.c: Don't include <tls.h>.
50196         (_res): Use __attribute__ ((nocommon)) in place of
50197         __attribute__ ((section (".bss"))).
50199         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
50200         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
50202         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
50204         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
50205         only under [SIOCGIFCONF && SIOCGIFNETMASK].
50207         * resolv/res_mkquery.c: Include <sys/time.h>.
50209         * inet/ifreq.c: Moved to ...
50210         * sysdeps/unix/ifreq.c: ... here.
50211         * inet/ifreq.c: New file, true stub version.
50213         * socket/sa_len.c: New file.
50214         * socket/Makefile (aux): Add it.
50215         * sysdeps/unix/sysv/linux/Makefile
50216         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
50217         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
50218         and #include <socket/sa_len.c>.
50219         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
50220         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
50222         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
50223         * bits/socket.h: ... here.
50225         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
50226         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
50227         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
50229 2013-08-27  Andreas Schwab  <schwab@suse.de>
50231         [BZ #15736]
50232         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
50233         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
50234         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
50235         * string/test-strcasecmp.c (test_main): Run tests in several
50236         locales.
50237         * string/test-strncasecmp.c (test_main): Likewise.
50239         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
50240         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
50241         to __strcasecmp_nonascii and __strncasecmp_nonascii.
50242         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
50243         (__strncasecmp_ssse3) [PIC]: Likewise.
50245 2013-08-26  Roland McGrath  <roland@hack.frob.com>
50247         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
50249         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
50250         instead of explicitly declaring xdecrypt.
50251         * nis/nss_nis/nis-publickey.c: Likewise.
50253 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50255         [BZ #15890]
50256         * nscd/aicache.c: Include res_hconf.h.
50257         (addhstaiX): Initialize res_hconf.
50259 2013-08-26  Andreas Schwab  <schwab@suse.de>
50261         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
50262         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
50264 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50266         * nscd/aicache.c (addhstaiX): Fix indentation.
50268 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
50270         * configure.ac: Quote $build_pt_chown test.
50271         * configure: Regenerated.
50273 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
50275         [BZ #15532]
50276         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
50277         * math/s_cexpf.c (__cexpf): Likewise.
50278         * math/s_cexpl.c (__cexpl): Likewise.
50279         * math/libm-test.inc (cexp_test_data): Correct expected return
50280         value for NaN + i0.  Add another test.
50282 2013-08-22  David S. Miller  <davem@davemloft.net>
50284         * po/ca.po: Update Catalan translation from translation project.
50285         * po/uk.po: Add Ukrainian translations from translation project.
50287 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
50289         [BZ #15797]
50290         * math/s_fdim.c (__fdim): Check for infinite arguments if result
50291         is infinite, not alongside NaN test.
50292         * math/s_fdimf.c (__fdimf): Likewise.
50293         * math/s_fdiml.c (__fdiml): Likewise.
50294         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
50295         errno is unchanged.
50297 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
50299         * argp/argp-help.c: Fix typos.
50300         * crypt/speeds.c: Likewise.
50301         * csu/check_fds.c: Likewise.
50302         * elf/dl-load.c: Likewise.
50303         * elf/dl-open.c: Likewise.
50304         * elf/reldep3.c: Likewise.
50305         * elf/reldep.c: Likewise.
50306         * elf/sprof.c: Likewise.
50307         * iconv/iconv_charmap.c: Likewise.
50308         * iconv/skeleton.c: Likewise.
50309         * iconv/strtab.c: Likewise.
50310         * io/lockf64.c: Likewise.
50311         * libio/libioP.h: Likewise.
50312         * resolv/gai_notify.c: Likewise.
50313         * resolv/ns_name.c: Likewise.
50314         * resolv/ns_samedomain.c: Likewise.
50315         * resolv/res_send.c: Likewise.
50316         * stdlib/random.c: Likewise.
50317         * sunrpc/rpc/xdr.h: Likewise.
50318         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50319         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50320         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50321         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50322         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50323         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50324         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50325         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50326         * sysdeps/mach/hurd/check_fds.c: Likewise.
50327         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50328         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50329         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50330         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50331         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50332         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50333         * sysdeps/pthread/aio_notify.c: Likewise.
50334         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50335         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50336         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50337         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50338         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50340 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50342         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50343         version if bit_Slow_SSE4_2 is set.
50344         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50345         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50347 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50349         [BZ #15867]
50350         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50351         trampoline stack frame information.
50352         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50353         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50354         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50355         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50356         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50357         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50358         (_libc_vdso_platform_setup): Initialize the signal trampolines.
50359         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50360         sa_flags value.
50361         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50362         interrupting a syscall and set with option SA_SIGINFO.
50364 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50366         [BZ #15531]
50367         * math/s_cproj.c (__cproj): Only return an infinity if one part of
50368         argument is infinite.
50369         * math/s_cprojf.c (__cprojf): Likewise.
50370         * math/s_cprojl.c (__cprojl): Likewise.
50371         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50372         * math/libm-test.inc (cproj_test_data): Add more tests.
50374         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50376         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50377         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50378         size.  Use __ffs to determine corresponding shift.
50380 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50381             Roland McGrath  <roland@hack.frob.com>
50383         * Makefile (INSTALL): Remove trailing blank lines from output of
50384         makeinfo.
50386 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50388         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50389         Align 32 bit compat elf_greg to 8 bytes.
50391 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
50393         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50395 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50397         * string/strcoll_l.c (coll_seq): New structure.
50398         (get_next_seq_cached): New function.
50399         (get_next_seq): New function.
50400         (do_compare): New function.
50401         (STRCOLL): Use GNU style definition.  Simplify implementation
50402         by using get_next_seq, get_next_seq_cached and do_compare.
50404 2013-08-16  Florian Weimer  <fweimer@redhat.com>
50406         [BZ #14699]
50407         CVE-2013-4237
50408         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50409         member.
50410         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50411         member.
50412         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50413         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
50414         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
50415         conditional.
50416         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
50417         GETDENTS_64BIT_ALIGNED.
50418         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50419         * manual/filesys.texi (Reading/Closing Directory): Document
50420         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
50421         strongly.
50422         * manual/conf.texi (Limits for Files): Add portability note to
50423         NAME_MAX, PATH_MAX.
50424         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
50426 2013-08-13  Andreas Schwab  <schwab@suse.de>
50428         [BZ #15749]
50429         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
50430         of fabs.
50431         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
50432         LDBL_MAX_EXP >= 16384]: Add tests for it.
50434 2013-08-12  David S. Miller  <davem@davemloft.net>
50436         * version.h (RELEASE): Set to "development".
50437         (VERSION): Set to "2.18.90".
50438         * NEWS: Add 2.19 section.
50440 2013-08-03  David S. Miller  <davem@davemloft.net>
50442         * po/ko.po: Update Korean translation from translation project.
50444 2013-08-01  David S. Miller  <davem@davemloft.net>
50446         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
50447         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
50448         Bilka.
50450 2013-07-30  David S. Miller  <davem@davemloft.net>
50452         * po/fr.po: Update French translation from translation project.
50454 2013-07-28  David S. Miller  <davem@davemloft.net>
50456         * po/cs.po: Update Czech translation from translation project.
50458         * po/sv.po: Update Swedish translation from translation project.
50460 2013-07-27  David S. Miller  <davem@davemloft.net>
50462         * po/eo.po: Update Esperanto translation from translation project.
50464         * po/vi.po: Update Vietnamese translation from translation project.
50466         * po/de.po: Update German translation from translation project.
50468 2013-07-26  David S. Miller  <davem@davemloft.net>
50470         * po/bg.po: Update Bulgarian translation from translation project.
50472         * po/nl.po: Update Dutch translation from translation project.
50473         * po/pl.po: Update Polish translation from translation project.
50474         * po/ru.po: Update Russian translation from translation project.
50476 2013-07-24  David S. Miller  <davem@davemloft.net>
50478         * po/libc.pot: Update.
50480 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50482         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50483         variable page size.
50484         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
50485         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
50486         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
50488 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50490         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
50492 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50493             Andreas Schwab  <schwab@suse.de>
50494             Roland McGrath  <roland@hack.frob.com>
50495             Joseph Myers  <joseph@codesourcery.com>
50496             Carlos O'Donell  <carlos@redhat.com>
50498         [BZ #15755]
50499         * config.h.in: Define HAVE_PT_CHOWN.
50500         * config.make.in (build-pt-chown): New variable.
50501         * configure.in (--enable-pt_chown): New configure option.
50502         * configure: Regenerate.
50503         * login/Makefile: Include Makeconfig.  Build pt_chown only if
50504         build-pt-chown is enabled.
50505         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
50506         pt_chown to fix pty ownership.
50507         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
50508         CLOSE_ALL_FDS.
50509         * manual/install.texi (Configuring and compiling): Mention
50510         --enable-pt_chown. Add @findex for grantpt.
50511         * INSTALL: Regenerate.
50513 2013-07-20  David S. Miller  <davem@davemloft.net>
50515         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
50516         difference between 32-bit and 64-bit.
50518 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
50520         [BZ #15711]
50521         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
50522         Avoid system header dependency with -ffreestanding.
50523         ($(objpfx)bits/syscall%d): Likewise.
50525 2013-07-13  David S. Miller  <davem@davemloft.net>
50527         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
50528         underflows from atanl/atan2l due to bug 15319.
50529         (casinh_test_data): Likewise.
50531 2013-07-07  David S. Miller  <davem@davemloft.net>
50533         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
50535 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
50537         * sysdeps/i386/fpu/libm-test-ulps: Update.
50538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50540 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50542         * configure.in (--enable-lock-elision): Fix message text.
50543         * INSTALL: Regenerate.
50544         * configure: Regenerate.
50546 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50550 2013-07-03  Andreas Jaeger  <aj@suse.de>
50552         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
50553         define.
50554         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
50555         (ptrace_peeksiginfo_args): Add.
50556         (__ptrace_peeksiginfo_flags): Add.
50557         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50558         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50559         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50561 2013-07-03  Allan McRae  <allan@archlinux.org>
50563         * sysdeps/i386/fpu/libm-test-ulps: Update.
50565 2013-07-02  David S. Miller  <davem@davemloft.net>
50567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50569 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
50571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50573 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50575         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50578 2013-07-02  Andi Kleen <ak@linux.intel.com>
50580         * config.h.in (ENABLE_LOCK_ELISION): Add.
50581         * configure.in (--enable-lock-elision): Add option.
50582         * manual/install.texi: Document --enable lock elision.
50583         * configure: Regenerate
50584         * INSTALL: Regenerate.
50586 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
50588         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
50589         SSE4.2 strcasecmp for libc.a.
50590         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
50592 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50594         [BZ #13304]
50595         * soft-fp/op-common.h (_FP_FMA): New macro.
50596         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
50597         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
50598         (_FP_MUL_MEAT_1_imm): ... here.
50599         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
50600         (_FP_MUL_MEAT_1_wide): ... here.
50601         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
50602         (_FP_MUL_MEAT_1_hard): ... here.
50603         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
50604         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
50605         (_FP_MUL_MEAT_2_wide): ... here.
50606         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
50607         (_FP_MUL_MEAT_2_wide_3mul): ... here.
50608         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
50609         (_FP_MUL_MEAT_2_gmp): ... here.
50610         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
50611         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
50612         (_FP_MUL_MEAT_4_wide): ... here.
50613         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
50614         (_FP_MUL_MEAT_4_gmp): ... here.
50615         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
50616         (_FP_WFRACBITS_DW_S): Likewise.
50617         (_FP_WFRACXBITS_DW_S): Likewise.
50618         (_FP_HIGHBIT_DW_S): Likewise.
50619         (FP_FMA_S): Likewise.
50620         (_FP_FRAC_HIGH_DW_S): Likewise.
50621         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
50622         (_FP_WFRACBITS_DW_D): Likewise.
50623         (_FP_WFRACXBITS_DW_D): Likewise.
50624         (_FP_HIGHBIT_DW_D): Likewise.
50625         (FP_FMA_D): Likewise.
50626         (_FP_FRAC_HIGH_DW_D): Likewise.
50627         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
50628         (_FP_WFRACBITS_DW_E): Likewise.
50629         (_FP_WFRACXBITS_DW_E): Likewise.
50630         (_FP_HIGHBIT_DW_E): Likewise.
50631         (FP_FMA_E): Likewise.
50632         (_FP_FRAC_HIGH_DW_E): Likewise.
50633         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
50634         (_FP_WFRACBITS_DW_Q): Likewise.
50635         (_FP_WFRACXBITS_DW_Q): Likewise.
50636         (_FP_HIGHBIT_DW_Q): Likewise.
50637         (FP_FMA_Q): Likewise.
50638         (_FP_FRAC_HIGH_DW_Q): Likewise.
50639         * soft-fp/fmasf4.c: New file.
50640         * soft-fp/fmadf4.c: Likewise.
50641         * soft-fp/fmatf4.c: Likewise.
50643 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50646         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
50647         Silvermont.
50648         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
50649         macro.
50650         (index_Slow_SSE4_2): Likewise.
50651         (index_Prefer_PMINUB_for_stringop): Likewise.
50652         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
50653         bit_Slow_SSE4_2 is set.
50654         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50655         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50657 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50659         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
50660         rtld_global._dl_hwcap2.
50661         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
50662         POWER8.
50663         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
50664         POWER8 feature descriptions defined in _dl_hwcap2.
50665         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
50666         string handling for POWER8 feature bits.
50667         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
50668         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
50669         _dl_powerpc_cap_flags.
50670         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
50671         * sysdeps/powerpc/rtld-global-offsets.sym
50672         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
50673         _dl_hwcap2 in the rtld_global_ro structure.
50675 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50677         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
50678         hardware capabilities in support of AT_HWCAP2.
50679         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
50680         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
50681         GLRO(dl_hwcap2).
50682         (_dl_show_auxv): Add support for calling _dl_procinfo to display
50683         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
50684         explicitly the unknown a_type display mechanism is used.
50685         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
50686         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
50687         struct member.
50688         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
50689         to macro prototype for AT_HWCAP2 support.
50690         * sysdeps/i386/dl-procinfo.h: Likewise.
50691         * sysdeps/s390/dl-procinfo.h: Likewise.
50692         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
50693         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
50694         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
50695         return -1 for unknown a_type display fallback.
50696         * sysdeps/sparc/dl-procinfo.h: Likewise.
50697         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
50698         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
50700 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
50702         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
50703         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
50705 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
50707         [BZ #12492]
50708         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
50709         mprotect making __stack_prot writable.
50711 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
50712             Joseph Myers  <joseph@codesourcery.com>
50714         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
50715         as being properly aligned.
50717 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
50719         * dlfcn/modstatic5.c: New file.
50720         * dlfcn/tststatic5.c: New file.
50721         * dlfcn/Makefile (tests): Add tststatic5.
50722         (tests-static): Likewise.
50723         (modules-names): Add modstatic5.
50724         (tststatic5-ENV): New variable.
50725         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
50727         [BZ #15022]
50728         * elf/dl-support.c (_dl_main_map): New variable.
50729         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
50730         (_dl_nns, _dl_load_adds): Set to 1.
50731         (_dl_initial_searchlist): Refer to _dl_main_map.
50732         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
50733         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
50734         call to _dl_get_origin.
50735         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
50736         around call_map.
50737         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
50738         * dlfcn/modstatic3.c: New file.
50739         * dlfcn/tststatic3.c: New file.
50740         * dlfcn/tststatic4.c: New file.
50741         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
50742         (tests-static): Likewise.
50743         (modules-names): Add modstatic3.
50744         (tststatic3-ENV, tststatic4-ENV): New variables.
50745         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
50746         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
50748 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
50750         * configure.in (CC): Require GCC version 4.4 or later.
50751         * configure: Regenerated.
50752         * manual/install.texi (Tools for Compilation): Update GCC version
50753         requirement.
50754         * INSTALL: Regenerated.
50756 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50758         [BZ #15674]
50759         * string/test-memcmp.c (check2): New.
50760         (main): Call check2.
50762         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
50764 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
50766         [BZ #15022]
50767         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
50768         over to...
50769         (dl_open_worker) [!SHARED]: ... here.
50771 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50773         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
50775 2013-06-25  Richard Henderson  <rth@redhat.com>
50777         * locale/programs/locarchive.c: Include <libc-internal.h>
50779 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
50781         * manual/texinfo.tex: Update to version 2013-06-21.17, with
50782         trailing whitespace removed.
50784 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50786         [BZ #10283]
50787         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50788         * locale/programs/locarchive.c: Include libc-mmap.h.
50789         (prepare_address_space): Take two new outputs (the mmap base and len).
50790         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50791         values.
50792         (create_archive): Declare new mmap base and len values for
50793         prepare_address_space, and store the result in ah.
50794         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50795         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50796         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50797         Declare new mmap base and len values for
50798         prepare_address_space, and store the result in new_ah.
50799         (open_archive): Declare new mmap base and len values for
50800         prepare_address_space, and store the result in ah.
50801         (close_archive): If ah->mmap_base is not NULL, use that and
50802         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50803         * sysdeps/generic/libc-mmap.h: New file.
50805 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50807         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50808         (ALIGN_UP): Likewise.
50809         (PTR_ALIGN_DOWN): Likewise.
50810         (PTR_ALIGN_UP): Likewise.
50812 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50814         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50815         entry mapped to PPC_PLATFORM_POWER8.
50816         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50817         POWER8.
50818         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50819         (_dl_string_platform): Add case for exporting platform position for
50820         POWER8.
50821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50822         search path to sysdeps/powerpc/powerpc32/power8 directory.
50823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50824         search path to sysdeps/powerpc/powerpc64/power8 directory.
50825         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50826         power7 directories.
50827         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50828         power7 directories.
50830 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50832         * INSTALL: Regenerate.
50834         * nscd/connections.c (nscd_init): Fix comment.
50836 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50838         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50840         [BZ #15667]
50841         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50842         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50844 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50846         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50847         DL_DST_REQ_STATIC.
50848         (DL_DST_REQ_STATIC): Remove macro.
50850 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50852         [BZ #7006]
50853         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50854         with a shift of 0 bits.
50856 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50858         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50859         $(tststatic-ENV).
50861 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50863         [BZ #15655]
50864         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50866 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50868         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50869         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50870         accepts -fno-tree-loop-distribute-patterns.
50871         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50872         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50873         recursive call.
50874         * string/memset.c (memset): Likewise.
50875         * string/test-memmove.c (simple_memmove): Disable loop transformation
50876         to library calls.
50877         * string/test-memset.c (simple_memset): Likewise.
50878         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50879         * benchtests/bench-memset.c (simple_memset): Likewise.
50880         * configure: Regenerated.
50882 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50884         * math/test-misc.c (main): Ignore fesetround failure when failures
50885         of subsequent rounding tests would be ignored.
50887         [BZ #15654]
50888         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50889         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50890         * math/fegetenv.c (__fegetenv): Return 0.
50891         * math/fegetexcept.c (fegetexcept): Return 0.
50892         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50893         FE_TONEAREST.
50894         * math/feholdexcpt.c (feholdexcept): Return 0.
50895         * math/fesetenv.c (__fesetenv): Return 0.
50896         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50897         argument FE_TONEAREST.
50898         * math/feupdateenv.c (__feupdateenv): Return 0.
50899         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50901 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50903         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50904         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50905         ($(objpfx)rtld-%.os rules): Use them.
50907 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50909         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50910         fields.
50912 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50914         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50915         length of target pattern, then descending length of dependency pattern.
50916         * configure.in (AWK): Require gawk 3.1.2 or newer.
50917         * manual/install.texi (Tools for Compilation): Say that we do.
50918         * configure: Regenerated.
50920         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50921         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50922         * scripts/sysd-rules.awk: ... this new script.
50923         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50924         than a glob-style pattern.
50926 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50928         * math/test-misc.c (main): Do not treat incorrectly rounded
50929         conversions as failure unless ROUNDING_TESTS passes.
50931 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50933         [BZ #15631]
50934         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50935         restore exception state around main square root computation, then
50936         check for inexactness explicitly.
50938         * math/libm-test.inc (fma_test_data): Add another test.
50940 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50942         * manual/threads.texi (Non-POSIX Extensions): New document
50943         node.  Document pthread_getattr_default_np and
50944         pthread_setattr_default_np.
50946         * Versions.def (libpthread): Add GLIBC_2.18.
50947         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50949         Likewise.
50950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50951         Likewise.
50952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50953         Likewise.
50954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50955         Likewise.
50956         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50957         Likewise.
50958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50959         Likewise.
50960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50961         Likewise.
50962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50963         Likewise.
50964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50965         Likewise.
50967 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50970         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50972 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50973             H.J. Lu  <hjl.tools@gmail.com>
50975         [BZ #15627]
50976         * sysdeps/x86_64/rtld-memset.c: Remove file.
50977         * sysdeps/x86_64/rtld-memset.S: New file.
50979 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50981         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50982         (test_in_one_mode): Take arguments for whether the rounding mode
50983         is supported for each floating-point type.
50984         (do_test): Pass new arguments to test_in_one_mode using
50985         ROUNDING_TESTS.
50987 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50989         * posix/tst-waitid.c (do_test): Distinguish different instances of
50990         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50991         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50992         before entering the kernel for waitpid.
50994 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50996         * NEWS: Fix note on clock function precision.  Text by Roland
50997         McGrath.
50999 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51001         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51002         it into place only when and if the sanity check passes.
51004 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51006         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51007         output for whether conversion result is exact.  Take argument
51008         indicating whether type is IBM long double.
51009         (round_for_all): Change need_exact field to ibm_ld.
51010         * stdlib/tst-strtod-round.c (struct exactness): New type.
51011         (struct test): Change bool ld_ok field to struct exactness exact.
51012         (TEST): Update all definitions for change to field.
51013         (tests): Regenerate array contents.
51014         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51015         field value.  Check for IBM long double here.
51016         (do_test): Update calls to test_in_one_mode.
51018 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51020         [BZ #12515]
51021         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51022         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51024 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51026         [BZ #15605]
51027         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51028         generated by the compiler on loop optimizations.
51029         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51030         general definitions.
51032 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51034         * math/bug-nextafter.c: Include <math-tests.h>.
51035         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51036         the relevant type.
51037         * math/bug-nexttoward.c: Include <math-tests.h>.
51038         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51039         the relevant type.
51040         * math/test-misc.c: Include <math-tests.h>.
51041         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51042         the relevant type.
51044 2013-06-12  Andreas Jaeger  <aj@suse.de>
51046         * po/ia.po: Update Interlingua translation from translation
51047         project.
51049 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51051         * include/fenv.h: Include stdbool.h.
51052         (struct rm_ctx): New structure.
51053         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51054         Define macro.
51055         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51056         (SET_RESTORE_ROUNDF): Likewise.
51057         (SET_RESTORE_ROUNDL): Likewise.
51058         (SET_RESTORE_ROUND_NOEX): Likewise.
51059         (SET_RESTORE_ROUND_NOEXF): Likewise.
51060         (SET_RESTORE_ROUND_NOEXL): Likewise.
51061         (SET_RESTORE_ROUND_53BIT): Likewise.
51062         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51063         (libc_feresetround_noexf_ctx): Likewise.
51064         (libc_feresetround_noexl_ctx): Likewise.
51065         (libc_feholdsetround_53bit_ctx): Likewise.
51066         (libc_feresetround_53bit_ctx): Likewise.
51067         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51068         (libc_feholdexcept_setround_sse_ctx): New function.
51069         (libc_fesetenv_sse_ctx): Likewise.
51070         (libc_feupdateenv_sse_ctx): Likewise.
51071         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51072         (libc_feholdexcept_setround_387_ctx): Likewise.
51073         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51074         (libc_feholdsetround_387_prec_ctx): Likewise.
51075         (libc_feholdsetround_387_ctx): Likewise.
51076         (libc_feholdsetround_387_53bit_ctx): Likewise.
51077         (libc_feholdsetround_sse_ctx): Likewise.
51078         (libc_feresetround_sse_ctx): Likewise.
51079         (libc_feresetround_387_ctx): Likewise.
51080         (libc_feupdateenv_387_ctx): Likewise.
51081         (libc_feholdexcept_setroundf_ctx): Define macro.
51082         (libc_fesetenvf_ctx): Likewise.
51083         (libc_feupdateenvf_ctx): Likewise.
51084         (libc_feholdsetroundf_ctx): Likewise.
51085         (libc_feresetroundf_ctx): Likewise.
51086         (libc_feholdexcept_setround_ctx): Likewise.
51087         (libc_fesetenv_ctx): Likewise.
51088         (libc_feupdateenv_ctx): Likewise.
51089         (libc_feholdsetround_ctx): Likewise.
51090         (libc_feresetround_ctx): Likewise.
51091         (libc_feholdexcept_setroundl_ctx): Likewise.
51092         (libc_feupdateenvl_ctx): Likewise.
51093         (libc_feholdsetroundl_ctx): Likewise.
51094         (libc_feresetroundl_ctx): Likewise.
51095         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51096         (libc_feresetround_53bit_ctx): Likewise.
51098 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51100         * locale/iso-639.def: Convert to UTF-8.
51102 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51104         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51105         (EXCEPTION_TESTS_double): Likewise.
51106         (EXCEPTION_TESTS_long_double): Likewise.
51107         (EXCEPTION_TESTS): Likewise.
51108         * math/libm-test.inc (test_exceptions): Only test exceptions if
51109         EXCEPTION_TESTS (FLOAT).
51111 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51113         * benchtests/Makefile (string-bench): Add strcpy_chk and
51114         stpcpy_chk.
51115         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51116         * benchtests/bench-stpcpy_chk.c: New file.
51117         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51118         * benchtests/bench-strcpy_chk.c: New file.
51119         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51120         code.
51121         (do_test): Likewise.
51123 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51125         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51126         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51127         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51128         with tabs where appropriate.
51129         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
51130         dl-procinfo.h.
51131         [PPC_PLATFORM_PPC440]: Likewise.
51132         [PPC_PLATFORM_PPC464]: Likewise.
51133         [PPC_PLATFORM_PPC476]: Likewise.
51134         (_dl_string_platform): Add support for detecting ppc405, ppc440,
51135         ppc464, and ppc476 platform strings merging from ports/
51136         dl-procinfo.h.
51138 2013-06-11  Andreas Schwab  <schwab@suse.de>
51140         [BZ #14991]
51141         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
51142         (from_ucs4_idx): Regenerate.
51143         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
51144         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
51145         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
51146         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
51147         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51148         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
51149         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
51150         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
51151         from FROM_LOOP and TO_LOOP specific macros.
51152         (BODY): Handle combining characters.
51153         * iconvdata/BIG5HKSCS.irreversible: Update.
51154         * iconvdata/BIG5HKSCS.precomposed: New file.
51155         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
51156         characters.
51157         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
51159 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51161         * include/sys/time.h: Fix indentation and add copyright header.
51163         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
51164         (do_test): Likewise.
51165         * string/test-memchr.c (do_one_test): Likewise.
51166         (do_test): Likewise.
51167         * string/test-memcmp.c (do_one_test): Likewise.
51168         (do_test): Likewise.
51169         * string/test-memcpy.c (do_one_test): Likewise.
51170         (do_test): Likewise.
51171         * string/test-memmem.c (do_one_test): Likewise.
51172         (do_test): Likewise.
51173         (do_random_tests): Likewise.
51174         * string/test-memmove.c (do_one_test): Likewise.
51175         (do_test): Likewise.
51176         * string/test-memset.c (do_one_test): Likewise.
51177         (do_test): Likewise.
51178         * string/test-rawmemchr.c (do_one_test): Likewise.
51179         (do_test): Likewise.
51180         * string/test-strcasecmp.c (do_one_test): Likewise.
51181         (do_test): Likewise.
51182         * string/test-strcasestr.c (do_one_test): Likewise.
51183         (do_test): Likewise.
51184         * string/test-strcat.c (do_one_test): Likewise.
51185         (do_test): Likewise.
51186         * string/test-strchr.c (do_one_test): Likewise.
51187         (do_test): Likewise.
51188         * string/test-strcmp.c (do_one_test): Likewise.
51189         (do_test): Likewise.
51190         * string/test-strcpy.c (do_one_test): Likewise.
51191         (do_test): Likewise.
51192         * string/test-string.h: Likewise.
51193         (test_init): Likewise.
51194         * string/test-strlen.c (do_one_test): Likewise.
51195         (do_test): Likewise.
51196         * string/test-strncasecmp.c (do_one_test): Likewise.
51197         (do_test): Likewise.
51198         * string/test-strncat.c (do_one_test): Likewise.
51199         (do_test): Likewise.
51200         * string/test-strncmp.c (do_one_test): Likewise.
51201         (do_test_limit): Likewise.
51202         (do_test): Likewise.
51203         * string/test-strncpy.c (do_one_test): Likewise.
51204         (do_test): Likewise.
51205         * string/test-strnlen.c (do_one_test): Likewise.
51206         (do_test): Likewise.
51207         * string/test-strpbrk.c (do_one_test): Likewise.
51208         (do_test): Likewise.
51209         * string/test-strrchr.c (do_one_test): Likewise.
51210         (do_test): Likewise.
51211         * string/test-strspn.c (do_one_test): Likewise.
51212         (do_test): Likewise.
51213         * string/test-strstr.c (do_one_test): Likewise.
51214         (do_test): Likewise.
51216         * benchtests/Makefile (string-bench): Add string benchmarks.
51217         * benchtests/bench-bcopy-ifunc.c: New file.
51218         * benchtests/bench-bcopy.c: New file.
51219         * benchtests/bench-bzero-ifunc.c: New file.
51220         * benchtests/bench-bzero.c: New file.
51221         * benchtests/bench-memccpy-ifunc.c: New file.
51222         * benchtests/bench-memccpy.c: New file.
51223         * benchtests/bench-memchr-ifunc.c: New file.
51224         * benchtests/bench-memchr.c: New file.
51225         * benchtests/bench-memcmp-ifunc.c: New file.
51226         * benchtests/bench-memcmp.c: New file.
51227         * benchtests/bench-memmem-ifunc.c: New file.
51228         * benchtests/bench-memmem.c: New file.
51229         * benchtests/bench-memmove-ifunc.c: New file.
51230         * benchtests/bench-memmove.c: New file.
51231         * benchtests/bench-mempcpy-ifunc.c: New file.
51232         * benchtests/bench-mempcpy.c: New file.
51233         * benchtests/bench-memset-ifunc.c: New file.
51234         * benchtests/bench-memset.c: New file.
51235         * benchtests/bench-rawmemchr-ifunc.c: New file.
51236         * benchtests/bench-rawmemchr.c: New file.
51237         * benchtests/bench-stpcpy-ifunc.c: New file.
51238         * benchtests/bench-stpcpy.c: New file.
51239         * benchtests/bench-stpncpy-ifunc.c: New file.
51240         * benchtests/bench-stpncpy.c: New file.
51241         * benchtests/bench-strcasecmp-ifunc.c: New file.
51242         * benchtests/bench-strcasecmp.c: New file.
51243         * benchtests/bench-strcasestr-ifunc.c: New file.
51244         * benchtests/bench-strcasestr.c: New file.
51245         * benchtests/bench-strcat-ifunc.c: New file.
51246         * benchtests/bench-strcat.c: New file.
51247         * benchtests/bench-strchr-ifunc.c: New file.
51248         * benchtests/bench-strchr.c: New file.
51249         * benchtests/bench-strchrnul-ifunc.c: New file.
51250         * benchtests/bench-strchrnul.c: New file.
51251         * benchtests/bench-strcmp-ifunc.c: New file.
51252         * benchtests/bench-strcmp.c: New file.
51253         * benchtests/bench-strcpy-ifunc.c: New file.
51254         * benchtests/bench-strcpy.c: New file.
51255         * benchtests/bench-strcspn-ifunc.c: New file.
51256         * benchtests/bench-strcspn.c: New file.
51257         * benchtests/bench-strlen-ifunc.c: New file.
51258         * benchtests/bench-strlen.c: New file.
51259         * benchtests/bench-strncasecmp-ifunc.c: New file.
51260         * benchtests/bench-strncasecmp.c: New file.
51261         * benchtests/bench-strncat-ifunc.c: New file.
51262         * benchtests/bench-strncat.c: New file.
51263         * benchtests/bench-strncmp-ifunc.c: New file.
51264         * benchtests/bench-strncmp.c: New file.
51265         * benchtests/bench-strncpy-ifunc.c: New file.
51266         * benchtests/bench-strncpy.c: New file.
51267         * benchtests/bench-strnlen-ifunc.c: New file.
51268         * benchtests/bench-strnlen.c: New file.
51269         * benchtests/bench-strpbrk-ifunc.c: New file.
51270         * benchtests/bench-strpbrk.c: New file.
51271         * benchtests/bench-strrchr-ifunc.c: New file.
51272         * benchtests/bench-strrchr.c: New file.
51273         * benchtests/bench-strspn-ifunc.c: New file.
51274         * benchtests/bench-strspn.c: New file.
51275         * benchtests/bench-strstr-ifunc.c: New file.
51276         * benchtests/bench-strstr.c: New file.
51278         * benchtests/Makefile: Disable parallel execution of targets.
51279         (string-bench): Add memcpy.
51280         (benchset): New variable to store a list of benchmark sets.
51281         (bench-func): Renamed from bench.
51282         (bench-set): New target.
51283         (bench): Depend on bench-func and bench-set.
51284         * benchtests/README: Add section on benchmark sets.
51285         * benchtests/bench-memcpy-ifunc.c: New file.
51286         * benchtests/bench-memcpy.c: New file.
51287         * benchtests/bench-string.h: New file.
51289 2013-06-11  Andreas Schwab  <schwab@suse.de>
51291         [BZ #15577]
51292         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
51293         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
51294         values in the triple.
51295         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
51296         terminator in the group key.
51298 2013-06-11  Andreas Jaeger  <aj@suse.de>
51300         * po/zh_TW.po: Update Chinese (traditional) translation from
51301         translation project.
51303 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51305         * include/time.h (__clock_gettime): Add libc_hidden_proto.
51306         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
51307         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
51308         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51309         (clock_getcpuclockid): Likewise.
51310         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51311         Add weak_alias and libc_hidden_def.
51312         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51313         * rt/clock_gettime.c (clock_gettime): Rename to
51314         __clock_gettime.  Add weak_alias and libc_hidden_def.
51315         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51316         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51317         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51318         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51319         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51320         Likewise.
51321         * rt/clock_settime.c (clock_settime): Rename to
51322         __clock_settime.  Add weak_alias and libc_hidden_def.
51323         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51325 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51327         * mach/err_boot.sub: Remove trailing whitespace.
51328         * mach/err_ipc.sub: Likewise.
51329         * mach/err_mach.sub: Likewise.
51331         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51332         (ROUNDING_TESTS_double): Likewise.
51333         (ROUNDING_TESTS_long_double): Likewise.
51334         (ROUNDING_TESTS): Likewise.
51335         * math/libm-test.inc: Include <math-tests.h>.
51336         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51337         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51338         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51339         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51341 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51343         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51344         of assigning.
51346 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
51348         * sysdeps/gnu/errlist.awk: Do not generate space at end of
51349         otherwise empty TRANS lines.
51350         * sysdeps/gnu/errlist.c: Regenerated.
51352         * catgets/gencat.c (error_print): Use (void) in function
51353         definition.
51354         * crypt/crypt_util.c (__init_des): Likewise.
51355         * crypt/speeds.c (Stop): Likewise.
51356         (main): Likewise.
51357         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51358         * inet/ruserpass.c (token): Likewise.
51359         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51360         * intl/localealias.c (extend_alias_table): Likewise.
51361         * intl/plural-exp.c (init_germanic_plural): Likewise.
51362         * libio/fcloseall.c (__fcloseall): Likewise.
51363         * libio/genops.c (_IO_flush_all): Likewise.
51364         (_IO_flush_all_linebuffered): Likewise.
51365         (_IO_cleanup): Likewise.
51366         (_IO_iter_begin): Likewise.
51367         (_IO_iter_end): Likewise.
51368         (_IO_list_lock): Likewise.
51369         (_IO_list_unlock): Likewise.
51370         (_IO_list_resetlock): Likewise.
51371         * libio/getchar.c (getchar): Likewise.
51372         * libio/getchar_u.c (getchar_unlocked): Likewise.
51373         * libio/getwchar.c (getwchar): Likewise.
51374         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51375         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51376         * login/getpt.c (__getpt): Likewise.
51377         * login/tst-utmp.c (main): Likewise.
51378         * malloc/hooks.c (__malloc_check_init): Likewise.
51379         * malloc/malloc.c (__malloc_stats): Likewise.
51380         * malloc/mtrace.c (tr_break): Likewise.
51381         (mtrace): Likewise.
51382         (muntrace): Likewise.
51383         * misc/fstab.c (endfsent): Likewise.
51384         * misc/getclktck.c (__getclktck): Likewise.
51385         * misc/getdtsz.c (__getdtablesize): Likewise.
51386         * misc/gethostid.c (gethostid): Likewise.
51387         * misc/getpagesize.c (__getpagesize): Likewise.
51388         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51389         (__get_nprocs): Likewise.
51390         (__get_phys_pages): Likewise.
51391         (__get_avphys_pages): Likewise.
51392         * misc/getttyent.c (getttyent): Likewise.
51393         (setttyent): Likewise.
51394         (endttyent): Likewise.
51395         * misc/getusershell.c (getusershell): Likewise.
51396         (endusershell): Likewise.
51397         (setusershell): Likewise.
51398         (initshells): Likewise.
51399         * misc/hsearch.c (__hdestroy): Likewise.
51400         * misc/sync.c (sync): Likewise.
51401         * misc/syslog.c (closelog_internal): Likewise.
51402         (closelog): Likewise.
51403         * misc/ttyslot.c (ttyslot): Likewise.
51404         * misc/vhangup.c (vhangup): Likewise.
51405         * posix/fork.c (__fork): Likewise.
51406         * posix/getegid.c (__getegid): Likewise.
51407         * posix/geteuid.c (__geteuid): Likewise.
51408         * posix/getgid.c (__getgid): Likewise.
51409         * posix/getpid.c (__getpid): Likewise.
51410         * posix/getppid.c (__getppid): Likewise.
51411         * posix/getuid.c (__getuid): Likewise.
51412         * posix/pause.c (pause): Likewise.
51413         * posix/setpgrp.c (setpgrp): Likewise.
51414         * posix/setsid.c (__setsid): Likewise.
51415         * posix/test-vfork.c (noop): Likewise.
51416         * resolv/gethnamaddr.c (_endhtent): Likewise.
51417         (_gethtent): Likewise.
51418         (ht_endhostent): Likewise.
51419         (gethostent): Likewise.
51420         (dns_service): Likewise.
51421         * stdlib/drand48.c (drand48): Likewise.
51422         * stdlib/lrand48.c (lrand48): Likewise.
51423         * stdlib/mrand48.c (mrand48): Likewise.
51424         * stdlib/rand.c (rand): Likewise.
51425         * stdlib/random.c (__random): Likewise.
51426         * stdlib/setenv.c (clearenv): Likewise.
51427         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
51428         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
51429         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
51430         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
51431         (__get_nprocs): Likewise.
51432         (__get_phys_pages): Likewise.
51433         (__get_avphys_pages): Likewise.
51434         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
51435         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
51436         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
51437         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
51438         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
51439         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
51440         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
51441         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
51442         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
51443         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
51444         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
51445         * sysdeps/mach/hurd/sync.c (sync): Likewise.
51446         * sysdeps/posix/clock.c (clock): Likewise.
51447         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
51448         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
51449         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
51450         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
51451         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
51452         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
51453         (__get_nprocs_conf): Likewise.
51454         (__get_phys_pages): Likewise.
51455         (__get_avphys_pages): Likewise.
51456         * time/clock.c (clock): Likewise.
51457         * time/tzset.c (__tzname_max): Likewise.
51459 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
51461         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
51462         (__bswap_32): Do not use "register".
51463         * crypt/crypt.c (_ufc_doit_r): Likewise.
51464         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51465         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51466         * gmon/gmon.c (__monstartup): Likewise.
51467         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
51468         * hurd/hurdmalloc.c (more_memory): Likewise.
51469         (malloc): Likewise.
51470         (free): Likewise.
51471         (realloc): Likewise.
51472         (malloc_fork_prepare): Likewise.
51473         (malloc_fork_parent): Likewise.
51474         (malloc_fork_child): Likewise.
51475         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
51476         (_svcauth_des): Likewise.
51477         * inet/inet_lnaof.c (inet_lnaof): Likewise.
51478         * inet/inet_net.c (inet_network): Likewise.
51479         * inet/inet_netof.c (inet_netof): Likewise.
51480         * inet/rcmd.c (__validuser2_sa): Likewise.
51481         * io/fts.c (fts_open): Likewise.
51482         (fts_load): Likewise.
51483         (fts_close): Likewise.
51484         (fts_read): Likewise.
51485         (fts_children): Likewise.
51486         (fts_build): Likewise.
51487         (fts_stat): Likewise.
51488         (fts_sort): Likewise.
51489         (fts_alloc): Likewise.
51490         (fts_lfree): Likewise.
51491         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
51492         (_IO_file_xsgetn): Likewise.
51493         (_IO_file_xsgetn_mmap): Likewise.
51494         * libio/iofopncook.c (_IO_cookie_read): Likewise.
51495         (_IO_cookie_write): Likewise.
51496         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
51497         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
51498         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
51499         * malloc/obstack.c (_obstack_begin): Likewise.
51500         (_obstack_begin_1): Likewise.
51501         (_obstack_newchunk): Likewise.
51502         (_obstack_allocated_p): Likewise.
51503         (obstack_free): Likewise.
51504         (_obstack_memory_used): Likewise.
51505         * misc/getttyent.c (getttynam): Likewise.
51506         (getttyent): Likewise.
51507         (skip): Likewise.
51508         (value): Likewise.
51509         * misc/getusershell.c (initshells): Likewise.
51510         * misc/syslog.c (__vsyslog_chk): Likewise.
51511         * misc/ttyslot.c (ttyslot): Likewise.
51512         * nis/nis_hash.c (__nis_hash): Likewise.
51513         * posix/fnmatch_loop.c (FCT): Likewise.
51514         * posix/getconf.c (print_all): Likewise.
51515         (main): Likewise.
51516         * posix/getopt.c (exchange): Likewise.
51517         * posix/glob.c (globfree): Likewise.
51518         (prefix_array): Likewise.
51519         (__glob_pattern_type): Likewise.
51520         * resolv/arpa/nameser.h (NS_GET16): Likewise.
51521         (NS_GET32): Likewise.
51522         (NS_PUT16): Likewise.
51523         (NS_PUT32): Likewise.
51524         * resolv/gethnamaddr.c (getanswer): Likewise.
51525         (gethostbyname2): Likewise.
51526         (gethostbyaddr): Likewise.
51527         (_gethtent): Likewise.
51528         (_gethtbyname2): Likewise.
51529         (_gethtbyaddr): Likewise.
51530         * resolv/ns_print.c (dst_s_get_int16): Likewise.
51531         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
51532         * resolv/res_init.c (__res_vinit): Likewise.
51533         (net_mask): Likewise.
51534         * resolv/res_mkquery.c (outchar): Likewise.
51535         (PRINT): Likewise.
51536         * stdio-common/printf_fp.c (outchar): Likewise.
51537         (PRINT): Likewise.
51538         * stdio-common/printf_fphex.c (outchar): Likewise.
51539         (PRINT): Likewise.
51540         * stdio-common/printf_size.c (outchar): Likewise.
51541         (PRINT): Likewise.
51542         * stdio-common/test_rdwr.c (main): Likewise.
51543         * stdio-common/tfformat.c (matches): Likewise.
51544         * stdio-common/vfprintf.c (outchar): Likewise.
51545         (printf_unknown): Likewise.
51546         (buffered_vfprintf): Likewise.
51547         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51548         * stdio-common/xbug.c (AppendToBuffer): Likewise.
51549         (ReadFile): Likewise.
51550         * stdlib/qsort.c (SWAP): Likewise.
51551         (_quicksort): Likewise.
51552         * stdlib/setenv.c (__add_to_environ): Likewise.
51553         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51554         * stdlib/strtol_l.c (__strtol_l): Likewise.
51555         * stdlib/tst-strtod.c (main): Likewise.
51556         * stdlib/tst-strtol.c (main): Likewise.
51557         * stdlib/tst-strtoll.c (main): Likewise.
51558         * string/bits/string2.h (__strcmp_cc): Likewise.
51559         (__strcmp_cg): Likewise.
51560         (__strcspn_c1): Likewise.
51561         (__strcspn_c2): Likewise.
51562         (__strcspn_c3): Likewise.
51563         (__strspn_c1): Likewise.
51564         (__strspn_c2): Likewise.
51565         (__strspn_c3): Likewise.
51566         (__strsep_1c): Likewise.
51567         (__strsep_2c): Likewise.
51568         (__strsep_3c): Likewise.
51569         * string/memccpy.c (__memccpy): Likewise.
51570         * string/stpcpy.c (__stpcpy): Likewise.
51571         * string/strcmp.c (strcmp): Likewise.
51572         * string/strrchr.c (strrchr): Likewise.
51573         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
51574         Likewise.
51575         * sysdeps/mach/hurd/getcwd.c
51576         (_hurd_canonicalize_directory_name_internal): Likewise.
51577         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
51578         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
51579         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
51580         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
51581         Likewise, in both definitions.
51582         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
51583         definitions.
51584         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
51585         64] (__bswap_64): Likewise.
51586         * time/test_time.c (main): Likewise.
51587         * time/tzfile.c (__tzfile_read): Likewise.
51588         (__tzfile_compute): Likewise.
51589         * time/tzset.c (__tzset_parse_tz): Likewise.
51590         (tzset_internal): Likewise.
51591         (compute_change): Likewise.
51592         * wcsmbs/wcscat.c (__wcscat): Likewise.
51593         * wcsmbs/wcschr.c (wcschr): Likewise.
51594         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
51595         * wcsmbs/wcscspn.c (wcscspn): Likewise.
51596         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
51597         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
51598         * wcsmbs/wcsspn.c (wcsspn): Likewise.
51599         * wcsmbs/wcsstr.c (wcsstr): Likewise.
51600         * wcsmbs/wmemchr.c (wmemchr): Likewise.
51601         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51602         * wcsmbs/wmemset.c (wmemset): Likewise.
51604 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
51606         * scripts/config.guess: Update to version 2013-05-16.
51607         * scripts/config.sub: Update to version 2013-04-24.
51608         * scripts/install-sh: Update to version 2011-11-20.07.
51609         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
51610         * scripts/move-if-change: Update to version 2012-01-06 07:23.
51612 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
51614         * debug/fgetws_u_chk.c: Fix leading whitespaces.
51615         * elf/sln.c: Likewise.
51616         * hurd/hurd/ioctl.h: Likewise.
51617         * hurd/hurdmalloc.c: Likewise.
51618         * hurd/xattr.c: Likewise.
51619         * include/shlib-compat.h: Likewise.
51620         * inet/ruserpass.c: Likewise.
51621         * libio/iofgets_u.c: Likewise.
51622         * libio/iofgetws_u.c: Likewise.
51623         * locale/programs/ld-identification.c: Likewise.
51624         * locale/programs/ld-time.c: Likewise.
51625         * mach/msg-destroy.c: Likewise.
51626         * nss/nss_files/files-netgrp.c: Likewise.
51627         * resolv/res_data.c: Likewise.
51628         * soft-fp/op-1.h: Likewise.
51629         * soft-fp/op-2.h: Likewise.
51630         * soft-fp/op-4.h: Likewise.
51631         * soft-fp/op-common.h: Likewise.
51632         * stdio-common/printf_fphex.c: Likewise.
51633         * stdlib/strtod_l.c: Likewise.
51634         * sunrpc/rpc/clnt.h: Likewise.
51635         * sysdeps/generic/framestate.c: Likewise.
51636         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51637         * sysdeps/i386/bsd-setjmp.S: Likewise.
51638         * sysdeps/i386/__longjmp.S: Likewise.
51639         * sysdeps/i386/setjmp.S: Likewise.
51640         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51641         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51642         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51643         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51644         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51645         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51646         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51647         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51648         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51649         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51650         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51651         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51652         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51653         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51654         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51655         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51656         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51657         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
51658         * sysdeps/ieee754/support.c: Likewise.
51659         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51660         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
51661         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
51662         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
51663         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
51664         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
51665         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
51666         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
51667         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
51668         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
51669         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
51670         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
51671         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
51672         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
51673         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
51674         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
51675         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
51678 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
51680         * posix/transbug.c: Remove executable mode.
51682 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
51684         * crypt/speeds.c: Remove trailing whitespace.
51685         * dlfcn/default.c: Likewise.
51686         * elf/ifuncdep2.c: Likewise.
51687         * elf/ifuncmain1.c: Likewise.
51688         * elf/ifuncmain1vis.c: Likewise.
51689         * elf/testobj.h: Likewise.
51690         * elf/tst-stackguard1.c: Likewise.
51691         * gmon/sys/gmon.h: Likewise.
51692         * hurd/hurdmsg.c: Likewise.
51693         * hurd/new-fd.c: Likewise.
51694         * hurd/ports-get.c: Likewise.
51695         * iconvdata/ibm1008_420.c: Likewise.
51696         * inet/tst-getni1.c: Likewise.
51697         * inet/tst-getni2.c: Likewise.
51698         * libio/ioungetc.c: Likewise.
51699         * libio/wfiledoalloc.c: Likewise.
51700         * manual/libm-err-tab.pl: Likewise.
51701         * math/w_dremf.c: Likewise.
51702         * misc/ftruncate.c: Likewise.
51703         * posix/bug-glob2.c: Likewise.
51704         * posix/tst-pcre.c: Likewise.
51705         * posix/wait4.c: Likewise.
51706         * resolv/README: Likewise.
51707         * resolv/res_debug.h: Likewise.
51708         * resolv/tst-inet_ntop.c: Likewise.
51709         * setjmp/bug269-setjmp.c: Likewise.
51710         * soft-fp/extended.h: Likewise.
51711         * soft-fp/op-1.h: Likewise.
51712         * soft-fp/op-2.h: Likewise.
51713         * soft-fp/op-4.h: Likewise.
51714         * soft-fp/op-8.h: Likewise.
51715         * soft-fp/testit.c: Likewise.
51716         * stdio-common/bug16.c: Likewise.
51717         * stdlib/random.c: Likewise.
51718         * sunrpc/rpcsvc/rquota.x: Likewise.
51719         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
51720         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51721         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51722         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51723         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51724         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51725         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51726         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51727         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51728         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51729         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51730         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51731         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51732         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51733         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51734         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51735         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51736         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51737         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51738         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51739         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51740         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51741         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
51742         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51743         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51744         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51745         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51746         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51747         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51748         * sysdeps/ieee754/s_lib_version.c: Likewise.
51749         * sysdeps/mach/hurd/check_fds.c: Likewise.
51750         * sysdeps/mach/hurd/getsockname.c: Likewise.
51751         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
51752         * sysdeps/mach/hurd/recvfrom.c: Likewise.
51753         * sysdeps/powerpc/bits/link.h: Likewise.
51754         * sysdeps/powerpc/dl-procinfo.c: Likewise.
51755         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
51756         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
51757         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
51758         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51759         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51760         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
51761         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51762         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
51763         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51764         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
51765         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51766         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
51767         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51768         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51769         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51770         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51771         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51772         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51773         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51774         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51775         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
51776         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51777         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51778         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
51779         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51780         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51781         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51782         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51783         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51784         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51785         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51786         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51787         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51788         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51789         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51790         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51791         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51792         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51793         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51794         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51795         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51796         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51797         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51798         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51799         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51800         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51801         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51802         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51803         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51804         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51805         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51806         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51807         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51808         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51809         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51810         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51811         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51812         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51813         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51814         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51815         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51816         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51817         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51818         * sysdeps/powerpc/sysdep.h: Likewise.
51819         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51820         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51821         * sysdeps/sh/dl-trampoline.S: Likewise.
51822         * sysdeps/sh/memset.S: Likewise.
51823         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51824         * sysdeps/sh/strlen.S: Likewise.
51825         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51826         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51827         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51828         * sysdeps/sparc/sparc32/rem.S: Likewise.
51829         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51830         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51831         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51832         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51833         * sysdeps/sparc/sparc32/urem.S: Likewise.
51834         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51835         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51836         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51837         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51838         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51839         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51840         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51841         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51842         * sysdeps/unix/bsd/times.c: Likewise.
51843         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51844         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51848         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51849         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51850         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51851         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51852         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51853         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51854         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51855         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51856         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51857         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51858         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51859         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51860         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51861         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51862         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51863         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51864         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51865         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51866         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51867         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51868         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51869         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51870         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51871         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51872         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51873         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51874         * sysdeps/x86_64/strcspn.S: Likewise.
51876 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51878         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51879         generated file.  Regenerate properly from gen-translit.pl.
51880         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51881         locale/C-translit.h.
51883 2013-06-05  Andreas Schwab  <schwab@suse.de>
51885         [BZ #15100]
51886         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51887         week as 6 instead of -1.
51888         * time/tst-strptime.c (day_tests): Add test case.
51890 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51892         * sysdeps/generic/math_private.h
51893         (libc_feholdexcept_setround_53bit): Replace with
51894         libc_feholdsetround_53bit.
51895         (libc_feupdateenv_53bit): Replace with
51896         libc_feresetround_53bit.
51897         (SET_RESTORE_ROUND_53BIT): Adjust.
51899 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51901         * string/test-strchrnul.c: Add copyright header.
51903         * posix/tst-getaddrinfo4.c: Increase test timeout.
51905 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51907         [BZ #15536]
51908         * math/libm-test.inc (MAX_EXP): Remove
51909         (MIN_EXP): Define.
51910         (ulp): Use MIN_EXP - MANT_DIG.
51911         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51913 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51915         * po/be.po: Revert last change.
51916         * po/zh_CN.po: Likewise.
51917         * po/header.pot: Likewise.
51919 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51921         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51922         link-libc-deps to empty as target-specific variable.
51923         * Makerules (link-libc-args): New variable.
51924         (libc-for-link): Likewise.
51925         (link-libc-deps): Likewise.
51926         (lib%.so): Depend on $(link-libc-deps).  Link with
51927         $(link-libc-args).
51928         (build-module): Link with $(link-libc-args).
51929         (build-module-asneeded): Likewise.
51930         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51931         list of objects.
51932         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51933         target-specific variable.
51934         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51935         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51936         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51937         libc.
51938         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51939         libc and ld.so.
51940         ($(objpfx)libpcprofile.so): Likewise.
51941         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51942         libc_nonshared.a.
51943         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51944         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51945         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51946         $(link-libc-deps).
51947         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51948         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51949         * login/Makefile ($(objpfx)libutil.so): Likewise.
51950         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51951         * math/Makefile ($(objpfx)libm.so): Likewise.
51952         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51953         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51954         variable instead of depending directly on libc.
51955         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51956         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51957         $(link-libc-deps).
51958         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51959         libc.
51960         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51961         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51962         ($(objpfx)libanl.so): Likewise.
51963         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51964         ld.so.
51965         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51966         $(link-libc-deps).
51967         * sysdeps/i386/fpu/Makefile: Remove file.
51968         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51969         ($(objpfx)libm.so): Remove dependency on ld.so.
51971 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51973         [BZ # 15553]
51974         * nis/yp_xdr.c (XDRMAXNAME): Define.
51975         (XDRMAXRECORD): Define.
51976         (xdr_domainname): Use XDRMAXNAME.
51977         (xdr_mapname): Likewise.
51978         (xdr_peername): Likewise.
51979         (xdr_keydat): Use XDRMAXRECORD.
51980         (xdr_valdat): Likewise.
51982 2013-05-30  Jeff Law  <law@redhat.com>
51984         [BZ #14256]
51985         * manual/errno.texi (ESTALE): Update to account for more than
51986         just NFS file systems.
51987         * sysdeps/gnu/errlist.c: Regenerated.
51989 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51991         [BZ #15465]
51992         * elf/Makefile (tests): Add tst-null-argv.
51993         (modules-names):  Add tst-null-argv-lib.
51994         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
51995         (tst-null-argv-ENV): Set environment for tst-null-argv.
51996         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
51997         (RTLD_PROGNAME): New macro.
51998         * elf/tst-null-argv.c: New test case.
51999         * elf/tst-null-argv-lib.c: Library for test case.
52000         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52001         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52002         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52003         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52004         * elf/dl-init.c (call_init): Likewise.
52005         (_dl_init): Likewise.
52006         * elf/dl-load.c (print_search_path): Likewise.
52007         (_dl_map_object): Likewise.
52008         * elf/dl-lookup.c (do_lookup_x): Likewise.
52009         (add_dependency): Likewise.
52010         (_dl_lookup_symbol_x): Likewise.
52011         (_dl_debug_bindings): Likewise.
52012         * elf/dl-open.c (_dl_show_scope): Likewise.
52013         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52014         * elf/dl-version.c (match_symbol): Likewise.
52015         (_dl_check_map_versions): Likewise.
52016         * elf/rtld.c (dl_main): Likewise.
52017         (print_unresolved): Use RTLD_PROGNAME.
52018         (print_missing_version): Likewise.
52019         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52020         (elf_machine_rela): Likewise.
52021         * sysdeps/powerpc/powerpc32/dl-machine.c
52022         (__process_machine_rela): Likewise.
52023         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52024         Likewise.
52025         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52026         Likewise.
52027         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52028         Likewise.
52029         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52030         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52031         Likewise.
52032         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52033         Likewise.
52034         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52036 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52038         * po/be.po: Add descriptive title.
52039         * po/zh_CN.po: Likewise.
52040         * po/header.pot: Likewise.
52042 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52044         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52045         error message.
52046         (enlarge_archive): Likewise.
52048 2013-05-28  Ben North  <ben@redfrontdoor.org>
52050         * manual/arith.texi (frexp): It is the magnitude of the return
52051         value which lies in [0.5, 1), not the return value itself.
52053 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52057 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52059         * stdio-common/bug26.c (main): Correct fscanf template.
52061         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52062         declare _dl_skip_args.
52064         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52065         Don't declare.
52067         * manual/platform.texi: Add missing @end deftypefun.
52069 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52071         [BZ #15529]
52072         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52073         bit of mantissa of 2^16382.
52074         * math/libm-test.inc (hypot_test_data): Add more tests.
52076         * math/libm-test.inc: Add drem and pow10 to list of tested
52077         functions.
52078         (pow10_test): New function.
52079         (drem_test): Likewise.
52080         (drem_test_tonearest): Likewise.
52081         (drem_test_towardzero): Likewise.
52082         (drem_test_downward): Likewise.
52083         (drem_test_upward): Likewise.
52084         (main): Call the new functions.
52086         * math/libm-test.inc (finite_test_data): Remove.
52087         (finite_test): Run tests from isfinite_test_data.
52088         (gamma_test_data): Remove.
52089         (gamma_test): Run tests from lgamma_test_data.
52090         * sysdeps/i386/fpu/libm-test-ulps: Update.
52091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52093 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52095         * manual/platform.texi: Add PowerPC PPR function set documentation.
52096         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52097         implementation.
52099 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52101         * math/libm-test.inc (MAX_EXP): Define.
52102         (ULPDIFF): Define.
52103         (ulp): New function.
52104         (check_float_internal): Use ULPDIFF.
52105         (cpow_test): Disable failing test.
52106         (check_ulp): Test ulp() implemetnation.
52107         (main): Call check_ulp before starting tests.
52109 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52111         * math/gen-libm-test.pl (generate_testfile): Do not handle
52112         START_DATA and END_DATA.
52113         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52114         END_DATA.
52115         (acos_tonearest_test_data): Likewise.
52116         (acos_towardzero_test_data): Likewise.
52117         (acos_downward_test_data): Likewise.
52118         (acos_upward_test_data): Likewise.
52119         (acosh_test_data): Likewise.
52120         (asin_test_data): Likewise.
52121         (asin_tonearest_test_data): Likewise.
52122         (asin_towardzero_test_data): Likewise.
52123         (asin_downward_test_data): Likewise.
52124         (asin_upward_test_data): Likewise.
52125         (asinh_test_data): Likewise.
52126         (atan_test_data): Likewise.
52127         (atanh_test_data): Likewise.
52128         (atan2_test_data): Likewise.
52129         (cabs_test_data): Likewise.
52130         (cacos_test_data): Likewise.
52131         (cacosh_test_data): Likewise.
52132         (carg_test_data): Likewise.
52133         (casin_test_data): Likewise.
52134         (casinh_test_data): Likewise.
52135         (catan_test_data): Likewise.
52136         (catanh_test_data): Likewise.
52137         (cbrt_test_data): Likewise.
52138         (ccos_test_data): Likewise.
52139         (ccosh_test_data): Likewise.
52140         (ceil_test_data): Likewise.
52141         (cexp_test_data): Likewise.
52142         (cimag_test_data): Likewise.
52143         (clog_test_data): Likewise.
52144         (clog10_test_data): Likewise.
52145         (conj_test_data): Likewise.
52146         (copysign_test_data): Likewise.
52147         (cos_test_data): Likewise.
52148         (cos_tonearest_test_data): Likewise.
52149         (cos_towardzero_test_data): Likewise.
52150         (cos_downward_test_data): Likewise.
52151         (cos_upward_test_data): Likewise.
52152         (cosh_test_data): Likewise.
52153         (cosh_tonearest_test_data): Likewise.
52154         (cosh_towardzero_test_data): Likewise.
52155         (cosh_downward_test_data): Likewise.
52156         (cosh_upward_test_data): Likewise.
52157         (cpow_test_data): Likewise.
52158         (cproj_test_data): Likewise.
52159         (creal_test_data): Likewise.
52160         (csin_test_data): Likewise.
52161         (csinh_test_data): Likewise.
52162         (csqrt_test_data): Likewise.
52163         (ctan_test_data): Likewise.
52164         (ctan_tonearest_test_data): Likewise.
52165         (ctan_towardzero_test_data): Likewise.
52166         (ctan_downward_test_data): Likewise.
52167         (ctan_upward_test_data): Likewise.
52168         (ctanh_test_data): Likewise.
52169         (ctanh_tonearest_test_data): Likewise.
52170         (ctanh_towardzero_test_data): Likewise.
52171         (ctanh_downward_test_data): Likewise.
52172         (ctanh_upward_test_data): Likewise.
52173         (erf_test_data): Likewise.
52174         (erfc_test_data): Likewise.
52175         (exp_test_data): Likewise.
52176         (exp_tonearest_test_data): Likewise.
52177         (exp_towardzero_test_data): Likewise.
52178         (exp_downward_test_data): Likewise.
52179         (exp_upward_test_data): Likewise.
52180         (exp10_test_data): Likewise.
52181         (exp2_test_data): Likewise.
52182         (expm1_test_data): Likewise.
52183         (fabs_test_data): Likewise.
52184         (fdim_test_data): Likewise.
52185         (finite_test_data): Likewise.
52186         (floor_test_data): Likewise.
52187         (fma_test_data): Likewise.
52188         (fma_towardzero_test_data): Likewise.
52189         (fma_downward_test_data): Likewise.
52190         (fma_upward_test_data): Likewise.
52191         (fmax_test_data): Likewise.
52192         (fmin_test_data): Likewise.
52193         (fmod_test_data): Likewise.
52194         (fpclassify_test_data): Likewise.
52195         (frexp_test_data): Likewise.
52196         (gamma_test_data): Likewise.
52197         (hypot_test_data): Likewise.
52198         (ilogb_test_data): Likewise.
52199         (isfinite_test_data): Likewise.
52200         (isgreater_test_data): Likewise.
52201         (isgreaterequal_test_data): Likewise.
52202         (isinf_test_data): Likewise.
52203         (isless_test_data): Likewise.
52204         (islessequal_test_data): Likewise.
52205         (islessgreater_test_data): Likewise.
52206         (isnan_test_data): Likewise.
52207         (isnormal_test_data): Likewise.
52208         (issignaling_test_data): Likewise.
52209         (isunordered_test_data): Likewise.
52210         (j0_test_data): Likewise.
52211         (j1_test_data): Likewise.
52212         (jn_test_data): Likewise.
52213         (ldexp_test_data): Likewise.
52214         (lgamma_test_data): Likewise.
52215         (lrint_test_data): Likewise.
52216         (lrint_tonearest_test_data): Likewise.
52217         (lrint_towardzero_test_data): Likewise.
52218         (lrint_downward_test_data): Likewise.
52219         (lrint_upward_test_data): Likewise.
52220         (llrint_test_data): Likewise.
52221         (llrint_tonearest_test_data): Likewise.
52222         (llrint_towardzero_test_data): Likewise.
52223         (llrint_downward_test_data): Likewise.
52224         (llrint_upward_test_data): Likewise.
52225         (log_test_data): Likewise.
52226         (log10_test_data): Likewise.
52227         (log1p_test_data): Likewise.
52228         (log2_test_data): Likewise.
52229         (logb_test_data): Likewise.
52230         (logb_downward_test_data): Likewise.
52231         (lround_test_data): Likewise.
52232         (llround_test_data): Likewise.
52233         (modf_test_data): Likewise.
52234         (nearbyint_test_data): Likewise.
52235         (nextafter_test_data): Likewise.
52236         (nexttoward_test_data): Likewise.
52237         (pow_test_data): Likewise.
52238         (pow_tonearest_test_data): Likewise.
52239         (pow_towardzero_test_data): Likewise.
52240         (pow_downward_test_data): Likewise.
52241         (pow_upward_test_data): Likewise.
52242         (remainder_test_data): Likewise.
52243         (remainder_tonearest_test_data): Likewise.
52244         (remainder_towardzero_test_data): Likewise.
52245         (remainder_downward_test_data): Likewise.
52246         (remainder_upward_test_data): Likewise.
52247         (remquo_test_data): Likewise.
52248         (rint_test_data): Likewise.
52249         (rint_tonearest_test_data): Likewise.
52250         (rint_towardzero_test_data): Likewise.
52251         (rint_downward_test_data): Likewise.
52252         (rint_upward_test_data): Likewise.
52253         (round_test_data): Likewise.
52254         (scalb_test_data): Likewise.
52255         (scalbn_test_data): Likewise.
52256         (scalbln_test_data): Likewise.
52257         (signbit_test_data): Likewise.
52258         (sin_test_data): Likewise.
52259         (sin_tonearest_test_data): Likewise.
52260         (sin_towardzero_test_data): Likewise.
52261         (sin_downward_test_data): Likewise.
52262         (sin_upward_test_data): Likewise.
52263         (sincos_test_data): Likewise.
52264         (sinh_test_data): Likewise.
52265         (sinh_tonearest_test_data): Likewise.
52266         (sinh_towardzero_test_data): Likewise.
52267         (sinh_downward_test_data): Likewise.
52268         (sinh_upward_test_data): Likewise.
52269         (sqrt_test_data): Likewise.
52270         (tan_test_data): Likewise.
52271         (tan_tonearest_test_data): Likewise.
52272         (tan_towardzero_test_data): Likewise.
52273         (tan_downward_test_data): Likewise.
52274         (tan_upward_test_data): Likewise.
52275         (tanh_test_data): Likewise.
52276         (tgamma_test_data): Likewise.
52277         (trunc_test_data): Likewise.
52278         (y0_test_data): Likewise.
52279         (y1_test_data): Likewise.
52280         (yn_test_data): Likewise.
52281         (significand_test_data): Likewise.
52283         * math/gen-libm-test.pl (@functions): Remove variable.
52284         (generate_testfile): Don't handle START and END lines.
52285         * math/libm-test.inc (START): New macro.
52286         (END): Likewise.
52287         (END_COMPLEX): Likewise.
52288         (acos_test): Use END macro without arguments.
52289         (acos_test_tonearest): Likewise.
52290         (acos_test_towardzero): Likewise.
52291         (acos_test_downward): Likewise.
52292         (acos_test_upward): Likewise.
52293         (acosh_test): Likewise.
52294         (asin_test): Likewise.
52295         (asin_test_tonearest): Likewise.
52296         (asin_test_towardzero): Likewise.
52297         (asin_test_downward): Likewise.
52298         (asin_test_upward): Likewise.
52299         (asinh_test): Likewise.
52300         (atan_test): Likewise.
52301         (atanh_test): Likewise.
52302         (atan2_test): Likewise.
52303         (cabs_test): Likewise.
52304         (cacos_test): Use END_COMPLEX macro without arguments.
52305         (cacosh_test): Likewise.
52306         (carg_test): Use END macro without arguments.
52307         (casin_test): Use END_COMPLEX macro without arguments.
52308         (casinh_test): Likewise.
52309         (catan_test): Likewise.
52310         (catanh_test): Likewise.
52311         (cbrt_test): Use END macro without arguments.
52312         (ccos_test): Use END_COMPLEX macro without arguments.
52313         (ccosh_test): Likewise.
52314         (ceil_test): Use END macro without arguments.
52315         (cexp_test): Use END_COMPLEX macro without arguments.
52316         (cimag_test): Use END macro without arguments.
52317         (clog_test): Use END_COMPLEX macro without arguments.
52318         (clog10_test): Likewise.
52319         (conj_test): Likewise.
52320         (copysign_test): Use END macro without arguments.
52321         (cos_test): Likewise.
52322         (cos_test_tonearest): Likewise.
52323         (cos_test_towardzero): Likewise.
52324         (cos_test_downward): Likewise.
52325         (cos_test_upward): Likewise.
52326         (cosh_test): Likewise.
52327         (cosh_test_tonearest): Likewise.
52328         (cosh_test_towardzero): Likewise.
52329         (cosh_test_downward): Likewise.
52330         (cosh_test_upward): Likewise.
52331         (cpow_test): Use END_COMPLEX macro without arguments.
52332         (cproj_test): Likewise.
52333         (creal_test): Use END macro without arguments.
52334         (csin_test): Use END_COMPLEX macro without arguments.
52335         (csinh_test): Likewise.
52336         (csqrt_test): Likewise.
52337         (ctan_test): Likewise.
52338         (ctan_test_tonearest): Likewise.
52339         (ctan_test_towardzero): Likewise.
52340         (ctan_test_downward): Likewise.
52341         (ctan_test_upward): Likewise.
52342         (ctanh_test): Likewise.
52343         (ctanh_test_tonearest): Likewise.
52344         (ctanh_test_towardzero): Likewise.
52345         (ctanh_test_downward): Likewise.
52346         (ctanh_test_upward): Likewise.
52347         (erf_test): Use END macro without arguments.
52348         (erfc_test): Likewise.
52349         (exp_test): Likewise.
52350         (exp_test_tonearest): Likewise.
52351         (exp_test_towardzero): Likewise.
52352         (exp_test_downward): Likewise.
52353         (exp_test_upward): Likewise.
52354         (exp10_test): Likewise.
52355         (exp2_test): Likewise.
52356         (expm1_test): Likewise.
52357         (fabs_test): Likewise.
52358         (fdim_test): Likewise.
52359         (finite_test): Likewise.
52360         (floor_test): Likewise.
52361         (fma_test): Likewise.
52362         (fma_test_towardzero): Likewise.
52363         (fma_test_downward): Likewise.
52364         (fma_test_upward): Likewise.
52365         (fmax_test): Likewise.
52366         (fmin_test): Likewise.
52367         (fmod_test): Likewise.
52368         (fpclassify_test): Likewise.
52369         (frexp_test): Likewise.
52370         (gamma_test): Likewise.
52371         (hypot_test): Likewise.
52372         (ilogb_test): Likewise.
52373         (isfinite_test): Likewise.
52374         (isgreater_test): Likewise.
52375         (isgreaterequal_test): Likewise.
52376         (isinf_test): Likewise.
52377         (isless_test): Likewise.
52378         (islessequal_test): Likewise.
52379         (islessgreater_test): Likewise.
52380         (isnan_test): Likewise.
52381         (isnormal_test): Likewise.
52382         (issignaling_test): Likewise.
52383         (isunordered_test): Likewise.
52384         (j0_test): Likewise.
52385         (j1_test): Likewise.
52386         (jn_test): Likewise.
52387         (ldexp_test): Likewise.
52388         (lgamma_test): Likewise.
52389         (lrint_test): Likewise.
52390         (lrint_test_tonearest): Likewise.
52391         (lrint_test_towardzero): Likewise.
52392         (lrint_test_downward): Likewise.
52393         (lrint_test_upward): Likewise.
52394         (llrint_test): Likewise.
52395         (llrint_test_tonearest): Likewise.
52396         (llrint_test_towardzero): Likewise.
52397         (llrint_test_downward): Likewise.
52398         (llrint_test_upward): Likewise.
52399         (log_test): Likewise.
52400         (log10_test): Likewise.
52401         (log1p_test): Likewise.
52402         (log2_test): Likewise.
52403         (logb_test): Likewise.
52404         (logb_test_downward): Likewise.
52405         (lround_test): Likewise.
52406         (llround_test): Likewise.
52407         (modf_test): Likewise.
52408         (nearbyint_test): Likewise.
52409         (nextafter_test): Likewise.
52410         (nexttoward_test): Likewise.
52411         (pow_test): Likewise.
52412         (pow_test_tonearest): Likewise.
52413         (pow_test_towardzero): Likewise.
52414         (pow_test_downward): Likewise.
52415         (pow_test_upward): Likewise.
52416         (remainder_test): Likewise.
52417         (remainder_test_tonearest): Likewise.
52418         (remainder_test_towardzero): Likewise.
52419         (remainder_test_downward): Likewise.
52420         (remainder_test_upward): Likewise.
52421         (remquo_test): Likewise.
52422         (rint_test): Likewise.
52423         (rint_test_tonearest): Likewise.
52424         (rint_test_towardzero): Likewise.
52425         (rint_test_downward): Likewise.
52426         (rint_test_upward): Likewise.
52427         (round_test): Likewise.
52428         (scalb_test): Likewise.
52429         (scalbn_test): Likewise.
52430         (scalbln_test): Likewise.
52431         (signbit_test): Likewise.
52432         (sin_test): Likewise.
52433         (sin_test_tonearest): Likewise.
52434         (sin_test_towardzero): Likewise.
52435         (sin_test_downward): Likewise.
52436         (sin_test_upward): Likewise.
52437         (sincos_test): Likewise.
52438         (sinh_test): Likewise.
52439         (sinh_test_tonearest): Likewise.
52440         (sinh_test_towardzero): Likewise.
52441         (sinh_test_downward): Likewise.
52442         (sinh_test_upward): Likewise.
52443         (sqrt_test): Likewise.
52444         (tan_test): Likewise.
52445         (tan_test_tonearest): Likewise.
52446         (tan_test_towardzero): Likewise.
52447         (tan_test_downward): Likewise.
52448         (tan_test_upward): Likewise.
52449         (tanh_test): Likewise.
52450         (tgamma_test): Likewise.
52451         (trunc_test): Likewise.
52452         (y0_test): Likewise.
52453         (y1_test): Likewise.
52454         (yn_test): Likewise.
52455         (significand_test): Likewise.
52457 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
52459         [BZ #15381]
52460         * libio/genops.c (_IO_no_init): Initialize wide struct info.
52462 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52464         [BZ #14894]
52465         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
52466         __ppc_mdoio and __ppc_mdoom.
52467         * manual/platform.texi: Document new functions __ppc_yield,
52468         __ppc_mdoio and __ppc_mdoom.
52470 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
52472         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
52473         (main): Mention "tls" pseudo-hwcap is legacy.
52474         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
52476 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52478         * math/gen-libm-test.pl (parse_args): Output only string of
52479         arguments as text for test name, not full call or descriptions of
52480         tests for extra outputs.
52481         (generate_testfile): Do not pass function name to parse_args.
52482         Generate this_func variable from START.
52483         * math/libm-test.inc (struct test_f_f_data): Rename test_name
52484         field to arg_str.
52485         (struct test_ff_f_data): Likewise.
52486         (test_ff_f_data_nexttoward): Likewise.
52487         (struct test_fi_f_data): Likewise.
52488         (struct test_fl_f_data): Likewise.
52489         (struct test_if_f_data): Likewise.
52490         (struct test_fff_f_data): Likewise.
52491         (struct test_c_f_data): Likewise.
52492         (struct test_f_f1_data): Likewise.  Remove field extra_name.
52493         (struct test_fF_f1_data): Likewise.
52494         (struct test_ffI_f1_data): Likewise.
52495         (struct test_c_c_data): Rename test_name field to arg_str.
52496         (struct test_cc_c_data): Likewise.
52497         (struct test_f_i_data): Likewise.
52498         (struct test_ff_i_data): Likewise.
52499         (struct test_f_l_data): Likewise.
52500         (struct test_f_L_data): Likewise.
52501         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
52502         and extra2_name.
52503         (COMMON_TEST_SETUP): New macro.
52504         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
52505         (COMMON_TEST_CLEANUP): Likewise.
52506         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
52507         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
52508         macros.
52509         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
52510         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
52511         macros.
52512         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52513         (RUN_TEST_fff_f): Take argument string.  Call new setup and
52514         cleanup macros.
52515         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
52516         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
52517         macros.
52518         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
52519         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
52520         macros.
52521         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52522         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
52523         cleanup macros.
52524         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52525         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
52526         cleanup macros.
52527         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52528         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
52529         cleanup macros.
52530         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52531         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
52532         macros.
52533         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
52534         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
52535         macros.
52536         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
52537         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
52538         macros.
52539         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
52540         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
52541         cleanup macros.
52542         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
52543         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
52544         cleanup macros.
52545         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
52546         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
52547         macros.
52548         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
52549         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
52550         cleanup macros.
52551         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
52552         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
52553         macros.
52554         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
52555         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
52556         macros.
52557         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
52558         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
52559         cleanup macros.
52560         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
52562 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
52564         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
52565         to _sifields.sigfault.
52566         (si_addr_lsb): Define new macro.
52567         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52568         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52569         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
52571 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
52573         [BZ #15441]
52574         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
52575         returns -1.
52576         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
52577         null return -1.
52578         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
52579         loading the domain.
52581 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52583         * math/gen-libm-test.pl (parse_args): Do not include expected
52584         result in test name.
52585         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
52586         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52587         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52588         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52589         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52592 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52594         * benchtests/Makefile: Sort function entries.
52596         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
52597         tanh, asinh, acosh, atanh.
52598         * benchtests/acos-inputs: New file.
52599         * benchtests/acosh-inputs: New file.
52600         * benchtests/asin-inputs: New file.
52601         * benchtests/asinh-inputs: New file.
52602         * benchtests/atanh-inputs: New file.
52603         * benchtests/cosh-inputs: New file.
52604         * benchtests/log-inputs: New file.
52605         * benchtests/sinh-inputs: New file.
52606         * benchtests/tanh-inputs: New file.
52608 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
52610         [BZ #15339]
52611         * posix/tst-getaddrinfo4.c: New test.
52612         * posix/Makefile (tests): Add it.
52614 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52616         [BZ #15339]
52617         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
52618         when no services were used.
52619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
52620         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
52622 2013-05-21  Andreas Schwab  <schwab@suse.de>
52624         [BZ #15014]
52625         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
52626         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
52627         successful.
52628         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
52629         redundant variable declarations and reallocation of buffer when
52630         parsing as IPv6 address.  Always set NSS status when called from
52631         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
52632         buffer too small.  Correct computation of needed size.
52633         * nss/Makefile (tests): Add test-digits-dots.
52634         * nss/test-digits-dots.c: New test.
52636 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52638         * benchtests/Makefile: Remove instructions for adding
52639         benchmark tests.
52640         * benchtests/README: New file to explain how to execute and
52641         enhance the benchmark tests.
52643 2013-05-21  Andreas Schwab  <schwab@suse.de>
52645         [BZ #15493]
52646         * setjmp/Makefile (tests): Add tst-sigsetjmp.
52647         * setjmp/tst-sigsetjmp.c: New test.
52649 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52651         * sysdeps/x86_64/memset.S (memset): New implementation.
52652         (__bzero): Likewise.
52653         (__memset_tail): New function.
52655 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52657         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
52658         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
52659         __memcpy_sse2_unaligned ifunc selection.
52660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52661         Add memcpy-sse2-unaligned.S.
52662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52663         Add: __memcpy_sse2_unaligned.
52665 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
52667         [BZ #15490]
52668         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52669         math_force_eval before restoring floating-point envrionment.
52670         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
52671         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
52672         Likewise.
52673         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
52674         <math_private.h>.
52675         (__nearbyintl): Use math_force_eval before restoring
52676         floating-point environment.
52677         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
52679         * math/gen-libm-test.pl (special_functions): Remove.
52680         (parse_args): Don't handle TEST_extra.  Handle functions with no
52681         return value.
52682         * math/libm-test.inc (struct test_sincos_data): Replace with
52683         struct test_fFF_11_data.
52684         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
52685         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
52686         (sincos_test_data): Change element type to struct
52687         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
52688         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
52689         RUN_TEST_LOOP_sincos.
52690         * math/README.libm-test: Don't mention special handling of
52691         individual functions.
52692         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
52693         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52694         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52695         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52696         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52699         * math/gen-libm-test.pl (get_variable): Remove function.
52700         (parse_args): Don't show pointer parameters to call in test
52701         names.  Use "extra output N" in test names for extra outputs
52702         rather than naming variables.
52704 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
52706         [BZ #15488]
52707         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
52708         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
52709         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
52710         double tests.
52711         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
52712         disable.
52713         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
52714         check_long_double.
52716         * math/gen-libm-test.pl (@tests): Remove variable.
52717         ($count): Likewise.
52718         (new_test): Remove function.
52719         (show_exceptions): New function.
52720         (special_functions): Use show_exceptions instead of new_test.
52721         (parse_args): Likewise.
52722         (generate_testfile): Pass only function name in generated call to
52723         print_max_error or print_complex_max_error.
52724         (get_ulps): Do not handle complex tests specially.
52725         (output_test): Rename to ...
52726         (get_all_ulps_for_test): ... this.  Return a string rather than
52727         printing to a file.  Require ulps to be present.
52728         (output_ulps): Generate arrays rather than #defines.
52729         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
52730         (struct ulp_data): New type.
52731         (BUILD_COMPLEX_ULP): Remove macro.
52732         (compare_ulp_data): New function.
52733         (find_ulps): Likewise.
52734         (find_test_ulps): Likewise.
52735         (find_function_ulps): Likewise.
52736         (find_complex_function_ulps): Likewise.
52737         (print_max_error): Determine allowed ulps using
52738         find_function_ulps.
52739         (print_complex_max_error): Determine allowed ulps using
52740         find_complex_function_ulps.
52741         (check_float_internal): Determine max ulps using find_test_ulps.
52742         (check_float): Do not take max_ulp parameter.  Update call to
52743         check_float_internal.
52744         (check_complex): Likewise.
52745         (check_int): Do not take max_ulp parameter.
52746         (check_long): Likewise.
52747         (check_bool): Likewise.
52748         (check_longlong): Likewise.
52749         (struct test_f_f_data): Remove max_ulp field.
52750         (struct test_ff_f_data): Likewise.
52751         (struct test_ff_f_data_nexttoward): Likewise.
52752         (struct test_fi_f_data): Likewise.
52753         (struct test_fl_f_data): Likewise.
52754         (struct test_if_f_data): Likewise.
52755         (struct test_fff_f_data): Likewise.
52756         (struct test_c_f_data): Likewise.
52757         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
52758         (struct test_fF_f1_data): Likewise.
52759         (struct test_ffI_f1_data): Likewise.
52760         (struct test_c_c_data): Remove max_ulp field.
52761         (struct test_cc_c_data): Likewise.
52762         (struct test_f_i_data): Likewise.
52763         (struct test_ff_i_data): Likewise.
52764         (struct test_f_l_data): Likewise.
52765         (struct test_f_L_data): Likewise.
52766         (struct test_sincos_data): Likewise.
52767         (RUN_TEST_f_f): Do not handle ulps.
52768         (RUN_TEST_LOOP_f_f): Likewise.
52769         (RUN_TEST_2_f): Likewise.
52770         (RUN_TEST_LOOP_2_f): Likewise.
52771         (RUN_TEST_fff_f): Likewise.
52772         (RUN_TEST_LOOP_fff_f): Likewise.
52773         (RUN_TEST_c_f): Likewise.
52774         (RUN_TEST_LOOP_c_f): Likewise.
52775         (RUN_TEST_f_f1): Likewise.
52776         (RUN_TEST_LOOP_f_f1): Likewise.
52777         (RUN_TEST_fF_f1): Likewise.
52778         (RUN_TEST_LOOP_fF_f1): Likewise.
52779         (RUN_TEST_fI_f1): Likewise.
52780         (RUN_TEST_LOOP_fI_f1): Likewise.
52781         (RUN_TEST_ffI_f1): Likewise.
52782         (RUN_TEST_LOOP_ffI_f1): Likewise.
52783         (RUN_TEST_c_c): Likewise.
52784         (RUN_TEST_LOOP_c_c): Likewise.
52785         (RUN_TEST_cc_c): Likewise.
52786         (RUN_TEST_LOOP_cc_c): Likewise.
52787         (RUN_TEST_f_i): Likewise.
52788         (RUN_TEST_LOOP_f_i): Likewise.
52789         (RUN_TEST_f_i_tg): Likewise.
52790         (RUN_TEST_LOOP_f_i_tg): Likewise.
52791         (RUN_TEST_ff_i_tg): Likewise.
52792         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52793         (RUN_TEST_f_b): Likewise.
52794         (RUN_TEST_LOOP_f_b): Likewise.
52795         (RUN_TEST_f_b_tg): Likewise.
52796         (RUN_TEST_LOOP_f_b_tg): Likewise.
52797         (RUN_TEST_f_l): Likewise.
52798         (RUN_TEST_LOOP_f_l): Likewise.
52799         (RUN_TEST_f_L): Likewise.
52800         (RUN_TEST_LOOP_f_L): Likewise.
52801         (RUN_TEST_sincos): Likewise.
52802         (RUN_TEST_LOOP_sincos): Likewise.
52804 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52806         [BZ #15480]
52807         [BZ #15485]
52808         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52809         main case of finite arguments, set rounding mode to FE_TONEAREST
52810         and discard exceptions.
52811         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52812         exceptions.
52813         (remainder_tonearest_test_data): New variable.
52814         (remainder_test_tonearest): New function.
52815         (remainder_towardzero_test_data): New variable.
52816         (remainder_test_towardzero): New function.
52817         (remainder_downward_test_data): New variable.
52818         (remainder_test_downward): New function.
52819         (remainder_upward_test_data): New variable.
52820         (remainder_test_upward): New function.
52821         (main): Call the new test functions.
52823         * math/libm-test.inc (struct test_f_f1_data): Remove field
52824         extra_init.
52825         (struct test_fF_f1_data): Likewise.
52826         (struct test_ffI_f1_data): Likewise.
52827         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52828         based on value of EXTRA_EXPECTED.
52829         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52830         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52831         EXTRA_VAR based on value of EXTRA_EXPECTED.
52832         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52833         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52834         EXTRA_VAR based on value of EXTRA_EXPECTED.
52835         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52836         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52837         EXTRA_VAR based on value of EXTRA_EXPECTED.
52838         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52839         * math/gen-libm-test.pl (parse_args): Don't output initializers
52840         for extra output values.
52842         * math/libm-test.inc (check_int): Expect result to be exactly
52843         equal to expected value and do not handle ulps.
52844         (check_long): Likewise.
52845         (check_longlong): Likewise.
52847         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52848         exceptions.
52849         (cimag_test_data): Likewise.
52850         (conj_test_data): Likewise.
52851         (copysign_test_data): Likewise.
52852         (cproj_test_data): Likewise.
52853         (creal_test_data): Likewise.
52854         (fabs_test_data): Likewise.
52855         (fdim_test_data): Likewise.
52856         (finite_test_data): Likewise.
52857         (floor_test_data): Likewise.
52858         (fmax_test_data): Likewise.
52859         (fmin_test_data): Likewise.
52860         (fmod_test_data): Likewise.
52861         (fpclassify_test_data): Likewise.
52862         (frexp_test_data): Likewise.
52863         (ilogb_test_data): Likewise.
52864         (isfinite_test_data): Likewise.
52865         (isgreater_test_data): Likewise.
52866         (isgreaterequal_test_data): Likewise.
52867         (isinf_test_data): Likewise.
52868         (isless_test_data): Likewise.
52869         (islessequal_test_data): Likewise.
52870         (islessgreater_test_data): Likewise.
52871         (isnan_test_data): Likewise.
52872         (isnormal_test_data): Likewise.
52873         (issignaling_test_data): Likewise.
52874         (isunordered_test_data): Likewise.
52875         (ldexp_test_data): Likewise.
52876         (lrint_test_data): Likewise.
52877         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52878         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52879         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52880         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52881         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52882         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52883         test input.
52884         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52885         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52886         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52887         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52888         that test input.
52889         (lrint_downward_test_data): Test for "inexact" exceptions.
52890         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52891         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52892         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52893         test input.
52894         (lrint_upward_test_data): Test for "inexact" exceptions.
52895         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52896         test input.
52897         (llrint_test_data): Test for "inexact" exceptions.
52898         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52899         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52900         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52901         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52902         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52903         (llrint_downward_test_data): Test for "inexact" exceptions.
52904         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52905         (llrint_upward_test_data): Test for "inexact" exceptions.
52906         (logb_test_data): Likewise.
52907         (logb_downward_test_data): Likewise.
52908         (nextafter_test_data): Likewise.
52909         (nexttoward_test_data): Likewise.
52910         (remainder_test_data): Likewise.
52911         (remquo_test_data): Likewise.
52912         (scalbn_test_data): Likewise.
52913         (scalbln_test_data): Likewise.
52914         (signbit_test_data): Likewise.
52915         (sqrt_test_data): Likewise.
52916         (significand_test_data): Likewise.
52918 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52920         [BZ #15424]
52921         * benchtests/bench-modf.c (struct args): Mark arg0 as
52922         volatile.
52923         * scripts/bench.pl: Mark members of struct args as volatile.
52925 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52927         [BZ # 15497]
52928         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52929         negative infinity on POWER6 or lower.
52930         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52932 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52934         [BZ #15442]
52935         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52936         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52937         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52938         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52939         (_FP_SETQNAN): New macro.
52940         (_FP_SETQNAN_SEMIRAW): Likewise.
52941         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52942         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52943         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52944         (FP_EXTEND): Use _FP_FRAC_SNANP.
52945         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52946         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52947         into account.
52948         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52949         New macro.
52950         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52951         Likewise.
52953 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52955         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52956         with DIVIDE_BY_ZERO_EXCEPTION.
52957         (gamma_test_data): Likewise.
52958         (lgamma_test_data): Likewise.
52959         (log_test_data): Likewise.
52960         (log10_test_data): Likewise.
52961         (log2_test_data): Likewise.
52962         (tgamma_test_data): Likewise.
52964         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52965         (acos_test_tonearest): Likewise.
52966         (acos_test_towardzero): Likewise.
52967         (acos_test_downward): Likewise.
52968         (acos_test_upward): Likewise.
52969         (acosh_test): Likewise.
52970         (asin_test): Likewise.
52971         (asin_test_tonearest): Likewise.
52972         (asin_test_towardzero): Likewise.
52973         (asin_test_downward): Likewise.
52974         (asin_test_upward): Likewise.
52975         (asinh_test): Likewise.
52976         (atan_test): Likewise.
52977         (atanh_test): Likewise.
52978         (atan2_test): Likewise.
52979         (cabs_test): Likewise.
52980         (cacos_test): Likewise.
52981         (cacosh_test): Likewise.
52982         (casin_test): Likewise.
52983         (casinh_test): Likewise.
52984         (catan_test): Likewise.
52985         (catanh_test): Likewise.
52986         (cbrt_test): Likewise.
52987         (ccos_test): Likewise.
52988         (ccosh_test): Likewise.
52989         (cexp_test): Likewise.
52990         (clog_test): Likewise.
52991         (clog10_test): Likewise.
52992         (cos_test): Likewise.
52993         (cos_test_tonearest): Likewise.
52994         (cos_test_towardzero): Likewise.
52995         (cos_test_downward): Likewise.
52996         (cos_test_upward): Likewise.
52997         (cosh_test): Likewise.
52998         (cosh_test_tonearest): Likewise.
52999         (cosh_test_towardzero): Likewise.
53000         (cosh_test_downward): Likewise.
53001         (cosh_test_upward): Likewise.
53002         (cpow_test): Likewise.
53003         (csin_test): Likewise.
53004         (csinh_test): Likewise.
53005         (csqrt_test): Likewise.
53006         (ctan_test): Likewise.
53007         (ctan_test_tonearest): Likewise.
53008         (ctan_test_towardzero): Likewise.
53009         (ctan_test_downward): Likewise.
53010         (ctan_test_upward): Likewise.
53011         (ctanh_test): Likewise.
53012         (ctanh_test_tonearest): Likewise.
53013         (ctanh_test_towardzero): Likewise.
53014         (ctanh_test_downward): Likewise.
53015         (ctanh_test_upward): Likewise.
53016         (erf_test): Likewise.
53017         (erfc_test): Likewise.
53018         (exp_test): Likewise.
53019         (exp_test_tonearest): Likewise.
53020         (exp_test_towardzero): Likewise.
53021         (exp_test_downward): Likewise.
53022         (exp_test_upward): Likewise.
53023         (exp10_test): Likewise.
53024         (exp2_test): Likewise.
53025         (expm1_test): Likewise.
53026         (fmod_test): Likewise.
53027         (gamma_test): Likewise.
53028         (hypot_test): Likewise.
53029         (j0_test): Likewise.
53030         (j1_test): Likewise.
53031         (jn_test): Likewise.
53032         (lgamma_test): Likewise.
53033         (log_test): Likewise.
53034         (log10_test): Likewise.
53035         (log1p_test): Likewise.
53036         (log2_test): Likewise.
53037         (logb_test_downward): Likewise.
53038         (pow_test): Likewise.
53039         (pow_test_tonearest): Likewise.
53040         (pow_test_towardzero): Likewise.
53041         (pow_test_downward): Likewise.
53042         (pow_test_upward): Likewise.
53043         (remainder_test): Likewise.
53044         (remquo_test): Likewise.
53045         (sin_test): Likewise.
53046         (sin_test_tonearest): Likewise.
53047         (sin_test_towardzero): Likewise.
53048         (sin_test_downward): Likewise.
53049         (sin_test_upward): Likewise.
53050         (sincos_test): Likewise.
53051         (sinh_test): Likewise.
53052         (sinh_test_tonearest): Likewise.
53053         (sinh_test_towardzero): Likewise.
53054         (sinh_test_downward): Likewise.
53055         (sinh_test_upward): Likewise.
53056         (sqrt_test): Likewise.
53057         (tan_test): Likewise.
53058         (tan_test_tonearest): Likewise.
53059         (tan_test_towardzero): Likewise.
53060         (tan_test_downward): Likewise.
53061         (tan_test_upward): Likewise.
53062         (tanh_test): Likewise.
53063         (tgamma_test): Likewise.
53064         (y0_test): Likewise.
53065         (y1_test): Likewise.
53066         (yn_test): Likewise.
53068         * math/gen-libm-test.pl (adjust_arg): Remove function.
53069         (special_function): Remove argument $in_func.  Only handle
53070         generating output for tables of tests, not inside functions.
53071         (parse_args): Likewise.
53072         (generate_testfile): Remove variable $in_func.  Update call to
53073         parse_args.
53074         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53075         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53076         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53077         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53078         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53079         (MAX_VALUE_INIT): Rename macro to max_value.
53080         (MIN_VALUE_INIT): Rename macro to min_value.
53081         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53082         (plus_zero): Remove variable.
53083         (minus_zero): Likewise.
53084         (plus_infty): Likewise.
53085         (minus_infty): Likewise.
53086         (qnan_value): Likewise.
53087         (max_value): Likewise.
53088         (min_value): Likewise.
53089         (min_subnorm_value): Likewise.
53091 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53093         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53094         uint64_t or uint32_t usage.
53095         * crypt/sha256-block.c: Likewise.
53096         * crypt/sha256-crypt.c: Likewise.
53097         * crypt/sha256.c: Likewise.
53098         * crypt/sha512-block.c: Likewise.
53099         * crypt/sha512-crypt.c: Likewise.
53100         * crypt/sha512.c: Likewise.
53101         * debug/backtrace-tst.c: Likewise.
53102         * debug/pcprofiledump.c: Likewise.
53103         * elf/cache.c: Likewise.
53104         * elf/dl-cache.c: Likewise.
53105         * elf/dl-misc.c: Likewise.
53106         * elf/dl-profile.c: Likewise.
53107         * elf/dl-support.c: Likewise.
53108         * elf/ldconfig.c: Likewise.
53109         * elf/sprof.c: Likewise.
53110         * iconv/dummy-repertoire.c: Likewise.
53111         * iconv/iconv_charmap.c: Likewise.
53112         * iconv/skeleton.c: Likewise.
53113         * iconvdata/8bit-generic.c: Likewise.
53114         * iconvdata/cp737.h: Likewise.
53115         * iconvdata/cp775.h: Likewise.
53116         * iconvdata/ibm1008.h: Likewise.
53117         * iconvdata/ibm1025.h: Likewise.
53118         * iconvdata/ibm1046.h: Likewise.
53119         * iconvdata/ibm1097.h: Likewise.
53120         * iconvdata/ibm1112.h: Likewise.
53121         * iconvdata/ibm1122.h: Likewise.
53122         * iconvdata/ibm1123.h: Likewise.
53123         * iconvdata/ibm1124.h: Likewise.
53124         * iconvdata/ibm1129.h: Likewise.
53125         * iconvdata/ibm1130.h: Likewise.
53126         * iconvdata/ibm1132.h: Likewise.
53127         * iconvdata/ibm1133.h: Likewise.
53128         * iconvdata/ibm1137.h: Likewise.
53129         * iconvdata/ibm1140.h: Likewise.
53130         * iconvdata/ibm1141.h: Likewise.
53131         * iconvdata/ibm1142.h: Likewise.
53132         * iconvdata/ibm1143.h: Likewise.
53133         * iconvdata/ibm1144.h: Likewise.
53134         * iconvdata/ibm1145.h: Likewise.
53135         * iconvdata/ibm1146.h: Likewise.
53136         * iconvdata/ibm1147.h: Likewise.
53137         * iconvdata/ibm1148.h: Likewise.
53138         * iconvdata/ibm1149.h: Likewise.
53139         * iconvdata/ibm1153.h: Likewise.
53140         * iconvdata/ibm1154.h: Likewise.
53141         * iconvdata/ibm1155.h: Likewise.
53142         * iconvdata/ibm1156.h: Likewise.
53143         * iconvdata/ibm1157.h: Likewise.
53144         * iconvdata/ibm1158.h: Likewise.
53145         * iconvdata/ibm1160.h: Likewise.
53146         * iconvdata/ibm1161.h: Likewise.
53147         * iconvdata/ibm1162.h: Likewise.
53148         * iconvdata/ibm1163.h: Likewise.
53149         * iconvdata/ibm1164.h: Likewise.
53150         * iconvdata/ibm1166.h: Likewise.
53151         * iconvdata/ibm1167.h: Likewise.
53152         * iconvdata/ibm12712.h: Likewise.
53153         * iconvdata/ibm1390.h: Likewise.
53154         * iconvdata/ibm1399.h: Likewise.
53155         * iconvdata/ibm16804.h: Likewise.
53156         * iconvdata/ibm4517.h: Likewise.
53157         * iconvdata/ibm4899.h: Likewise.
53158         * iconvdata/ibm4909.h: Likewise.
53159         * iconvdata/ibm4971.h: Likewise.
53160         * iconvdata/ibm5347.h: Likewise.
53161         * iconvdata/ibm803.h: Likewise.
53162         * iconvdata/ibm856.h: Likewise.
53163         * iconvdata/ibm901.h: Likewise.
53164         * iconvdata/ibm902.h: Likewise.
53165         * iconvdata/ibm9030.h: Likewise.
53166         * iconvdata/ibm9066.h: Likewise.
53167         * iconvdata/ibm921.h: Likewise.
53168         * iconvdata/ibm922.h: Likewise.
53169         * iconvdata/ibm9448.h: Likewise.
53170         * iconvdata/isiri-3342.h: Likewise.
53171         * iconvdata/jis0201.h: Likewise.
53172         * include/link.h: Likewise.
53173         * include/netdb.h: Likewise.
53174         * inet/check_native.c: Likewise.
53175         * inet/check_pf.c: Likewise.
53176         * inet/getipv4sourcefilter.c: Likewise.
53177         * inet/getnameinfo.c: Likewise.
53178         * inet/getsourcefilter.c: Likewise.
53179         * inet/htonl.c: Likewise.
53180         * inet/setipv4sourcefilter.c: Likewise.
53181         * inet/setsourcefilter.c: Likewise.
53182         * inet/test-inet6_opt.c: Likewise.
53183         * inet/tst-network.c: Likewise.
53184         * locale/C-collate.c: Likewise.
53185         * locale/C-ctype.c: Likewise.
53186         * locale/C-time.c: Likewise.
53187         * locale/C-translit.h: Likewise.
53188         * locale/loadarchive.c: Likewise.
53189         * locale/programs/3level.h: Likewise.
53190         * locale/programs/charmap.c: Likewise.
53191         * locale/programs/charmap.h: Likewise.
53192         * locale/programs/ld-address.c: Likewise.
53193         * locale/programs/ld-collate.c: Likewise.
53194         * locale/programs/ld-ctype.c: Likewise.
53195         * locale/programs/ld-identification.c: Likewise.
53196         * locale/programs/ld-measurement.c: Likewise.
53197         * locale/programs/ld-messages.c: Likewise.
53198         * locale/programs/ld-monetary.c: Likewise.
53199         * locale/programs/ld-name.c: Likewise.
53200         * locale/programs/ld-numeric.c: Likewise.
53201         * locale/programs/ld-paper.c: Likewise.
53202         * locale/programs/ld-telephone.c: Likewise.
53203         * locale/programs/ld-time.c: Likewise.
53204         * locale/programs/linereader.c: Likewise.
53205         * locale/programs/locale.c: Likewise.
53206         * locale/programs/locarchive.c: Likewise.
53207         * locale/programs/locfile.h: Likewise.
53208         * locale/programs/repertoire.c: Likewise.
53209         * locale/programs/simple-hash.c: Likewise.
53210         * locale/programs/simple-hash.h: Likewise.
53211         * malloc/memusage.c: Likewise.
53212         * malloc/memusagestat.c: Likewise.
53213         * nis/nis_defaults.c: Likewise.
53214         * nis/nis_hash.c: Likewise.
53215         * nis/nis_print.c: Likewise.
53216         * nis/nis_xdr.c: Likewise.
53217         * nscd/connections.c: Likewise.
53218         * nscd/hstcache.c: Likewise.
53219         * nscd/nscd_gethst_r.c: Likewise.
53220         * nscd/nscd_getserv_r.c: Likewise.
53221         * nscd/nscd_helper.c: Likewise.
53222         * nscd/servicescache.c: Likewise.
53223         * nss/makedb.c: Likewise.
53224         * nss/nss_db/db-XXX.c: Likewise.
53225         * nss/nss_db/db-initgroups.c: Likewise.
53226         * nss/nss_db/db-netgrp.c: Likewise.
53227         * nss/nss_files/files-network.c: Likewise.
53228         * nss/nss_files/files-parse.c: Likewise.
53229         * posix/bug-regex5.c: Likewise.
53230         * posix/fnmatch_loop.c: Likewise.
53231         * posix/regcomp.c: Likewise.
53232         * posix/regexec.c: Likewise.
53233         * posix/tst-rfc3484-2.c: Likewise.
53234         * posix/tst-rfc3484-3.c: Likewise.
53235         * posix/tst-rfc3484.c: Likewise.
53236         * resolv/nss_dns/dns-canon.c: Likewise.
53237         * resolv/nss_dns/dns-network.c: Likewise.
53238         * resolv/res_init.c: Likewise.
53239         * resolv/res_mkquery.c: Likewise.
53240         * resolv/tst-aton.c: Likewise.
53241         * stdlib/cxa_atexit.c: Likewise.
53242         * stdlib/cxa_finalize.c: Likewise.
53243         * stdlib/gen-fpioconst.c: Likewise.
53244         * stdlib/strtol_l.c: Likewise.
53245         * string/tst-endian.c: Likewise.
53246         * sunrpc/auth_des.c: Likewise.
53247         * sunrpc/clnt_udp.c: Likewise.
53248         * sunrpc/rtime.c: Likewise.
53249         * sunrpc/svcauth_des.c: Likewise.
53250         * sunrpc/xdr.c: Likewise.
53251         * sunrpc/xdr_intXX_t.c: Likewise.
53252         * sunrpc/xdr_rec.c: Likewise.
53253         * sysdeps/generic/ldconfig.h: Likewise.
53254         * sysdeps/generic/ldsodefs.h: Likewise.
53255         * sysdeps/generic/memusage.h: Likewise.
53256         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53257         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
53258         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
53259         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53260         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53261         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53262         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53263         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53264         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53265         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53266         * sysdeps/posix/getaddrinfo.c: Likewise.
53267         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53268         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53269         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53270         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53271         * sysdeps/powerpc/test-gettimebase.c: Likewise.
53272         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
53273         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
53274         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
53275         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
53276         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
53277         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53278         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53279         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
53280         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
53281         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
53282         * sysdeps/x86_64/dl-tls.h: Likewise.
53283         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
53284         * time/alt_digit.c: Likewise.
53285         * time/era.c: Likewise.
53286         * wcsmbs/tst-c16c32-1.c: Likewise.
53288 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53290         * math/libm-test.inc (struct test_sincos_data): New type.
53291         (RUN_TEST_LOOP_sincos): New macro.
53292         (sincos_test_data): New variable.
53293         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
53295 2013-05-16  Richard Henderson  <rth@redhat.com>
53297         * math/atest-exp2.c (LIMB64): New macro.
53298         (CONSTSZ): New macro.
53299         (mp_exp1, mp_exp_m1, mp_log2): New variables.
53300         (hexdig): Move ...
53301         (print_mpn_fp): ... to function scope.
53302         (read_mpn_hex): Remove.
53303         (get_log2): Remove.
53304         (exp2_mpn): Use mp_log2.
53305         (main): Use mp_exp1.
53307 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53309         * math/libm-test.inc: Remove comment about not testing "inexact"
53310         exceptions.
53311         (INEXACT_EXCEPTION): New macro.
53312         (NO_INEXACT_EXCEPTION): Likewise.
53313         (INVALID_EXCEPTION_OK): Update value.
53314         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53315         (OVERFLOW_EXCEPTION_OK): Likewise.
53316         (UNDERFLOW_EXCEPTION_OK): Likewise.
53317         (IGNORE_ZERO_INF_SIGN): Likewise.
53318         (ERRNO_UNCHANGED): Likewise.
53319         (ERRNO_EDOM): Likewise.
53320         (ERRNO_ERANGE): Likewise.
53321         (test_exceptions): Handle testing "inexact" exceptions.
53322         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53323         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53324         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53325         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53326         INEXACT_EXCEPTION.
53327         (rint_towardzero_test_data): Likewise.
53328         (rint_downward_test_data): Likewise.
53329         (rint_upward_test_data): Likewise.
53331         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53332         with OVERFLOW_EXCEPTION.
53333         (exp10_test_data): Likewise.
53334         (exp2_test_data): Likewise.
53335         (expm1_test_data): Likewise.
53336         (lgamma_test_data): Likewise.
53337         (pow_test_data): Likewise.
53338         (tgamma_test_data): Likewise.
53339         (yn_test_data): Remove duplicate test of overflow.
53341         * math/libm-test.inc (struct test_cc_c_data): New type.
53342         (RUN_TEST_LOOP_cc_c): New macro.
53343         (cpow_test_data): New variable.
53344         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53346         * math/libm-test.inc (struct test_f_L_data): New type.
53347         (RUN_TEST_LOOP_f_L): New macro.
53348         (llrint_test_data): New variable.
53349         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53350         (llrint_tonearest_test_data): New variable.
53351         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53352         (llrint_towardzero_test_data): New variable.
53353         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53354         (llrint_downward_test_data): New variable.
53355         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53356         (llrint_upward_test_data): New variable.
53357         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53358         (llround_test_data): New variable.
53359         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53361 2013-05-13  Peter Collingbourne  <pcc@google.com>
53363         * math/atest-exp2.c (get_log2): Remove const attribute.
53365 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53367         * math/libm-test.inc (struct test_f_l_data): New type.
53368         (RUN_TEST_LOOP_f_l): New macro.
53369         (lrint_test_data): New variable.
53370         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53371         (lrint_tonearest_test_data): New variable.
53372         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53373         (lrint_towardzero_test_data): New variable.
53374         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53375         (lrint_downward_test_data): New variable.
53376         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53377         (lrint_upward_test_data): New variable.
53378         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53379         (lround_test_data): New variable.
53380         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53382 2013-05-15  Peter Collingbourne  <pcc@google.com>
53384         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53385         (EXTRACT_WORDS64) Use where appropriate.
53386         (INSERT_WORDS64) Likewise.
53388         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53389         constraints with x constraints.
53390         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53392         * malloc/obstack.c (_obstack_compat): Add initializer.
53394 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53396         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53397         si_trapno and add si_addr_lsb to _sifields.sigfault.
53398         (si_trapno): Remove macro.
53399         (si_addr_lsb): Define new macro.
53400         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53402 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53404         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53405         instead of TEST_f_l.
53406         (llrint_test_tonearest): Likewise.
53407         (llrint_test_towardzero): Likewise.
53408         (llrint_test_downward): Likewise.
53409         (llrint_test_upward): Likewise.
53410         (llround_test): Likewise.
53412         * math/libm-test.inc (struct test_f_i_data): Add comment.
53413         (RUN_TEST_LOOP_f_b): New macro.
53414         (RUN_TEST_LOOP_f_b_tg): Likewise.
53415         (finite_test_data): New variable.
53416         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
53417         (isfinite_test_data): New variable.
53418         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53419         (isinf_test_data): New variable.
53420         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53421         (isnan_test_data): New variable.
53422         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53423         (isnormal_test_data): New variable.
53424         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53425         (issignaling_test_data): New variable.
53426         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53427         (signbit_test_data): New variable.
53428         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53430         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
53431         with INVALID_EXCEPTION.
53432         (acosh_test_data): Likewise.
53433         (asin_test_data): Likewise.
53434         (atanh_test_data): Likewise.
53435         (fmod_test_data): Likewise.
53436         (log_test_data): Likewise.
53437         (log10_test_data): Likewise.
53438         (log2_test_data): Likewise.
53439         (pow_test_data): Likewise.
53440         (sqrt_test_data): Likewise.
53441         (y0_test_data): Likewise.
53442         (y1_test_data): Likewise.
53443         (yn_test_data): Likewise.
53445         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
53446         function contents.
53448         * math/libm-test.inc (struct test_ff_i_data): New type.
53449         (RUN_TEST_LOOP_ff_i_tg): New macro.
53450         (isgreater_test_data): New variable.
53451         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53452         (isgreaterequal_test_data): New variable.
53453         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53454         (isless_test_data): New variable.
53455         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53456         (islessequal_test_data): New variable.
53457         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53458         (islessgreater_test_data): New variable.
53459         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53460         (isunordered_test_data): New variable.
53461         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53463 2013-05-14  David S. Miller  <davem@davemloft.net>
53465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53467 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
53469         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
53471         * math/libm-test.inc (struct test_fF_f1_data): Change type of
53472         extra_test to int.
53473         (struct test_f_i_data): Change type of max_ulp to int.
53475         * math/libm-test.inc (test_ffI_f1_data): New type.
53476         (RUN_TEST_LOOP_ffI_f1): New macro.
53477         (remquo_test_data): New variable.
53478         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
53480         * setjmp/tst-setjmp-fp.c: New file.
53481         * setjmp/Makefile (tests): Add tst-setjmp-fp.
53482         (link-libm): New variable.
53483         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
53485         * math/libm-test.inc (struct test_f_i_data): New type.
53486         (RUN_TEST_LOOP_f_i): New macro.
53487         (RUN_TEST_LOOP_f_i_tg): Likewise.
53488         (fpclassify_test_data): New variable.
53489         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
53490         (ilogb_test_data): New variable.
53491         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
53493         * math/libm-test.inc (scalbln_test): Correct function name in END
53494         call.
53496         * math/libm-test.inc (struct test_f_f1_data): Add comment.
53497         (RUN_TEST_LOOP_fI_f1): New macro.
53498         (frexp_test_data): New variable.
53499         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
53501         * math/libm-test.inc (struct test_fF_f1_data): New type.
53502         (RUN_TEST_LOOP_fF_f1): New macro.
53503         (modf_test_data): New variable.
53504         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
53506         * math/libm-test.inc (struct test_f_f1_data): New type.
53507         (RUN_TEST_LOOP_f_f1): New macro.
53508         (gamma_test_data): New variable.
53509         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53510         (lgamma_test_data): New variable.
53511         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53513 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
53515         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
53516         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
53517         (main): Comment "tls" pseudo-hwcap.
53519 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
53521         * math/libm-test.inc (struct test_fl_f_data): New type.
53522         (RUN_TEST_LOOP_fl_f): New variable.
53523         (scalbln_test_data): New variable.
53524         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
53526         * math/libm-test.inc (struct test_fi_f_data): New type.
53527         (RUN_TEST_LOOP_fi_f): New macro.
53528         (ldexp_test_data): New variable.
53529         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
53530         (scalbn_test_data): New variable.
53531         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
53533         * math/libm-test.inc (struct test_c_f_data): New type.
53534         (RUN_TEST_LOOP_c_f): New macro.
53535         (cabs_test_data): New variable.
53536         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
53537         (carg_test_data): New variable.
53538         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
53539         (cimag_test_data): New variable.
53540         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
53541         (creal_test_data): New variable.
53542         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
53544         * math/libm-test.inc (struct test_if_f_data): New type.
53545         (RUN_TEST_LOOP_if_f): New macro.
53546         (jn_test_data): New variable.
53547         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
53548         (yn_test_data): New variable.
53549         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
53551         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
53553 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53555         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
53556         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
53558 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53560         * benchtests/Makefile (CPPFLAGS-nonlib): Add
53561         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
53562         (bench-deps): Add bench-timing.h.
53563         * benchtests-bench-skeleton.c: Include bench-timing.h.
53564         (main): Use TIMING_* macros instead of clock_gettime.
53565         * benchtests/bench-timing.h: New file.
53567         [BZ #14582]
53568         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
53569         Renamed from _LIB_VERSION.
53570         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
53572 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
53574         * math/libm-test.inc (struct test_fff_f_data): New type.
53575         (RUN_TEST_LOOP_fff_f): New macro.
53576         (fma_test_data): New variable.
53577         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
53578         (fma_towardzero_test_data): New variable.
53579         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
53580         (fma_downward_test_data): New variable.
53581         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
53582         (fma_upward_test_data): New variable.
53583         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
53585         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
53586         (struct test_c_c_data): New type.
53587         (RUN_TEST_LOOP_c_c): New macro.
53588         (cacos_test_data): New variable.
53589         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
53590         (cacosh_test_data): New variable.
53591         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
53592         (casin_test_data): New variable.
53593         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
53594         (casinh_test_data): New variable.
53595         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
53596         (catan_test_data): New variable.
53597         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
53598         (catanh_test_data): New variable.
53599         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
53600         (ccos_test_data): New variable.
53601         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
53602         (ccosh_test_data): New variable.
53603         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
53604         (cexp_test_data): New variable.
53605         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
53606         (clog_test_data): New variable.
53607         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
53608         (clog10_test_data): New variable.
53609         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
53610         (conj_test_data): New variable.
53611         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
53612         (cproj_test_data): New variable.
53613         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
53614         (csin_test_data): New variable.
53615         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
53616         (csinh_test_data): New variable.
53617         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
53618         (csqrt_test_data): New variable.
53619         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
53620         (ctan_test_data): New variable.
53621         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
53622         (ctan_tonearest_test_data): New variable.
53623         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53624         (ctan_towardzero_test_data): New variable.
53625         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53626         (ctan_downward_test_data): New variable.
53627         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53628         (ctan_upward_test_data): New variable.
53629         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53630         (ctanh_test_data): New variable.
53631         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
53632         (ctanh_tonearest_test_data): New variable.
53633         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53634         (ctanh_towardzero_test_data): New variable.
53635         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53636         (ctanh_downward_test_data): New variable.
53637         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53638         (ctanh_upward_test_data): New variable.
53639         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53640         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
53641         of BUILD_COMPLEX.
53643         * math/libm-test.inc (struct test_ff_f_data): New type.
53644         (struct test_ff_f_data_nexttoward): Likewise.
53645         (RUN_TEST_LOOP_2_f): New macro.
53646         (RUN_TEST_LOOP_ff_f): Likewise.
53647         (atan2_test_data): New variable.
53648         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
53649         (copysign_test_data): New variable.
53650         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
53651         (fdim_test_data): New variable.
53652         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
53653         (fmax_test_data): New variable.
53654         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
53655         (fmin_test_data): New variable.
53656         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
53657         (fmod_test_data): New variable.
53658         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
53659         (hypot_test_data): New variable.
53660         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
53661         (nextafter_test_data): New variable.
53662         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
53663         (nexttoward_test_data): New variable.
53664         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
53665         (pow_test_data): New variable.
53666         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
53667         (pow_tonearest_test_data): New variable.
53668         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
53669         (pow_towardzero_test_data): New variable.
53670         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
53671         (pow_downward_test_data): New variable.
53672         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
53673         (pow_upward_test_data): New variable.
53674         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
53675         (remainder_test_data): New variable.
53676         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
53677         (scalb_test_data): New variable.
53678         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
53679         * sysdeps/i386/fpu/libm-test-ulps: Update.
53681 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
53683         * math/libm-test.inc (fma_test): Use max_value instead of local
53684         variable fltmax.
53685         (nextafter_test): Likewise.
53687         * math/libm-test.inc (acos_towardzero_test_data): New variable.
53688         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53689         (acos_downward_test_data): New variable.
53690         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53691         (acos_upward_test_data): New variable.
53692         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53693         (acosh_test_data): New variable.
53694         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
53695         (asin_test_data): New variable.
53696         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
53697         (asin_tonearest_test_data): New variable.
53698         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53699         (asin_towardzero_test_data): New variable.
53700         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53701         (asin_downward_test_data): New variable.
53702         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53703         (asin_upward_test_data): New variable.
53704         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53705         (asinh_test_data): New variable.
53706         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
53707         (atan_test_data): New variable.
53708         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
53709         (atanh_test_data): New variable.
53710         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
53711         (cbrt_test_data): New variable.
53712         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
53713         (ceil_test_data): New variable.
53714         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
53715         (cos_test_data): New variable.
53716         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
53717         (cos_tonearest_test_data): New variable.
53718         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53719         (cos_towardzero_test_data): New variable.
53720         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53721         (cos_downward_test_data): New variable.
53722         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53723         (cos_upward_test_data): New variable.
53724         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53725         (cosh_test_data): New variable.
53726         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
53727         (cosh_tonearest_test_data): New variable.
53728         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53729         (cosh_towardzero_test_data): New variable.
53730         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53731         (cosh_downward_test_data): New variable.
53732         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53733         (cosh_upward_test_data): New variable.
53734         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53735         (erf_test_data): New variable.
53736         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
53737         (erfc_test_data): New variable.
53738         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
53739         (exp_test_data): New variable.
53740         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
53741         (exp_tonearest_test_data): New variable.
53742         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53743         (exp_towardzero_test_data): New variable.
53744         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53745         (exp_downward_test_data): New variable.
53746         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53747         (exp_upward_test_data): New variable.
53748         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53749         (exp10_test_data): New variable.
53750         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
53751         (exp2_test_data): New variable.
53752         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
53753         (expm1_test_data): New variable.
53754         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
53755         (fabs_test_data): New variable.
53756         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
53757         (floor_test_data): New variable.
53758         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
53759         (j0_test_data): New variable.
53760         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
53761         (j1_test_data): New variable.
53762         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
53763         (log_test_data): New variable.
53764         (log_test): Run tests with RUN_TEST_LOOP_f_f.
53765         (log10_test_data): New variable.
53766         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
53767         (log1p_test_data): New variable.
53768         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
53769         (log2_test_data): New variable.
53770         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
53771         (logb_test_data): New variable.
53772         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
53773         (logb_downward_test_data): New variable.
53774         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53775         (nearbyint_test_data): New variable.
53776         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
53777         (rint_test_data): New variable.
53778         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
53779         (rint_tonearest_test_data): New variable.
53780         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53781         (rint_towardzero_test_data): New variable.
53782         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53783         (rint_downward_test_data): New variable.
53784         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53785         (rint_upward_test_data): New variable.
53786         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53787         (round_test_data): New variable.
53788         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53789         (sin_test_data): New variable.
53790         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53791         (sin_tonearest_test_data): New variable.
53792         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53793         (sin_towardzero_test_data): New variable.
53794         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53795         (sin_downward_test_data): New variable.
53796         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53797         (sin_upward_test_data): New variable.
53798         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53799         (sinh_test_data): New variable.
53800         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53801         (sinh_tonearest_test_data): New variable.
53802         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53803         (sinh_towardzero_test_data): New variable.
53804         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53805         (sinh_downward_test_data): New variable.
53806         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53807         (sinh_upward_test_data): New variable.
53808         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53809         (sqrt_test_data): New variable.
53810         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53811         (tan_test_data): New variable.
53812         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53813         (tan_tonearest_test_data): New variable.
53814         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53815         (tan_towardzero_test_data): New variable.
53816         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53817         (tan_downward_test_data): New variable.
53818         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53819         (tan_upward_test_data): New variable.
53820         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53821         (tanh_test_data): New variable.
53822         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53823         (tgamma_test_data): New variable.
53824         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53825         (trunc_test_data): New variable.
53826         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53827         (y0_test_data): New variable.
53828         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53829         (y1_test_data): New variable.
53830         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53831         (significand_test_data): New variable.
53832         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53834 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53836         [BZ #12387]
53837         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53839 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53841         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53843 2013-05-10  Andreas Jaeger  <aj@suse.de>
53845         [BZ #15448]
53846         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53847         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53849 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53851         * math/gen-libm-test.pl (adjust_arg): New function.
53852         (special_functions): Handle generating output in both functions
53853         and arrays.
53854         (parse_args): Likewise.
53855         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53856         $in_func argument to parse_args.
53857         * math/libm-test.inc (struct test_f_f_data): New type.
53858         (IF_ROUND_INIT_): New macro.
53859         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53860         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53861         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53862         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53863         (ROUND_RESTORE_): Likewise.
53864         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53865         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53866         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53867         (ROUND_RESTORE_FE_UPWARD): Likewise.
53868         (RUN_TEST_LOOP_f_f): New macro.
53869         (acos_test_data): New variable.
53870         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53871         (acos_tonearest_test_data): New variable.
53872         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53874 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53876         * benchtests/bench-skeleton.c (startup): Fix coding style.
53878 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53880         [BZ #6809]
53881         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53882         negative infinity argument.
53883         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53884         negative infinity argument.
53885         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53886         negative infinity argument.
53887         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53888         domain errors.
53890 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53892         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53893         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53894         * iconv/iconv_prog.c (main): Likewise.
53895         * locale/programs/charmap-dir.c (charmap_readdir)
53896         (fopen_uncompressed): Likewise.
53897         * locale/programs/locfile.c (siblings_uncached)
53898         (write_locale_data): Use lstat64 instead of lstat.
53899         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53900         stat.
53902 2013-05-10  Andreas Jaeger  <aj@suse.de>
53904         [BZ #15395]
53905         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53906         localization.
53907         Include <locale.h>.
53909 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53911         * elf/dl-close.c (_dl_close_worker): Add comments.
53913 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53915         [BZ #15359]
53916         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53917         high part of pi/2.
53918         (__ieee754_rem_pio2l): Update comments.
53920         [BZ #15429]
53921         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53922         high part of pi/2.
53923         (__ieee754_rem_pio2l): Update comments.
53925         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53926         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53928         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53929         M_PI_4l.
53931         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53932         (M_PI_34_LOG10El): Likewise.
53933         (M_PI2_LOG10El): Likewise.
53934         (M_PI4_LOG10El): Likewise.
53935         (M_PI_LOG10El): Likewise.
53937 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53941 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53943         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53944         (MINUS_ZERO_INIT): Likewise.
53945         (PLUS_INFTY_INIT): Likewise.
53946         (MINUS_INFTY_INIT): Likewise.
53947         (QNAN_VALUE_INIT): Likewise.
53948         (MAX_VALUE_INIT): Likewise.
53949         (MIN_VALUE_INIT): Likewise.
53950         (MIN_SUBNORM_VALUE_INIT): Likewise.
53951         (plus_zero): Initialize with PLUS_ZERO_INIT.
53952         (minus_zero): Initialize with MINUS_ZERO_INIT.
53953         (plus_infty): Initialize with PLUS_INFTY_INIT.
53954         (minus_infty): Initialize with MINUS_INFTY_INIT.
53955         (qnan_value): Initialize with QNAN_VALUE_INIT.
53956         (max_value): Initialize with MAX_VALUE_INIT.
53957         (min_value): Initialize with MIN_VALUE_INIT.
53958         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53960         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53961         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53962         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53963         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53965         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53966         (RUN_TEST_2_f): Likewise.
53967         (RUN_TEST_ff_f): Likewise.
53968         (RUN_TEST_fi_f): Likewise.
53969         (RUN_TEST_fl_f): Likewise.
53970         (RUN_TEST_fff_f): Likewise.
53971         (RUN_TEST_c_f): Likewise.
53972         (RUN_TEST_f_f1): Likewise.
53973         (RUN_TEST_fF_f1): Likewise.
53974         (RUN_TEST_fI_f1): Likewise.
53975         (RUN_TEST_ffI_f1): Likewise.
53976         (RUN_TEST_c_c): Likewise.
53977         (RUN_TEST_cc_c): Likewise.
53978         (RUN_TEST_f_i): Likewise.
53979         (RUN_TEST_f_i_tg): Likewise.
53980         (RUN_TEST_ff_i_tg): Likewise.
53981         (RUN_TEST_f_b): Likewise.
53982         (RUN_TEST_f_b_tg): Likewise.
53983         (RUN_TEST_f_l): Likewise.
53984         (RUN_TEST_f_L): Likewise.
53985         (RUN_TEST_sincos): Likewise.
53986         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53987         whether to show exceptions.  Do not include ");\n" in return
53988         value.
53989         (special_functions): Output call to RUN_TEST_sincos instead of
53990         check_float calls.  Update calls to new_test.
53991         (parse_args): Output call to single RUN_TEST_* macro instead of
53992         check_* calls and other assignments.  Update calls to new_test.
53994         [BZ #2546]
53995         [BZ #2560]
53996         [BZ #5159]
53997         [BZ #15426]
53998         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
53999         input to result for tgamma overflow.
54000         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54001         (gamma_coeff): New variable.
54002         (NCOEFF): New macro.
54003         (gamma_positive): New function.
54004         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54005         underflow here.  Use gamma_positive instead of exp (lgamma) for
54006         other arguments.
54007         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54008         (gamma_coeff): New variable.
54009         (NCOEFF): New macro.
54010         (gammaf_positive): New function.
54011         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54012         underflow here.  Use gamma_positive instead of exp (lgamma) for
54013         other arguments.
54014         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54015         (gamma_coeff): New variable.
54016         (NCOEFF): New macro.
54017         (gammal_positive): New function.
54018         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54019         underflow here.  Use gamma_positive instead of exp (lgamma) for
54020         other arguments.
54021         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54022         (gamma_coeff): New variable.
54023         (NCOEFF): New macro.
54024         (gammal_positive): New function.
54025         (__ieee754_gammal_r): Handle positive infinity, overflow and
54026         underflow here.  Handle NaN the same as positive infinity.  Remove
54027         check x < 0xffffffff for negative integers.  Use gamma_positive
54028         instead of exp (lgamma) for other arguments.
54029         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54030         (gamma_coeff): New variable.
54031         (NCOEFF): New macro.
54032         (gammal_positive): New function.
54033         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54034         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54035         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54036         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54037         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54038         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54039         * sysdeps/generic/math_private.h (__gamma_productf): New
54040         prototype.
54041         (__gamma_product): Likewise.
54042         (__gamma_productl): Likewise.
54043         * math/Makefile (libm-calls): Add gamma_product.
54044         * math/libm-test.inc (tgamma_test): Add more tests.
54045         * sysdeps/i386/fpu/libm-test-ulps: Update.
54046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54048 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54050         * benchtests/bench-skeleton.c (main): Preheat CPU.
54052 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54054         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54056 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54058         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54059         and _dl_skip_args_internal.
54061 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54063         * manual/message.texi (Message Translation): Talk about users.
54064         Message to key mapping impacts design.
54066 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54068         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54070         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54072         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54073         * sysdeps/wordsize-64/glob64.c: ... here.
54075         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54076         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54077         New macros.
54079         * debug/getlogin_r_chk.c: Moved to ...
54080         * login/getlogin_r_chk.c: ... here.
54081         * debug/Makefile (routines): Move getlogin_r_chk to ...
54082         * login/Makefile (routines): ... here.
54083         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54084         * login/Versions (libc: GLIBC_2.4): ... here.
54086         * io/poll.c (__poll): Renamed from poll.
54087         Add libc_hidden_def.
54088         (poll): Define as weak alias.
54090         * debug/ptsname_r_chk.c: Moved to ...
54091         * login/ptsname_r_chk.c: ... here.
54092         * debug/Makefile (routines): Move ptsname_r_chk to ...
54093         * login/Makefile (routines): ... here.
54094         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54095         * login/Versions (libc: GLIBC_2.4): ... here.
54097         * posix/getlogin.c: Moved to ...
54098         * login/getlogin.c: ... here.
54099         * posix/getlogin_r.c: Moved to ...
54100         * login/getlogin_r.c: ... here.
54101         * posix/getlogin_r.c: Moved to ...
54102         * login/getlogin_r.c: ... here.
54103         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54104         * login/Makefile (routines): ... here.
54105         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54106         * login/Versions (libc: GLIBC_2.0): ... here.
54108         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54109         (setrlimit): Define as weak alias.
54111         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54112         Call __ names for open, ftruncate, and close.
54113         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54114         (truncate): Define as weak alias.
54116 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54118         * math/gen-libm-test.pl (parse_args): Initialize x before each
54119         test of frexp, modf and remquo.
54121         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54122         test signgam value.
54124 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54126         [BZ #15418]
54127         [BZ #15419]
54128         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54129         internal tests.
54130         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54132 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54134         * elf/dl-writev.h: New file.
54135         * elf/dl-misc.c: Include it.
54136         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54137         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
54139 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
54141         * math/libm-test.inc (noXFails): Remove variable.
54142         (noXPasses): Likewise.
54143         (BUILD_COMPLEX_INT): Remove macro.
54144         (print_screen): Remove xfail argument.
54145         (print_screen_max_error): Likewise.
54146         (update_stats): Likewise.
54147         (print_max_error): Likewise.  Update calls to other affected
54148         functions.
54149         (print_complex_max_error): Likewise.
54150         (test_single_exception): Update calls to print_screen.
54151         (test_single_errno): Likewise.
54152         (check_float_internal): Remove xfail argument.  Update calls to
54153         other affected functions.
54154         (check_float): Likewise.
54155         (check_complex): Likewise.
54156         (check_int): Likewise.
54157         (check_long): Likewise.
54158         (check_bool): Likewise.
54159         (check_longlong): Likewise.
54160         (main): Don't print noXFails and noXPasses.
54161         * math/gen-libm-test.pl (top level): Don't mention expected
54162         failure handling in comment.
54163         (new_test): Don't handle expected failures.
54164         (parse_args): Don't mention expected failure handling in comment.
54165         (generate_testfile): Don't handle expected failures.
54166         (parse_ulps): Likewise.
54167         (print_ulps_file): Likewise.
54168         (get_failure): Remove function.
54169         (output_test): Don't handle expected failures.
54170         * make/README.libm-test: Don't mention expected failure handling.
54172         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
54173         (minus_zero): Likewise.
54174         (plus_infty): Likewise.
54175         (minus_infty): Likewise.
54176         (qnan_value): Likewise.
54177         (max_value): Likewise.
54178         (min_value): Likewise.
54179         (min_subnorm_value): Likewise.
54180         (initialize): Do not initialize those variables dynamically.
54182 2013-05-03  Roland McGrath  <roland@hack.frob.com>
54184         * io/open.c (__open_2): Moved to ...
54185         * io/open_2.c: ... this new file.
54186         * io/open64.c (__open64_2): Moved to ...
54187         * io/open64_2.c: ... this new file.
54188         * io/openat.c (__openat_2): Moved to ...
54189         * io/openat_2.c: ... this new file.
54190         * io/openat64.c (__openat64_2): Moved to ...
54191         * io/openat64_2.c: ... this new file.
54192         * io/Makefile (routines): Add them.
54193         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
54194         * sysdeps/unix/sysv/linux/open_2.c: File removed.
54195         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
54196         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
54197         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
54198         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
54199         (__openat64): Add hidden_ver.
54200         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
54201         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
54203         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
54204         Separately conditionalize setting of GLRO(dl_sysinfo) so
54205         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
54206         as well, but the actual setting is only under [NEED_DL_SYSINFO].
54208 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54210         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
54211         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
54212         definition.
54213         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
54214         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54215         (_libc_vdso_platform_setup): Add __vdso_time initialization.
54216         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
54217         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
54219 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
54221         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
54222         test signgam value.
54224         * math/libm-test.inc (hypot_test): Do not use
54225         IGNORE_ZERO_INF_SIGN.
54227 2013-05-03  Andreas Jaeger  <aj@suse.de>
54229         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
54230         Linux 3.9.
54231         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
54232         (PF_MAX): Adjust for VSOCK change.
54234 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54238 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
54240         [BZ #15264]
54241         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
54242         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
54243         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
54245 2013-05-02  David S. Miller  <davem@davemloft.net>
54247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54249 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
54251         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
54253 2013-05-01  Roland McGrath  <roland@hack.frob.com>
54255         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
54257 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
54259         [BZ #14952]
54260         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54261         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54262         Use __attribute__ ((__gnu_inline__)).
54263         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54264         Don't use __attribute__ ((__gnu_inline__)).
54266 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
54268         [BZ #15423]
54269         * math/s_catan.c (__catan): Handle small real or imaginary part of
54270         input specially to avoid spurious underflow.
54271         * math/s_catanf.c (__catanf): Likewise.
54272         * math/s_catanh.c (__catanh): Likewise.
54273         * math/s_catanhf.c (__catanhf): Likewise.
54274         * math/s_catanhl.c (__catanhl): Likewise.
54275         * math/s_catanl.c (__catanl): Likewise.
54276         * math/libm-test.inc (catan_test): Add more tests.
54277         (catanh_test): Likewise.
54278         * sysdeps/i386/fpu/libm-test-ulps: Update.
54279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54281 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54285 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
54287         [BZ #15416]
54288         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
54289         accurately for denominator in atan2.
54290         * math/s_catanf.c (__catanf): Likewise.
54291         * math/s_catanh.c (__catanh): Likewise.
54292         * math/s_catanhf.c (__catanhf): Likewise.
54293         * math/s_catanhl.c (__catanhl): Likewise.
54294         * math/s_catanl.c (__catanl): Likewise.
54295         * math/libm-test.inc (catan_test): Add more tests.
54296         (catanh_test): Likewise.
54297         * sysdeps/i386/fpu/libm-test-ulps: Update.
54298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54300 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54302         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
54304         * benchtests/Makefile (bench): Remove slow benchmarks.
54305         * benchtests/atan-inputs: Add slow benchmark inputs.
54306         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
54307         (BENCH_FUNC): Accept variant offset.
54308         (VARIANT): Define.
54309         * benchtests/bench-skeleton.c (main): Run benchmark for each
54310         variant.
54311         * benchtests/cos-inputs: Add slow benchmark inputs.
54312         * benchtests/exp-inputs: Likewise.
54313         * benchtests/pow-inputs: Likewise.
54314         * benchtests/sin-inputs: Likewise.
54315         * benchtests/slowatan-inputs: Remove.
54316         * benchtests/slowatan.c: Remove.
54317         * benchtests/slowcos-inputs: Remove.
54318         * benchtests/slowcos.c: Remove.
54319         * benchtests/slowexp-inputs: Remove.
54320         * benchtests/slowexp.c: Remove.
54321         * benchtests/slowpow-inputs: Remove.
54322         * benchtests/slowpow.c: Remove.
54323         * benchtests/slowsin-inputs: Remove.
54324         * benchtests/slowsin.c: Remove.
54325         * benchtests/slowtan-inputs: Remove.
54326         * benchtests/slowtan.c: Remove.
54327         * benchtests/tan-inputs: Add slow benchmark inputs.
54328         * scripts/bench.pl: Parse comments and directives.
54330         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54331         in CPPFLAGS.
54332         ($(objpfx)bench-%.c): Remove *-ITER.
54333         * benchtests/bench-modf.c: Remove definition of ITER.
54334         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54335         (main): Loop for DURATION seconds instead of fixed number of
54336         iterations.
54337         * scripts/bench.pl: Don't expect iterations in parameters.
54339 2013-04-29  Roland McGrath  <roland@hack.frob.com>
54341         * io/fchdir.c (__fchdir): Renamed from fchdir.
54342         (fchdir): Define as weak alias.
54344 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54346         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54347         (ERRNO_EDOM): Likewise.
54348         (ERRNO_ERANGE): Likewise.
54349         (noErrnoTests): New variable.
54350         (init_max_error): Set errno to 0.
54351         (test_single_errno): New function.
54352         (test_errno): Likewise.
54353         (check_float_internal): Call test_errno.  Set errno to 0.
54354         (check_complex): Refer to errno tests in comment.
54355         (check_int): Call test_errno.  Set errno to 0.
54356         (check_long): Likewise.
54357         (check_bool): Likewise.
54358         (check_longlong): Likewise.
54359         (cos_test): Use ERRNO_* flags for errno tests instead of
54360         check_int.
54361         (expm1_test): Likewise.
54362         (fmod_test): Likewise.
54363         (ilogb_test): Likewise.
54364         (lgamma_test): Likewise.
54365         (pow_test): Likewise.
54366         (remainder_test): Likewise.
54367         (sin_test): Likewise.
54368         (tan_test): Likewise.
54369         (yn_test): Likewise.
54370         (initialize): Set errno to 0.
54371         (main): Print number of errno tests.
54372         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54374 2013-04-29  Andreas Jaeger  <aj@suse.de>
54376         [BZ #15084]
54377         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54378         and RES_USEVC.
54380         [BZ #15085]
54381         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54382         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54383         unimplemented.
54385         [BZ #15380]
54386         * stdlib/random.c (__initstate): Return NULL if
54387         __initstate fails.
54389         [BZ #15086]
54390         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54391         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54392         RES_SNGLKUPREOP.
54394 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54398 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54400         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54401         of individual tests.
54402         (casin_test): Likewise.
54403         (casinh_test): Likewise.
54405 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
54407         [BZ #15409]
54408         * math/s_catan.c (__catan): Handle arguments with large real or
54409         imaginary part separately without squaring.
54410         * math/s_catanf.c (__catanf): Likewise.
54411         * math/s_catanh.c (__catanh): Likewise.
54412         * math/s_catanhf.c (__catanhf): Likewise.
54413         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54414         and redefine.
54415         (__catanhl): Handle arguments with large real or imaginary part
54416         separately without squaring.
54417         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54418         and redefine.
54419         (__catanl): Handle arguments with large real or imaginary part
54420         separately without squaring.
54421         * math/libm-test.inc (catan_test): Add more tests.
54422         (catanh_test): Likewise.
54423         * sysdeps/i386/fpu/libm-test-ulps: Update.
54424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54426 2013-04-27  Andreas Jaeger  <aj@suse.de>
54428         [BZ #15007]
54429         * stdlib/stdlib.h: Update guards for qecvt.
54430         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
54431         <stdlib.h>.
54433 2013-04-27  Allan McRae  <allan@archlinux.org>
54435         * sysdeps/i386/fpu/libm-test-ulps: Update.
54437 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
54439         [BZ #15406]
54440         * math/s_catan.c: Include <float.h>.
54441         (__catan): Ensure underflow exception occurs for underflowed
54442         result.
54443         * math/s_catanf.c: Include <float.h>.
54444         (__catanf): Ensure underflow exception occurs for underflowed
54445         result.
54446         * math/s_catanh.c: Include <float.h>.
54447         (__catanh): Ensure underflow exception occurs for underflowed
54448         result.
54449         * math/s_catanhf.c: Include <float.h>.
54450         (__catanhf): Ensure underflow exception occurs for underflowed
54451         result.
54452         * math/s_catanhl.c: Include <float.h>.
54453         (__catanhl): Ensure underflow exception occurs for underflowed
54454         result.
54455         * math/s_catanl.c: Include <float.h>.
54456         (__catanl): Ensure underflow exception occurs for underflowed
54457         result.
54458         * math/libm-test.inc (catan_test): Add more tests.
54459         (catanh_test): Likewise.
54461         [BZ #15405]
54462         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
54463         underflowed result.
54464         * math/s_ccoshf.c (__ccoshf): Likewise.
54465         * math/s_ccoshl.c (__ccoshl): Likewise.
54466         * math/s_csin.c (__csin): Likewise.
54467         * math/s_csinf.c (__csinf): Likewise.
54468         * math/s_csinh.c (__csinh): Likewise.
54469         * math/s_csinhf.c (__csinhf): Likewise.
54470         * math/s_csinhl.c (__csinhl): Likewise.
54471         * math/s_csinl.c (__csinl): Likewise.
54472         * math/libm-test.inc (ccos_test): Add more tests.
54473         (ccosh_test): Likewise.
54474         (csin_test): Likewise.
54475         (csinh_test): Likewise.
54477 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54479         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
54480         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
54481         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54482         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
54483         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
54484         powerpc/power5+/fpu folders.
54485         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
54488 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54492 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
54494         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
54495         additions to variable.
54496         [$(config-machine) = x86_64] (modules-names): Likewise.
54497         ($(objpfx)tst-audit3): Remove dependency.
54498         ($(objpfx)tst-audit3.out): Likewise.
54499         ($(objpfx)tst-audit4): Likewise.
54500         ($(objpfx)tst-audit4.out): Likewise.
54501         ($(objpfx)tst-audit5): Likewise.
54502         ($(objpfx)tst-audit5.out): Likewise.
54503         ($(objpfx)tst-audit6): Likewise.
54504         ($(objpfx)tst-audit6.out): Likewise.
54505         ($(objpfx)tst-audit7): Likewise.
54506         ($(objpfx)tst-audit7.out): Likewise.
54507         (tst-audit3-ENV): Remove variable.
54508         (tst-audit4-ENV): Likewise.
54509         (tst-audit5-ENV): Likewise.
54510         (tst-audit6-ENV): Likewise.
54511         (tst-audit7-ENV): Likewise.
54512         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
54513         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
54514         addition to variable.
54515         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
54516         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
54517         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
54518         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
54519         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
54520         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
54521         tst-audit3, tst-audit4 and tst-audit5.
54522         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
54523         tst-audit6 and tst-audit7.
54524         [$(subdir) = elf] (modules-names): Add audit modules for those
54525         tests.
54526         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
54527         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
54528         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
54529         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
54530         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
54531         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
54532         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
54533         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
54534         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
54535         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
54536         [$(subdir) = elf] (tst-audit3-ENV): New variable.
54537         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
54538         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
54539         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
54540         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
54541         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
54542         Likewise.
54543         [$(subdir) = elf && $(config-cflags-avx) = yes]
54544         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
54545         [$(subdir) = elf && $(config-cflags-avx) = yes]
54546         (CFLAGS-tst-auditmod4a.c): Likewise.
54547         [$(subdir) = elf && $(config-cflags-avx) = yes]
54548         (CFLAGS-tst-auditmod4b.c): Likewise.
54549         [$(subdir) = elf && $(config-cflags-avx) = yes]
54550         (CFLAGS-tst-auditmod6b.c): Likewise.
54551         [$(subdir) = elf && $(config-cflags-avx) = yes]
54552         (CFLAGS-tst-auditmod6c.c): Likewise.
54553         [$(subdir) = elf && $(config-cflags-avx) = yes]
54554         (CFLAGS-tst-auditmod7b.c): Likewise.
54555         * elf/tst-audit3.c: Move to ...
54556         * sysdeps/x86_64/tst-audit3.c: ... here.
54557         * elf/tst-audit4.c: Move to ...
54558         * sysdeps/x86_64/tst-audit4.c: ... here.
54559         * elf/tst-audit5.c: Move to ...
54560         * sysdeps/x86_64/tst-audit5.c: ... here.
54561         * elf/tst-audit6.c: Move to ...
54562         * sysdeps/x86_64/tst-audit6.c: ... here.
54563         * elf/tst-audit7.c: Move to ...
54564         * sysdeps/x86_64/tst-audit7.c: ... here.
54565         * elf/tst-auditmod3a.c: Move to ...
54566         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
54567         * elf/tst-auditmod3b.c: Move to ...
54568         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
54569         * elf/tst-auditmod4a.c: Move to ...
54570         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
54571         * elf/tst-auditmod4b.c: Move to ...
54572         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
54573         * elf/tst-auditmod5a.c: Move to ...
54574         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
54575         * elf/tst-auditmod5b.c: Move to ...
54576         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
54577         * elf/tst-auditmod6a.c: Move to ...
54578         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
54579         * elf/tst-auditmod6b.c: Move to ...
54580         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
54581         * elf/tst-auditmod6c.c: Move to ...
54582         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
54583         * elf/tst-auditmod7a.c: Move to ...
54584         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
54585         * elf/tst-auditmod7b.c: Move to ...
54586         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
54588 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
54590         [BZ #15366]
54591         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
54592         define unconditionally.
54593         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
54594         define unconditionally.
54595         (INT8_C, INT16_C, etc.): Likewise.
54597 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
54599         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
54600         __ehdr_start with hidden visibility.
54602         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
54604 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
54606         * math/libm-test.inc (cos_test): Use accurate hex constants.
54607         (sincost_test): Likewise.
54609 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
54611         * math/libm-test.inc (catan_test): Add more tests.
54612         (catanh_test): Likewise.
54614         * math/s_catanf.c (__catanf): Use suffixed floating-point
54615         constants.
54616         * math/s_catanhf.c (__catanhf): Likewise.
54617         * math/s_catanhl.c (__catanhl): Likewise.
54618         * math/s_catanl.c (__catanl): Likewise.
54620         [BZ #15394]
54621         * math/s_catan.c (__catan): Calculate imaginary part of result
54622         with log1p not log unless computing log of number close to 0.
54623         * math/s_catanf.c (__catanf): Likewise.
54624         * math/s_catanl.c (__catanl): Likewise.
54625         * math/s_catanh.c (__catanh): Calculate real part of result with
54626         log1p not log unless computing log of number close to 0.
54627         * math/s_catanhf.c (__catanhf): Likewise.
54628         * math/s_catanhl.c (__catanhl): Likewise.
54629         * math/libm-test.inc (catan_test): Add more tests.
54630         (catanh_test): Likewise.
54631         * sysdeps/i386/fpu/libm-test-ulps: Update.
54632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54634 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54636         * benchtests/Makefile: Mention files in which fast and slow
54637         paths of math functions are implemented.
54639 2013-04-23  Roland McGrath  <roland@hack.frob.com>
54641         * sysdeps/posix/timespec_get.c: New file.
54643 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54645         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
54646         POWER.
54647         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
54648         for POWER.
54649         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
54650         powerpc/power5/fpu folders.
54651         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
54652         * benchtests/Makefile: Add modf testcase.
54653         * benchtests/bench-modf.c: New file: Benchmark test for mo
54655 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54657         [BZ #14888]
54658         * time/Makefile (tests): Add tst-strptime-whitespace.
54659         * time/strptime_l.c (get_number): Use ISSPACE.
54660         (__strptime_internal): Likewise.
54661         * time/tst-strptime-whitespace.c: New test case.
54663 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
54665         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
54666         member.
54667         (_nss_files_init): Set it here.
54669 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
54671         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
54672         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
54673         unsigned.
54675 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
54677         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
54679 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
54682         size just once.
54684 2013-04-21  David S. Miller  <davem@davemloft.net>
54686         * po/ru.po: Update Russion translation from translation project.
54688 2013-04-17  Adam Conrad  <adconrad@0c3.net>
54690         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
54691         and setfsgid.
54693 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
54695         * configure.in: Remove i386 configure warning. Remove i386 case.
54696         * configure: Regenerate.
54697         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
54698         Add example to error message.
54699         * sysdeps/i386/configure: Regenerate.
54701 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54703         * benchtests/Makefile (bench): Add cos, tan, slowcos and
54704         slowtan.
54705         * benchtests/cos-inputs: New file.
54706         * benchtests/slowcos-inputs: New file.
54707         * benchtests/slowcos.c: New file.
54708         * benchtests/slowtan-inputs: New file.
54709         * benchtests/slowtan.c: New file.
54710         * benchtests/tan-inputs: New file.
54712 2013-04-16  Roland McGrath  <roland@hack.frob.com>
54714         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
54715         considered kosher.
54717 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54719         * benchtests/Makefile: Include cppflags-iterator.mk to add
54720         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
54722         * Makefile.in (bench-clean): New target.
54723         * benchtests/Makefile (bench-clean): Likewise.
54725 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
54727         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
54729 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
54731         * stdio-common/tstdiomisc.c: Fix coding-style violation.
54733 2013-04-15  Andreas Schwab  <schwab@suse.de>
54735         * nscd/grpcache.c (cache_addgr): Properly check for short write.
54736         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54737         * nscd/pwdcache.c (cache_addpw): Likewise.
54738         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
54739         more than recsize.
54741 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54743         * benchtests/Makefile (bench): Write all output to
54744         bench-out.tmp together.
54746 2013-04-15  Andreas Schwab  <schwab@suse.de>
54748         * nscd/nscd.c (main): Don't fork again after closing files.
54750 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54752         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
54754         * benchtests/Rules (bench-deps): Collect dependencies into a
54755         single variable.  Add Makefile to dependencies.
54756         ($(objpfx)bench-%.c): Depend on bench-deps.
54758 2013-04-12  Roland McGrath  <roland@hack.frob.com>
54759             Xavier Roche  <roche+kml2@exalead.com>
54761         [BZ #15361]
54762         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
54763         just that it's a file descriptor.
54764         * manual/llio.texi (Synchronizing AIO Operations): Update description
54765         for EBADF error from aio_fsync.
54767 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54769         * Rules (bench): Move target definition...
54770         * benchtests/Makefile: ... here.
54772 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
54774         * math/libm-test.inc (cos_test): Fix PI/2 test.
54775         (sincos_test): Likewise.
54776         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54777         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54779 2013-04-11  Andreas Schwab  <schwab@suse.de>
54781         [BZ #13988]
54782         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54783         accept exponent character only when digits were seen.
54784         * stdio-common/Makefile (tests): Add bug26.
54785         * stdio-common/bug26.c: New file.
54787         [BZ #14293]
54788         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54789         non-freeable.
54791 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54793         * Makeconfig (rtld-prefix): Define built linker prefix.
54794         * Rules (run-bench): Use it.
54795         * math/Makefile (run-regen-ulps): Likewise.
54797         * Rules (bench): Remove eval.
54799 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54800             Roland McGrath  <roland@hack.frob.com>
54801             Ondrej Bilka  <neleai@seznam.cz>
54803         [BZ #15346]
54804         * time/getdate.c: Include ctype.h and alloca.h.
54805         (__getdate_r): Trim leading and trailing spaces of input.
54806         * time/tst-getdate.c (tests): Add tests with leading and
54807         trailing spaces.
54809 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54811         [BZ #14280]
54812         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54813         when computing value.
54815 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54817         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54818         Use testrun.sh to run libm tests.
54820         [BZ #15309]
54821         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54823 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54825         [BZ #15264]
54826         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54828 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54830         * Makefile.in (regen-ulps): New target.
54831         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54832         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54833         [ifneq (no,$(PERL)] (regen-ulps): New target.
54834         [ifeq (no,$(PERL)] (regen-ulps): New target.
54835         * math/libm-test.inc (ulps_file_name): Define.
54836         (output_dir): New variable.
54837         (options): Add "output-dir" option.
54838         (parse_opt): Handle 'o' case.
54839         (main): If output_dir is non-NULL use it as a prefix
54840         otherwise use "".
54841         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54843 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54845         [BZ #10060, #10062]
54846         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54847         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54848         fail configure if __sync_val_compare_and_swap is not inlined.
54849         * sysdeps/i386/configure: Regenerate.
54850         * configure.in: Build for i686 when configured for i386.
54851         * configure: Regenerate.
54852         * README: Remove i386 reference.
54854 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54856         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54857         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54859 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54861         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54862         (lmsnanval): New variables.
54863         (F): Add conversion tests.
54864         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54865         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54867         * stdio-common/tstdiomisc.c (F): Properly collect individual
54868         tests' results.
54870         [BZ #14686, #15336]
54871         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54872         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54873         Instead, use input NaN values or generate a qNaN by arithmetic
54874         operation.  Also fix bugs to comply with the standard.
54875         * math/libm-test.inc (remainder_test): Add more tests.
54877         [BZ #15335, #15342]
54878         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54879         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54880         input NaN values or generate a qNaN by arithmetic operation.
54882         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54883         unreachable code.
54885         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54886         definitions.
54888 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54890         [BZ #14478]
54891         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54892         underflowed result.
54893         * math/s_cexpf.c (__cexpf): Likewise.
54894         * math/s_cexpl.c (__cexpl): Likewise.
54895         * math/libm-test.inc (cexp_test): Add more tests.
54897 2013-04-03  Andreas Schwab  <schwab@suse.de>
54899         [BZ #15330]
54900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54901         order arrays from heap if bigger than alloca cutoff.
54903 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54905         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54906         (SNAN_TESTS_double): Refer to GCC PR56831.
54907         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54908         GCC PR56828.
54910 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54912         * Rules (bench): Move bench.out after the run is complete.
54914         * Rules (bench): Echo currently running benchmark.
54916         * benchtests/Makefile (bench): Add atan and slowatan.
54917         * benchtests/atan-inputs: New file.
54918         * benchtests/slowatan-inputs: New file.
54919         * benchtests/slowatan.c: New file.
54921         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54922         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54923         its value.
54925         [BZ #15305]
54926         * sysdeps/unix/sysv/linux/kernel-features.h
54927         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54928         __ASSUME_XFS_RESTRICTED_CHOWN.
54929         * sysdeps/unix/sysv/linux/pathconf.c
54930         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54931         Save and restore errno.
54933 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54935         [BZ #15327]
54936         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54937         arguments using __kernel_casinh.
54938         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54939         arguments using __kernel_casinhf.
54940         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54941         arguments using __kernel_casinhl.
54942         * math/libm-test.inc (cacosh_test): Add more tests.
54943         * sysdeps/i386/fpu/libm-test-ulps: Update.
54944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54946 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54948         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54949         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54951         * bench/Makefile (bench): Add sin and slowsin.
54952         * benchtests/sin-inputs: New file.
54953         * benchtests/slowsin-inputs: New file.
54954         * benchtests/slowsin.c: New file.
54956         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54957         (bench): Add slowexp and slowpow.
54958         (exp-ITER): Increase iterations.
54959         (pow-ITER): Likewise.
54960         * benchtests/exp-inputs: Change input.
54961         * benchtests/pow-inputs: Likewise.
54962         * benchtests/slowexp-inputs: New file.
54963         * benchtests/slowexp.c: New file.
54964         * benchtests/slowpow-inputs: New file.
54965         * benchtests/slowpow.c: New file.
54967 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54969         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54970         instructions.
54971         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54972         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54973         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54974         * benchtests/Makefile: Add rint benchtest.
54975         * benchtests/rint-inputs: Input for rint benchtest.
54977 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54979         * Versions.def (libm): Add GLIBC_2.18.
54980         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54981         hidden libm prototypes.
54982         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54983         * math/Makefile (libm-calls): Add s_issignaling.
54984         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54985         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54986         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54987         declaration.
54988         * math/math.h [__USE_GNU] (issignaling): New macro.
54989         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54990         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54991         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54992         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54993         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54994         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
54995         * manual/arith.texi (issignaling): New section.
54996         * manual/libm-err-tab.pl (@all_functions): Update comment.
54997         * math/gen-libm-test.pl (parse_args): Apply special handling for
54998         issignaling.
54999         * math/libm-test.inc (print_float, issignaling_test): New
55000         functions.
55001         (check_float_internal): Add issignaling checks.
55002         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55003         default definition.
55004         * sysdeps/powerpc/math-tests.h: New file.
55005         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55006         tests.
55007         * math/test-snan.c (TEST_FUNC): Likewise.
55009 2013-03-30  David S. Miller  <davem@davemloft.net>
55011         * po/de.po: Update from translation team.
55013 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55015         [BZ #10357]
55016         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55017         imaginary part less than 1.0 and real part less than 0.5
55018         specially.
55019         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55020         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55021         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55022         (cacos_test): Add more tests.
55023         (casin_test): Likewise.
55024         (casinh_test): Likewise.
55025         * sysdeps/i386/fpu/libm-test-ulps: Update.
55026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55028 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55030         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55031         ONE with its value.
55033         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55034         (__pow_mp): Replace ONE and MONE with their values.
55035         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55036         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55037         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55038         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55039         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55040         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55042         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55044         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55045         (__pow_mp): Replace ZERO and MZERO with their values.
55046         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55047         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55048         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55050         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55051         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55052         (__sqr): Likewise.
55054         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55056         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55058 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55060         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55061         Declare with __attribute__ ((weak)).
55062         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55063         Call __call_tls_dtors only if it's not NULL.
55065 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55067         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55068         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55069         magic __ehdr_start linker symbol if it's defined.
55070         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55071         them up here if it was already done.
55073         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55074         (_dl_aux_init): Use const in cast when setting it.
55075         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55076         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55077         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55079         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55080         Declare them here.
55081         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55082         * csu/libc-tls.c: Nor here.
55083         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55085         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55086         (__libc_message): Never call vsyslog.
55088 2013-03-28  Alan Modra  <amodra@gmail.com>
55090         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55091         Define as empty.
55092         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55093         Likewise.
55095 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55097         [BZ #15214]
55098         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55099         underflow.
55100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55102 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55104         [BZ #15304]
55105         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55106         Don't add gid passed as argument.
55108         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55110 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55112         [BZ #15307]
55113         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55114         imaginary part between 1.0 and 1.5 and real part less than 0.5
55115         specially.
55116         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55117         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55118         * math/libm-test.inc (cacos_test): Add more tests.
55119         (casin_test): Likewise.
55120         (casinh_test): Likewise.
55121         * sysdeps/i386/fpu/libm-test-ulps: Update.
55122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55124 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55126         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55127         constants.
55128         (norm): Likewise.
55129         (denorm): Likewise.
55130         (__dbl_mp): Likewise.
55131         (add_magnitudes): Likewise.
55132         (sub_magnitudes): Likewise.
55133         (__add): Likewise.
55134         (__sub): Likewise.
55135         (__mul): Likewise.
55136         (__sqr): Likewise.
55137         (__inv): Likewise.
55138         (__dvd): Likewise.
55140         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
55141         commented code.
55142         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
55143         (__dubcos): Likewise.
55144         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
55145         (__ieee754_acos): Likewise.
55146         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55147         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
55148         (__exp1): Likewise.
55149         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55150         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55151         (log1): Likewise.
55152         (my_log2): Likewise.
55153         (checkint): Likewise.
55154         * sysdeps/ieee754/dbl-64/e_remainder.c
55155         (__ieee754_remainder): Likewise.
55156         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55157         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
55158         (bsloww): Likewise.
55159         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55161         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55162         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
55163         MANTISSA_STORE_T to store computations on mantissa.  Use
55164         macros for rounding and division.
55165         (denorm): Likewise.
55166         (__dbl_mp): Likewise.
55167         (add_magnitudes): Likewise.
55168         (sub_magnitudes): Likewise.
55169         (__mul): Likewise.
55170         (__sqr): Likewise.
55171         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55172         powers of two in terms of TWOPOW macro.
55173         (mp_no): Make type of mantissa as MANTISSA_T.
55174         [!RADIXI]: Define RADIXI.
55175         [!TWO52]: Define TWO52.
55176         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55178 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55180         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
55181         llroundl symbol when building for PPC32.
55183 2013-03-24  Mark H Weaver  <mhw@netris.org>
55185         * manual/arith.texi (Normalization Functions): Fix prototypes for
55186         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
55188 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55190         [BZ #13889]
55191         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55192         high value to check if expl overflow.
55193         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
55194         to check for underflow and overflow.
55195         * math/libm-test.inc: Add exp test.
55197 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
55199         [BZ #11120]
55200         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
55201         with NOT_IN_libc.
55203 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55205         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
55206         symbol.
55208 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55210         * math/gen-libm-test.pl (parse_args, special_functions): Properly
55211         wrap blocks consisting of several statements.
55213         * sysdeps/generic/math-tests.h: New file.
55214         * sysdeps/i386/fpu/math-tests.h: Likewise.
55215         * math/test-snan.c: Include it.
55216         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
55218 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55220         [BZ #15285]
55221         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
55222         (__ieee754_j0l): Do not improve calculations using cos of twice
55223         input for inputs above LDBL_MAX / 2.0L.
55224         (__ieee754_y0l): Likewise.
55225         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
55226         (__ieee754_j1l): Do not improve calculations using cos of twice
55227         input for inputs above LDBL_MAX / 2.0L.
55228         (__ieee754_y1l): Likewise.
55229         * math/libm-test.inc (j0_test): Add another test.
55230         (j1_test): Likewise.
55231         (y0_test): Likewise.
55232         (y1_test): Likewise.
55233         * sysdeps/i386/fpu/libm-test-ulps: Update.
55235 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55237         * Rules ($(objpfx)bench-%.c): Include code from a C source
55238         file.
55240 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55242         [BZ #15287]
55243         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55244         imaginary part 1.0 and real part less than 0.5 specially.
55245         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55246         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55247         * math/libm-test.inc (cacos_test): Add more tests.
55248         (casin_test): Likewise.
55249         (casinh_test): Likewise.
55250         * sysdeps/i386/fpu/libm-test-ulps: Update.
55251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55253 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55255         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
55256         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
55258 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
55260         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
55261         * config.make.in (config-cflags-sse4): Remove variable.
55262         (config-cflags-avx): Likewise.
55263         (config-cflags-sse2avx): Likewise.
55264         (config-cflags-novzeroupper): Likewise.
55265         (config-asflags-i686): Likewise.
55266         (have-mfma4): Likewise.
55267         (have-as-vis3): Likewise.
55268         (MIG): Likewise.
55269         * configure.in (MIG): Do not AC_SUBST.
55270         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
55271         (libc_cv_cc_sse4): Do not AC_SUBST.
55272         (libc_cv_cc_avx): Likewise.
55273         (libc_cv_cc_sse2avx): Likewise.
55274         (libc_cv_cc_novzeroupper): Likewise.
55275         (libc_cv_cc_fma4): Likewise.
55276         (libc_cv_as_i686): Likewise.
55277         (libc_cv_sparc_as_vis3): Likewise.
55278         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
55279         LIBC_CONFIG_VAR.
55280         (config-asflags-i686): Likewise.
55281         (config-cflags-avx): Likewise.
55282         (config-cflags-sse2avx): Likewise.
55283         (have-mfma4): Likewise.
55284         (config-cflags-novzeroupper): Likewise.
55285         * sysdeps/mach/configure.in (MIG): Likewise.
55286         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
55287         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
55288         LIBC_CONFIG_VAR.
55289         (config-cflags-avx): Likewise.
55290         (config-cflags-sse2avx): Likewise.
55291         (have-mfma4): Likewise.
55292         (config-cflags-novzeroupper): Likewise.
55293         * configure: Regenerated.
55294         * sysdeps/i386/configure: Likewise.
55295         * sysdeps/mach/configure: Likewise.
55296         * sysdeps/sparc/configure: Likewise.
55297         * sysdeps/x86_64/configure: Likewise.
55299 2013-03-20  Roland McGrath  <roland@hack.frob.com>
55301         [BZ #14812]
55302         * locale/programs/localedef.c (options): Put N_ translation marker
55303         on argument names, not just descriptions.
55305 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55307         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55309 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
55311         [BZ #14176]
55312         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55314 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55316         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55317         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55318         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55319         [!BEFORE_ABORT] (before_abort): New function.
55320         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55321         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55322         (writev_for_fatal): New function.
55323         (WRITEV_FOR_FATAL): New macro; call that.
55324         (backtrace_and_maps): New function.
55325         (BEFORE_ABORT): New macro; call that.
55326         (struct str_list): Type removed.
55327         (__libc_message, __libc_fatal): Functions removed.
55328         Include <sysdeps/posix/libc_fatal.c> instead.
55330 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
55332         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55333         constants.
55334         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55335         double constants.
55337 2013-03-19  Andreas Schwab  <schwab@suse.de>
55339         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55340         * sysdeps/gnu/configure: Regenerate.
55342         * configure.in: Substitute libc_cv_rtlddir.
55343         * configure: Regenerate.
55344         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55345         * Makeconfig (rtlddir, inst_rtlddir): New variables.
55346         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55347         * elf/Makefile (install-others, CFLAGS-interp.c)
55348         (ldso_install, common-ldd-rewrite): Likewise.
55349         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55350         $(inst_slibdir)/$(rtld-installed-name).
55351         * scripts/rellns-sh: Add -p option.
55352         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55353         for source.
55355 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55357         * manual/nptl.texi: Renamed to ...
55358         * manual/threads.texi: ... this.
55359         * manual/Makefile (chapters): Update.
55361 2013-03-18  Roland McGrath  <roland@hack.frob.com>
55363         [BZ #14812]
55364         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55365         on argument names, not just descriptions.
55366         * malloc/memusagestat.c (options): Likewise.
55367         * nss/getent.c (options): Likewise.
55369 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
55371         [BZ #14812]
55372         * iconv/iconv_prog.c (options): Put N_ translation marker
55373         on argument names, not just descriptions.
55374         * iconv/iconvconfig.c (options): Likewise.
55376 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
55378         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55379         implementation which is faster on all x86_64 architectures.
55380         Tested on AMD, Intel Nehalem, SNB, IVB.
55381         * sysdeps/x86_64/strnlen.S: Likewise.
55383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55384         Remove all multiarch strlen and strnlen versions.
55385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55386         Remove strlen and strnlen related parts.
55388         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55389         Inline strlen part.
55390         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55392         * sysdeps/x86_64/multiarch/strlen.S: Remove.
55393         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55394         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55395         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55396         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55397         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55399 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
55401         * manual/memory.texi (Malloc Tunable Parameters):
55402         Sort parameters alphabetically. Add comments for missing entries.
55404 2013-03-17  David S. Miller  <davem@davemloft.net>
55406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55408 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
55410         [BZ #15283]
55411         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55412         for arguments at most half maximum finite value.
55413         * math/libm-test.inc (j0_test): Add more tests.
55414         (j1_test): Likewise.
55415         (y0_test): Likewise.
55416         (y1_test): Likewise.
55417         * sysdeps/i386/fpu/libm-test-ulps: Update.
55418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55420         [BZ #14155]
55421         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
55422         1 / x and functions P and Q for arguments above 0x1p256L.
55423         (__ieee754_y0l): Likewise.
55424         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
55425         (__ieee754_y1l): Likewise.
55426         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
55427         (j1_test): Likewise.
55428         (y0_test): Likewise.
55429         (y1_test): Likewise.
55431 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
55433         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
55434         variable.
55436 2013-03-15  Roland McGrath  <roland@hack.frob.com>
55438         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
55439         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
55440         zero since it's initialized to EXEC_PAGESIZE.
55442         * sysdeps/unix/sysv/linux/ldsodefs.h
55443         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
55444         * sysdeps/generic/ldsodefs.h: ... here.
55446 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
55448         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
55450         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
55451         math/test-snan.c.
55452         * math/test-snan.c: Renamed from
55453         sysdeps/powerpc/fpu/test-powerpc-snan.c.
55454         * math/Makefile (tests): Add test-snan.
55455         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
55456         test-powerpc-snan.
55458         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
55459         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
55460         functions.
55461         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
55462         __builtin_nan family of functions.
55463         * math/libm-test.inc (initialize): Initialize qnan_value with
55464         __builtin_nan family of functions.
55465         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
55466         Remove variables.
55467         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
55468         Remove functions.
55469         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
55470         storage class.  Initialize qNaN_var and sNaN_var with
55471         __builtin_nan and __builtin_nans families of functions,
55472         respectively.
55474         * math/libm-test.inc (acosh_test): Also test with qNaN input.
55475         (sqrt_test): Remove duplicate test with qNaN input.
55476         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
55477         (round_test, signbit_test, significand_test): Note missing +/-Inf
55478         as well as qNaN tests.
55480         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
55481         qNaN_var.  Fix a few strings, too.
55482         * math/libm-test.inc (nan_value): Rename to qnan_value.
55483         * math/gen-libm-test.pl (%beautify): Adjust to that.
55484         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
55485         * math/test-misc.c (main): Likewise.
55486         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
55487         to __qnan_bytes, and __qnan_union, respectively.
55488         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
55489         Likewise.
55490         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
55491         and lqnanval, respectively.
55492         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
55493         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
55494         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
55495         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
55497         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
55498         * math/test-misc.c (main) [__x86_64__]: Enable test for long
55499         doubles.
55501         * math/test-misc.c (main): Fix copy'n'pastos.
55502         * misc/tst-efgcvt.c (special): Likewise.
55504         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
55505         Remove declarations.
55507 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55509         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
55510         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
55511         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
55512         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
55514 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55516         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
55517         macro to return vdso values correctly in IFUNC implementations.
55518         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55519         Optimization by using IFUNC.
55521 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55522             Richard Henderson  <rth@redhat.com>
55523             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55525         * Makefile.in (bench): New target.
55526         * NEWS: Mention the benchmark framework.
55527         * Rules (bench): Likewise.
55528         (binaries-bench): Generate binaries for functions to
55529         benchmark.
55530         * benchtests/Makefile: New makefile for benchmark tests.
55531         * benchtests/bench-skeleton.c: New skeleton file for benchmark
55532         programs.
55533         * benchtests/exp-inputs: New input file for EXP function.
55534         * benchtests/pow-inputs: New input file for POW function.
55535         * scripts/bench.pl: New script to generate source files for
55536         benchmark programs.
55538 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55540         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55541         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
55542         computations on mantissa.  Use macros for rounding and
55543         division.
55544         (denorm): Likewise.
55545         (__dbl_mp): Likewise.
55546         (add_magnitudes): Likewise.
55547         (sub_magnitudes): Likewise.
55548         (__mul): Likewise.
55549         (__sqr): Likewise.
55550         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55551         powers of two in terms of TWOPOW macro.
55552         (mp_no): Make type of mantissa as MANTISSA_T.
55553         [!RADIXI]: Define RADIXI.
55554         [!TWO52]: Define TWO52.
55555         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55557         * manual/nptl.texi (cindex): Modify threads to pthreads.
55559 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
55561         * sysdeps/x86_64/preconfigure: Regenerated.
55563 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
55565         [BZ #14155]
55566         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
55567         0x1p28 and above.
55568         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
55569         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
55570         0x1p28 and above.
55571         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
55572         * math/libm-test.inc (j0_test): Do not allow one spurious
55573         underflow exception.
55574         (y1_test): Likewise.
55576 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55578         * manual/Makefile (chapters): Add nptl.
55579         * manual/debug.texi (Debugging Support): Add link to Threads
55580         chapter.
55581         * manual/nptl.texi: New file.
55583         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
55585 2013-03-14  Petr Baudis  <pasky@ucw.cz>
55587         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
55588         for non-NULL pointer before the memory validity test. Pointed
55589         out by Holger Brunck <holger.brunck@keymile.com>.
55591 2013-03-13  Andreas Schwab  <schwab@suse.de>
55593         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
55594         instead of .os.
55596 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
55598         * timezone/zic.c: Update from tzcode 2013b.
55600 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
55602         * manual/install.texi (Configuring and compiling):
55603         Mention i686 and i586.
55604         * INSTALL: Regenerate.
55606 2013-03-12  Roland McGrath  <roland@hack.frob.com>
55608         * sysdeps/init_array/elf-init.c: New file.
55609         * csu/elf-init.c
55610         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
55611         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
55613         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
55614         __gmon_start__ as global, but as static with a .preinit_array pointer.
55615         * sysdeps/init_array/gmon-start.c: New file.  Use that.
55616         * sysdeps/init_array/crti.S: New file, empty except for comments.
55617         * sysdeps/init_array/crtn.S: Likewise.
55619 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
55621         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
55622         definining bcopy.
55623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55624         Remove Prefer_SSE_for_memop.
55625         * sysdeps/x86_64/multiarch/init-arch.h: Remove
55626         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
55627         HAS_PREFER_SSE_FOR_MEMOP.
55628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
55629         memset-x86-64.
55630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55631         Remove bzero, memset ifunc support.
55632         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
55633         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
55634         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55635         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55637 2013-03-11  Andreas Schwab  <schwab@suse.de>
55639         [BZ #15234]
55640         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
55641         by SHLIB_COMPAT.
55642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
55643         (GLIBC_2.16): Remove pthread_atfork.
55645 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
55647         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
55648         (ptestcases.h): Likewise.
55650 2013-03-08  Roland McGrath  <roland@hack.frob.com>
55652         * Makeconfig ($(common-objpfx)config.status): Depend on
55653         sysdeps/*/preconfigure{,.in} too.
55655 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
55657         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
55658         (__free_hook): Use void * instead of __malloc_ptr_t.
55659         (__malloc_hook): Likewise.
55660         (__realloc_hook): Likewise.
55661         (__memalign_hook): Likewise.
55662         (__after_morecore_hook): Likewise.
55663         * malloc/arena.c (save_malloc_hook): Likewise.
55664         (save_free_hook): Likewise.
55665         * malloc/hooks.c (malloc_hook_ini): Likewise.
55666         (realloc_hook_ini): Likewise.
55667         (memalign_hook_ini): Likewise.
55668         * malloc/malloc.c (malloc_hook_ini): Likewise.
55669         (realloc_hook_ini): Likewise.
55670         (memalign_hook_ini): Likewise.
55671         (__free_hook): Likewise.
55672         (__malloc_hook): Likewise.
55673         (__realloc_hook): Likewise.
55674         (__memalign_hook): Likewise.
55675         (__libc_malloc): Likewise.
55676         (__libc_free): Likewise.
55677         (__libc_realloc): Likewise.
55678         (__libc_memalign): Likewise.
55679         (__libc_valloc): Likewise.
55680         (__libc_pvalloc): Likewise.
55681         (__libc_calloc): Likewise.
55682         (__posix_memalign): Likewise.
55683         * malloc/morecore.c (__sbrk): Likewise.
55684         (__default_morecore): Likewise.
55686         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
55688         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
55689         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
55690         __malloc_ptrdiff_t.
55692         * malloc/malloc.h (__malloc_size_t): Remove macro.
55693         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
55694         __malloc_size_t.
55695         (old_memalign_hook): Likewise.
55696         (old_realloc_hook): Likewise.
55697         (struct hdr): Likewise.
55698         (flood): Likewise.
55699         (mallochook): Likewise.
55700         (memalignhook): Likewise.
55701         (reallochook): Likewise.
55702         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
55703         (tr_old_realloc_hook): Likewise.
55704         (tr_old_memalign_hook): Likewise.
55705         (tr_mallochook): Likewise.
55706         (tr_reallochook): Likewise.
55707         (tr_memalignhook): Likewise.
55709 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55711         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
55712         default_ldbl_pack and using as default implementation.
55713         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
55714         implementation.
55715         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
55716         redundant definition.
55717         (ldbl_insert_mantissa): Likewise.
55718         (ldbl_canonicalize): Likewise.
55719         (ldbl_nearbyint): Likewise.
55720         (ldbl_pack): Rename to ldbl_pack_ppc.
55721         (ldbl_unpack): Rename to ldbl_unpack_ppc.
55722         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
55723         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
55725 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
55728         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
55729         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
55730         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
55731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
55732         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
55733         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
55734         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
55736 2013-03-07  Andreas Jaeger  <aj@suse.de>
55738         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55739         bits/mman-linux.h.
55741 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55743         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
55744         Include mpa.h and declare __MPEXP.
55745         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
55746         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55747         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55748         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
55749         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55750         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55751         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
55753         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
55754         (__slowpow): Use long double EXPL and LOGL functions to
55755         compute POW.
55756         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55757         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55758         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
55759         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55760         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55761         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
55763         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
55764         intermediate variable to calculate exponent.
55765         (__sqr): Likewise.
55766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55767         Likewise.
55768         (__sqr): Likewise.
55770         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
55771         [!NO__SQR]: Define __sqr.
55772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
55773         and NO__SQR.  Remove all code except __mul and __sqr.  Include
55774         sysdeps/ieee754/dbl-64/mpa.c.
55775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55777         [BZ #12723]
55778         * posix/Makefile (tests): Add tst-pathconf.
55779         * posix/tst-pathconf.c: New test case.
55780         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55781         _PC_PIPE_BUF.
55782         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55784 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55786         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55788 2013-03-06  Andreas Jaeger  <aj@suse.de>
55790         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55791         definition via __MAP_ANONYMOUS.
55793         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55794         it's not part of Linux headers.
55796         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55797         (MAP_HUGE_MASK): Define.
55799         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55800         Define.
55801         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55802         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55803         Define.
55804         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55805         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55806         Define.
55807         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55808         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55809         Define.
55810         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55812         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55813         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55814         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55815         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55816         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55817         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55819         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55820         Handle f2fs.
55822         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55823         Handle f2fs and efivarfs.
55825         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55826         f2fs.
55828         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55829         (EFIVARFS_MAGIC): Add.
55830         (F2FS_LINK_MAX): Add.
55832 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55834         * stdio-common/vfprintf.c: Replace __builtin_expect with
55835         __glibc_unlikely.
55837 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55839         [BZ #13550]
55840         * sysdeps/generic/bp-sym.h: Remove file.
55841         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55842         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55843         <bp-sym.h> and <bp-asm.h>.
55844         (__longjmp): Don't use BP_SYM.
55845         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55846         and <bp-asm.h>.
55847         (memcpy): Don't use BP_SYM.
55848         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55849         <bp-sym.h> and <bp-asm.h>.
55850         (memcpy): Don't use BP_SYM.
55851         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55852         <bp-asm.h>.
55853         (memcpy): Don't use BP_SYM.
55854         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55855         <bp-asm.h>.
55856         (memset): Don't use BP_SYM.
55857         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55858         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55859         (__bzero): Don't use BP_SYM.
55860         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55861         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55862         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55863         <bp-sym.h> and <bp-asm.h>.
55864         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55865         pointers.
55866         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55867         <bp-sym.h> and <bp-asm.h>.
55868         (memcpy): Don't use BP_SYM.
55869         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55870         <bp-sym.h> and <bp-asm.h>.
55871         (memset): Don't use BP_SYM.
55872         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55873         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55874         (__bzero): Don't use BP_SYM.
55875         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55876         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55877         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55878         <bp-sym.h> and <bp-asm.h>.
55879         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55880         pointers.
55881         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55882         <bp-sym.h> and <bp-asm.h>.
55883         (memcpy): Don't use BP_SYM.
55884         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55885         <bp-sym.h> and <bp-asm.h>.
55886         (memset): Don't use BP_SYM.
55887         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55888         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55889         (__bzero): Don't use BP_SYM.
55890         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55891         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55892         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55893         <bp-sym.h> and <bp-asm.h>.
55894         (__memchr): Don't use BP_SYM.
55895         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55896         <bp-sym.h> and <bp-asm.h>.
55897         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55898         pointers.
55899         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55900         <bp-sym.h> and <bp-asm.h>.
55901         (memcpy): Don't use BP_SYM.
55902         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55903         <bp-sym.h> and <bp-asm.h>.
55904         (__mempcpy): Don't use BP_SYM.
55905         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55906         <bp-sym.h> and <bp-asm.h>.
55907         (__memrchr): Don't use BP_SYM.
55908         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55909         <bp-sym.h> and <bp-asm.h>.
55910         (memset): Don't use BP_SYM.
55911         (__bzero): Likewise.
55912         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55913         <bp-sym.h> and <bp-asm.h>.
55914         (__rawmemchr): Don't use BP_SYM.
55915         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55916         <bp-sym.h> and <bp-asm.h>.
55917         (__STRCMP): Don't use BP_SYM.
55918         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55919         <bp-sym.h> and <bp-asm.h>.
55920         (strchr): Don't use BP_SYM.
55921         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55922         <bp-sym.h> and <bp-asm.h>.
55923         (__strchrnul): Don't use BP_SYM.
55924         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55925         <bp-sym.h> and <bp-asm.h>.
55926         (strlen): Don't use BP_SYM.
55927         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55928         <bp-sym.h> and <bp-asm.h>.
55929         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55930         pointers.
55931         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55932         <bp-sym.h> and <bp-asm.h>.
55933         (__strnlen): Don't use BP_SYM.
55934         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55935         <bp-sym.h> and <bp-asm.h>.
55936         (__GI__setjmp): Don't use BP_SYM.
55937         (_setjmp): Likewise.
55938         (__sigsetjmp): Likewise.
55939         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55940         (L(start_addresses)): Don't use BP_SYM.
55941         (_start): Likewise.
55942         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55943         <bp-asm.h>.
55944         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55945         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55946         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55947         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55948         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55949         <bp-asm.h>.
55950         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55951         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55952         about bounded pointers.
55953         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55954         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55955         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55956         <bp-asm.h>.
55957         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55958         about bounded pointers.  Remove GKM FIXME comments.
55959         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55960         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55961         <bp-asm.h>.
55962         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55963         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55964         Remove GKM FIXME comments.
55965         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55966         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55967         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55968         <bp-asm.h>.
55969         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55970         about bounded pointers.  Remove GKM FIXME comment.
55971         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55972         and <bp-asm.h>.
55973         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55974         pointers.
55975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55976         <bp-sym.h> and <bp-asm.h>.
55977         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55979         <bp-sym.h> and <bp-asm.h>.
55980         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55981         comment.
55983 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55985         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55986         call free(NULL).
55988 2013-03-05  David S. Miller  <davem@davemloft.net>
55990         * po/es.po: Update from translation team.
55992 2013-03-05  Andreas Jaeger  <aj@suse.de>
55994         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
55995         <bits/mman-linux.h>.
55996         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55997         is fine.
55998         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
55999         <bits/mman-linux.h> to end of file.
56000         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56001         is fine.
56002         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56003         <bits/mman-linux.h> to end of file.
56004         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56005         is fine.
56006         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56007         <bits/mman-linux.h> to end of file.
56009         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56010         (MCL_CURRENT, MCL_FUTURE): Define here.
56012 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56014         [BZ #15232]
56015         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56016         attribute_hidden.
56017         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56019 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56021         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56022         fourth parameter needed for rt_sigprocmask syscall.
56023         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56024         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56025         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56026         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56027         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56028         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56030 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56032         [BZ #13550]
56033         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56034         comment about bounded pointers.
56035         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56036         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56038 2013-03-04  Andreas Jaeger  <aj@suse.de>
56040         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56041         common definitions.
56043         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56044         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56045         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56046         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56047         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56048         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56050 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56052         [BZ #15055]
56053         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56054         __ieee754_sqrl instead of __sqrl.
56056 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56058         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56059         * sysdeps/powerpc/fpu_control.h: ... here.
56060         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56061         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56062         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56063         * sysdeps/powerpc/bits/mathinline.h: ... here.
56065 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56067         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56068         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56069         to just [NEED_DL_SYSINFO_DSO].
56070         * elf/dl-support.c: Likewise.
56071         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56072         * elf/rtld.c (dl_main): Likewise.
56073         * elf/setup-vdso.h (setup_vdso): Likewise.
56074         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56075         * sysdeps/unix/sysv/linux/dl-sysdep.c
56076         (_dl_discover_osversion): Likewise.
56078 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56080         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56081         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56083 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56085         * NEWS: Mention libm performance improvements and non-x86 PI
56086         futex support.
56088         * csu/libc-start.c (__pthread_initialize_minimal): Change
56089         function arguments.
56090         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56092 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56094         [BZ #13550]
56095         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56096         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56097         <bp-sym.h> and <bp-asm.h>.
56098         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56099         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56100         and <bp-asm.h>.
56101         (memcpy): Don't use BP_SYM.
56102         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56103         <bp-asm.h>.
56104         (__mpn_add_n): Don't use BP_SYM.
56105         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56106         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56107         and <bp-asm.h>.
56108         (__mpn_addmul_1): Don't use BP_SYM.
56109         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56110         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56111         <bp-sym.h>.
56112         (_setjmp): Don't use BP_SYM.
56113         (__novmx_setjmp): Likewise.
56114         (__GI__setjmp): Likewise.
56115         (__vmx_setjmp): Likewise.
56116         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56117         <bp-sym.h>.
56118         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56119         (__bzero): Don't use BP_SYM.
56120         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56121         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56122         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56123         <bp-sym.h> and <bp-asm.h>.
56124         (memcpy): Don't use BP_SYM.
56125         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56126         <bp-sym.h> and <bp-asm.h>.
56127         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56128         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56129         <bp-sym.h> and <bp-asm.h>.
56130         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56131         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
56132         <bp-asm.h>.
56133         (__mpn_lshift): Don't use BP_SYM.
56134         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56135         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
56136         <bp-asm.h>.
56137         (memset): Don't use BP_SYM.
56138         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56139         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56140         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
56141         <bp-asm.h>.
56142         (__mpn_mul_1): Don't use BP_SYM.
56143         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56144         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
56145         <bp-sym.h> and <bp-asm.h>.
56146         (memcmp): Don't use BP_SYM.
56147         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
56148         <bp-sym.h> and <bp-asm.h>.
56149         (memcpy): Don't use BP_SYM.
56150         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
56151         <bp-sym.h> and <bp-asm.h>.
56152         (memset): Don't use BP_SYM.
56153         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
56154         <bp-sym.h> and <bp-asm.h>.
56155         (strncmp): Don't use BP_SYM.
56156         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
56157         <bp-sym.h> and <bp-asm.h>.
56158         (memcpy): Don't use BP_SYM.
56159         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
56160         <bp-sym.h> and <bp-asm.h>.
56161         (memset): Don't use BP_SYM.
56162         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
56163         <bp-sym.h> and <bp-asm.h>.
56164         (__memchr): Don't use BP_SYM.
56165         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
56166         <bp-sym.h> and <bp-asm.h>.
56167         (memcmp): Don't use BP_SYM.
56168         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
56169         <bp-sym.h> and <bp-asm.h>.
56170         (memcpy): Don't use BP_SYM.
56171         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
56172         <bp-sym.h> and <bp-asm.h>.
56173         (__mempcpy): Don't use BP_SYM.
56174         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
56175         <bp-sym.h> and <bp-asm.h>.
56176         (__memrchr): Don't use BP_SYM.
56177         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
56178         <bp-sym.h> and <bp-asm.h>.
56179         (memset): Don't use BP_SYM.
56180         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
56181         <bp-sym.h> and <bp-asm.h>.
56182         (__rawmemchr): Don't use BP_SYM.
56183         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
56184         <bp-sym.h> and <bp-asm.h>.
56185         (__STRCMP): Don't use BP_SYM.
56186         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
56187         <bp-sym.h> and <bp-asm.h>.
56188         (strchr): Don't use BP_SYM.
56189         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
56190         <bp-sym.h> and <bp-asm.h>.
56191         (__strchrnul): Don't use BP_SYM.
56192         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
56193         <bp-sym.h> and <bp-asm.h>.
56194         (strlen): Don't use BP_SYM.
56195         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
56196         <bp-sym.h> and <bp-asm.h>.
56197         (strncmp): Don't use BP_SYM.
56198         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
56199         <bp-sym.h> and <bp-asm.h>.
56200         (__strnlen): Don't use BP_SYM.
56201         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
56202         <bp-asm.h>.
56203         (__mpn_rshift): Don't use BP_SYM.
56204         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56205         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
56206         <bp-sym.h> and <bp-asm.h>.
56207         (__sigsetjmp): Don't use BP_SYM.
56208         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
56209         (L(start_addresses)): Don't use BP_SYM.
56210         (_start): Likewise.
56211         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
56212         <bp-asm.h>.
56213         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
56214         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56215         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56216         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
56217         <bp-asm.h>.
56218         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
56219         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56220         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56221         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
56222         <bp-asm.h>.
56223         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56224         comments.
56225         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56226         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
56227         <bp-asm.h>.
56228         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
56229         FIXME comments.
56230         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56231         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56232         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
56233         <bp-asm.h>.
56234         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56235         comment.
56236         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
56237         and <bp-asm.h>.
56238         (strncmp): Don't use BP_SYM,
56239         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
56240         <bp-asm.h>.
56241         (__mpn_sub_n): Don't use BP_SYM.
56242         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56243         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
56244         and <bp-asm.h>.
56245         (__mpn_submul_1): Don't use BP_SYM.
56246         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
56248         <bp-sym.h> and <bp-asm.h>.
56249         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
56251         <bp-sym.h> and <bp-asm.h>.
56252         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56253         comment.
56255 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
56258         Use ZK to minimize writes to Z.
56259         (sub_magnitudes): Simplify code a bit.
56260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
56261         Use ZK to minimize writes to Z.
56262         (sub_magnitudes): Simplify code a bit.
56264 2013-02-27  Roland McGrath  <roland@hack.frob.com>
56266         * csu/gmon-start.c: Add special exception to license text.
56268 2013-02-27  Richard Henderson  <rth@redhat.com>
56270         * scripts/config.guess: Update from config.git.
56271         * scripts/config.sub: Likewise.
56273 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56275         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
56277         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
56279         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
56281         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
56283         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
56285 2013-02-26  Roland McGrath  <roland@hack.frob.com>
56287         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
56288         [$(build-shared = yes].
56290 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56292         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
56293         (__mul): Reduce iterations for calculating mantissa.
56295         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
56296         MPTWO.
56297         (__mpranred): Likewise.
56299         [BZ #15160]
56300         * malloc/memusagestat.c (main): Draw graphs for heap and stack
56301         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
56303 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
56305         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
56306         Define __attribute__.
56308 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56310         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56311         unused.
56312         * posix/regex_internal.h (__attribute): Remove.
56313         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56314         (re_string_context_at): Likewise.
56315         (bitset_not): Use __attribute__ and mark function as possibly
56316         unused.
56317         (bitset_merge): Likewise.
56318         (bitset_mask): Likewise.
56319         (re_string_char_size_at): Likewise.
56320         (re_string_wchar_at): Likewise.
56321         (re_string_elem_size_at): Likewise.
56323 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56325         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56326         code.
56327         (cc32): Likewise.
56329         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56330         (__acr): Likewise.
56331         (__cpy): Likewise.
56332         (norm): Likewise.
56333         (denorm): Likewise.
56334         (__dbl_mp): Likewise.
56335         (add_magnitudes): Likewise.
56336         (sub_magnitudes): Likewise.
56337         (__mul): Likewise.
56338         (__inv): Likewise.
56340         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56341         style.
56343         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56344         style.
56346         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56347         code.
56349         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56350         up changes with default code.
56351         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56352         Likewise.
56354 2013-02-24  Allan McRae  <allan@archlinux.org>
56356         * manual/socket.texi (The Internet Namespace): Order menu items
56357         to match that in the file.
56359         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56360         node listing of the info page menu.
56362 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
56364         [BZ #13550]
56365         * sysdeps/i386/bp-asm.h: Remove file.
56366         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56367         (PARMS): Do not use macros from bp-asm.h.
56368         (S1): Likewise.
56369         (S2): Likewise.
56370         (SIZE): Likewise.
56371         (__mpn_add_n): Do not use BP_SYM
56372         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56373         "bp-asm.h".
56374         (PARMS): Do not use macros from bp-asm.h.
56375         (S1): Likewise.
56376         (SIZE): Likewise.
56377         (__mpn_addmul_1): Do not use BP_SYM
56378         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56379         "bp-asm.h".
56380         (PARMS): Do not use macros from bp-asm.h.
56381         (SIGMSK): Likewise.
56382         (_setjmp): Likewise.  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/fpu/s_frexp.S: Do not include "bp-sym.h" and
56389         "bp-asm.h".
56390         (PARMS): Do not use macros from bp-asm.h.
56391         (__frexp): Do not use BP_SYM.
56392         (frexp): Likewise.
56393         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56394         "bp-asm.h".
56395         (PARMS): Do not use macros from bp-asm.h.
56396         (__frexpf): Do not use BP_SYM.
56397         (frexpf): Likewise.
56398         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56399         "bp-asm.h".
56400         (PARMS): Do not use macros from bp-asm.h.
56401         (__frexpl): Do not use BP_SYM.
56402         (frexpl): Likewise.
56403         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56404         "bp-asm.h".
56405         (PARMS): Do not use macros from bp-asm.h.
56406         (__remquo): Do not use BP_SYM.
56407         (remquo): Likewise.
56408         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56409         "bp-asm.h".
56410         (PARMS): Do not use macros from bp-asm.h.
56411         (__remquof): Do not use BP_SYM.
56412         (remquof): Likewise.
56413         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
56414         "bp-asm.h".
56415         (PARMS): Do not use macros from bp-asm.h.
56416         (__remquol): Do not use BP_SYM.
56417         (remquol): Likewise.
56418         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
56419         "bp-asm.h".
56420         (PARMS): Do not use macros from bp-asm.h.
56421         (DEST): Likewise.
56422         (SRC): Likewise.
56423         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
56424         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
56425         "bp-asm.h".
56426         (PARMS): Do not use macros from bp-asm.h.
56427         (strlen): Do not use BP_SYM.
56428         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
56429         "bp-asm.h".
56430         (PARMS): Do not use macros from bp-asm.h.
56431         (S1): Likewise.
56432         (S2): Likewise.
56433         (SIZE): Likewise.
56434         (__mpn_add_n): Do not use BP_SYM.
56435         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
56436         "bp-asm.h".
56437         (PARMS): Do not use macros from bp-asm.h.
56438         (S1): Likewise.
56439         (SIZE): Likewise.
56440         (__mpn_addmul_1): Do not use BP_SYM.
56441         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
56442         weak_alias.
56443         (bzero): Likewise.
56444         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
56445         "bp-asm.h".
56446         (PARMS): Do not use macros from bp-asm.h.
56447         (S): Likewise.
56448         (SIZE): Likewise.
56449         (__mpn_lshift): Do not use BP_SYM.
56450         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
56451         "bp-asm.h".
56452         (PARMS): Do not use macros from bp-asm.h.
56453         (DEST): Likewise.
56454         (SRC): Likewise.
56455         (LEN): Likewise.
56456         (memcpy): Likewise.  Do not use BP_SYM.
56457         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
56458         libc_hidden_def and weak_alias.
56459         (mempcpy): Do not use BP_SYM in weak_alias.
56460         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
56461         "bp-asm.h".
56462         (PARMS): Do not use macros from bp-asm.h.
56463         (DEST): Likewise.
56464         (LEN): Likewise.
56465         [!BZERO_P] (CHR): Likewise.
56466         (memset): Likewise.  Do not use BP_SYM.
56467         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
56468         "bp-asm.h".
56469         (PARMS): Do not use macros from bp-asm.h.
56470         (S1): Likewise.
56471         (SIZE): Likewise.
56472         (__mpn_mul_1): Do not use BP_SYM.
56473         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
56474         "bp-asm.h".
56475         (PARMS): Do not use macros from bp-asm.h.
56476         (S): Likewise.
56477         (SIZE): Likewise.
56478         (__mpn_rshift): Do not use BP_SYM.
56479         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
56480         "bp-asm.h".
56481         (PARMS): Do not use macros from bp-asm.h.
56482         (STR): Likewise.
56483         (CHR): Likewise.
56484         (strchr): Likewise.  Do not use BP_SYM.
56485         (index): Do not use BP_SYM in weak_alias.
56486         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
56487         "bp-asm.h".
56488         (PARMS): Do not use macros from bp-asm.h.
56489         (DEST): Likewise.
56490         (SRC): Likewise.
56491         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
56492         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
56493         "bp-asm.h".
56494         (PARMS): Do not use macros from bp-asm.h.
56495         (strlen): Do not use BP_SYM.
56496         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
56497         "bp-asm.h".
56498         (PARMS): Do not use macros from bp-asm.h.
56499         (S1): Likewise.
56500         (S2): Likewise.
56501         (SIZE): Likewise.
56502         (__mpn_sub_n): Do not use BP_SYM.
56503         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
56504         "bp-asm.h".
56505         (PARMS): Do not use macros from bp-asm.h.
56506         (S1): Likewise.
56507         (SIZE): Likewise.
56508         (__mpn_submul_1): Do not use BP_SYM.
56509         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
56510         "bp-asm.h".
56511         (PARMS): Do not use macros from bp-asm.h.
56512         (S1): Likewise.
56513         (S2): Likewise.
56514         (SIZE): Likewise.
56515         (__mpn_add_n): Do not use BP_SYM.
56516         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
56517         weak_alias.
56518         (bzero): Likewise.
56519         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
56520         "bp-asm.h".
56521         (PARMS): Do not use macros from bp-asm.h.
56522         (BLK2): Likewise.
56523         (LEN): Likewise.
56524         (memcmp): Do not use BP_SYM.
56525         (bcmp): Do not use BP_SYM in weak_alias.
56526         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
56527         "bp-asm.h".
56528         (PARMS): Do not use macros from bp-asm.h.
56529         (DEST): Likewise.
56530         (SRC): Likewise.
56531         (LEN): Likewise.
56532         (memcpy): Likewise.  Do not use BP_SYM.
56533         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
56534         "bp-asm.h".
56535         (PARMS): Do not use macros from bp-asm.h.
56536         (DEST): Likewise.
56537         (SRC): Likewise.
56538         (LEN): Likewise.
56539         (memmove): Likewise.  Do not use BP_SYM.
56540         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
56541         "bp-asm.h".
56542         (PARMS): Do not use macros from bp-asm.h.
56543         (DEST): Likewise.
56544         (SRC): Likewise.
56545         (LEN): Likewise.
56546         (__mempcpy): Likewise.  Do not use BP_SYM.
56547         (mempcpy): Do not use BP_SYM in weak_alias.
56548         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
56549         "bp-asm.h".
56550         (PARMS): Do not use macros from bp-asm.h.
56551         (DEST): Likewise.
56552         (LEN): Likewise.
56553         [!BZERO_P] (CHR): Likewise.
56554         (memset): Likewise.  Do not use BP_SYM.
56555         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
56556         "bp-asm.h".
56557         (PARMS): Do not use macros from bp-asm.h.
56558         (STR2): Likewise.
56559         (strcmp): Do not use BP_SYM.
56560         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
56561         "bp-asm.h".
56562         (PARMS): Do not use macros from bp-asm.h.
56563         (STR): Likewise.
56564         (DELIM): Likewise.
56565         [USE_AS_STRTOK_R] (SAVE): Likewise.
56566         (FUNCTION): Likewise.  Do not use BP_SYM.
56567         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
56568         aliases.
56569         (strtok_r): Likewise.
56570         (__GI___strtok_r): Likewise.
56571         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56572         (PARMS): Do not use macros from bp-asm.h.
56573         (S): Likewise.
56574         (SIZE): Likewise.
56575         (__mpn_lshift): Do not use BP_SYM.
56576         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56577         (PARMS): Do not use macros from bp-asm.h.
56578         (STR): Likewise.
56579         (CHR): Likewise.
56580         (__memchr): Do not use BP_SYM.
56581         (memchr): Do not use BP_SYM in weak_alias.
56582         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56583         (PARMS): Do not use macros from bp-asm.h.
56584         (BLK2): Likewise.
56585         (LEN): Likewise.
56586         (memcmp): Do not use BP_SYM.
56587         (bcmp): Do not use BP_SYM in weak_alias.
56588         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
56589         (PARMS): Do not use macros from bp-asm.h.
56590         (S1): Likewise.
56591         (SIZE): Likewise.
56592         (__mpn_mul_1): Do not use BP_SYM.
56593         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
56594         "bp-asm.h".
56595         (PARMS): Do not use macros from bp-asm.h.
56596         (STR): Likewise.
56597         (CHR): Likewise.
56598         (__rawmemchr): Do not use BP_SYM.
56599         (rawmemchr): Do not use BP_SYM in weak_alias.
56600         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56601         (PARMS): Do not use macros from bp-asm.h.
56602         (S): Likewise.
56603         (SIZE): Likewise.
56604         (__mpn_rshift): Do not use BP_SYM.
56605         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56606         (PARMS): Do not use macros from bp-asm.h.
56607         (SIGMSK): Likewise.
56608         (__sigsetjmp): Likewise.  Do not use BP_SYM.
56609         * sysdeps/i386/start.S: Do not include "bp-sym.h".
56610         (_start): Do not use BP_SYM.
56611         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
56612         (PARMS): Do not use macros from bp-asm.h.
56613         (DEST): Likewise.
56614         (SRC): Likewise.
56615         (__stpcpy): Likewise.  Do not use BP_SYM.
56616         (stpcpy): Do not use BP_SYM in weak_alias.
56617         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
56618         "bp-asm.h".
56619         (PARMS): Do not use macros from bp-asm.h.
56620         (DEST): Likewise.
56621         (SRC): Likewise.
56622         (LEN): Likewise.
56623         (__stpncpy): Likewise.  Do not use BP_SYM.
56624         (stpncpy): Do not use BP_SYM in weak_alias.
56625         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56626         (PARMS): Do not use macros from bp-asm.h.
56627         (STR): Likewise.
56628         (CHR): Likewise.
56629         (strchr): Likewise.  Do not use BP_SYM.
56630         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
56631         "bp-asm.h".
56632         (PARMS): Do not use macros from bp-asm.h.
56633         (STR): Likewise.
56634         (CHR): Likewise.
56635         (__strchrnul): Likewise.  Do not use BP_SYM.
56636         (strchrnul): Do not use BP_SYM in weak_alias.
56637         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
56638         "bp-asm.h".
56639         (PARMS): Do not use macros from bp-asm.h.
56640         (STOP): Likewise.
56641         (strcspn): Do not use BP_SYM.
56642         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
56643         "bp-asm.h".
56644         (PARMS): Do not use macros from bp-asm.h.
56645         (STR): Likewise.
56646         (STOP): Likewise.
56647         (strpbrk): Likewise.  Do not use BP_SYM.
56648         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
56649         "bp-asm.h".
56650         (PARMS): Do not use macros from bp-asm.h.
56651         (STR): Likewise.
56652         (CHR): Likewise.
56653         (strrchr): Likewise.  Do not use BP_SYM.
56654         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
56655         (PARMS): Do not use macros from bp-asm.h.
56656         (SKIP): Likewise.
56657         (strspn): Do not use BP_SYM.
56658         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
56659         (PARMS): Do not use macros from bp-asm.h.
56660         (STR): Likewise.
56661         (DELIM): Likewise.
56662         (SAVE): Likewise.
56663         (FUNCTION): Likewise.  Do not use BP_SYM.
56664         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
56665         aliases.
56666         (strtok_r): Likewise.
56667         (__GI___strtok_r): Likewise.
56668         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56669         (PARMS): Do not use macros from bp-asm.h.
56670         (S1): Likewise.
56671         (S2): Likewise.
56672         (SIZE): Likewise.
56673         (__mpn_sub_n): Do not use BP_SYM.
56674         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
56675         "bp-asm.h".
56676         (PARMS): Do not use macros from bp-asm.h.
56677         (S1): Likewise.
56678         (SIZE): Likewise.
56679         (__mpn_submul_1): Do not use BP_SYM.
56680         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
56681         <bp-sym.h>.
56682         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
56683         and <bp-asm.h>.
56684         (PARMS): Do not use macros from bp-asm.h.
56685         (FLAGS): Likewise.
56686         (PTID): Likewise.
56687         (TLS): Likewise.
56688         (CTID): Likewise.
56689         (__clone): Do not use BP_SYM.
56690         (clone): Do not use BP_SYM in weak_alias.
56691         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
56692         and <bp-asm.h>.
56693         (PARMS): Do not use macros from bp-asm.h.
56694         (LEN): Likewise.
56695         (__mmap64): Do not use BP_SYM.
56696         (mmap64): Do not use BP_SYM in weak_alias.
56697         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56698         <bp-sym.h> and <bp-asm.h>.
56699         (PARMS): Do not use macros from bp-asm.h.
56700         (__posix_fadvise64_l64): Do not use BP_SYM.
56701         * sysdeps/unix/sysv/linux/i386/semtimedop.S
56702         (PARMS): Do not use macros from bp-asm.h.
56703         (NSOPS): Likewise.
56704         (semtimedop): Do not use BP_SYM.
56705         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
56706         and <bp-asm.h>.
56708 2013-02-21  Allan McRae  <allan@archlinux.org>
56710         * manual/message.texi (Charset conversion in gettext):
56711         Move @end statement to beginning of line.
56713 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
56716         static.
56717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56718         Likewise.
56720         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
56721         (denorm): Likewise.
56722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
56723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
56725 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56727         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
56728         tail-call to the resolved function if pltexit isn't needed.
56730 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
56733         or Y being zero as being unlikely.
56734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56735         Likewise.
56737 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
56739         * manual/nss.texi (System Databases and Name Service Switch):
56740         Remove frobnicate @pxref.
56742 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56744         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56745         __attribute__ ((unused)) to __attribute__ ((__unused__)).
56747 2013-02-20  Petr Machata  <pmachata@redhat.com>
56749         * elf/elf.h (R_ARM_TARGET1): New macro.
56750         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
56751         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
56752         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
56753         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
56754         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
56755         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
56756         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
56757         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
56758         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
56759         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
56760         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
56761         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
56762         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56763         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
56764         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
56765         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
56766         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
56767         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
56768         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
56769         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
56770         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
56771         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
56772         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56773         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
56774         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
56775         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
56776         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
56777         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
56778         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
56779         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56780         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56781         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56782         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56783         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56784         (R_ARM_THM_GOT_BREL12): Likewise.
56785         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56786         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56787         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56788         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56789         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56790         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56791         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56792         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56793         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56795 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56797         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56798         __attribute_used__ to __attribute__ ((unused)).
56800 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56802         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56803         powerpc mpa.c.
56804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56805         comment formatting.
56806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56808 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56810         [BZ #13550]
56811         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56812         Remove macro.
56813         (ENTER): Remove both macro definitions.
56814         (LEAVE): Likewise.
56815         (CHECK_BOUNDS_LOW): Likewise.
56816         (CHECK_BOUNDS_HIGH): Likewise.
56817         (CHECK_BOUNDS_BOTH): Likewise.
56818         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56819         (RETURN_BOUNDED_POINTER): Likewise.
56820         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56821         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56822         (POP_ERRNO_LOCATION_RETURN): Likewise.
56823         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56824         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56825         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56826         macros.
56827         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56828         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56829         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56830         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56831         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56832         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56833         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56834         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56835         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56836         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56837         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56838         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56839         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56840         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56841         removed macros.
56842         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56843         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56844         macros.
56845         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56846         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56847         * sysdeps/i386/i586/memset.S (memset): Likewise.
56848         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56849         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56850         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56851         macros.
56852         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56853         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56854         Change uses of L(2) to L(out).
56855         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56856         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56857         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56858         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56859         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56860         removed macros.
56861         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56862         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56863         macros.
56864         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56865         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56866         (RETURN): Do not use macro LEAVE.
56867         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56868         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56869         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56870         * sysdeps/i386/i686/memset.S (memset): Likewise.
56871         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56872         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56873         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56874         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56875         Likewise.
56876         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56877         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56878         L(1_2) and L(1_3) into L(1).
56879         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56880         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56881         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56882         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56883         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56884         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56885         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56886         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56887         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56888         macros.
56889         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56890         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56891         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56892         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56893         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56894         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56895         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56896         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56897         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56898         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56899         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56900         * sysdeps/i386/strspn.S (strspn): Likewise.
56901         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56902         conditional code.
56903         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56904         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56905         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56906         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56907         L(1_3) into L(1_1).
56908         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56909         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56910         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56911         macros.
56912         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56914 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56916         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56917         macro.
56919 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56921         * math/atest-exp.c (exp_mpn): Remove ROUND.
56922         * math/atest-exp2.c (exp_mpn): Likewise.
56923         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56925         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56926         * stdlib/tst-tls-atexit-lib.c: Likewise.
56927         * stdlib/tst-tls-atexit.c: Likewise.
56929 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56931         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56932         and __attribute_alloc_size__.
56934 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56936         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56937         __attribute_alloc_size__.
56938         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56939         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56941 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56943         * include/programs/xmalloc.h: New file.
56944         * catgets/gencat.c: Include it.
56945         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56946         * elf/pldd.c: Likewise.
56947         * iconv/iconv_charmap.c: Likewise.
56948         * iconv/iconvconfig.c: Likewise.
56949         * iconv/strtab.c: Likewise.
56950         * locale/programs/locale.c: Likewise.
56951         * locale/programs/localedef.h: Likewise.
56952         * locale/programs/simple-hash.c: Likewise.
56953         * nscd/nscd.h: Likewise.
56954         * nss/makedb.c: Likewise.
56955         * sysdeps/generic/ldconfig.h: Likewise.
56957 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56959         * Versions.def: Add GLIBC_2.18.
56960         * include/link.h (struct link_map): New member l_tls_dtor_count.
56961         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56962         (__call_tls_dtors): Likewise.
56963         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56964         __cxa_thread_atexit_impl.
56965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56966         Likewise.
56967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56968         Likewise.
56969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56970         Likewise.
56971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56972         Likewise.
56973         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56975         Likewise.
56976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56977         Likewise.
56978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56980         Likewise.
56981         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56982         (tests): Add test case tst-tls-atexit.
56983         (modules-names): Add shared library for tst-tls-atexit.
56984         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56985         (GLIBC_PRIVATE): Add __call_tls_dtors.
56986         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56987         for libstdc++.
56988         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56989         * stdlib/tst-tls-atexit.c: New test case.
56990         * stdlib/tst-tls-atexit-lib.c: New test case.
56992         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56994         * elf/Versions (ld): Add _dl_find_dso_for_object.
56995         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
56996         * elf/dl-open.c (_dl_find_dso_for_object): New function.
56997         (dl_open_worker): Use _dl_find_dso_for_object.
56998         * elf/dl-sym.c (do_sym): Likewise.
56999         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57001 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57003         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57004         Syntactic changes only.
57005         (_dl_runtime_profile): Do a tail-call to the resolved function.
57007 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57009         [BZ #13550]
57010         * sysdeps/x86_64/bp-asm.h: Remove file.
57011         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57012         <bp-sym.h> and <bp-asm.h>.
57013         (__clone): Do not use BP_SYM.
57014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57015         <bp-sym.h> and <bp-asm.h>.
57016         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57017         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57018         "bp-asm.h".
57019         (_setjmp): Do not use BP_SYM.
57020         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57021         "bp-asm.h".
57022         (setjmp): Do not use BP_SYM.
57023         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57024         libc_hidden_def.
57025         (mempcpy): Do not use BP_SYM in weak_alias.
57026         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57027         "bp-asm.h".
57028         (strchr): Do not use BP_SYM.
57029         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57030         "bp-asm.h".
57031         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57032         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57033         (_start): Do not use BP_SYM.
57034         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57035         "bp-asm.h".
57036         (strcat): Do not use BP_SYM.
57037         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57038         "bp-asm.h".
57039         (STRCMP): Do not use BP_SYM.
57040         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57041         "bp-asm.h".
57042         (STRCPY): Do not use BP_SYM.
57043         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57044         "bp-asm.h".
57045         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57046         "bp-asm.h".
57047         (FUNCTION): Do not use BP_SYM.
57048         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57049         weak_alias.
57050         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57052 2013-02-17  Andreas Jaeger  <aj@suse.de>
57054         * time/Versions: Sort entries.
57055         * string/Versions: Likewise.
57056         * resolv/Versions: Likewise.
57057         * posix/Versions: Likewise.
57058         * iconv/Versions: Likewise.
57059         * elf/Versions: Likewise.
57060         * wcsmbs/Versions: Likewise.
57062 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57064         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57065         loop termination condition.
57067         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57068         variable to calculate EZ.
57069         (__sqr): Likewise.
57071         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57072         the lower precision input.
57074 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57076         [BZ #13550]
57077         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57078         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57079         (run-via-rtld-prefix): Do not handle %-bp tests.
57080         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57081         (all-object-suffixes): Remove .ob.
57082         (bppfx): Remove variable.
57083         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57084         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57085         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57086         [$(build-bounded) = yes] (libtype.ob): Likewise.
57087         * Makerules (elide-routines.ob): Remove variable.
57088         (do-tests-clean): Do not handle *-bp.out.
57089         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57090         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57091         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57092         (tests): Do not include $(tests-bp.out).
57093         (xtests): Do not include $(xtests-bp.out).
57094         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57095         [$(build-bounded) = yes] ($(addprefix
57096         $(objpfx),$(binaries-bounded))): Remove rule.
57097         ($(objpfx)%-bp.out): Remove rule.
57098         * config.make.in (build-bounded): Remove variable.
57099         * crypt/Makefile [$(build-bounded) = yes]
57100         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57101         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57102         append to variable.
57103         [$(build-bounded) = yes] (install-lib): Likewise.
57104         [$(build-bounded) = yes] (generated): Likewise.
57105         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57106         Remove rule.
57107         * intl/Makefile [$(build-bounded) = yes]
57108         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57109         * math/Makefile [$(build-bounded) = yes]
57110         ($(tests:%=$(objpfx)%-bp): Likewise.
57111         * misc/Makefile [$(build-bounded) = yes]
57112         ($(objpfx)tst-tsearch-bp): Likewise.
57113         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57114         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57115         Remove dependency.
57116         * string/Makefile (o-objects.ob): Remove variable.
57117         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57118         (CFLAGS-.ob): Remove variable.
57119         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57120         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57121         both definitions of variable.
57122         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57123         (ASFLAGS-.ob): Remove variable.
57125 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
57127         [BZ #13550]
57128         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57129         Remove __BOUNDED_POINTERS__ from condition.
57130         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
57131         * string/bits/string2.h [!__NO_STRING_INLINES &&
57132         !__BOUNDED_POINTERS__]: Likewise.
57133         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
57134         Likewise.
57135         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
57136         Remove conditional code.
57137         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
57138         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
57139         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
57140         condition.
57142         [BZ #13550]
57143         * csu/libc-start.c: Do not include <bp-sym.h>.
57144         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
57145         * elf/dl-open.c: Do not include <bp-sym.h>.
57146         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
57147         * math/fegetenv.c: Do not include <bp-sym.h>.
57148         (fegetenv): Do not use BP_SYM in versioned symbols.
57149         * nptl/sysdeps/pthread/bits/libc-lockP.h
57150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
57151         <bp-sym.h>.
57152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57153         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
57154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57155         (__pthread_mutex_destroy): Likewise.
57156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57157         (__pthread_mutex_lock): Likewise.
57158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57159         (__pthread_mutex_trylock): Likewise.
57160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57161         (__pthread_mutex_unlock): Likewise.
57162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57163         (__pthread_mutexattr_init): Likewise.
57164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57165         (__pthread_mutexattr_destroy): Likewise.
57166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57167         (__pthread_mutexattr_settype): Likewise.
57168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57169         (__pthread_rwlock_init): Likewise.
57170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57171         (__pthread_rwlock_destroy): Likewise.
57172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57173         (__pthread_rwlock_rdlock): Likewise.
57174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57175         (__pthread_rwlock_tryrdlock): Likewise.
57176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57177         (__pthread_rwlock_wrlock): Likewise.
57178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57179         (__pthread_rwlock_trywrlock): Likewise.
57180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57181         (__pthread_rwlock_unlock): Likewise.
57182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57183         (__pthread_key_create): Likewise.
57184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57185         (__pthread_setspecific): Likewise.
57186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57187         (__pthread_getspecific): Likewise.
57188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
57189         Likewise.
57190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57191         (_pthread_cleanup_push_defer): Likewise.
57192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57193         (_pthread_cleanup_pop_restore): Likewise.
57194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57195         (pthread_setcancelstate): Likewise.
57196         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
57197         <bp-sym.h>.
57198         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
57199         (memchr): Do not use BP_SYM in weak_alias.
57200         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
57201         (fegetenv): Do not use BP_SYM in versioned symbols.
57202         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
57203         (fesetenv): Do not use BP_SYM in versioned symbols.
57204         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57205         (feupdateenv): Do not use BP_SYM in versioned symbols.
57206         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57207         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57208         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
57209         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
57210         (open64): Do not use BP_SYM in weak_alias.
57211         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
57212         (fegetenv): Do not use BP_SYM in versioned symbols.
57213         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
57214         (fesetenv): Do not use BP_SYM in versioned symbols.
57215         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57216         (feupdateenv): Do not use BP_SYM in versioned symbols.
57217         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
57218         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
57219         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
57220         (feraiseexcept): Do not use BP_SYM in versioned symbols.
57221         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57222         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57223         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
57224         <bp-sym.h>.
57225         (__libc_start_main): Do not use BP_SYM.
57227 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
57230         redundant return line.
57231         (norm): Likewise.
57232         (denorm): Likewise.
57233         (dbl_mp): Likewise.
57234         (sub_magnitudes): Likewise.
57235         (__add): Likewise.
57236         (__sub): Likewise.
57237         (__mul): Likewise.
57238         (__inv): Likewise.
57239         (__dvd): Likewise.
57240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
57241         (norm): Likewise.
57242         (denorm): Likewise.
57243         (dbl_mp): Likewise.
57244         (sub_magnitudes): Likewise.
57245         (__add): Likewise.
57246         (__sub): Likewise.
57247         (__mul): Likewise.
57248         (__inv): Likewise.
57249         (__dvd): Likewise.
57251         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
57252         instead of __mul.
57253         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57254         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
57255         (cc32): Likewise.
57257         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
57258         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
57259         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
57260         of __mul for squares.
57261         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
57262         function
57263         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
57264         Likewise.
57265         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
57266         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57268 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
57270         [BZ #13550]
57271         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
57272         code.
57273         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
57274         prototype or function definition.  Rename ubp_* variables and
57275         parameters.  Remove argv definitions conditional on
57276         [__BOUNDED_POINTERS__].
57277         * debug/backtrace.c (__backtrace): Do not use __unbounded.
57278         * elf/dl-runtime.c (_dl_fixup): Likewise.
57279         * include/set-hooks.h (RUN_HOOK): Likewise.
57280         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
57281         definition.
57282         * string/strcpy.c (strcpy): Do not use __unbounded.
57283         * sysdeps/generic/frame.h (struct layout): Likewise.
57284         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
57285         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
57286         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
57287         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
57288         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
57289         (__backtrace): Likewise.
57290         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
57291         use __ptrvalue.
57292         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
57293         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57294         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
57295         Likewise.
57296         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
57297         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
57298         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57299         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57300         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
57301         Do not use __unbounded.
57302         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
57303         Rename __unboundedrlimits parameter to rlimits in prototype.
57304         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
57305         Do not use __unbounded.
57306         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
57307         not use __ptrvalue.
57308         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57309         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57310         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57311         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57312         __ptrvalue or __unbounded.
57313         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57314         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57315         use __unbounded.
57316         (__new_msgctl): Do not use __ptrvalue.
57317         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57318         __unbounded.
57319         (__libc_msgrcv): Do not use __ptrvalue.
57320         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57321         startup_info): Do not use __unbounded.
57322         (__libc_start_main): Likewise.  Rename ubp_* variables and
57323         parameters.  Remove argv definitions conditional on
57324         [__BOUNDED_POINTERS__].
57325         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57326         __ptrvalue.
57327         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57328         use __unbounded.
57329         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57330         or __ptrvalue.
57331         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57332         use __unbounded.
57333         (__new_shmctl): Do not use __ptrvalue.
57334         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57335         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57336         Likewise.
57337         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57338         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57339         (__libc_sigaction): Likewise.
57340         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57341         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57342         Likewise.
57343         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57345 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
57347         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57349         * string/mempcpy.c: Implement by calling memcpy.
57351 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57353         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57355         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57356         evaluation.
57358         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57359         values in the mantissa.
57361         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57362         minimize writes to Z.
57363         (sub_magnitudes): Simplify code a bit.
57365 2013-02-12  Roland McGrath  <roland@hack.frob.com>
57367         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57368         from the message.  The linker prefixes all warnings with that already.
57370 2013-02-12  Andreas Schwab  <schwab@suse.de>
57372         [BZ #15078]
57373         * posix/regexec.c (extend_buffers): Add parameter min_len.
57374         (check_matching): Pass minimum needed length.
57375         (clean_state_log_if_needed): Likewise.
57376         (get_subexp): Likewise.
57377         * posix/Makefile (tests): Add bug-regex34.
57378         (bug-regex34-ENV): Define.
57379         * posix/bug-regex34.c: New file.
57381         [BZ #11561]
57382         * posix/regcomp.c (parse_bracket_exp): When looking up collating
57383         elements compare against the byte sequence of it, not its name.
57384         * posix/Makefile (tests): Add bug-regex35.
57385         (bug-regex35-ENV): Define.
57386         * posix/bug-regex35.c: New file.
57388 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57390         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
57391         comment.
57392         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57393         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57394         (CHECK_EOL): Add undef.
57396 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
57398         * bits/stdlib-bsearch.h: New file.
57399         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57400         * stdlib/stdlib.h: Likewise.
57402 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57404         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57405         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57406         declaration.
57407         * manual/search.texi (Array Search Function): Add missing const in
57408         lfind prototype.
57409         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57410         declaration to use rlim_t.
57411         (Basic Scheduling Functions): Remove erroneous const from
57412         sched_getparam prototype.  Remove erroneous * from
57413         sched_get_priority_max and sched_get_priority_min prototypes.
57414         (Resource Usage): Fix summary @comment on vtimes to refer to
57415         sys/vtimes.h rather than vtimes.h.
57416         Add missing *s in vtimes prototype.
57417         (Limits on Resources): Fix ulimit prototype to return long int.
57418         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
57419         prototypes to use long int rather than double.
57420         (BSD Random): Fix initstate and setstate to use char *, not void *.
57421         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
57422         prototype to make second argument 'struct aiocb64 *const[]'.
57423         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
57424         (Status of AIO Operations): Remove erroneous const in aio_return and
57425         aio_return64 prototypes.
57426         (Synchronizing I/O): Fix sync prototype to return void.
57427         * manual/startup.texi (Suboptions): Remove an erroneous const in
57428         getsubopt prototype.
57429         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
57430         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
57431         use size_t rather than int.
57432         (Scanning All Users): Likewise for getpwent_r.
57433         (Setting Groups): Add missing const to setgroups prototype.
57434         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
57435         * manual/socket.texi (Host Names): Fix gethostbyaddr and
57436         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
57437         'const void *' rather than 'const char *'.
57438         (Host Address Functions): Likewise for inet_ntop.
57439         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
57440         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
57441         ssize_t for return value.
57442         (Sending Data): Likewise for send, sendto, sendmsg.
57443         (Socket Option Functions): Add a missing const in setsockopt prototype.
57444         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
57445         use wchar_t for the argument.
57446         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
57447         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
57448         take no arguments.
57449         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
57450         double/float/long double for second argument.
57451         Fix return types of significand, significandf, significandl.
57452         * manual/filesys.texi (Setting Permissions): Use mode_t for second
57453         argument in fchmod prototype.
57454         (File Owner): Use uid_t and gid_t in fchown prototype.
57455         (File Times): Add const to utimes, futimes, and lutimes prototypes.
57456         (Making Special Files): Use mode_t and dev_t in mknod prototype.
57457         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57458         use 'const struct dirent **' as argument types to CMP function pointer
57459         argument.
57460         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
57461         (File Times): Fix summary magic @comment for struct utimbuf and utime
57462         to refer to utime.h, not time.h.
57463         * manual/string.texi (Argz Functions): Add missing const in
57464         argz_extract and argz_next prototypes.
57465         (Finding Tokens in a String): Likewise for basename.
57466         (String/Array Comparison): Fix typo in wcscasecmp prototype.
57467         (Copying and Concatenation): Fix typo in wmemmove prototype.
57468         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
57469         (Signal Stack): Remove erroneous const in sigstack prototype.
57470         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
57471         prototype.
57472         (Simple Calendar Time): Likewise for stime.
57473         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
57474         prototype.
57475         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
57476         say sys/sysctl.h instead.
57477         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
57478         and vsyslog prototypes.
57480 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57482         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
57483         Remove.
57485 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57487         * misc/sys/mman.h: Fix typo in mremap comment.
57489 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57491         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
57492         the '\0' terminator.
57494 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57496         [BZ #13550]
57497         * debug/segfault.c: Don't include <bp-checks.h>.
57498         * sysdeps/generic/bp-checks.h: Remove file.
57499         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
57500         (__GETDENTS): Don't use CHECK_N.
57501         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
57502         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
57503         (__getgroups): Don't use CHECK_N.
57504         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
57505         (setgroups): Don't use CHECK_N.
57506         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
57507         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
57508         (__libc_msgrcv): Don't use CHECK_N.
57509         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
57510         (__libc_msgsnd): Don't use CHECK_N.
57511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
57512         <bp-checks.h>.
57513         (__libc_pread): Don't use CHECK_N.
57514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
57515         include <bp-checks.h>.
57516         (__libc_pread64): Don't use CHECK_N.
57517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
57518         include <bp-checks.h>.
57519         (__libc_pwrite): Don't use CHECK_N.
57520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
57521         include <bp-checks.h>.
57522         (__libc_pwrite64): Don't use CHECK_N.
57523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
57524         <bp-checks.h>.
57525         (__libc_pread): Don't use CHECK_N.
57526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
57527         include <bp-checks.h>.
57528         (__libc_pread64): Don't use CHECK_N.
57529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
57530         include <bp-checks.h>.
57531         (__libc_pwrite): Don't use CHECK_N.
57532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
57533         include <bp-checks.h>.
57534         (__libc_pwrite64): Don't use CHECK_N.
57535         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
57536         (do_pread): Don't use CHECK_N.
57537         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
57538         (do_pread64): Don't use CHECK_N.
57539         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
57540         (do_pwrite): Don't use CHECK_N.
57541         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
57542         (do_pwrite64): Don't use CHECK_N.
57543         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
57544         (__libc_readv): Don't use CHECK_N.
57545         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
57546         (semop): Don't use CHECK_N.
57547         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
57548         <bp-checks.h>.
57549         (semtimedop): Don't use CHECK_N.
57550         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
57551         (__libc_pread): Don't use CHECK_N.
57552         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
57553         <bp-checks.h>.
57554         (__libc_pread64): Don't use CHECK_N.
57555         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
57556         <bp-checks.h>.
57557         (__libc_pwrite): Don't use CHECK_N.
57558         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
57559         <bp-checks.h>.
57560         (__libc_pwrite64): Don't use CHECK_N.
57561         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
57562         <bp-checks.h>.
57563         (__libc_msgrcv): Don't use CHECK_N.
57564         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
57565         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
57566         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
57567         (__libc_writev): Don't use CHECK_N.
57569 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57571         * string/strcpy.c: Removed unused variable.
57573         * Makeconfig (+sysdep-includes): Define with := rather than =.
57574         Use an existing include/ subdir of each sysdeps dir before it.
57576 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57578         * nscd/connection.c (register_traced_file): Comment function.
57579         [HAVE_INOTIFY] (union __inev): Define.
57580         [HAVE_INOTIFY] (inotify_check_files): New function.
57581         [HAVE_INOTIFY] (clear_db_cache): Likewise.
57582         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
57583         clear_db_cache.
57584         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
57586 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57588         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
57589         loaded if not already and that a failure is permanent.
57591 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57593         [BZ #15006]
57594         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
57595         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
57597 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57599         [BZ #13550]
57600         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
57601         (CHECK_1_NULL_OK): Likewise.
57602         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
57603         (__fxstat): Do not use CHECK_1.
57604         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
57605         <bp-checks.h>.
57606         (___fxstat64): Do not use CHECK_1.
57607         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
57608         <bp-checks.h>.
57609         (__fxstatat): Do not use CHECK_1.
57610         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
57611         <bp-checks.h>.
57612         (__fxstatat64): Do not use CHECK_1.
57613         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
57614         <bp-checks.h>.
57615         (__fxstat): Do not use CHECK_1.
57616         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
57617         <bp-checks.h>.
57618         (__fxstatat): Do not use CHECK_1.
57619         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57620         <bp-checks.h>.
57621         (__getresgid): Do not use CHECK_1.
57622         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57623         <bp-checks.h>.
57624         (__getresuid): Do not use CHECK_1.
57625         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
57626         <bp-checks.h>.
57627         (__lxstat): Do not use CHECK_1.
57628         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57629         <bp-checks.h>.
57630         (__old_msgctl): Do not use CHECK_1.
57631         (__new_msgctl): Likewise.
57632         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
57633         <bp-checks.h>.
57634         (__new_setrlimit): Do not use CHECK_1.
57635         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57636         <bp-checks.h>.
57637         (__old_shmctl): Do not use CHECK_1.
57638         (__new_shmctl): Likewise.
57639         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
57640         <bp-checks.h>.
57641         (__xstat): Do not use CHECK_1.
57642         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
57643         (__lxstat): Do not use CHECK_1.
57644         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
57645         <bp-checks.h>.
57646         (___lxstat64): Do not use CHECK_1.
57647         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
57648         (__old_msgctl): Do not use CHECK_1.
57649         (__new_msgctl): Likewise.
57650         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
57651         <bp-checks.h>.
57652         (__gettimeofday): Do not use CHECK_1.
57653         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
57654         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
57655         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
57656         <bp-checks.h>.
57657         (__gettimeofday): Do not use CHECK_1.
57658         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
57659         (__old_shmctl): Do not use CHECK_1_NULL_OK.
57660         (__new_shmctl): Do not use CHECK_1.
57661         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
57662         <bp-checks.h>.
57663         (do_sigtimedwait): Do not use CHECK_1.
57664         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
57665         <bp-checks.h>.
57666         (do_sigwaitinfo): Do not use CHECK_1.
57667         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
57668         <bp-checks.h>.
57669         (msgctl): Do not use CHECK_1.
57670         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
57671         <bp-checks.h>.
57672         (shmctl): Do not use CHECK_1.
57673         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
57674         (ustat): Do not use CHECK_1.
57675         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
57676         <bp-checks.h>.
57677         (__fxstat): Do not use CHECK_1.
57678         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
57679         <bp-checks.h>.
57680         (__fxstatat): Do not use CHECK_1.
57681         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
57682         <bp-checks.h>.
57683         (__lxstat): Do not use CHECK_1.
57684         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
57685         <bp-checks.h>.
57686         (__xstat): Do not use CHECK_1.
57687         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
57688         (__xstat): Do not use CHECK_1.
57689         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
57690         (___xstat64): Do not use CHECK_1.
57692         [BZ #13550]
57693         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
57694         definitions.
57695         (CHECK_BOUNDS_HIGH): Likewise.
57696         * string/strcpy.c: Do not include <bp-checks.h>.
57697         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
57699 2013-02-07  Roland McGrath  <roland@hack.frob.com>
57701         * nscd/nscd-client.h (__nscd_drop_map_ref):
57702         Add __attribute__ ((unused)).
57703         * nis/nss-nisplus.h (niserr2nss): Likewise.
57705         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
57706         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
57708         * csu/libc-tls.c (init_static_tls, init_slotinfo):
57709         Remove inline keyword.
57710         * include/rounding-mode.h (round_away): Likewise.
57711         * libio/wfileops.c (adjust_wide_data): Likewise.
57712         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
57713         (__m128i_strloadu_tolower): Likewise.
57714         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
57715         (__m128i_strloadu_tolower): Likewise.
57716         * time/mktime.c (ydhms_diff): Likewise.
57717         * locale/elem-hash.h (elem_hash): Likewise.
57718         * locale/setlocale.c (setdata): Likewise.
57719         * posix/regex_internal.h (re_string_char_size_at): Likewise.
57720         (re_string_wchar_at): Likewise.
57721         (bitset_not, bitset_merge, bitset_mask): Likewise.
57722         [!(__GNUC__ > 3)] (inline): Remove macro.
57723         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
57724         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
57725         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
57726         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
57727         * string/memcmp.c (memcmp_bytes): Likewise.
57728         * locale/programs/locarchive.c (compute_hashval): Likewise.
57729         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
57730         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
57731         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
57732         * nss/getent.c (print_rpc, print_protocols): Likewise.
57733         (print_passwd, print_group, print_aliases): Likewise.
57734         * nis/nss-nisplus.h (niserr2nss): Likewise.
57735         * nscd/connections.c (restart_p): Likewise.
57736         Change return type to bool.
57738 2013-02-05  Roland McGrath  <roland@hack.frob.com>
57740         * Makeconfig (all-Depend-files): Add existing
57741         $(sorted-subdirs:=/Depend) files.
57742         (all-subdirs): Remove nss.
57743         * sysdeps/unix/inet/Subdirs: Add it here instead.
57744         * hesiod/Depend: New file.
57746         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
57747         instead of calling alloca.
57749         * io/lseek.c (__lseek): Rename to __libc_lseek.
57750         Define __lseek as an alias.
57752         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
57754 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
57756         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
57757         else clause and remove check for non-standard endianness.
57759 2013-02-04  David S. Miller  <davem@davemloft.net>
57761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57763 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
57765         [BZ #13550]
57766         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
57767         (__ubp_memchr): Remove prototype.
57768         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
57769         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57770         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
57771         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57772         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
57773         Remove alias.
57774         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
57775         (__ubp_memchr): Likewise.
57776         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
57777         (__ubp_memchr): Likewise.
57778         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
57779         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57780         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57781         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57782         CHECK_STRING.
57783         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57784         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57785         (__getcwd): Do not use CHECK_STRING.
57786         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57787         <bp-checks.h>.
57788         (__real_chown): Do not use CHECK_STRING.
57789         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57790         <bp-checks.h>.
57791         (fchownat): Do not use CHECK_STRING.
57792         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57793         CHECK_STRING.
57794         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57795         <bp-checks.h>.
57796         (__lchown): Do not use CHECK_STRING.
57797         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57798         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57799         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57800         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57802         include <bp-checks.h>.
57803         (truncate64): Do not use CHECK_STRING.
57804         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57805         <bp-checks.h>.
57806         (__real_chown): Do not use CHECK_STRING.
57807         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57808         <bp-checks.h>.
57809         (__lchown): Do not use CHECK_STRING.
57810         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57811         <bp-checks.h>.
57812         (__chown): Do not use CHECK_STRING.
57813         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57814         <bp-checks.h>.
57815         (truncate64): Do not use CHECK_STRING.
57816         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57817         Likewise.
57818         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57819         (__xmknod): Do not use CHECK_STRING.
57820         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57821         <bp-checks.h>.
57822         (__xmknodat): Do not use CHECK_STRING.
57823         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57824         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57826 2013-02-04  Andreas Schwab  <schwab@suse.de>
57828         [BZ #14142]
57829         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57830         * include/netdb.h: Likewise for h_errno.
57831         * elf/tst-stackguard1.c: Include <tls.h>.
57833 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57835         * elf/link.h (struct link_map): Extend the l_addr comment.
57836         * include/link.h (struct link_map): Likewise.
57838 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57840         [BZ #13550]
57841         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57842         (BOUNDED_1): Remove macro.
57843         * debug/backtrace.c: Don't include <bp-checks.h>.
57844         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57845         (__backtrace): Likewise.
57846         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57847         <bp-checks.h>.
57848         (__backtrace): Don't use BOUNDED_1.
57849         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57850         <bp-checks.h>.
57851         (__backtrace): Don't use BOUNDED_1.
57852         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57853         (__backtrace): Don't use BOUNDED_1.
57854         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57855         (shmat): Don't use BOUNDED_N.
57857 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57859         [BZ #13550]
57860         * sysdeps/generic/bp-start.h: Remove file.
57861         * csu/libc-start.c: Don't include <bp-start.h>.
57862         (LIBC_START_MAIN): Set up __environ directly instead of using
57863         INIT_ARGV_and_ENVIRON.
57864         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57865         <bp-start.h>.
57867         [BZ #13550]
57868         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57869         definitions.
57870         (CHECK_FCNTL): Likewise.
57871         (CHECK_N_PAGES): Likewise.
57873         [BZ #13550]
57874         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57875         definitions.
57876         (CHECK_SIGSET_NULL_OK): Likewise.
57877         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57878         <bp-checks.h>.
57879         (sigpending): Don't use CHECK_SIGSET.
57880         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57881         <bp-checks.h>.
57882         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57883         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57884         <bp-checks.h>.
57885         (do_sigsuspend): Don't use CHECK_SIGSET.
57886         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57887         use CHECK_SIGSET.
57888         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57889         (do_sigwait): Don't use CHECK_SIGSET.
57890         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57891         use CHECK_SIGSET.
57892         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57893         include <bp-checks.h>.
57894         (sigpending): Don't use CHECK_SIGSET.
57895         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57896         include <bp-checks.h>.
57897         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57898         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57899         <bp-checks.h>.
57900         (sigpending): Don't use CHECK_SIGSET.
57901         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57902         <bp-checks.h>.
57903         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57905         [BZ #13550]
57906         * sysdeps/generic/bp-semctl.h: Remove file.
57907         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57908         <bp-checks.h> and <bp-semctl.h>.
57909         (__old_semctl): Don't use CHECK_SEMCTL.
57910         (__new_semctl): Likewise.
57911         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57912         and <bp-semctl.h>.
57913         (__old_semctl): Don't use CHECK_SEMCTL.
57914         (__new_semctl): Likewise.
57915         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57916         <bp-checks.h> and <bp-semctl.h>.
57917         (__old_semctl): Don't use CHECK_SEMCTL.
57918         (__new_semctl): Likewise.
57919         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57920         <bp-checks.h> and <bp-semctl.h>.
57921         (semctl): Don't use CHECK_SEMCTL.
57923         [BZ #13550]
57924         * Makerules (elide-bp-thunks): Remove variable.
57925         (elide-routines.oS): Don't use $(elide-bp-thunks).
57926         (elide-routines.os): Likewise.
57927         (elide-routines.o): Likewise.
57928         (elide-routines.op): Likewise.
57929         (elide-routines.og): Likewise.
57930         (objects): Don't use $(bp-thunks).
57931         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57932         include.
57933         (common-generated): Do not add s-proto-bp.d.
57934         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57935         (int): Likewise.
57936         (typ): Likewise.
57937         Do not generate makefile rules for bounded-pointer thunks.
57938         * sysdeps/generic/bp-thunks.h: Remove file.
57939         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57940         * sysdeps/unix/s-proto-bp.S: Likewise.
57942         [BZ #15062]
57943         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57944         parts of result separately when argument is not close to line from
57945         -i to i and one part of argument is small.
57946         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57947         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57948         * math/libm-test.inc (cacos_test): Add more tests.
57949         (casin_test): Likewise.
57950         (casinh_test): Likewise.
57951         * sysdeps/i386/fpu/libm-test-ulps: Update.
57952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57954 2013-01-31  David S. Miller  <davem@davemloft.net>
57956         * po/de.po: Update from translation team.
57958 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57960         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57962 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57964         * configure.in (_AC_PROG_CC_C89): New definition.
57965         * configure: Regenerate.
57967         * configure.in (AC_PROG_CPP): New definition.
57968         * configure: Regenerate.
57970 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57972         * debug/tst-backtrace.h: New file.
57973         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57974         (ret): Remove variable.
57975         (x): Likewise.
57976         (FAIL): Remove macro.
57977         (NO_INLINE): Likewise.
57978         (fn1): Use match function instead of strstr.
57979         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57980         (ret): Remove variable.
57981         (x): Likewise.
57982         (FAIL): Remove macro.
57983         (NO_INLINE): Likewise.
57984         (fn): Use match function instead of strstr.
57985         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57986         (ret): Remove variable.
57987         (x): Likewise.
57988         (FAIL): Remove macro.
57989         (NO_INLINE): Likewise.
57990         (handle_signal): Use match function instead of strstr.
57991         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57992         (ret): Remove variable.
57993         (x): Likewise.
57994         (FAIL): Remove macro.
57995         (NO_INLINE): Likewise.
57996         (handle_signal): Use match function instead of strstr.
57998 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58000         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58002 2013-01-23  David S. Miller  <davem@davemloft.net>
58004         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58005         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58006         argument of CAS if possible.
58007         * sysdeps/sparc/sparc64/bits/atomic.h
58008         (__arch_compare_and_exchange_val_32_acq): Likewise.
58009         (__arch_compare_and_exchange_val_64_acq): Likewise.
58011 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58013         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58014         * sysdeps/posix/ulimit.c: ... this.
58015         Include <limits.h>.
58016         * sysdeps/unix/bsd/ulimit.c: Remove file.
58018 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58020         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58021         (LDFLAGS-tst-array5): Likewise.
58023 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58025         [BZ #15036]
58026         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58027         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58028         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58029         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58031 2013-01-21  David S. Miller  <davem@davemloft.net>
58033         * sysdeps/sparc/backtrace.c: New file.
58034         * sysdeps/sparc/sparc32/backtrace.h: New file.
58035         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58036         * sysdeps/sparc/sparc64/backtrace.h: New file.
58037         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58038         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58039         -funwind-tables.
58041 2013-01-21  Andreas Schwab  <schwab@suse.de>
58043         [BZ #15020]
58044         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58045         closed its stdout.
58047 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58050         "mpa2.h".
58051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58053 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58054             Mark Mitchell  <mark@codesourcery.com>
58055             Tom de Vries  <tom@codesourcery.com>
58056             Paul Pluzhnikov  <ppluzhnikov@google.com>
58058         * debug/tst-backtrace2.c: New file.
58059         * debug/tst-backtrace3.c: Likewise.
58060         * debug/tst-backtrace4.c: Likewise.
58061         * debug/tst-backtrace5.c: Likewise.
58062         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58063         (CFLAGS-tst-backtrace3.c): Likewise.
58064         (CFLAGS-tst-backtrace4.c): Likewise.
58065         (CFLAGS-tst-backtrace5.c): Likewise.
58066         (LDFLAGS-tst-backtrace2): Likewise.
58067         (LDFLAGS-tst-backtrace3): Likewise.
58068         (LDFLAGS-tst-backtrace4): Likewise.
58069         (LDFLAGS-tst-backtrace5): Likewise.
58070         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58071         tst-backtrace4 and tst-backtrace5.
58073 2013-01-18  Anton Blanchard  <anton@samba.org>
58074             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58076         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58077         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58078         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58079         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58081         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58082         "+r" and remove output regs list as redundant.  Add explicit inline
58083         asm to specify register of return val to work around compiler codegen
58084         bug.  Remove (int) cast on return value.  Add return type parameter to
58085         use in macro so that this macro does not truncate return value for
58086         64-bit values.
58087         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58088         pass to INTERNAL_VSYSCALL_NCS.
58089         (INLINE_VSYSCALL): Add 'long int' as return type to
58090         INTERNAL_VSYSCALL_NCS macro invocation.
58091         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58092         INTERNAL_VSYSCALL_NCS macro invocation.
58093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58095 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58097         [BZ #14496]
58098         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58099         Fix application of SIMD FP exception mask.
58101         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58102         mp_no from a power of two.
58103         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58104         __mpexp_twomm1.  Use __pow_mp.
58106         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58107         multiplication.
58109 2013-01-17  David S. Miller  <davem@davemloft.net>
58111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58113 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58115         [BZ #15023]
58116         * include/complex.h: Condition contents on [!_COMPLEX_H].
58117         (__kernel_casinhf): New prototype.
58118         (__kernel_casinh): Likewise.
58119         (__kernel_casinhl): Likewise.
58120         * math/Makefile (libm_calls): Add k_casinh.
58121         * math/k_casinh.c: New file.
58122         * math/k_casinhf.c: Likewise.
58123         * math/k_casinhl.c: Likewise.
58124         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58125         finite nonzero arguments.
58126         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58127         finite nonzero arguments.
58128         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58129         finite nonzero arguments.
58130         * math/s_casinh.c: Do not include <float.h>.
58131         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
58132         * math/s_casinhf.c: Do not include <float.h>.
58133         (__casinhf): Move code for finite nonzero arguments to
58134         k_casinhf.c.
58135         * math/s_casinhl.c: Do not include <float.h>.
58136         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
58137         redefine.
58138         (__casinhl): Move code for finite nonzero arguments to
58139         k_casinhl.c.
58140         * math/libm-test.inc (cacos_test): Add more tests.
58141         * sysdeps/i386/fpu/libm-test-ulps: Update.
58142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58144 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
58146         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
58147         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
58148         [!HAVE_MREMAP]: Remove [defined linux] case.
58149         * malloc/arena.c: Do not include <malloc-sysdep.h>.
58151 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58153         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
58155 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
58157         * elf/elf.h (R_386_SIZE32): New relocation.
58158         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
58159         R_386_SIZE32.
58160         (elf_machine_rela): Likewise.
58161         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58162         R_X86_64_SIZE64 and R_X86_64_SIZE32.
58164 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58166         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
58167         (FP_FAST_FMA): Do not define.
58168         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
58169         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
58170         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
58171         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
58172         !_SOFT_FLOAT]: Likewise.
58173         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
58174         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
58175         value.
58176         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
58177         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
58178         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
58179         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
58180         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
58181         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
58182         file.
58184 2013-01-16  Andreas Schwab  <schwab@suse.de>
58186         [BZ #14327]
58187         * include/stdlib.h (__mktemp): Add declaration.
58188         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
58189         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
58191 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58193         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
58194         definitions.
58195         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58196         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
58197         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
58198         definitions here.
58199         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
58200         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
58201         definitions.
58202         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
58203         and ONE.
58204         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
58205         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
58206         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
58207         definitions.
58208         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
58209         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
58210         definitions.
58211         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58213         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
58215 2013-01-15  David S. Miller  <davem@davemloft.net>
58217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58218         trunc{,f} to libm-sysdep_routes.
58219         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
58221         file.
58222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
58223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
58224         file.
58225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
58226         file.
58227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
58228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
58229         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
58230         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
58231         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
58232         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
58233         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
58234         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
58236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58237         nearbyint{,f} to libm-sysdep_routes.
58238         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
58240         New file.
58241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
58242         file.
58243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
58244         New file.
58245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
58246         file.
58247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
58248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
58249         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
58250         file.
58251         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
58252         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
58253         file.
58254         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
58255         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
58256         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
58258         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58259         libc_feholdexcept and libc_fesetenv.
58261 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
58263         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
58265 2013-01-14  David S. Miller  <davem@davemloft.net>
58267         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58268         (SPARC_ASM_VIS2_IFUNC): Likewise.
58269         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
58270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
58271         use of 'siam' instruction.
58272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
58273         Likewise.
58274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
58275         Likewise.
58276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
58277         Likewise.
58278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
58279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
58280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
58281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
58282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
58283         file.
58284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
58285         file.
58286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
58287         file.
58288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
58289         file.
58290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
58291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
58292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
58293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
58294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
58295         new VIS2 routines.
58296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58299         Likewise.
58300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
58305         routines to libm-sysdep_routines.
58306         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58309         fdim/fdimf to libm-sysdep_routines.
58310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58311         file.
58312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58314         file.
58315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58318         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58319         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58320         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58321         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58323 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58325         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58326         to optimize copies.
58328         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58333         local variable MPTWO.
58334         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58335         Likewise.
58337 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58339         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58340         GLOB_NOESCAPE.
58342 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58344         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58346 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58348         * manual/pattern.texi (glob_t): Document gl_flags.
58349         (glob64_t): Likewise.
58351 2013-01-11  David S. Miller  <davem@davemloft.net>
58353         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58354         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58355         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
58356         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58357         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58358         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58359         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58360         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58361         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58362         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58363         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58364         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58365         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58367         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58368         sparc V9 rather than using V8 code.
58369         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58370         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58372         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58373         Move to...
58374         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58375         Here.
58377 2013-01-11  Roland McGrath  <roland@hack.frob.com>
58379         [BZ #14941]
58380         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58381         not in the main loop.
58382         * configure: Regenerated.
58384 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
58386         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58387         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58388         to just #else.
58389         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
58390         [!__GLIBC_HAVE_LONG_LONG] case.
58391         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58392         condition to just #else.
58393         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58394         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58395         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58396         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58397         unconditional.
58398         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58399         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58400         #elif condition to just #else.
58401         * sysdeps/unix/sysv/linux/sys/sysmacros.h
58402         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58403         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58404         #elif condition to just #else.
58406 2013-01-11  Steve Ellcey  <sellcey@mips.com>
58408         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58409         (EF_MIPS_ARCH_64): Fix value.
58410         (EF_MIPS_ARCH_32R2): New.
58411         (EF_MIPS_ARCH_64R2): New.
58413 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
58415         * Makeconfig (+link-pie-before-libc): New.
58416         (+link-pie-after-libc): Likewise.
58417         (+link-pie-tests): Likewise.
58418         (+link-pie): Rewritten.
58419         (link-before-libc): Remove $(config-LDFLAGS).
58420         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
58421         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
58422         (config-LDFLAGS): Renamed to ...
58423         (rtld-LDFLAGS): This.
58424         (rtld-tests-LDFLAGS): New macro.
58425         (link-libc-rpath-link): Likewise.
58426         (link-libc-tests-rpath-link): Likewise.
58427         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
58428         (link-libc): Prepand $(link-libc-rpath-link).
58429         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
58430         (test-program-prefix): New macro.
58431         (test-via-rtld-prefix): Likewise.
58432         (test-program-cmd): Likewise.
58433         (host-test-program-cmd): Likewise.
58434         * Makefile ($(common-objpfx)testrun.sh): Replace
58435         $(run-program-prefix) with $(test-program-prefix).
58436         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
58437         $(rtld-LDFLAGS).
58438         ($(common-objpfx)shlib.lds): Likewise.
58439         (build-module-helper): Likewise.
58440         ($(common-objpfx)format.lds): Likewise.
58441         * Rules (binaries-pie-tests): New.
58442         (binaries-pie-notests): Likewise.
58443         (binaries-pie): Rewritten.
58444         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
58445         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
58446         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
58447         (make-test-out): Replace $(host-built-program-cmd) with
58448         $(host-test-program-cmd).
58449         * config.make.in (build-hardcoded-path-in-tests): New variable.
58450         * configure.in (--enable-hardcoded-path-in-tests): New configure
58451         option.
58452         (hardcoded_path_in_tests): New AC_SUBST.
58453         * configure: Regenerated.
58454         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
58455         $(built-program-cmd) with $(test-program-cmd).
58456         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
58457         (test_program_cmd): This.
58458         * elf/Makefile ($(objpfx)order.out): Run test with
58459         $(test-program-prefix).
58460         ($(objpfx)order2.out): Likewise.
58461         ($(objpfx)tst-initorder.out): Likewise.
58462         ($(objpfx)tst-initorder2.out): Likewise.
58463         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
58464         $(test-program-cmd).
58465         ($(objpfx)tst-array1-static.out): Likewise.
58466         ($(objpfx)tst-array2.out): Likewise.
58467         ($(objpfx)tst-array3.out): Likewise.
58468         ($(objpfx)tst-array4.out): Likewise.
58469         ($(objpfx)tst-array5.out): Likewise.
58470         ($(objpfx)tst-array5-static.out): Likewise.
58471         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
58472         $(test-program-cmd).
58473         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
58474         $(run-program-prefix) with $(test-program-prefix).
58475         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
58476         (test_program_prefix): This.
58477         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
58478         $(run-program-prefix) with $(test-program-prefix).
58479         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
58480         (test_program_prefix): This.
58481         * iconvdata/tst-tables.sh: Likewise.
58482         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
58483         $(run-program-prefix) with $(test-program-prefix).
58484         ($(objpfx)tst-translit.out): Likewise.
58485         ($(objpfx)tst-gettext2.out): Likewise.
58486         ($(objpfx)tst-gettext4.out): Likewise.
58487         ($(objpfx)tst-gettext6.out): Likewise.
58488         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
58489         (test_program_prefix): This.
58490         * intl/tst-gettext2.sh: Likewise.
58491         * intl/tst-gettext4.sh  Likewise.
58492         * intl/tst-gettext6.sh: Likewise.
58493         * intl/tst-translit.sh: Likewise.
58494         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
58495         with $(test-program-cmd).
58496         * libio/Makefile ($(objpfx)test-freopen.out): Replace
58497         $(run-program-prefix) with $(test-program-prefix).
58498         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
58499         (test_program_prefix): This.
58500         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
58501         $(run-program-prefix) with $(test-program-prefix).
58502         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
58503         (test_program_prefix): This.
58504         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
58505         * posix/Makefile ($(objpfx)globtest.out): Replace
58506         $(run-via-rtld-prefix) and $(test-wrapper) with
58507         $(test-program-prefix) and $(test-via-rtld-prefix).
58508         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
58509         $(test-program-prefix).
58510         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
58511         $(host-test-program-cmd).
58512         (tst-spawn-ARGS): Likewise.
58513         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
58514         $(test-program-prefix).
58515         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
58516         (test_via_rtld_prefix): This.
58517         (test_wrapper): Renamed to ...
58518         (test_program_prefix): This.
58519         (run_program_prefix): Replaced by test_program_prefix.
58520         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
58521         (test_program_prefix): This.
58522         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
58523         with $(host-test-program-cmd).
58524         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
58525         $(run-program-prefix) with $(test-program-prefix).
58526         ($(objpfx)tst-printf.out): Likewise.
58527         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
58528         $(test-program-cmd).
58529         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
58530         (test_program_prefix): This.
58531         * stdio-common/tst-unbputc.sh: Likewise.
58532         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
58533         $(run-program-prefix) with $(test-program-prefix).
58534         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
58535         (test_program_prefix): This.
58536         * string/Makefile ($(objpfx)tst-svc.out):  Replace
58537         $(built-program-cmd) with $(test-program-cmd).
58539 2013-01-11  Andreas Jaeger  <aj@suse.de>
58541         [BZ #15003]
58542         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
58543         value. Sync with Linux 3.7.
58545 2013-01-10  David S. Miller  <davem@davemloft.net>
58547         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
58548         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58549         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58551 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58553         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
58554         never set.
58555         * configure: Regenerated.
58557 2013-01-10  David S. Miller  <davem@davemloft.net>
58559         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58560         sparc V9 rather than using V8 code.
58561         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58562         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58564 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58566         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
58567         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
58568         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
58569         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
58570         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
58571         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
58572         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
58573         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
58574         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
58575         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
58576         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
58577         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
58578         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
58579         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
58580         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
58581         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
58582         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
58583         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
58584         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
58585         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
58586         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
58587         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
58588         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
58589         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
58590         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
58591         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
58592         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
58594 2013-01-10  David S. Miller  <davem@davemloft.net>
58596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58598 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58600         * posix/Makefile (tests-static): New variable.
58601         (tests): Add $(tests-static).
58602         (tst-exec-static-ARGS): New variable.
58603         (tst-spawn-static-ARGS): Likewise.
58604         * posix/tst-exec-static.c: New file.
58605         * posix/tst-spawn-static.c: Likewise.
58606         * posix/tst-exec.c: Support run directly.
58607         * posix/tst-spawn.c: Likewise.
58609 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
58611         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
58612         long.
58613         * math/bits/mathcalls.h (llrint): Likewise.
58614         (llround): Likewise.
58615         * stdlib/stdlib.h (struct drand48_data): Likewise.
58616         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
58617         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
58618         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
58619         Likewise.
58620         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
58621         Likewise.
58622         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
58623         (elf_greg_t): Likewise.
58624         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
58625         (__jmp_buf): Likewise.
58626         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
58627         definitions.
58628         (llrint): Likewise, for all definitions.
58629         (llrintl): Likewise.
58631         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
58632         Remove [__GNUC__] condition.
58633         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
58634         condition to just [__USE_ISOC99].
58635         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
58637 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58639         [BZ #14200]
58640         * sysdeps/unix/sysv/linux/x86/bits/environments.h
58641         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
58642         defined.
58643         (_POSIX_V6_ILP32_OFF32): Likewise.
58644         (_XBS5_ILP32_OFF32): Likewise.
58645         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
58646         (__ILP32_OFFBIG_LDFLAGS): Likewise.
58648 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58650         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
58652         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
58653         doubles __mpexp_twomm1.  Adjust usage.
58654         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
58655         Remove.
58657 2013-01-10  Andreas Schwab  <schwab@suse.de>
58659         [BZ #14964]
58660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
58661         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
58663 2013-01-09  David S. Miller  <davem@davemloft.net>
58665         [BZ #15003]
58666         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
58667         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
58668         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
58669         (TCP_FASTOPEN): Define.
58670         (tcp_repair_opt): New structure.
58671         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
58672         enum values.
58673         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
58674         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
58675         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
58676         (tcp_cookie_transactions): New structure.
58678 2013-01-09  Anton Blanchard  <anton@samba.org>
58680         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
58681         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
58682         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
58683         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
58685 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
58687         * include/features.h (__USE_ANSI): Remove.
58689 2013-01-09  Roland McGrath  <roland@hack.frob.com>
58691         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
58693         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
58695 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
58697         * sysdeps/s390/fpu/libm-test-ulps: Update.
58699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58701         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
58702         (__acr): Likewise.
58703         (__cpy): Likewise.
58704         (norm): Likewise.
58705         (denorm): Likewise.
58706         (__mp_dbl): Likewise.
58707         (__dbl_mp): Likewise.
58708         (add_magnitudes): Likewise.
58709         (sub_magnitudes): Likewise.
58710         (__add): Likewise.
58711         (__sub): Likewise.
58712         (__mul): Likewise.
58713         (__inv): Likewise.
58714         (__dvd): Likewise.
58715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
58716         (__acr): Likewise.
58717         (__cpy): Likewise.
58718         (norm): Likewise.
58719         (denorm): Likewise.
58720         (__mp_dbl): Likewise.
58721         (__dbl_mp): Likewise.
58722         (add_magnitudes): Likewise.
58723         (sub_magnitudes): Likewise.
58724         (__add): Likewise.
58725         (__sub): Likewise.
58726         (__mul): Likewise.
58727         (__inv): Likewise.
58728         (__dvd): Likewise.
58729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
58730         (__acr): Likewise.
58731         (__cpy): Likewise.
58732         (norm): Likewise.
58733         (denorm): Likewise.
58734         (__mp_dbl): Likewise.
58735         (__dbl_mp): Likewise.
58736         (add_magnitudes): Likewise.
58737         (sub_magnitudes): Likewise.
58738         (__add): Likewise.
58739         (__sub): Likewise.
58740         (__mul): Likewise.
58741         (__inv): Likewise.
58742         (__dvd): Likewise.
58744 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
58746         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
58747         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58748         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
58749         2 && __USE_EXTERN_INLINES]: Likewise.
58751 2013-01-08  Andreas Jaeger  <aj@suse.de>
58753         [BZ# 14985]
58754         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
58755         Remove.
58756         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58757         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58759 2013-01-07  Anton Blanchard  <anton@samba.org>
58761         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
58762         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58763         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
58764         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58765         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58766         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58767         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
58768         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58770         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58771         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58772         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58773         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58774         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58775         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58776         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58777         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58778         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58779         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58780         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58781         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58782         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58783         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58784         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58785         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58786         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58787         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58788         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58789         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58790         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58791         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58792         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58793         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58794         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58795         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58796         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58797         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58798         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58799         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58800         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58801         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58802         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58803         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58805 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58807         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58808         (__MALLOC_PMT): Likewise.
58809         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58810         [__GNUC__], only on [_LIBC].
58811         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58812         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58813         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58814         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58815         forward declaration.
58816         (realloc_hook_ini): Likewise.
58817         (memalign_hook_ini): Likewise.
58818         (__libc_memalign): Do not use __MALLOC_PMT in variable
58819         declaration.
58820         (__libc_valloc): Likewise.
58821         (__libc_pvalloc): Likewise.
58822         (__libc_calloc): Likewise.
58823         (__posix_memalign): Likewise.
58825         [BZ #14996]
58826         * math/s_casinh.c: Include <float.h>.
58827         (__casinh): Do not do computation with squaring and square root
58828         for large arguments.
58829         * math/s_casinhf.c: Include <float.h>.
58830         (__casinhf): Do not do computation with squaring and square root
58831         for large arguments.
58832         * math/s_casinhl.c: Include <float.h>.
58833         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58834         (__casinhl): Do not do computation with squaring and square root
58835         for large arguments.
58836         * math/libm-test.inc (casin_test): Add more tests.
58837         (casinh_test): Likewise.
58838         * sysdeps/i386/fpu/libm-test-ulps: Update.
58839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58841 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58843         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58844         (__x86_64_raw_data_cache_size): Likewise.
58845         (__x86_64_data_cache_size_half): Likewise.
58846         (__x86_64_raw_data_cache_size_half): Likewise.
58847         (__x86_64_shared_cache_size): Likewise.
58848         (__x86_64_raw_shared_cache_size): Likewise.
58849         (__x86_64_shared_cache_size_half): Likewise.
58850         (__x86_64_raw_shared_cache_size_half): Likewise.
58851         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58852         to ...
58853         (__x86_data_cache_size): This.
58854         (__x86_64_raw_data_cache_size): Renamed to ...
58855         (__x86_raw_data_cache_size): This.
58856         (__x86_64_data_cache_size_half): Renamed to ...
58857         (__x86_data_cache_size_half): This.
58858         (__x86_64_raw_data_cache_size_half): Renamed to ...
58859         (__x86_raw_data_cache_size_half): This.
58860         (__x86_64_shared_cache_size): Renamed to ...
58861         (__x86_shared_cache_size): This.
58862         (__x86_64_raw_shared_cache_size): Renamed to ...
58863         (__x86_raw_shared_cache_size): This.
58864         (__x86_64_shared_cache_size_half): Renamed to ...
58865         (__x86_shared_cache_size_half): This.
58866         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58867         (__x86_raw_shared_cache_size_half): This.
58868         * sysdeps/x86_64/memcpy.S: Updated.
58869         * sysdeps/x86_64/memset.S: Likewise.
58870         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58871         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58872         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58874 2013-01-04  David S. Miller  <davem@davemloft.net>
58876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58878 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58880         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58881         1 to avoid redefinition warning.
58882         (__USE_GNU): Don't define.
58883         (init_signaling_nan): Protoize.
58885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58887 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58889         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58890         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58891         (__cpymn): Likewise.
58892         (norm): Remove commented code.
58893         (denorm): Likewise.
58894         (__mp_dbl): Likewise.
58895         (__inv): Likewise.
58896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58897         (__cpymn): Likewise.
58898         (norm): Remove commented code.
58899         (denorm): Likewise.
58900         (__mp_dbl): Likewise.
58901         (__inv): Likewise.
58903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58904         mp_no value for 1.0 and 2.0.
58905         (norm): Use RADIXI instead of radixi.d.
58906         (denorm): Likewise.
58907         (__mul): Use 0.0 instead of zero.d.
58908         * sysdeps/powerpc/powerpc64/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.
58914 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58916         [BZ #14994]
58917         * math/s_casinh.c (__casinh): Reduce finite argument to first
58918         quadrant then set signs of results at the end.
58919         * math/s_casinhf.c (__casinhf): Likewise.
58920         * math/s_casinhl.c (__casinhl): Likewise.
58921         * math/libm-test.inc (casin_test): Add more tests.
58922         (casinh_test): Likewise.
58923         * sysdeps/i386/fpu/libm-test-ulps: Update.
58924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58926 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58928         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58930         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58932         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58933         declarations.
58934         (denorm): Likewise.
58935         (__mp_dbl): Likewise.
58936         (__inv): Likewise.
58938         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58939         and adjust the header comment.
58941         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58942         variable name from declaration.
58944 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58947         Initialize COMMON_CPUID_INDEX_7 element.
58948         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58949         (CPUID_RTM): Likewise.
58950         (HAS_RTM): Likewise.
58951         (COMMON_CPUID_INDEX_7): New enum.
58953 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58955         [BZ #14981]
58956         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58957         size is zero, record memory as freed.
58959 2013-01-03  Andreas Jaeger  <aj@suse.de>
58961         * po/ia.po: Add new Interlingua translation.
58963 2012-01-03  Allan McRae  <allan@archlinux.org>
58965         * locale/programs/localedef.c: Fix description of '--posix' flag.
58967 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58969         * NEWS: Update dates in second copyright notice.
58970         * README: Update copyright dates in example.
58971         * manual/libc.texinfo: Update copyright dates.
58972         * scripts/test-installation.pl: Update copyright date in --version
58973         output.
58975         * hurd/ctty-input.c: Fix copyright notice formatting.
58976         * hurd/ctty-output.c: Likewise.
58977         * hurd/dtable.c: Likewise.
58978         * hurd/hurd-raise.c: Likewise.
58979         * hurd/hurdprio.c: Likewise.
58980         * hurd/msgportdemux.c: Likewise.
58981         * misc/sys/file.h: Likewise.
58982         * misc/sys/ioctl.h: Likewise.
58983         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58984         * sysdeps/mach/hurd/chdir.c: Likewise.
58985         * sysdeps/mach/hurd/fchdir.c: Likewise.
58986         * sysdeps/mach/hurd/rename.c: Likewise.
58987         * sysdeps/mach/hurd/rmdir.c: Likewise.
58988         * sysdeps/mach/hurd/seekdir.c: Likewise.
58989         * sysdeps/mach/hurd/setsid.c: Likewise.
58990         * sysdeps/posix/wait3.c: Likewise.
58992         * All files with FSF copyright notices: Update copyright dates
58993         using scripts/update-copyrights.
58994         * intl/plural.c: Regenerated.
58995         * locale/programs/charmap-kw.h: Likewise.
58996         * locale/programs/locfile-kw.h: Likewise.
58998 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59000         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59001         four values.
59003         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59004         calculation loop and add branch prediction.
59006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59007         check access beyond bounds of m1np.
59009         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59010         MPTWO.
59011         (__inv): Remove local variable MPTWO to use the global
59012         constant.
59013         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59014         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59015         variable MPTWO.
59016         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59017         MP3HALFS static const.
59019 2013-01-01  David S. Miller  <davem@davemloft.net>
59021         * po/ca.po: Update from translation team.
59023 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59025         * scripts/update-copyrights: New file.
59026         * Makeconfig: Reformat copyright notice.
59027         * ctype/ctype.h: Likewise.
59028         * debug/swprintf_chk.c: Likewise.
59029         * elf/dl-cache.c: Likewise.
59030         * elf/dl-debug.c: Likewise.
59031         * elf/dl-object.c: Likewise.
59032         * grp/initgroups.c: Likewise.
59033         * hurd/Makefile: Likewise.
59034         * hurd/hurd/signal.h: Likewise.
59035         * hurd/hurdfault.c: Likewise.
59036         * hurd/hurdioctl.c: Likewise.
59037         * hurd/hurdlookup.c: Likewise.
59038         * hurd/intr-msg.c: Likewise.
59039         * iconv/gconv_open.c: Likewise.
59040         * libio/swprintf.c: Likewise.
59041         * locale/lc-ctype.c: Likewise.
59042         * locale/nl_langinfo.c: Likewise.
59043         * mach/Machrules: Likewise.
59044         * mach/Makefile: Likewise.
59045         * malloc/obstack.h: Likewise.
59046         * manual/Makefile: Likewise.
59047         * manual/tsort.awk: Likewise.
59048         * misc/bits/stab.def: Likewise.
59049         * nis/nis_print_group_entry.c: Likewise.
59050         * nis/nis_table.c: Likewise.
59051         * nis/nss_compat/compat-pwd.c: Likewise.
59052         * nis/nss_compat/compat-spwd.c: Likewise.
59053         * po/Makefile: Likewise.
59054         * posix/fnmatch.c: Likewise.
59055         * posix/regex.h: Likewise.
59056         * resolv/Makefile: Likewise.
59057         * resolv/nss_dns/dns-network.c: Likewise.
59058         * resolv/res_hconf.c: Likewise.
59059         * scripts/gen-sorted.awk: Likewise.
59060         * soft-fp/soft-fp.h: Likewise.
59061         * stdio-common/printf.h: Likewise.
59062         * stdlib/monetary.h: Likewise.
59063         * stdlib/random.c: Likewise.
59064         * stdlib/random_r.c: Likewise.
59065         * sysdeps/generic/Makefile: Likewise.
59066         * sysdeps/gnu/Makefile: Likewise.
59067         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59068         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59069         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59070         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59071         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59073         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59074         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59075         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59076         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59077         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59078         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59079         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59080         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59081         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59082         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59083         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59084         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59085         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59086         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59087         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59088         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59089         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59090         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59091         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59092         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59093         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59094         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59095         * sysdeps/mach/hurd/errnos.awk: Likewise.
59096         * sysdeps/mach/hurd/fork.c: Likewise.
59097         * sysdeps/mach/hurd/getcwd.c: Likewise.
59098         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59099         * sysdeps/mach/hurd/mmap.c: Likewise.
59100         * sysdeps/mach/hurd/utimes.c: Likewise.
59101         * sysdeps/mach/hurd/xmknod.c: Likewise.
59102         * sysdeps/posix/profil.c: Likewise.
59103         * sysdeps/posix/readdir_r.c: Likewise.
59104         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59105         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59106         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59107         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59109         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59110         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59111         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59113         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59114         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59115         * sysdeps/pthread/lio_listio.c: Likewise.
59116         * sysdeps/sparc/dl-procinfo.h: Likewise.
59117         * sysdeps/unix/i386/sysdep.S: Likewise.
59118         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59119         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59120         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59121         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59123         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59124         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59125         * sysdeps/unix/sysv/linux/speed.c: Likewise.
59126         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59127         * sysdeps/wordsize-32/divdi3.c: Likewise.
59128         * time/sys/time.h: Likewise.
59129         * wcsmbs/Makefile: Likewise.
59131 2013-01-01  David S. Miller  <davem@davemloft.net>
59133         * po/fr.po: Update from translation team.
59135         * catgets/gencat.c: Update copyright year.
59136         * csu/version.c: Likewise.
59137         * debug/catchsegv.sh: Likewise.
59138         * debug/pcprofiledump.c: Likewise.
59139         * debug/xtrace.sh: Likewise.
59140         * elf/ldconfig.c: Likewise.
59141         * elf/ldd.bash.in: Likewise.
59142         * elf/pldd.c: Likewise.
59143         * elf/sotruss.ksh: Likewise.
59144         * elf/sprof.c: Likewise.
59145         * iconv/iconv_prog.c: Likewise.
59146         * iconv/iconvconfig.c: Likewise.
59147         * locale/programs/locale.c: Likewise.
59148         * locale/programs/localedef.c: Likewise.
59149         * login/programs/pt_chown.c: Likewise.
59150         * malloc/memusage.sh: Likewise.
59151         * malloc/memusagestat.c: Likewise.
59152         * malloc/mtrace.pl: Likewise.
59153         * nscd/nscd.c: Likewise.
59154         * nss/getent.c: Likewise.
59155         * nss/makedb.c: Likewise.
59156         * posix/getconf.c: Likewise.
59158 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59160         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
59161         numbers.
59163 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
59165         * math/bits/mathcalls.h (modf): Use __nonnull.
59167 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59169         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
59170         (split): Use macro CN instead of the bare value.
59171         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
59172         could be used.
59173         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
59174         instead of the bare value.
59175         (power1): Likewise.
59177 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59179         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
59180         __ATAN_TWOM.
59181         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59183         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
59184         their values.
59185         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59186         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59187         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
59188         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59190 2012-12-28  Andreas Jaeger  <aj@suse.de>
59192         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
59193         values are from Linux 3.7.
59195         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
59196         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
59198 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59200         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
59201         TRUE case.
59203         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
59204         (norm): Likewise.
59205         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
59206         variables with preprocessor constants.
59207         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59208         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59209         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59211 2012-12-27  Bruno Haible  <bruno@clisp.org>
59213         [BZ #14317]
59214         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
59215         only if needed.
59217 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59219         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
59220         and use variable directly.
59221         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
59223         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59224         MPONE.
59225         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
59226         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59227         variable MPONE.
59228         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59229         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59230         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
59231         include directive.  Remove local variable MPONE.
59232         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
59233         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
59234         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59236 2012-12-25  David S. Miller  <davem@davemloft.net>
59238         * version.h (RELEASE): Set to "development".
59239         (VERSION): Set to "2.17.90".
59240         * NEWS: Add 2.18 section.
59242 2012-12-21  David S. Miller  <davem@davemloft.net>
59244         * po/hr.po: Update from translation team.
59246 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59248         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
59250 2012-12-19  Steve Ellcey  <sellcey@mips.com>
59252         * NEWS:  Mention new memcpy for MIPS.
59254 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59256         * manual/contrib.texi (Contributors): Spelling correction.
59258 2012-12-15  David S. Miller  <davem@davemloft.net>
59260         * po/ru.po: Update from translation team.
59262 2012-12-13  David S. Miller  <davem@davemloft.net>
59264         * NEWS: Mention IFUNC testsuite enhancements.
59266         * po/pl.po: Update from translation team.
59267         * po/bg.po: Likewise.
59269         * manual/contrib.texi (Contributors): Update entries for Hongjiu
59270         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
59272 2012-12-11  David S. Miller  <davem@davemloft.net>
59274         * po/sv.po: Update from translation team.
59276         * po/vi.po: Update from translation team.
59278         * po/cs.po: Update from translation team.
59280         * po/de.po: Update from translation team.
59281         * po/eo.po: Likewise.
59282         * po/nl.po: Likewise.
59284 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59286         [BZ #14246]
59287         * manual/argp.texi (Argp Helper Functions): Move node to follow
59288         Argp Parsing State.
59290         [BZ #14872]
59291         * manual/conf.texi (Limits on File System Capacity): Mention if
59292         terminating null is included in the max size.
59294 2012-12-10  Andreas Jaeger  <aj@suse.de>
59296         * po/cs.po: Update from translation team.
59298 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59300         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
59301         void pointer and cast to uintptr_t.
59302         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
59303         path.
59304         * sysdeps/s390/s390-64/memcpy.S: Likewise.
59305         * sysdeps/s390/s390-64/memset.S: Likewise.
59307 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
59309         [BZ #14833]
59310         * menual/message.texi (Message Translation): Fix typos.
59311         (Helper programs for gettext): Likewise.
59313 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
59315         [BZ #14898]
59316         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59317         Change to -1.
59319 2012-12-07  David S. Miller  <davem@davemloft.net>
59321         * po/libc.pot: Update.
59323 2012-12-07  Richard Henderson  <rth@redhat.com>
59325         [BZ #10114]
59326         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59327         normal/normal case to before the switch.
59328         (_FP_DIV): Likewise.
59330 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59331             Mike Frysinger  <vapier@gentoo.org>
59333         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59334         check for __NR_fadvise64_64.
59336 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
59338         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59339         0, not just to plain "0" as a statement.
59340         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59341         with cw.
59343 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
59345         * NEWS: Use sourceware.org in Bugzilla URL.
59347 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59350         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59352         * stdio-common/tst-put-error.c (do_test): Add newline to the
59353         padded test to ensure flush.
59355 2012-12-05  Jeff Law  <law@redhat.com>
59357         * sunrpc/etc.rpc (fedfs_admin): Add entry.
59359 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
59361         * README: Don't refer to ports add-on as distributed separately.
59362         Mention AArch64 in list of systems supported in the ports add-on.
59364         * LICENSES: Add more non-FSF copyright and license notices.
59366         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59367         ((unused)).
59369         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59371         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59372         10000 as width of padded output.
59374 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59376         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59378         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59379         variable LX with __attribute__ ((unused)).
59380         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59381         Likewise.
59382         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59383         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59384         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59385         with __attribute__ ((unused)).
59387 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
59389         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59391 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59393         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59394         (CFLAGS-nldbl-acos.c): New variable.
59395         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59396         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59397         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59398         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59399         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59400         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59401         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59402         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59403         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59404         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59405         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59406         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59407         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59408         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59409         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59410         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59411         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59412         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59413         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
59414         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
59415         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
59416         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
59417         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
59418         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
59419         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
59420         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
59421         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
59422         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
59423         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
59424         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
59425         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
59426         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
59427         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
59428         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
59429         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
59430         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
59431         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
59432         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
59433         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59434         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
59435         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
59436         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
59437         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
59438         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
59439         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
59440         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
59441         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
59442         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
59443         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
59444         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59445         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
59446         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
59447         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
59448         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
59449         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
59450         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
59451         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
59452         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
59453         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
59454         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
59455         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
59456         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
59457         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
59458         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
59459         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
59460         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
59461         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
59462         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
59463         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
59464         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
59465         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
59466         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
59467         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
59468         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
59469         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
59470         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
59471         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
59472         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
59473         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
59474         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
59475         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
59476         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
59477         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
59478         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
59479         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
59480         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
59481         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
59482         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
59483         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
59484         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
59485         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
59486         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
59487         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
59488         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
59489         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
59490         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
59491         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
59493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59494         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59496         [BZ #14914]
59497         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
59498         whole low double instead of just low 47 bits when splitting values
59499         into two parts.
59501 2012-12-03  Allan McRae  <allan@archlinux.org>
59503         * manual/stdio.texi (Predefined Printf Handlers): Remove
59504         @hsep and @vsep usage.
59506 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
59508         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
59509         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
59511 2012-12-03  Jeff Law  <law@redhat.com>
59513         * time/sys/time.h (settimeofday): Do not mark TV argument
59514         as __nonnull.
59516 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
59518         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
59519         when currently writing and seek to current position when not.
59520         * libio/Makefile (tests): Remove bug-fclose1.
59521         * libio/bug-fclose1.c: Delete.
59523 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
59525         * manual/arith.texi (feenableexcept): Fix typo.
59526         (fedisableexcept): Likewise.
59528 2012-11-30  Roland McGrath  <roland@hack.frob.com>
59530         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
59531         second, differently-typed declaration, rather than a cast.
59533 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59535         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
59536         * include/rpc/svc.h: ... here.
59538 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
59540         [BZ #13013]
59541         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
59542         depending n and resplen2 to catch cases where answer
59543         equals answerp2.
59545 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
59547         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
59548         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
59550 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
59552         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
59554 2012-11-29  Roland McGrath  <roland@hack.frob.com>
59556         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
59558 2012-11-28  Jeff Law  <law@redhat.com>
59560         [BZ #13761]
59561         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
59562         dataset_temporary.  Track alloca usage into alloca_used.
59563         If dataset is large allocate and release it via malloc/free.
59565 2012-06-04  Florian Weimer  <fweimer@redhat.com>
59567         [BZ #14197]
59568         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
59570 2012-11-28  David S. Miller  <davem@davemloft.net>
59572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59574 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59576         [BZ #14803]
59577         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
59578         of pi/2 rounded to nearest to 64 bits.
59579         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
59580         nearest to 64 bits.
59581         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
59582         bits.
59584 2012-11-28  Jeff Law <law@redhat.com>
59585             Martin Osvald <mosvald@redhat.com>
59587         [BZ #14889]
59588         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
59589         * sunrpc/svc.c: Include time.h.
59590         (__svc_accept_failed): New function.
59591         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
59592         any reason other than EINTR, call __svc_accept_failed.
59593         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
59594         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
59596 2012-11-28  Andreas Schwab  <schwab@suse.de>
59598         * scripts/abilist.awk: Also handle indirect functions in .opd
59599         section.
59601 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59603         [BZ #13881]
59604         * sysdeps/x86/fpu/powl_helper.c: New file.
59605         * sysdeps/x86/fpu/Makefile: Likewise.
59606         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
59607         (p3): New object.
59608         (__ieee754_powl): Use __powl_helper for finite arguments except
59609         integer exponents below 8.
59610         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
59611         (p3): New object.
59612         (__ieee754_powl): Use __powl_helper for finite arguments except
59613         integer exponents below 8.
59614         * math/libm-test.inc (pow_test): Add more tests and enable some
59615         previously disabled tests.
59616         * sysdeps/i386/fpu/libm-test-ulps: Update.
59617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59619 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59620             Carlos O'Donell  <carlos_odonell@mentor.com>
59622         * nss/makedb.c (is_prime): Assert that input is odd and greater
59623         than 4.  Note that fact in a comment too.
59624         (next_prime): Add 4 to input.
59626 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59628         [BZ #11741]
59629         * libio/Makefile (tests): Add test case tst-fwrite-error.
59630         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
59631         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
59632         * libio/tst-fwrite-error.c: New test case.
59634 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
59636         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
59637         before casting to void *.
59638         * include/libc-internal.h (__pointer_type): New macro.
59639         (__integer_if_pointer_type_sub): Likewise.
59640         (__integer_if_pointer_type): Likewise.
59641         (cast_to_integer): Likewise.
59642         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
59643         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
59644         before casting to atomic64_t.
59645         (atomic_exchange_acq): Likewise.
59646         (__arch_exchange_and_add_body): Likewise.
59647         (__arch_add_body): Likewise.
59648         (atomic_add_negative): Likewise.
59649         (atomic_add_zero): Likewise.
59651 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
59653         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
59654         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
59655         (add_fdes): Likewise.
59656         (linear_search_fdes): Likewise.
59657         (binary_search_unencoded_fdes): Likewise.
59659 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
59661         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
59663 2012-11-24  Adam Conrad  <adconrad@0c3.net>
59665         * configure.in: Autodetect C++ header directories.
59666         * configure: Regenerated.
59668 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
59670         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
59672 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
59674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59676 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
59678         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
59679         LDBL_MANT_DIG == 106]: Disable some tests.
59680         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59681         Likewise.
59682         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59683         Likewise.
59685         [BZ #14871]
59686         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
59687         input for small inputs.  Return +/- pi/2 for large inputs.
59688         * math/libm-test.inc (atan_test): Add more tests.
59690         * sysdeps/generic/unwind-dw2-fde-glibc.c
59691         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
59692         __attribute__ ((unused)).
59694         [BZ #14645]
59695         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
59696         x * y if x and y are nonzero and z is zero.
59698         [BZ #14811]
59699         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
59700         nonzero exponents with absolute value below 0x1p-117 to +/-
59701         0x1p-117.
59703         [BZ #14869]
59704         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
59705         up arguments below 2**-450, not just those below 2**-500.
59706         * math/libm-test.inc (hypot_test): Add another test.
59708         [BZ #14868]
59709         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
59710         Return a+b for ratio over 2**120, not 2**60.
59711         * math/libm-test.inc (hypot_test): Add another test.
59713         * math/libm-test.inc (clog_test): Use
59714         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
59715         (clog10_test): Likewise.
59717         [BZ #6778]
59718         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
59720 2012-11-22  Andreas Schwab  <schwab@suse.de>
59722         * sysdeps/i386/fpu/libm-test-ulps: Update.
59724 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
59726         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
59727         printf output with newline.
59729 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
59731         [BZ #14865]
59732         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
59733         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
59734         -z nodlopen, -z initfirst and -z execstack support.
59735         * configure: Regenerated.
59737         * elf/elf.h (DF_1_NODIRECT): New macro.
59738         (DF_1_IGNMULDEF): Likewise.
59739         (DF_1_NOKSYMS): Likewise.
59740         (DF_1_NOHDR): Likewise.
59741         (DF_1_EDITED): Likewise.
59742         (DF_1_NORELOC): Likewise.
59743         (DF_1_SYMINTPOSE): Likewise.
59744         (DF_1_GLOBAUDIT): Likewise.
59745         (DF_1_SINGLETON): Likewise.
59746         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
59747         DT_1_SUPPORTED_MASK bits.
59748         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59750 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
59752         * sysdeps/unix/make-syscalls.sh: Document prefixes.
59754 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
59756         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
59757         macro.
59759         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
59760         (sendmmsg): Move declarations...
59761         * socket/sys/socket.h: ... here.
59762         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
59763         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59764         include it from...
59765         * socket/recvmmsg.c: ... this new file.
59766         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
59767         (sendmmsg): Rename to __sendmmsg, create weak alias and make
59768         definition of __sendmmsg hidden.
59769         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
59770         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
59771         Move ENOSYS stub into and include it from...
59772         * socket/sendmmsg.c: ... this new file.
59773         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
59774         (sysdep_routines): Move recvmmsg and sendmmsg...
59775         * socket/Makefile (routines): ... here.
59776         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
59777         (GLIBC_PRIVATE): Add __sendmmsg.
59778         * include/sys/socket.h (__sendmmsg): Add declarations.
59779         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59780         sendmmsg.
59782 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59784         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59785         variable I1 with __attribute__ ((unused)).
59786         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59788 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59790         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59791         DUMMY variables with __attribute__ ((unused)).
59793         * bits/byteswap.h: Include <bits/types.h>.
59794         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59796 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59798         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59799         string_t.  Do not manually set errno.
59800         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59801         length with __strnlen.  Make sure to both set errno and return it on
59802         failure.
59804 2012-11-19  David S. Miller  <davem@davemloft.net>
59806         With help from Joseph Myers.
59807         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59808         very large arguments properly.
59809         * math/libm-test.inc (atan_test): New tests.
59810         (atan2_test): New tests.
59811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59814 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59816         [BZ #14856]
59817         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59818         Define to 3.
59820         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59821         [POSIX] (EADDRNOTAVAIL): Likewise.
59822         [POSIX] (EAFNOSUPPORT): Likewise.
59823         [POSIX] (EALREADY): Likewise.
59824         [POSIX] (ECONNABORTED): Likewise.
59825         [POSIX] (ECONNREFUSED): Likewise.
59826         [POSIX] (ECONNRESET): Likewise.
59827         [POSIX] (EDESTADDRREQ): Likewise.
59828         [POSIX] (EDQUOT): Likewise.
59829         [POSIX] (EHOSTUNREACH): Likewise.
59830         [POSIX] (EIDRM): Likewise.
59831         [POSIX] (EISCONN): Likewise.
59832         [POSIX] (ELOOP): Likewise.
59833         [POSIX] (EMULTIHOP): Likewise.
59834         [POSIX] (ENETDOWN): Likewise.
59835         [POSIX] (ENETUNREACH): Likewise.
59836         [POSIX] (ENOBUFS): Likewise.
59837         [POSIX] (ENODATA): Likewise.
59838         [POSIX] (ENOLINK): Likewise.
59839         [POSIX] (ENOMSG): Likewise.
59840         [POSIX] (ENOPROTOOPT): Likewise.
59841         [POSIX] (ENOSR): Likewise.
59842         [POSIX] (ENOSTR): Likewise.
59843         [POSIX] (ENOTCONN): Likewise.
59844         [POSIX] (ENOTSOCK): Likewise.
59845         [POSIX] (EOPNOTSUPP): Likewise.
59846         [POSIX] (EOVERFLOW): Likewise.
59847         [POSIX] (EPROTO): Likewise.
59848         [POSIX] (EPROTONOSUPPORT): Likewise.
59849         [POSIX] (EPROTOTYPE): Likewise.
59850         [POSIX] (ESTALE): Likewise.
59851         [POSIX] (ETIME): Likewise.
59852         [POSIX] (ETXTBSY): Likewise.
59853         [POSIX] (EWOULDBLOCK): Likewise.
59854         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59855         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59856         [POSIX] (SEEK_CUR): Likewise.
59857         [POSIX] (SEEK_END): Likewise.
59858         [POSIX || UNIX98] (mode_t): Do not require.
59859         [POSIX] (off_t): Likewise.
59860         [POSIX] (pid_t): Likewise.
59861         [POSIX] (sys/stat.h): Do not allow header.
59862         [POSIX] (unistd.h): Likewise.
59863         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59864         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59865         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59866         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59867         require.
59868         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59869         sigevent): Specify elements.
59870         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59871         entry.
59872         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59873         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59875         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59876         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59877         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59878         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59879         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59880         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59881         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59882         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59883         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59884         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59885         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59886         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59887         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59888         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59889         Likewise.
59890         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59891         Likewise.
59892         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59893         Likewise.
59894         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59895         Likewise.
59896         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59897         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59898         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59899         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59900         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59901         Specify lower bound on value.
59902         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59903         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59904         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59905         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59906         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59907         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59908         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59909         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59910         value.
59911         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59912         as optional.
59913         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59914         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59915         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59916         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59917         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59918         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59919         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59920         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59921         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59922         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59923         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59924         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59925         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59926         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59927         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59928         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59929         entry.
59930         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59931         optional.
59932         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59933         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59934         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59935         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59936         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59937         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59938         Likewise.
59939         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59940         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59941         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59942         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59943         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59944         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59945         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59946         as optional.
59947         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59948         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59949         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59950         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59951         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59952         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59953         specify as optional.
59954         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59955         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59956         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59957         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59958         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59959         [XPG3] (NL_LANGMAX): Likewise.
59960         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59961         [POSIX || XPG3] (NL_NMAX): Likewise.
59962         [POSIX || XPG3] (NL_SETMAX): Likewise.
59963         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59964         [XPG3] (NZERO): Likewise.
59965         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59966         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59967         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59968         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59969         (REG_ERANGE): Expect.
59970         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59971         optional-constant.
59972         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59973         Use (void) in prototype.
59974         [POSIX] (*_t): Allow.
59975         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59976         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59977         (WRDE_BADVAL): Expect.
59979         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59980         expect.
59981         [XPG3 || XPG4] (O_RSYNC): Likewise.
59982         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59983         Likewise.
59984         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59985         [XPG3 || XPG4] (sigqueue): Likewise.
59986         [XPG3 || XPG4] (sigtimedwait): Likewise.
59987         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59988         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59989         [XPG3 || XPG4] (vsnprintf): Likewise.
59990         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59991         Likewise.
59992         [XPG3 || XPG4] (blksize_t): Likewise.
59993         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59994         Likewise.
59995         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
59996         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
59997         [XPG3 || XPG4] (struct itimerspec): Likewise.
59998         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
59999         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60000         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60001         [XPG3 || XPG4] (clockid_t): Likewise.
60002         [XPG3 || XPG4] (timer_t): Likewise.
60003         [XPG3 || XPG4] (clock_getres): Likewise.
60004         [XPG3 || XPG4] (clock_gettime): Likewise.
60005         [XPG3 || XPG4] (clock_settime): Likewise.
60006         [XPG3 || XPG4] (nanosleep): Likewise.
60007         [XPG3 || XPG4] (timer_create): Likewise.
60008         [XPG3 || XPG4] (timer_delete): Likewise.
60009         [XPG3 || XPG4] (timer_gettime): Likewise.
60010         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60011         [XPG3 || XPG4] (timer_settime): Likewise.
60012         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60013         [XPG3 || XPG4] (getlogin_r): Likewise.
60014         [XPG3 || XPG4] (pread): Likewise.
60015         [XPG3 || XPG4] (pthread_atfork): Likewise.
60016         [XPG3 || XPG4] (pwrite): Likewise.
60018         [BZ #14835]
60019         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60020         <bits/siginfo.h>.
60022 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60024         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60025         finalizing MALLSTREAM.
60027         * sysdeps/mach/hurd/syncfs.c: New file.
60029 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60031         [BZ #14719]
60032         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60033         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60034         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60035         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60036         (_nss_dns_gethostbyname4_r): Likewise.
60037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60038         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60040 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60042         [BZ #13763]
60043         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60045 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60047         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60048         * elf/cache.c (print_entry): Print ",AArch64" for
60049         FLAG_AARCH64_LIB64
60051         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60052         * elf/cache.c (print_entry): Print ",hard-float" for
60053         FLAG_ARM_LIBHF.
60055 2012-11-18  David S. Miller  <davem@davemloft.net>
60057         With help from Joseph Myers.
60058         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60059         cutoff to 2**-13.
60060         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60061         cutoff to 2**-25.
60062         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60063         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60064         small.
60065         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60066         * math/libm-test.inc (y0_test): New tests.
60067         (y1_test): New tests.
60068         * sysdeps/i386/fpu/libm-test-ulps: Update.
60069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60072 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60074         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60075         64-bit targets.
60076         * configure: Regenerated.
60078 2012-11-17  David S. Miller  <davem@davemloft.net>
60080         [BZ #14811]
60081         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60082         nonzero exponents with absolute value below 0x1p-128 to +/-
60083         0x1p-128.
60085 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60087         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60089         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60091         * posix/getconf-speclist.c: New file.
60092         * posix/posix-envs.def: Likewise.
60093         * posix/confstr.c (START_ENV_GROUP): New macro.
60094         (END_ENV_GROUP): Likewise.
60095         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60096         (KNOWN_PRESENT_ENV_STRING): Likewise.
60097         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60098         (UNKNOWN_ENVIRONMENT): Likewise.
60099         (confstr): Include posix-envs.def instead of handling
60100         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60101         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60102         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60103         (END_ENV_GROUP): Likewise.
60104         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60105         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60106         (UNKNOWN_ENVIRONMENT): Likewise.
60107         (__sysconf): Include posix-envs.def instead of handling associated
60108         cases directly here.
60109         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60110         preprocessing getconf-speclist.c rather than running getconf or
60111         generating empty file.
60113 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60115         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60117 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60119         [BZ #14672]
60120         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60122 2012-11-16  David S. Miller  <davem@davemloft.net>
60124         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60125         smaller than LDBL_EPSILON/2.0L, just return xm1.
60127 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
60129         * elf/tst-array1.c (init): Set constructor priority to 1000.
60130         (fini): Set destructor priority to 1000.
60131         * elf/tst-array2dep.c: Likewise.
60133 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60135         [BZ #11741]
60136         * libio/fileops.c (_IO_new_file_write): Correctly return error.
60137         (_IO_new_file_xsputn): Also return EOF if none of the input
60138         data was written when overflow failed.
60139         * libio/iopadn.c (_IO_padn): Likewise.
60140         * libio/iowpadn.c (_IO_wpadn): Likewise.
60141         * stdio-common/tst-put-error.c: Add copyright notice.
60142         (do_test): Add case for printing padded string.
60143         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
60144         _IO_padn returned error.
60145         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
60146         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
60147         return EOF.
60149 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60151         * libio/libioP.h: Add comment note that the references to C++
60152         bits are now obsolete.
60154 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60156         * math/libm-test.inc (check_complex): Use asprintf.
60158 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
60160         * debug/pcprofiledump.c (print_version): Update copyright year.
60161         * malloc/memusagestat.c (print_version): Likewise.
60163 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
60165         [BZ #14831]
60166         * elf/Makefile (tests): Add tst-audit8.
60167         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
60168         ($(objpfx)tst-audit8.out): New target.
60169         (tst-audit8-ENV): New variable.
60170         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
60171         audit if l_reloc_result is NULL.
60172         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
60173         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
60174         * elf/tst-audit8.c: New file.
60176 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60178         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
60179         * misc/Makefile (CFLAGS-select.c): Define.
60180         * posix/Makefile (CFLAGS-pause.c): Define.
60182 2012-11-13  David S. Miller  <davem@davemloft.net>
60184         * crypt/Makefile: Move test targets after toplevel Rules
60185         inclusion.  Grab any necessary sysdep routines when linking.
60186         * crypt/md5.c (md5_process_block): Remove define, we will always
60187         name it __md5_process_block.
60188         (md5_finish_ctx): Update md5_process_block call.
60189         (md5_stream): Likewise.
60190         (md5_process_bytes): Likewise.
60191         (md5_process_block): Rename to __md5_process_block and move to ...
60192         * crypt/md5-block.c: ... here.
60193         * crypt/sha256.c (sha256_process_block): Move to ...
60194         * crypt/sha256-block.c: ... here.
60195         * crypt/sha512.c (sha512_process_block): Move to ...
60196         * crypt/sha512-block.c: ... here.
60197         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
60198         path.
60199         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
60200         * sysdeps/sparc/sparc64/multiarch/Makefile
60201         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
60202         crypt subdir.
60203         (localedef-aux): Add md5 crypto assembler when in locale subdir.
60204         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
60205         multiarch changes.
60206         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
60207         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60208         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
60209         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
60210         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
60211         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
60212         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
60213         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
60214         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
60215         file.
60216         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60217         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
60218         file.
60219         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
60221 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
60223         * timezone/tzselect.ksh: Update from tzcode git revision
60224         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
60225         * timezone/zdump.c: Likewise.
60226         * timezone/zic.c: Likewise.
60227         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
60228         in TZVERSION setting, not $(PKGVERSION).
60229         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
60230         REPORT_BUGS_TO settings.
60232         [BZ #14838]
60233         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
60234         macro.
60236 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60238         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
60239         detection to immediately after _FP_ROUND().
60240         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
60241         bits are 0.
60243 2012-11-11  David S. Miller  <davem@davemloft.net>
60245         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
60246         inttypes.h
60247         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
60248         __close rather than their public counterparts.
60250 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
60252         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
60253         file.
60254         [UNIX98] (sem_timedwait): Do not expect.
60255         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
60256         [XPG4 || UNIX98] (sockatmark): Do not expect.
60257         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
60258         (clock_getcpuclockid): Do not expect.
60259         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
60260         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
60261         Do not expect.
60262         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
60263         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
60264         [UNIX98] (vwscanf): Likewise.
60265         [UNIX98] (vswscanf): Likewise.
60267 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
60269         * timezone/version.h: Remove file.
60270         * timezone/README: Do not refer to version.h.
60271         * timezone/Makefile ($(objpfx)zic.o): New dependency on
60272         $(objpfx)version.h.
60273         ($(objpfx)zdump.o): Likewise.
60274         ($(objpfx)version.h): New target.
60276         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
60277         2012i.
60278         * timezone/README: Don't mention modification to tzselect.ksh.
60279         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60280         work on unmodified tzselect.ksh.  Substitute version numbers in
60281         tzselect.ksh.
60283         * Makefile (format-me): Remove.
60284         (INSTALL): Adjust indentation.  Use commands directly instead of
60285         using $(format-me).
60287         * aclocal.m4 (ACX_PKGVERSION): New macro.
60288         (ACX_BUGURL): Likewise.
60289         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
60290         (PKGVERSION): New AC_DEFINE_UNQUOTED.
60291         (REPORT_BUGS_TO): Likewise.
60292         * configure: Regenerated.
60293         * config.h.in (PKGVERSION): New macro.
60294         (REPORT_BUGS_TO): Likewise.
60295         * config.make.in (PKGVERSION): New variable.
60296         (PKGVERSION_TEXI): Likewise.
60297         (REPORT_BUGS_TO): Likewise.
60298         (REPORT_BUGS_TEXI): Likewise.
60299         * Makefile (format-me): Use -I$(common-objpfx)manual.
60300         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
60301         ($(common-objpfx)manual/%): New target.
60302         (manual/%): Remove target.
60303         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
60304         (print_version): Use PKGVERSION.
60305         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
60306         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
60307         and REPORT_BUGS_TO.
60308         ($(objpfx)xtrace): Likewise.
60309         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60310         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60311         (print_version): Use PKGVERSION.
60312         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60313         (do_version): Use PKGVERSION.
60314         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60315         REPORT_BUGS_TO.
60316         (common-ldd-rewrite): Likewise.
60317         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60318         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60319         (print_version): Use PKGVERSION.
60320         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60321         * elf/pldd.c (argp_program_bug_address): Remove variable.
60322         (more_help): New function.
60323         (argp): Use more_help.
60324         (print_version): Use PKGVERSION.
60325         * elf/sln.c (main): Use PKGVERSION.
60326         (usage): Use REPORT_BUGS_TO.
60327         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60328         (top level): Use PKGVERSION.
60329         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60330         (print_version): Use PKGVERSION.
60331         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60332         (print_version): Use PKGVERSION.
60333         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60334         (print_version): Use PKGVERSION.
60335         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60336         (print_version): Use PKGVERSION.
60337         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60338         (print_version): Use PKGVERSION.
60339         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60340         (print_version): Use PKGVERSION.
60341         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60342         and BUGURL.
60343         ($(objpfx)memusage): Likewise.
60344         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60345         (do_version): Use PKGVERSION.
60346         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60347         (print_version): Use PKGVERSION.
60348         * malloc/mtrace.pl ($PACKAGE): Remove variable.
60349         ($PKGVERSION): New variable.
60350         ($REPORT_BUGS_TO): Likewise.
60351         (usage): Use $REPORT_BUGS_TO.
60352         (top level): Use $PKGVERSION.
60353         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60354         ($(objpfx)pkgvers.texi): New rule.
60355         ($(objpfx)stamp-pkgvers): Likewise.
60356         * manual/install.texi: Include pkgvers.texi.
60357         (--with-pkgversion): Document new configure option.
60358         (--with-bugurl): Likewise.
60359         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60360         than necessarily for this particular distribution.  Use
60361         REPORT_BUGS_TO for where to report bugs.
60362         * INSTALL: Regenerated.
60363         * manual/libc.texinfo: Include pkgvers.texi.
60364         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60365         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60366         (print_version): Use PKGVERSION.
60367         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60368         (print_version): Use PKGVERSION.
60369         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60370         (print_version): Use PKGVERSION.
60371         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60372         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60373         macro.
60374         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60375         (print_version): Use PKGVERSION.
60376         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60377         (print_version): Use PKGVERSION.
60378         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60379         and PKGVERSION.
60381         * timezone/checktab.awk: Update from tzcode 2012i.
60382         * timezone/ialloc.c: Likewise.
60383         * timezone/private.h: Likewise.
60384         * timezone/scheck.c: Likewise.
60385         * timezone/tzfile.h: Likewise.
60386         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60387         (TZVERSION): Hardcode tzcode version number.
60388         * timezone/zdump.c: Update from tzcode 2012i.
60389         * timezone/zic.c: Likewise.
60390         * timezone/version.h: New file.
60391         * timezone/README: Describe version.h.  Update upstream location.
60393         [BZ #14824]
60394         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60395         (mktemp): Enable declaration.
60396         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60397         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60398         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60399         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60400         Likewise.
60401         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60402         Likewise.
60403         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60404         Likewise.
60405         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60406         Likewise.
60407         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60408         Likewise.
60409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60410         Likewise.
60412         [BZ #14821]
60413         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
60414         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
60415         for copies of such integer values.
60416         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60417         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60419 2012-11-09  Andreas Jaeger  <aj@suse.de>
60421         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
60422         definitions and declarations that are provided by
60423         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60425 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60427         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
60428         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
60429         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
60430         definition.
60432 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60434         * elf/elf.h: Update comment before AArch64 relocations.
60436 2012-11-07  David S. Miller  <davem@davemloft.net>
60438         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
60439         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60440         (__start_context): Declare.
60441         (__makecontext_ret): Delete.
60442         (__makecontext): Hook up __start_context instead of
60443         __makecontext_ret.
60444         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
60445         (sysdep_routines): Add __start_context when in stdlib.
60447 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60449         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
60450         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
60451         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
60452         hardcoded "nm".
60453         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
60454         (READELF): New variable.  Use it instead of hardcoded "readelf".
60456 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60458         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
60459         * sysdeps/x86/Makefile: Here.
60460         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
60461         * sysdeps/x86/tst-xmmymm.sh: This.
60463 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60465         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
60466         expectations.
60467         [UNIX98] (pthread_barrier_t): Do not expect.
60468         [UNIX98] (pthread_barrierattr_t): Likewise.
60469         [UNIX98] (pthread_spinlock_t): Likewise.
60470         [UNIX98] (pthread_barrier_destroy): Likewise.
60471         [UNIX98] (pthread_barrier_init): Likewise.
60472         [UNIX98] (pthread_barrier_wait): Likewise.
60473         [UNIX98] (pthread_barrierattr_destroy): Likewise.
60474         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
60475         [UNIX98] (pthread_barrierattr_init): Likewise.
60476         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
60477         [UNIX98] (pthread_getcpuclockid): Likewise.
60478         [UNIX98] (pthread_mutex_timedlock): Likewise.
60479         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
60480         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
60481         [UNIX98] (pthread_sigmask): Likewise.
60482         [UNIX98] (pthread_spin_destroy): Likewise.
60483         [UNIX98] (pthread_spin_init): Likewise.
60484         [UNIX98] (pthread_spin_lock): Likewise.
60485         [UNIX98] (pthread_spin_trylock): Likewise.
60486         [UNIX98] (pthread_spin_unlock): Likewise.
60487         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
60488         Do not expect.
60489         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
60490         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
60491         [XPG3 || XPG4] (pthread_cond_t): Likewise.
60492         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
60493         [XPG3 || XPG4] (pthread_key_t): Likewise.
60494         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60495         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
60496         [XPG3 || XPG4] (pthread_once_t): Likewise.
60497         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
60498         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
60499         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
60500         [XPG3 || XPG4] (pthread_t): Likewise.
60502         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
60503         not expect.
60504         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
60506         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
60507         Change function return type to int.
60509         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
60510         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
60511         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
60512         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
60513         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
60514         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60515         [!POSIX] (posix_madvise): Likewise.
60516         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
60517         && !UNIX98].
60518         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
60519         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
60520         (mode_t): Likewise.
60521         (posix_mem_offset): Likewise.
60522         (posix_typed_mem_get_info): Likewise.
60523         (posix_typed_mem_open): Likewise.
60525         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
60526         Change condition to [XOPEN2K8].
60528         * conform/conformtest.pl: Preprocess allow-header data with -x c
60529         instead of from stdin.
60530         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
60531         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
60532         [C99-based standards] (cerfc): Likewise.
60533         [C99-based standards] (cexp2): Likewise.
60534         [C99-based standards] (cexpm1): Likewise.
60535         [C99-based standards] (clog10): Likewise.
60536         [C99-based standards] (clog1p): Likewise.
60537         [C99-based standards] (clog2): Likewise.
60538         [C99-based standards] (clgamma): Likewise.
60539         [C99-based standards] (ctgamma): Likewise.
60540         [C99-based standards] (cerff): Likewise.
60541         [C99-based standards] (cerfcf): Likewise.
60542         [C99-based standards] (cexp2f): Likewise.
60543         [C99-based standards] (cexpm1f): Likewise.
60544         [C99-based standards] (clog10f): Likewise.
60545         [C99-based standards] (clog1pf): Likewise.
60546         [C99-based standards] (clog2f): Likewise.
60547         [C99-based standards] (clgammaf): Likewise.
60548         [C99-based standards] (ctgammaf): Likewise.
60549         [C99-based standards] (cerfl): Likewise.
60550         [C99-based standards] (cerfcl): Likewise.
60551         [C99-based standards] (cexp2l): Likewise.
60552         [C99-based standards] (cexpm1l): Likewise.
60553         [C99-based standards] (clog10l): Likewise.
60554         [C99-based standards] (clog1pl): Likewise.
60555         [C99-based standards] (clog2l): Likewise.
60556         [C99-based standards] (clgammal): Likewise.
60557         [C99-based standards] (ctgammal): Likewise.
60558         * conform/data/inttypes.h-data [C99-based standards]: Include
60559         stdint.h-data.  Remove all expectations for stdint.h contents.
60560         [C99-based standards] (PRI*): Do not allow.
60561         [C99-based standards] (SCN*): Likewise.
60562         [C99-based standards] (*_t): Likewise.
60563         [C99-based-standards] (PRId8): Expect macro.
60564         [C99-based-standards] (PRIi8): Likewise.
60565         [C99-based-standards] (PRIo8): Likewise.
60566         [C99-based-standards] (PRIu8): Likewise.
60567         [C99-based-standards] (PRIx8): Likewise.
60568         [C99-based-standards] (PRIX8): Likewise.
60569         [C99-based-standards] (SCNd8): Likewise.
60570         [C99-based-standards] (SCNi8): Likewise.
60571         [C99-based-standards] (SCNo8): Likewise.
60572         [C99-based-standards] (SCNu8): Likewise.
60573         [C99-based-standards] (SCNx8): Likewise.
60574         [C99-based-standards] (PRIdLEAST8): Likewise.
60575         [C99-based-standards] (PRIiLEAST8): Likewise.
60576         [C99-based-standards] (PRIoLEAST8): Likewise.
60577         [C99-based-standards] (PRIuLEAST8): Likewise.
60578         [C99-based-standards] (PRIxLEAST8): Likewise.
60579         [C99-based-standards] (PRIXLEAST8): Likewise.
60580         [C99-based-standards] (SCNdLEAST8): Likewise.
60581         [C99-based-standards] (SCNiLEAST8): Likewise.
60582         [C99-based-standards] (SCNoLEAST8): Likewise.
60583         [C99-based-standards] (SCNuLEAST8): Likewise.
60584         [C99-based-standards] (SCNxLEAST8): Likewise.
60585         [C99-based-standards] (PRIdFAST8): Likewise.
60586         [C99-based-standards] (PRIiFAST8): Likewise.
60587         [C99-based-standards] (PRIoFAST8): Likewise.
60588         [C99-based-standards] (PRIuFAST8): Likewise.
60589         [C99-based-standards] (PRIxFAST8): Likewise.
60590         [C99-based-standards] (PRIXFAST8): Likewise.
60591         [C99-based-standards] (SCNdFAST8): Likewise.
60592         [C99-based-standards] (SCNiFAST8): Likewise.
60593         [C99-based-standards] (SCNoFAST8): Likewise.
60594         [C99-based-standards] (SCNuFAST8): Likewise.
60595         [C99-based-standards] (SCNxFAST8): Likewise.
60596         [C99-based-standards] (PRId16): Likewise.
60597         [C99-based-standards] (PRIi16): Likewise.
60598         [C99-based-standards] (PRIo16): Likewise.
60599         [C99-based-standards] (PRIu16): Likewise.
60600         [C99-based-standards] (PRIx16): Likewise.
60601         [C99-based-standards] (PRIX16): Likewise.
60602         [C99-based-standards] (SCNd16): Likewise.
60603         [C99-based-standards] (SCNi16): Likewise.
60604         [C99-based-standards] (SCNo16): Likewise.
60605         [C99-based-standards] (SCNu16): Likewise.
60606         [C99-based-standards] (SCNx16): Likewise.
60607         [C99-based-standards] (PRIdLEAST16): Likewise.
60608         [C99-based-standards] (PRIiLEAST16): Likewise.
60609         [C99-based-standards] (PRIoLEAST16): Likewise.
60610         [C99-based-standards] (PRIuLEAST16): Likewise.
60611         [C99-based-standards] (PRIxLEAST16): Likewise.
60612         [C99-based-standards] (PRIXLEAST16): Likewise.
60613         [C99-based-standards] (SCNdLEAST16): Likewise.
60614         [C99-based-standards] (SCNiLEAST16): Likewise.
60615         [C99-based-standards] (SCNoLEAST16): Likewise.
60616         [C99-based-standards] (SCNuLEAST16): Likewise.
60617         [C99-based-standards] (SCNxLEAST16): Likewise.
60618         [C99-based-standards] (PRIdFAST16): Likewise.
60619         [C99-based-standards] (PRIiFAST16): Likewise.
60620         [C99-based-standards] (PRIoFAST16): Likewise.
60621         [C99-based-standards] (PRIuFAST16): Likewise.
60622         [C99-based-standards] (PRIxFAST16): Likewise.
60623         [C99-based-standards] (PRIXFAST16): Likewise.
60624         [C99-based-standards] (SCNdFAST16): Likewise.
60625         [C99-based-standards] (SCNiFAST16): Likewise.
60626         [C99-based-standards] (SCNoFAST16): Likewise.
60627         [C99-based-standards] (SCNuFAST16): Likewise.
60628         [C99-based-standards] (SCNxFAST16): Likewise.
60629         [C99-based-standards] (PRId32): Likewise.
60630         [C99-based-standards] (PRIi32): Likewise.
60631         [C99-based-standards] (PRIo32): Likewise.
60632         [C99-based-standards] (PRIu32): Likewise.
60633         [C99-based-standards] (PRIx32): Likewise.
60634         [C99-based-standards] (PRIX32): Likewise.
60635         [C99-based-standards] (SCNd32): Likewise.
60636         [C99-based-standards] (SCNi32): Likewise.
60637         [C99-based-standards] (SCNo32): Likewise.
60638         [C99-based-standards] (SCNu32): Likewise.
60639         [C99-based-standards] (SCNx32): Likewise.
60640         [C99-based-standards] (PRIdLEAST32): Likewise.
60641         [C99-based-standards] (PRIiLEAST32): Likewise.
60642         [C99-based-standards] (PRIoLEAST32): Likewise.
60643         [C99-based-standards] (PRIuLEAST32): Likewise.
60644         [C99-based-standards] (PRIxLEAST32): Likewise.
60645         [C99-based-standards] (PRIXLEAST32): Likewise.
60646         [C99-based-standards] (SCNdLEAST32): Likewise.
60647         [C99-based-standards] (SCNiLEAST32): Likewise.
60648         [C99-based-standards] (SCNoLEAST32): Likewise.
60649         [C99-based-standards] (SCNuLEAST32): Likewise.
60650         [C99-based-standards] (SCNxLEAST32): Likewise.
60651         [C99-based-standards] (PRIdFAST32): Likewise.
60652         [C99-based-standards] (PRIiFAST32): Likewise.
60653         [C99-based-standards] (PRIoFAST32): Likewise.
60654         [C99-based-standards] (PRIuFAST32): Likewise.
60655         [C99-based-standards] (PRIxFAST32): Likewise.
60656         [C99-based-standards] (PRIXFAST32): Likewise.
60657         [C99-based-standards] (SCNdFAST32): Likewise.
60658         [C99-based-standards] (SCNiFAST32): Likewise.
60659         [C99-based-standards] (SCNoFAST32): Likewise.
60660         [C99-based-standards] (SCNuFAST32): Likewise.
60661         [C99-based-standards] (SCNxFAST32): Likewise.
60662         [C99-based-standards] (PRId64): Likewise.
60663         [C99-based-standards] (PRIi64): Likewise.
60664         [C99-based-standards] (PRIo64): Likewise.
60665         [C99-based-standards] (PRIu64): Likewise.
60666         [C99-based-standards] (PRIx64): Likewise.
60667         [C99-based-standards] (PRIX64): Likewise.
60668         [C99-based-standards] (SCNd64): Likewise.
60669         [C99-based-standards] (SCNi64): Likewise.
60670         [C99-based-standards] (SCNo64): Likewise.
60671         [C99-based-standards] (SCNu64): Likewise.
60672         [C99-based-standards] (SCNx64): Likewise.
60673         [C99-based-standards] (PRIdLEAST64): Likewise.
60674         [C99-based-standards] (PRIiLEAST64): Likewise.
60675         [C99-based-standards] (PRIoLEAST64): Likewise.
60676         [C99-based-standards] (PRIuLEAST64): Likewise.
60677         [C99-based-standards] (PRIxLEAST64): Likewise.
60678         [C99-based-standards] (PRIXLEAST64): Likewise.
60679         [C99-based-standards] (SCNdLEAST64): Likewise.
60680         [C99-based-standards] (SCNiLEAST64): Likewise.
60681         [C99-based-standards] (SCNoLEAST64): Likewise.
60682         [C99-based-standards] (SCNuLEAST64): Likewise.
60683         [C99-based-standards] (SCNxLEAST64): Likewise.
60684         [C99-based-standards] (PRIdFAST64): Likewise.
60685         [C99-based-standards] (PRIiFAST64): Likewise.
60686         [C99-based-standards] (PRIoFAST64): Likewise.
60687         [C99-based-standards] (PRIuFAST64): Likewise.
60688         [C99-based-standards] (PRIxFAST64): Likewise.
60689         [C99-based-standards] (PRIXFAST64): Likewise.
60690         [C99-based-standards] (SCNdFAST64): Likewise.
60691         [C99-based-standards] (SCNiFAST64): Likewise.
60692         [C99-based-standards] (SCNoFAST64): Likewise.
60693         [C99-based-standards] (SCNuFAST64): Likewise.
60694         [C99-based-standards] (SCNxFAST64): Likewise.
60695         [C99-based-standards] (PRIdMAX): Likewise.
60696         [C99-based-standards] (PRIiMAX): Likewise.
60697         [C99-based-standards] (PRIoMAX): Likewise.
60698         [C99-based-standards] (PRIuMAX): Likewise.
60699         [C99-based-standards] (PRIxMAX): Likewise.
60700         [C99-based-standards] (PRIXMAX): Likewise.
60701         [C99-based-standards] (SCNdMAX): Likewise.
60702         [C99-based-standards] (SCNiMAX): Likewise.
60703         [C99-based-standards] (SCNoMAX): Likewise.
60704         [C99-based-standards] (SCNuMAX): Likewise.
60705         [C99-based-standards] (SCNxMAX): Likewise.
60706         [C99-based-standards] (PRIdPTR): Likewise.
60707         [C99-based-standards] (PRIiPTR): Likewise.
60708         [C99-based-standards] (PRIoPTR): Likewise.
60709         [C99-based-standards] (PRIuPTR): Likewise.
60710         [C99-based-standards] (PRIxPTR): Likewise.
60711         [C99-based-standards] (PRIXPTR): Likewise.
60712         [C99-based-standards] (SCNdPTR): Likewise.
60713         [C99-based-standards] (SCNiPTR): Likewise.
60714         [C99-based-standards] (SCNoPTR): Likewise.
60715         [C99-based-standards] (SCNuPTR): Likewise.
60716         [C99-based-standards] (SCNxPTR): Likewise.
60717         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
60718         allow.
60719         * conform/data/stdint.h-data: Update comments to clarify
60720         requirements.
60721         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
60722         type.
60723         [C99-based standards] (INT8_MAX): Likewise.
60724         [C99-based standards] (INT16_MIN): Likewise.
60725         [C99-based standards] (INT16_MAX): Likewise.
60726         [C99-based standards] (INT32_MIN): Likewise.
60727         [C99-based standards] (INT32_MAX): Likewise.
60728         [C99-based standards] (INT64_MIN): Likewise.
60729         [C99-based standards] (INT64_MAX): Likewise.
60730         [C99-based standards] (UINT8_MAX): Likewise.
60731         [C99-based standards] (UINT16_MAX): Likewise.
60732         [C99-based standards] (UINT32_MAX): Likewise.
60733         [C99-based standards] (UINT64_MAX): Likewise.
60734         [C99-based standards] (INT_LEAST8_MIN): Likewise.
60735         [C99-based standards] (INT_LEAST8_MAX): Likewise.
60736         [C99-based standards] (INT_LEAST16_MIN): Likewise.
60737         [C99-based standards] (INT_LEAST16_MAX): Likewise.
60738         [C99-based standards] (INT_LEAST32_MIN): Likewise.
60739         [C99-based standards] (INT_LEAST32_MAX): Likewise.
60740         [C99-based standards] (INT_LEAST64_MIN): Likewise.
60741         [C99-based standards] (INT_LEAST64_MAX): Likewise.
60742         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
60743         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
60744         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
60745         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
60746         [C99-based standards] (INT_FAST8_MIN): Likewise.
60747         [C99-based standards] (INT_FAST8_MAX): Likewise.
60748         [C99-based standards] (INT_FAST16_MIN): Likewise.
60749         [C99-based standards] (INT_FAST16_MAX): Likewise.
60750         [C99-based standards] (INT_FAST32_MIN): Likewise.
60751         [C99-based standards] (INT_FAST32_MAX): Likewise.
60752         [C99-based standards] (INT_FAST64_MIN): Likewise.
60753         [C99-based standards] (INT_FAST64_MAX): Likewise.
60754         [C99-based standards] (UINT_FAST8_MAX): Likewise.
60755         [C99-based standards] (UINT_FAST16_MAX): Likewise.
60756         [C99-based standards] (UINT_FAST32_MAX): Likewise.
60757         [C99-based standards] (UINT_FAST64_MAX): Likewise.
60758         [C99-based standards] (INTPTR_MIN): Likewise.
60759         [C99-based standards] (INTPTR_MAX): Likewise.
60760         [C99-based standards] (UINTPTR_MAX): Likewise.
60761         [C99-based standards] (INTMAX_MIN): Likewise.
60762         [C99-based standards] (INTMAX_MAX): Likewise.
60763         [C99-based standards] (UINTMAX_MAX): Likewise.
60764         [C99-based standards] (PTRDIFF_MIN): Likewise.
60765         [C99-based standards] (PTRDIFF_MAX): Likewise.
60766         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
60767         [C99-based standards] (SIZE_MAX): Likewise.
60768         [C99-based standards] (WCHAR_MAX): Likewise.
60769         [C99-based standards] (WINT_MAX): Likewise.
60770         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
60771         constraint on value.
60772         [C99-based standards] (WCHAR_MIN): Likewise.
60773         [C99-based standards] (WINT_MIN): Likewise.
60774         [C99-based standards] (*_t): Allow.
60775         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
60776         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
60777         Include math.h-data and complex.h-data.  Remove all expectations
60778         of math.h and complex.h contents.
60779         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60780         at end of line.
60781         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60782         (struct tm): Expect tag.
60783         [C99-based-standards] (wcstof): Expect function.
60784         [C99-based-standards] (wcstold): Likewise.
60785         [C99-based-standards] (wcstoll): Likewise.
60786         [C99-based-standards] (wcstoull): Likewise.
60787         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60788         macro-int-constant.  Specify type.
60789         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60790         constraint on value.
60791         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60792         Specify type.
60793         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60794         Specify value.
60795         [ISO C standards]: Do not allow headers.
60796         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60797         wcs[abcdefghijklmnopqrstuvwxyz]*.
60798         [ISO C standards] (*_t): Do not allow.
60799         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60800         Expect function.
60801         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60802         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60803         Specify type.
60804         [ISO C standards]: Do not allow headers.
60805         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60806         is[abcdefghijklmnopqrstuvwxyz]*.
60807         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60808         to[abcdefghijklmnopqrstuvwxyz]*.
60809         [ISO C standards] (*_t): Do not allow.
60810         * conform/data/stdalign.h-data: New file.
60811         * conform/data/stdbool.h-data: Likewise.
60812         * conform/data/stdnoreturn.h-data: Likewise.
60814 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60816         [BZ #14815]
60817         * manual/filesys.texi (Directory Entries): Typo fix.
60818         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60820 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60822         * elf/elf.h (EM_AARCH64): New macro.
60823         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60824         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60825         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60826         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60827         (R_AARCH64_TLSDESC): Likewise.
60828         (NT_ARM_TLS): Likewise.
60829         (NT_ARM_HW_BREAK): Likewise.
60830         (NT_ARM_HW_WATCH): Likewise.
60832 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60834         [BZ #14811]
60835         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60836         (__ieee754_powl): Saturate nonzero exponents with absolute value
60837         below 0x1p-79 to +/- 0x1p-79.
60838         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60839         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60840         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60841         nonzero exponents with absolute value below 0x1p-32 to +/-
60842         0x1p-32.
60843         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60844         (__ieee754_powl): Saturate nonzero exponents with absolute value
60845         below 0x1p-79 to +/- 0x1p-79.
60846         * math/libm-test.inc (pow_test): Add more tests.
60848 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60850         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60851         _dl_s390_cap_flags with kernel. Increase string length.
60852         (_dl_s390_platforms): Add z196 and zEC12.
60854 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60856         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60857         Change XOPEN21K to XOPEN2K.
60859 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60861         * string/memmove.c: Use memcpy when possible.
60863 2012-11-06  Andreas Jaeger  <aj@suse.de>
60865         * po/eo.po: Update from translation team.
60867 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60869         [BZ #14793]
60870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60871         exponent and small x and y exponents, scale x or y up.  Increase
60872         by 2 the exponent used in scaling up.
60873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60874         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60875         * math/libm-test.inc (fma_test): Add more tests.
60876         (fma_test_towardzero): Likewise.
60877         (fma_test_downward): Likewise.
60878         (fma_test_upward): Likewise.
60880 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60882         [BZ #14805]
60883         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60884         fenv_t *.
60886         [BZ #14801]
60887         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60888         namespace for names of struct fields.
60889         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60890         fenv_t fields.
60891         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60892         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60894 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60896         [BZ #3665]
60897         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60899 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60901         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60902         PTR_DEMANGLE.
60904         [BZ #5246]
60905         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60906         PTR_DEMANGLE.
60908 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60910         [BZ #14797]
60911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60912         definitely overflow as x * y not x * y + z.
60913         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60914         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60915         * math/libm-test.inc (fma_test): Add more tests.
60916         (fma_test_towardzero): Likewise.
60917         (fma_test_downward): Likewise.
60918         (fma_test_upward): Likewise.
60920 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60922         [BZ #157]
60924         * include/stub-tag.h: Remove file.
60925         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60926         '#include' of it.
60927         * manual/maint.texi (Porting): Don't reference it.
60928         * Makerules ($(objpfx)stubs): Likewise.
60929         * dirent/closedir.c: Don't include <stub-tag.h>.
60930         * dirent/dirfd.c: Likewise.
60931         * dirent/fdopendir.c: Likewise.
60932         * dirent/getdents.c: Likewise.
60933         * dirent/getdents64.c: Likewise.
60934         * dirent/opendir.c: Likewise.
60935         * dirent/readdir.c: Likewise.
60936         * dirent/readdir64.c: Likewise.
60937         * dirent/readdir64_r.c: Likewise.
60938         * dirent/readdir_r.c: Likewise.
60939         * dirent/rewinddir.c: Likewise.
60940         * dirent/seekdir.c: Likewise.
60941         * dirent/telldir.c: Likewise.
60942         * gmon/profil.c: Likewise.
60943         * grp/setgroups.c: Likewise.
60944         * inet/if_index.c: Likewise.
60945         * io/access.c: Likewise.
60946         * io/chdir.c: Likewise.
60947         * io/chmod.c: Likewise.
60948         * io/chown.c: Likewise.
60949         * io/close.c: Likewise.
60950         * io/dup.c: Likewise.
60951         * io/dup2.c: Likewise.
60952         * io/dup3.c: Likewise.
60953         * io/euidaccess.c: Likewise.
60954         * io/faccessat.c: Likewise.
60955         * io/fchdir.c: Likewise.
60956         * io/fchmod.c: Likewise.
60957         * io/fchmodat.c: Likewise.
60958         * io/fchown.c: Likewise.
60959         * io/fchownat.c: Likewise.
60960         * io/fcntl.c: Likewise.
60961         * io/flock.c: Likewise.
60962         * io/fstatfs.c: Likewise.
60963         * io/fstatfs64.c: Likewise.
60964         * io/fstatvfs.c: Likewise.
60965         * io/fstatvfs64.c: Likewise.
60966         * io/futimens.c: Likewise.
60967         * io/fxstat.c: Likewise.
60968         * io/fxstat64.c: Likewise.
60969         * io/fxstatat.c: Likewise.
60970         * io/fxstatat64.c: Likewise.
60971         * io/getcwd.c: Likewise.
60972         * io/isatty.c: Likewise.
60973         * io/lchmod.c: Likewise.
60974         * io/lchown.c: Likewise.
60975         * io/link.c: Likewise.
60976         * io/linkat.c: Likewise.
60977         * io/lseek.c: Likewise.
60978         * io/lseek64.c: Likewise.
60979         * io/lxstat64.c: Likewise.
60980         * io/mkdir.c: Likewise.
60981         * io/mkdirat.c: Likewise.
60982         * io/mkfifo.c: Likewise.
60983         * io/mkfifoat.c: Likewise.
60984         * io/open.c: Likewise.
60985         * io/open64.c: Likewise.
60986         * io/openat.c: Likewise.
60987         * io/openat64.c: Likewise.
60988         * io/pipe.c: Likewise.
60989         * io/pipe2.c: Likewise.
60990         * io/poll.c: Likewise.
60991         * io/posix_fadvise.c: Likewise.
60992         * io/posix_fadvise64.c: Likewise.
60993         * io/posix_fallocate.c: Likewise.
60994         * io/posix_fallocate64.c: Likewise.
60995         * io/read.c: Likewise.
60996         * io/readlink.c: Likewise.
60997         * io/readlinkat.c: Likewise.
60998         * io/rmdir.c: Likewise.
60999         * io/sendfile.c: Likewise.
61000         * io/sendfile64.c: Likewise.
61001         * io/statfs.c: Likewise.
61002         * io/statfs64.c: Likewise.
61003         * io/statvfs.c: Likewise.
61004         * io/statvfs64.c: Likewise.
61005         * io/symlink.c: Likewise.
61006         * io/symlinkat.c: Likewise.
61007         * io/ttyname.c: Likewise.
61008         * io/ttyname_r.c: Likewise.
61009         * io/umask.c: Likewise.
61010         * io/unlink.c: Likewise.
61011         * io/unlinkat.c: Likewise.
61012         * io/utime.c: Likewise.
61013         * io/utimensat.c: Likewise.
61014         * io/write.c: Likewise.
61015         * io/xmknod.c: Likewise.
61016         * io/xmknodat.c: Likewise.
61017         * io/xstat.c: Likewise.
61018         * io/xstat64.c: Likewise.
61019         * login/getpt.c: Likewise.
61020         * login/grantpt.c: Likewise.
61021         * login/unlockpt.c: Likewise.
61022         * math/e_acoshl.c: Likewise.
61023         * math/e_acosl.c: Likewise.
61024         * math/e_asinl.c: Likewise.
61025         * math/e_atan2l.c: Likewise.
61026         * math/e_atanhl.c: Likewise.
61027         * math/e_coshl.c: Likewise.
61028         * math/e_expl.c: Likewise.
61029         * math/e_fmodl.c: Likewise.
61030         * math/e_gammal_r.c: Likewise.
61031         * math/e_hypotl.c: Likewise.
61032         * math/e_j0l.c: Likewise.
61033         * math/e_j1l.c: Likewise.
61034         * math/e_jnl.c: Likewise.
61035         * math/e_lgammal_r.c: Likewise.
61036         * math/e_log10l.c: Likewise.
61037         * math/e_log2l.c: Likewise.
61038         * math/e_logl.c: Likewise.
61039         * math/e_powl.c: Likewise.
61040         * math/e_rem_pio2l.c: Likewise.
61041         * math/e_sinhl.c: Likewise.
61042         * math/e_sqrtl.c: Likewise.
61043         * math/fclrexcpt.c: Likewise.
61044         * math/fedisblxcpt.c: Likewise.
61045         * math/feenablxcpt.c: Likewise.
61046         * math/fegetenv.c: Likewise.
61047         * math/fegetexcept.c: Likewise.
61048         * math/fegetround.c: Likewise.
61049         * math/feholdexcpt.c: Likewise.
61050         * math/fesetenv.c: Likewise.
61051         * math/fesetround.c: Likewise.
61052         * math/feupdateenv.c: Likewise.
61053         * math/fgetexcptflg.c: Likewise.
61054         * math/fraiseexcpt.c: Likewise.
61055         * math/fsetexcptflg.c: Likewise.
61056         * math/ftestexcept.c: Likewise.
61057         * math/k_cosl.c: Likewise.
61058         * math/k_rem_pio2l.c: Likewise.
61059         * math/k_sinl.c: Likewise.
61060         * math/k_tanl.c: Likewise.
61061         * math/s_asinhl.c: Likewise.
61062         * math/s_atanl.c: Likewise.
61063         * math/s_cbrtl.c: Likewise.
61064         * math/s_erfl.c: Likewise.
61065         * math/s_expm1l.c: Likewise.
61066         * math/s_log1pl.c: Likewise.
61067         * math/s_tanhl.c: Likewise.
61068         * misc/acct.c: Likewise.
61069         * misc/brk.c: Likewise.
61070         * misc/chflags.c: Likewise.
61071         * misc/chroot.c: Likewise.
61072         * misc/fchflags.c: Likewise.
61073         * misc/fgetxattr.c: Likewise.
61074         * misc/flistxattr.c: Likewise.
61075         * misc/fremovexattr.c: Likewise.
61076         * misc/fsetxattr.c: Likewise.
61077         * misc/fsync.c: Likewise.
61078         * misc/ftruncate.c: Likewise.
61079         * misc/futimes.c: Likewise.
61080         * misc/futimesat.c: Likewise.
61081         * misc/getdomain.c: Likewise.
61082         * misc/getdtsz.c: Likewise.
61083         * misc/gethostid.c: Likewise.
61084         * misc/gethostname.c: Likewise.
61085         * misc/getloadavg.c: Likewise.
61086         * misc/getpagesize.c: Likewise.
61087         * misc/getsysstats.c: Likewise.
61088         * misc/getxattr.c: Likewise.
61089         * misc/gtty.c: Likewise.
61090         * misc/ioctl.c: Likewise.
61091         * misc/lgetxattr.c: Likewise.
61092         * misc/listxattr.c: Likewise.
61093         * misc/llistxattr.c: Likewise.
61094         * misc/lremovexattr.c: Likewise.
61095         * misc/lsetxattr.c: Likewise.
61096         * misc/lutimes.c: Likewise.
61097         * misc/madvise.c: Likewise.
61098         * misc/mincore.c: Likewise.
61099         * misc/mlock.c: Likewise.
61100         * misc/mlockall.c: Likewise.
61101         * misc/mmap.c: Likewise.
61102         * misc/mprotect.c: Likewise.
61103         * misc/msync.c: Likewise.
61104         * misc/munlock.c: Likewise.
61105         * misc/munlockall.c: Likewise.
61106         * misc/munmap.c: Likewise.
61107         * misc/preadv.c: Likewise.
61108         * misc/preadv64.c: Likewise.
61109         * misc/ptrace.c: Likewise.
61110         * misc/pwritev.c: Likewise.
61111         * misc/pwritev64.c: Likewise.
61112         * misc/readv.c: Likewise.
61113         * misc/reboot.c: Likewise.
61114         * misc/remap_file_pages.c: Likewise.
61115         * misc/removexattr.c: Likewise.
61116         * misc/revoke.c: Likewise.
61117         * misc/select.c: Likewise.
61118         * misc/setdomain.c: Likewise.
61119         * misc/setegid.c: Likewise.
61120         * misc/seteuid.c: Likewise.
61121         * misc/sethostid.c: Likewise.
61122         * misc/sethostname.c: Likewise.
61123         * misc/setregid.c: Likewise.
61124         * misc/setreuid.c: Likewise.
61125         * misc/setxattr.c: Likewise.
61126         * misc/sstk.c: Likewise.
61127         * misc/stty.c: Likewise.
61128         * misc/swapoff.c: Likewise.
61129         * misc/swapon.c: Likewise.
61130         * misc/sync.c: Likewise.
61131         * misc/syncfs.c: Likewise.
61132         * misc/syscall.c: Likewise.
61133         * misc/truncate.c: Likewise.
61134         * misc/ualarm.c: Likewise.
61135         * misc/usleep.c: Likewise.
61136         * misc/ustat.c: Likewise.
61137         * misc/utimes.c: Likewise.
61138         * misc/vhangup.c: Likewise.
61139         * misc/writev.c: Likewise.
61140         * posix/_exit.c: Likewise.
61141         * posix/alarm.c: Likewise.
61142         * posix/execve.c: Likewise.
61143         * posix/fexecve.c: Likewise.
61144         * posix/fork.c: Likewise.
61145         * posix/fpathconf.c: Likewise.
61146         * posix/getaddrinfo.c: Likewise.
61147         * posix/getegid.c: Likewise.
61148         * posix/geteuid.c: Likewise.
61149         * posix/getgid.c: Likewise.
61150         * posix/getgroups.c: Likewise.
61151         * posix/getlogin.c: Likewise.
61152         * posix/getlogin_r.c: Likewise.
61153         * posix/getpgid.c: Likewise.
61154         * posix/getpid.c: Likewise.
61155         * posix/getppid.c: Likewise.
61156         * posix/getresgid.c: Likewise.
61157         * posix/getresuid.c: Likewise.
61158         * posix/getsid.c: Likewise.
61159         * posix/getuid.c: Likewise.
61160         * posix/glob64.c: Likewise.
61161         * posix/nanosleep.c: Likewise.
61162         * posix/pathconf.c: Likewise.
61163         * posix/pause.c: Likewise.
61164         * posix/posix_madvise.c: Likewise.
61165         * posix/pread.c: Likewise.
61166         * posix/pread64.c: Likewise.
61167         * posix/pwrite.c: Likewise.
61168         * posix/pwrite64.c: Likewise.
61169         * posix/sched_getaffinity.c: Likewise.
61170         * posix/sched_getp.c: Likewise.
61171         * posix/sched_gets.c: Likewise.
61172         * posix/sched_primax.c: Likewise.
61173         * posix/sched_primin.c: Likewise.
61174         * posix/sched_rr_gi.c: Likewise.
61175         * posix/sched_setaffinity.c: Likewise.
61176         * posix/sched_setp.c: Likewise.
61177         * posix/sched_sets.c: Likewise.
61178         * posix/sched_yield.c: Likewise.
61179         * posix/setgid.c: Likewise.
61180         * posix/setlogin.c: Likewise.
61181         * posix/setpgid.c: Likewise.
61182         * posix/setresgid.c: Likewise.
61183         * posix/setresuid.c: Likewise.
61184         * posix/setsid.c: Likewise.
61185         * posix/setuid.c: Likewise.
61186         * posix/sleep.c: Likewise.
61187         * posix/spawni.c: Likewise.
61188         * posix/sysconf.c: Likewise.
61189         * posix/times.c: Likewise.
61190         * posix/wait.c: Likewise.
61191         * posix/wait3.c: Likewise.
61192         * posix/wait4.c: Likewise.
61193         * posix/waitpid.c: Likewise.
61194         * resolv/gai_sigqueue.c: Likewise.
61195         * resource/getpriority.c: Likewise.
61196         * resource/getrlimit.c: Likewise.
61197         * resource/getrusage.c: Likewise.
61198         * resource/nice.c: Likewise.
61199         * resource/setpriority.c: Likewise.
61200         * resource/setrlimit.c: Likewise.
61201         * resource/ulimit.c: Likewise.
61202         * rt/aio_cancel.c: Likewise.
61203         * rt/aio_fsync.c: Likewise.
61204         * rt/aio_read.c: Likewise.
61205         * rt/aio_sigqueue.c: Likewise.
61206         * rt/aio_suspend.c: Likewise.
61207         * rt/aio_write.c: Likewise.
61208         * rt/clock_getres.c: Likewise.
61209         * rt/clock_gettime.c: Likewise.
61210         * rt/clock_nanosleep.c: Likewise.
61211         * rt/clock_settime.c: Likewise.
61212         * rt/lio_listio.c: Likewise.
61213         * rt/mq_close.c: Likewise.
61214         * rt/mq_getattr.c: Likewise.
61215         * rt/mq_notify.c: Likewise.
61216         * rt/mq_open.c: Likewise.
61217         * rt/mq_receive.c: Likewise.
61218         * rt/mq_send.c: Likewise.
61219         * rt/mq_setattr.c: Likewise.
61220         * rt/mq_timedreceive.c: Likewise.
61221         * rt/mq_timedsend.c: Likewise.
61222         * rt/mq_unlink.c: Likewise.
61223         * rt/shm_open.c: Likewise.
61224         * rt/shm_unlink.c: Likewise.
61225         * rt/timer_create.c: Likewise.
61226         * rt/timer_delete.c: Likewise.
61227         * rt/timer_getoverr.c: Likewise.
61228         * rt/timer_gettime.c: Likewise.
61229         * rt/timer_settime.c: Likewise.
61230         * setjmp/__longjmp.c: Likewise.
61231         * setjmp/setjmp.c: Likewise.
61232         * signal/kill.c: Likewise.
61233         * signal/killpg.c: Likewise.
61234         * signal/raise.c: Likewise.
61235         * signal/sigaction.c: Likewise.
61236         * signal/sigaltstack.c: Likewise.
61237         * signal/sigblock.c: Likewise.
61238         * signal/sigignore.c: Likewise.
61239         * signal/sigintr.c: Likewise.
61240         * signal/signal.c: Likewise.
61241         * signal/sigpause.c: Likewise.
61242         * signal/sigpending.c: Likewise.
61243         * signal/sigqueue.c: Likewise.
61244         * signal/sigreturn.c: Likewise.
61245         * signal/sigset.c: Likewise.
61246         * signal/sigsetmask.c: Likewise.
61247         * signal/sigstack.c: Likewise.
61248         * signal/sigsuspend.c: Likewise.
61249         * signal/sigtimedwait.c: Likewise.
61250         * signal/sigvec.c: Likewise.
61251         * signal/sigwait.c: Likewise.
61252         * signal/sigwaitinfo.c: Likewise.
61253         * signal/sysv_signal.c: Likewise.
61254         * socket/accept.c: Likewise.
61255         * socket/accept4.c: Likewise.
61256         * socket/bind.c: Likewise.
61257         * socket/connect.c: Likewise.
61258         * socket/getpeername.c: Likewise.
61259         * socket/getsockname.c: Likewise.
61260         * socket/getsockopt.c: Likewise.
61261         * socket/isfdtype.c: Likewise.
61262         * socket/listen.c: Likewise.
61263         * socket/recv.c: Likewise.
61264         * socket/recvfrom.c: Likewise.
61265         * socket/recvmsg.c: Likewise.
61266         * socket/send.c: Likewise.
61267         * socket/sendmsg.c: Likewise.
61268         * socket/sendto.c: Likewise.
61269         * socket/setsockopt.c: Likewise.
61270         * socket/shutdown.c: Likewise.
61271         * socket/sockatmark.c: Likewise.
61272         * socket/socket.c: Likewise.
61273         * socket/socketpair.c: Likewise.
61274         * stdio-common/ctermid.c: Likewise.
61275         * stdio-common/cuserid.c: Likewise.
61276         * stdio-common/remove.c: Likewise.
61277         * stdio-common/rename.c: Likewise.
61278         * stdio-common/renameat.c: Likewise.
61279         * stdio-common/tempname.c: Likewise.
61280         * stdlib/getcontext.c: Likewise.
61281         * stdlib/makecontext.c: Likewise.
61282         * stdlib/setcontext.c: Likewise.
61283         * stdlib/swapcontext.c: Likewise.
61284         * stdlib/system.c: Likewise.
61285         * streams/fattach.c: Likewise.
61286         * streams/fdetach.c: Likewise.
61287         * streams/getmsg.c: Likewise.
61288         * streams/getpmsg.c: Likewise.
61289         * streams/putmsg.c: Likewise.
61290         * streams/putpmsg.c: Likewise.
61291         * sysdeps/unix/bsd/getpt.c: Likewise.
61292         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
61293         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
61294         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61296         Likewise.
61297         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
61298         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61299         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
61300         * sysvipc/msgctl.c: Likewise.
61301         * sysvipc/msgget.c: Likewise.
61302         * sysvipc/msgrcv.c: Likewise.
61303         * sysvipc/msgsnd.c: Likewise.
61304         * sysvipc/semctl.c: Likewise.
61305         * sysvipc/semget.c: Likewise.
61306         * sysvipc/semop.c: Likewise.
61307         * sysvipc/semtimedop.c: Likewise.
61308         * sysvipc/shmat.c: Likewise.
61309         * sysvipc/shmctl.c: Likewise.
61310         * sysvipc/shmdt.c: Likewise.
61311         * sysvipc/shmget.c: Likewise.
61312         * termios/tcdrain.c: Likewise.
61313         * termios/tcflow.c: Likewise.
61314         * termios/tcflush.c: Likewise.
61315         * termios/tcgetattr.c: Likewise.
61316         * termios/tcgetpgrp.c: Likewise.
61317         * termios/tcsendbrk.c: Likewise.
61318         * termios/tcsetattr.c: Likewise.
61319         * termios/tcsetpgrp.c: Likewise.
61320         * time/adjtime.c: Likewise.
61321         * time/clock.c: Likewise.
61322         * time/getitimer.c: Likewise.
61323         * time/gettimeofday.c: Likewise.
61324         * time/setitimer.c: Likewise.
61325         * time/settimeofday.c: Likewise.
61326         * time/stime.c: Likewise.
61327         * time/time.c: Likewise.
61329 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61331         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61332         /usr/old/bin.
61334         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61335         instead of spaces.
61336         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61338 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
61340         [BZ #14796]
61341         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61342         FE_TONEAREST before applying Dekker multiplication and Knuth
61343         addition.  Clear inexact exceptions and check for exact zero
61344         results afterwards.
61345         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61346         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61347         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61348         * math/libm-test.inc (fma_test): Add more tests.
61349         (fma_test_towardzero): Likewise.
61350         (fma_test_downward): Likewise.
61351         (fma_test_upward): Likewise.
61352         * sysdeps/generic/math_private.h (default_libc_fesetround): New
61353         function.
61354         (libc_fesetround): New macro.
61355         (libc_fesetroundf): Likewise.
61356         (libc_fesetroundl): Likewise.
61357         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61358         function.
61359         (libc_fesetround_387): Likewise.
61360         (libc_fesetroundf): New macro.
61361         (libc_fesetround): Likewise.
61362         (libc_fesetroundl): Likewise.
61363         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61364         function.
61365         (libc_fesetroundf): New macro.
61366         (libc_fesetround): Likewise.
61367         (libc_fesetroundl): Likewise.
61368         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61369         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61370         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61371         libm_hidden_ver.
61372         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61373         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61374         libm_hidden_def.
61375         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61376         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61377         libm_hidden_ver.
61378         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61379         libm_hidden_def.
61381         [BZ #3439]
61382         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61383         integer constant usable in #if and use that to give value to enum
61384         constant.
61385         (FE_DIVBYZERO): Likewise.
61386         (FE_UNDERFLOW): Likewise.
61387         (FE_OVERFLOW): Likewise.
61388         (FE_INVALID): Likewise.
61389         (FE_INVALID_SNAN): Likewise.
61390         (FE_INVALID_ISI): Likewise.
61391         (FE_INVALID_IDI): Likewise.
61392         (FE_INVALID_ZDZ): Likewise.
61393         (FE_INVALID_IMZ): Likewise.
61394         (FE_INVALID_COMPARE): Likewise.
61395         (FE_INVALID_SOFTWARE): Likewise.
61396         (FE_INVALID_SQRT): Likewise.
61397         (FE_INVALID_INTEGER_CONVERSION): Likewise.
61398         (FE_TONEAREST): Likewise.
61399         (FE_TOWARDZERO): Likewise.
61400         (FE_UPWARD): Likewise.
61401         (FE_DOWNWARD): Likewise.
61402         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61403         (FE_DIVBYZERO): Likewise.
61404         (FE_OVERFLOW): Likewise.
61405         (FE_UNDERFLOW): Likewise.
61406         (FE_INEXACT): Likewise.
61407         (FE_TONEAREST): Likewise.
61408         (FE_DOWNWARD): Likewise.
61409         (FE_UPWARD): Likewise.
61410         (FE_TOWARDZERO): Likewise.
61411         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61412         (FE_UNDERFLOW): Likewise.
61413         (FE_OVERFLOW): Likewise.
61414         (FE_DIVBYZERO): Likewise.
61415         (FE_INVALID): Likewise.
61416         (FE_TONEAREST): Likewise.
61417         (FE_TOWARDZERO): Likewise.
61418         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
61419         (FE_OVERFLOW): Likewise.
61420         (FE_UNDERFLOW): Likewise.
61421         (FE_DIVBYZERO): Likewise.
61422         (FE_INEXACT): Likewise.
61423         (FE_TONEAREST): Likewise.
61424         (FE_TOWARDZERO): Likewise.
61425         (FE_UPWARD): Likewise.
61426         (FE_DOWNWARD): Likewise.
61427         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
61428         (FE_DIVBYZERO): Likewise.
61429         (FE_OVERFLOW): Likewise.
61430         (FE_UNDERFLOW): Likewise.
61431         (FE_INEXACT): Likewise.
61432         (FE_TONEAREST): Likewise.
61433         (FE_DOWNWARD): Likewise.
61434         (FE_UPWARD): Likewise.
61435         (FE_TOWARDZERO): Likewise.
61437 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
61439         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
61441 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
61443         * scripts/cross-test-ssh.sh (command): Use newlines to separate
61444         commands.  Quote $PWD.
61445         (blacklist_exports): Don't use remove_newlines.  Replace "declare
61446         -x" by "export".
61447         (remove_newlines): Remove.
61449 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
61451         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
61452         * stdlib/stdlib.h (atof): Moved to ...
61453         * include/bits/stdlib-float.h: Here.  New file.
61454         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
61455         * stdlib/bits/stdlib-float.h: New file.
61456         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
61457         -mno-sse -mno-mmx.
61458         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
61459         <xmmintrin.h>.
61461 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61463         * conform/conformtest.pl (@headers): Add fenv.h.
61464         * conform/data/fenv.h-data: New file.
61465         * include/fenv.h [_ISOMAC]: Disable all contents of file except
61466         include of <math/fenv.h>.
61468         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
61469         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
61470         && !UNIX98].  Enables tests for XOPEN2K8.
61471         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
61472         POSIX2008]: Likewise.
61474         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
61475         (struct rusage): Do not expect type or its members.
61477         [BZ #3439]
61478         * math/math.h (FP_NAN): Define macro to integer constant usable in
61479         #if and use that to give value to enum constant.
61480         (FP_INFINITE): Likewise.
61481         (FP_ZERO): Likewise.
61482         (FP_SUBNORMAL): Likewise.
61483         (FP_NORMAL): Likewise.
61485 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
61487         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
61488         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
61489         arguments.
61491 2012-11-02  Roland McGrath  <roland@hack.frob.com>
61493         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
61494         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
61495         autoconf-time if not.
61496         * configure.in: Remove AC_PREREQ.
61498 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61500         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61501         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
61502         of the internal implementation.
61504 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61506         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
61507         except include of <misc/sys/syslog.h>.
61509 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
61512         function returns with a NULL context exit with zero.
61514 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61516         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
61518 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
61520         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61521         (run_program_cmd): This.
61522         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
61523         (tst_langinfo): New variable.  Use it.
61525 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
61527         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
61528         floating point opcodes.
61530 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61532         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
61533         variable.
61535         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
61537         * sysdeps/mach/hurd/powerpc: Remove directory.
61538         * sysdeps/mach/powerpc: Likewise.
61540 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61542         * scripts/check-local-headers.sh: Ignore c++ headers.
61544 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61546         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
61547         __libc_cleanup_region_start argument.
61549 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
61551         [BZ #14784]
61552         [BZ #14785]
61553         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
61554         x * y using scaling, not as x * y + z.
61555         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61556         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61557         * math/libm-test.inc (fma_test): Add more tests.
61558         (fma_test_towardzero): Likewise.
61559         (fma_test_downward): Likewise.
61560         (fma_test_upward): Likewise.
61562 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61564         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
61566 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61568         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
61569         New variable.
61571 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
61573         * rt/tst-shm.c (worker): Correct checking for mmap failure.
61575 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61578         Fix sort order.
61579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61580         Likewise.
61582 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61585         Fix the order of the list for glibc 2.17.
61586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61587         Likewise.
61589 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61593 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61595         [BZ #14610]
61596         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
61597         for low part of x being zero before using __atanl (y).
61598         * math/libm-test.inc (atan2_test): Add another test.
61600         * manual/install.texi (Configuring and compiling): Document
61601         general use of test-wrapper and test-wrapper-env.
61602         * INSTALL: Regenerated.
61604         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
61605         (__fma): Do not extract and scale down low bits on after-rounding
61606         systems when result rounded to normal precision would have normal
61607         exponent.
61608         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
61609         (__fmal): Do not extract and scale down low bits on after-rounding
61610         systems when result rounded to normal precision would have normal
61611         exponent.
61612         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
61613         (__fmal): Do not extract and scale down low bits on after-rounding
61614         systems when result rounded to normal precision would have normal
61615         exponent.
61616         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
61617         macro.
61618         (fma_test): Add more tests.
61619         (fma_test_towardzero): Likewise.
61620         (fma_test_downward): Likewise.
61621         (fma_test_upward): Likewise.
61623 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
61625         * sysdeps/i386/tininess.h: Renamed to ...
61626         * sysdeps/x86/tininess.h: This.
61627         * sysdeps/x86_64/tininess.h: Removed.
61629 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61631         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
61632         input.  Use $(build-program-cmd).
61633         ($(objpfx)tst-array1-static.out): Likewise.
61634         ($(objpfx)tst-array2.out): Likewise.
61635         ($(objpfx)tst-array3.out): Likewise.
61636         ($(objpfx)tst-array4.out): Likewise.
61637         ($(objpfx)tst-array5.out): Likewise.
61638         ($(objpfx)tst-array5-static.out): Likewise.
61640 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
61642         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
61643         if defined.
61645         * nss/nsswitch.h (nss_interface_function): Provide new
61646         macro for use with NSS functions.
61647         * grp/initgroups.c: Use new macro.
61648         * nss/getXXbyYY.c: Likewise.
61649         * nss/getXXbyYY_r.c: Likewise.
61650         * nss/getXXent.c: Likewise.
61651         * nss/getXXent_r.c: Likewise.
61652         * sysdeps/posix/getaddrinfo.c: Likewise.
61654 2012-10-30  Andreas Jaeger  <aj@suse.de>
61656         * po/ru.po: Update Russion translation from translation project.
61658 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61660         [BZ #14152]
61661         [BZ #14783]
61662         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
61663         result and shift together with sticky bit instead of replicating
61664         round-to-nearest rounding.
61665         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61667         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
61668         missing underflow exceptions.
61669         (fma_test_towardzero): Add more tests.
61670         (fma_test_downward): Likewise.
61671         (fma_test_upward): Likewise.
61673         [BZ #14047]
61674         * sysdeps/generic/tininess.h: New file.
61675         * sysdeps/i386/tininess.h: Likewise.
61676         * sysdeps/sh/tininess.h: Likewise.
61677         * sysdeps/x86_64/tininess.h: Likewise.
61678         * stdlib/tst-strtod-underflow.c: Likewise.
61679         * stdlib/tst-tininess.c: Likewise.
61680         * stdlib/strtod_l.c: Include <tininess.h>.
61681         (round_and_return): Do not set errno for exact underflow cases.
61682         Force an underflow exception when setting errno for underflow.
61683         Determine underflow based on rounding to normal precision if
61684         TININESS_AFTER_ROUNDING.
61685         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
61686         ERANGE for exact underflow cases.
61687         * stdlib/Makefile (tests): Add tst-tininess and
61688         tst-strtod-underflow.
61689         ($(objpfx)tst-tininess): Use $(link-libm).
61690         ($(objpfx)tst-strtod-underflow): Likewise.
61692 2012-10-30  Andreas Jaeger  <aj@suse.de>
61694         [BZ#14767]
61695         * elf/Makefile (tests): Remove conditional for have-initfini-array
61696         since this is now always required and the variable does not exist
61697         anymore.
61698         (tests-static): Likewise.
61699         (modules-names): Likewise.
61701         * po/eo.po: Add Esperanto translation from translation project.
61703         * elf/tst-array1.c (fini_array): Make writeable so that it can be
61704         merged with constructor/destructor.
61705         (init_array): Likewise.
61706         * elf/tst-array2dep.c (fini_array): Likewise.
61707         (init_array): Likewise.
61709 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
61711         * manual/message.texi: Delete @cartouche tags.
61713 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
61715         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
61716         EOPNOTSUPP.
61717         * sysdeps/mach/hurd/fsync.c: Likewise.
61719         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
61720         [_POSIX_REALTIME_SIGNALS]: Change condition to
61721         [_POSIX_REALTIME_SIGNALS > 0].
61723 2012-10-27  Andreas Jaeger  <aj@suse.de>
61725         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
61726         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
61727         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
61728         [__WORDSIZE != 64]: Likewise.
61730 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
61732         *  iconvdata/tst-table.sh: Remove ${SHELL}.
61733         *  iconvdata/tst-tables.sh: Likewise.
61735 2012-10-25  David S. Miller  <davem@davemloft.net>
61737         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61738         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
61739         of strtoull.
61741         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
61742         ifunc-impl-list.c
61743         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61744         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
61745         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
61746         file.
61748 2012-10-25  Roland McGrath  <roland@hack.frob.com>
61750         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61751         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
61752         __getdirentries.
61754 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61755             Jim Blandy  <jimb@codesourcery.com>
61757         * scripts/cross-test-ssh.sh: New file.
61758         * manual/install.texi (Configuring and compiling): Document use of
61759         cross-test-ssh.sh.
61760         * INSTALL: Regenerated.
61762 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
61764         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
61765         EOPNOTSUPP.
61767 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61769         * Makeconfig (run-program-prefix): Fix comment.
61771 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61772             Jim Blandy  <jimb@codesourcery.com>
61774         * Makeconfig (test-wrapper): New variable,
61775         (test-wrapper-env): Likewise.
61776         [$(cross-compiling) = yes && $(test-wrapper) != ""]
61777         (run-built-tests): Define to yes.
61778         (run-program-prefix): Use $(test-wrapper).
61779         (built-program-cmd): Likewise.
61780         * Rules (make-test-out): Use $(test-wrapper-env) and
61781         $(host-built-program-cmd).
61782         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61783         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61784         tst-pathopt.sh.
61785         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61786         $(test-wrapper-env) to tst-rtld-load-self.sh.
61787         ($(objpfx)order2.out): Use $(test-wrapper).
61788         ($(objpfx)tst-initorder.out): Likewise.
61789         ($(objpfx)tst-initorder2.out): Likewise.
61790         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61791         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61792         (test_wrapper_env): New variable.  Use it to run ld.so.
61793         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61794         Use it to run ld.so.
61795         (test_wrapper_env): Likewise.
61796         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61797         $(test-wrapper) to run-iconv-test.sh.
61798         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61799         (ICONV): Use $test_wrapper.
61800         * posix/Makefile ($(objpfx)globtest.out): Pass
61801         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61802         globtest.sh, not $(run-program-prefix).
61803         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61804         (test_wrapper): Likewise.
61805         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61806         set together with run_via_rtld_prefix.
61807         (run_program_prefix): Define in terms of test_wrapper and
61808         run_via_rtld_prefix.
61810 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61812         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61813         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61814         Targets removed.
61816         [BZ #14743]
61817         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61818         Declare __clock_getres, __clock_gettime, __clock_settime,
61819         __clock_nanosleep, and __clock_getcpuclockid.
61820         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61821         Remove librt_hidden_def (clock_gettime).
61822         * sysdeps/unix/clock_gettime.c: Likewise.
61823         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61824         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61825         * rt/clock_getres.c: Define __clock_getres as an alias.
61826         * sysdeps/posix/clock_getres.c: Likewise.
61827         * rt/clock_settime.c: Define __clock_settime as an alias.
61828         * sysdeps/unix/clock_settime.c: Likewise.
61829         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61830         * sysdeps/unix/clock_nanosleep.c: Likewise.
61831         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61832         * rt/clock-compat.c: New file.
61833         * rt/Makefile (librt-routines): Add clock-compat and move
61834         $(clock-routines) to ...
61835         (routines): ... here, new variable.
61836         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61837         Don't add get_clockfreq here.
61838         * rt/Versions (libc: GLIBC_2.17): New version set.
61839         Add clock_* symbols here.
61840         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61841         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61842         (GLIBC_2.17): Add clock_* symbols.
61843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61845         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61847         Likewise.
61848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61849         Likewise.
61850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61854         * NEWS: Mention the move.
61856         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61857         Use __open, __read, __close rather than their public counterparts.
61858         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61859         (__get_clockfreq_via_cpuinfo): Likewise.
61860         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61861         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61863         * config.h.in (HAVE_IFUNC): New #undef.
61864         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61865         was successful.
61866         * configure: Regenerated.
61868 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61870         * configure.in: Move READELF check to start of file.
61871         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61872         libc_cv_asm_gnu_indirect_function in the process.
61873         * configure: Regenerated.
61875 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61877         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61878         send the output to /dev/null.
61879         (libc_cv_cc_with_libunwind): Likewise.
61880         (libc_cv_as_noexecstack): Likewise.
61881         * configure: Regenerate.
61883 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61885         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61887         * posix/globtest.sh (TMPDIR): Do not set.
61888         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61889         (testout): Likewise.
61891 2012-10-24  Andreas Jaeger  <aj@suse.de>
61893         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61894         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61895         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61896         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61897         posix_fadvise64, posix_fallocate64.
61899         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61900         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61901         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61902         Likewise.
61903         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61904         Likewise.
61905         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61908         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61909         <bits/fcntl-linux.h>.
61910         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61913         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61914         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61915         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61916         [__WORDSIZE != 64]: Likewise.
61918 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61920         * Makeconfig (run-built-tests): New variable.
61921         * Rules [$(cross-compiling) = yes]: Change condition to
61922         [$(run-built-tests) = no].
61923         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61924         to [$(run-built-tests) = yes].
61925         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61926         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61927         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61928         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61929         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61930         * io/Makefile [$(cross-compiling) = no]: Likewise.
61931         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61932         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61933         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61934         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61935         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61936         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61937         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61938         * string/Makefile [$(cross-compiling) = no]: Likewise.
61940         * posix/Makefile ($(objpfx)globtest.out): Pass
61941         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61942         $(rtld-installed-name).
61943         * posix/globtest.sh (elf_objpfx): Remove variable.
61944         (rtld_installed_name): Likewise.
61945         (library_path): Likewise.
61946         (run_program_prefix): New variable.  Use for running globtest
61947         binary.
61949 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61950             Joseph Myers  <joseph@codesourcery.com>
61952         * Makeconfig (host-built-program-cmd): New variable.
61953         * elf/Makefile (tst-stackguard1-ARGS): Use
61954         $(host-built-program-cmd).
61955         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61956         (tst-spawn-ARGS): Likewise.
61957         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61959 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61960             Jim Blandy  <jimb@codesourcery.com>
61962         * Makeconfig (run-via-rtld-prefix): New variable.
61963         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61964         (built-program-cmd): Likewise.
61966 2012-10-22  Andreas Jaeger  <aj@suse.de>
61968         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61969         __O_RSYNC if it exists, otherwise to O_SYNC.
61971 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61972             Joseph Myers  <joseph@codesourcery.com>
61974         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61975         /dev/null.
61976         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61977         from /dev/null
61978         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61979         /dev/null.
61981 2012-10-22  Andreas Jaeger  <aj@suse.de>
61983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61984         Define always.
61985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61988         bits/fcntl-linux.h.
61990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61991         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61994         to __O_LARGEFILE.
61995         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
61996         to __O_LARGEFILE.
61998 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
61999             Joseph Myers  <joseph@codesourcery.com>
62001         * config.make.in (NM): New variable.
62003 2012-10-21  Andreas Jaeger  <aj@suse.de>
62005         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62006         definitions and declarations that are provided by
62007         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62009 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62011         [BZ #14683]
62012         * elf/Makefile (tests-static): Add tst-leaks1-static.
62013         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62014         ($(objpfx)tst-leaks1-static): New rule.
62015         ($(objpfx)tst-leaks1-static-mem): Likewise.
62016         (tst-leaks1-static-ENV): New macro.
62017         * elf/dl-open.c (dl_open_worker): Check the main application
62018         only if SHARED is defined.
62019         * elf/tst-leaks1-static.c: New file.
62021 2012-10-20  Andreas Jaeger  <aj@suse.de>
62023         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62024         generic values for Linux.
62025         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62026         and declarations that are provided by <bits/fcntl-linux.h> and
62027         include <bits/fcntl-linux.h>.
62028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62029         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62031 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62033         * io/fcntl.h: Move include of <bits/types.h> to the top and
62034         include it unconditionally.
62036 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62038         * wcsmbs/Makefile (tests-ifunc): New variable.
62039         (tests): Add $(tests-ifunc).
62040         * wcsmbs/test-wcschr-ifunc.c: New file.
62041         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62042         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62043         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62044         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62045         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62047         * string/Makefile (tests-ifunc): New variable.
62048         (tests): Add $(tests-ifunc).
62049         * string/test-memccpy.c (TEST_NAME): New macro.
62050         * string/test-memchr.c (TEST_NAME): Likewise.
62051         * string/test-memcmp.c (TEST_NAME): Likewise.
62052         * string/test-memcpy.c (TEST_NAME): Likewise.
62053         * string/test-memmem.c (TEST_NAME): Likewise.
62054         * string/test-memmove.c (TEST_NAME): Likewise.
62055         * string/test-memset.c (TEST_NAME): Likewise.
62056         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62057         * string/test-stpcpy.c (TEST_NAME): Likewise.
62058         * string/test-stpncpy.c (TEST_NAME): Likewise.
62059         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62060         * string/test-strcasestr.c (TEST_NAME): Likewise.
62061         * string/test-strcat.c (TEST_NAME): Likewise.
62062         * string/test-strchr.c (TEST_NAME): Likewise.
62063         * string/test-strcmp.c(TEST_NAME): Likewise.
62064         * string/test-strcpy.c (TEST_NAME): Likewise.
62065         * string/test-strcspn.c (TEST_NAME): Likewise.
62066         * string/test-strlen.c (TEST_NAME): Likewise.
62067         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62068         * string/test-strncmp.c (TEST_NAME): Likewise.
62069         * string/test-strncpy.c (TEST_NAME): Likewise.
62070         * string/test-strnlen.c (TEST_NAME): Likewise.
62071         * string/test-strpbrk.c (TEST_NAME): Likewise.
62072         * string/test-strrchr.c (TEST_NAME): Likewise.
62073         * string/test-strspn.c (TEST_NAME): Likewise.
62074         * string/test-strstr.c (TEST_NAME): Likewise.
62075         * string/test-bcopy-ifunc.c: New file.
62076         * string/test-bzero-ifunc.c: Likewise.
62077         * string/test-memccpy-ifunc.c: Likewise.
62078         * string/test-memchr-ifunc.c: Likewise.
62079         * string/test-memcmp-ifunc.c: Likewise.
62080         * string/test-memcpy-ifunc.c: Likewise.
62081         * string/test-memmem-ifunc.c: Likewise.
62082         * string/test-memmove-ifunc.c: Likewise.
62083         * string/test-mempcpy-ifunc.c: Likewise.
62084         * string/test-memset-ifunc.c: Likewise.
62085         * string/test-rawmemchr-ifunc.c: Likewise.
62086         * string/test-stpcpy-ifunc.c: Likewise.
62087         * string/test-stpncpy-ifunc.c: Likewise.
62088         * string/test-strcasecmp-ifunc.c: Likewise.
62089         * string/test-strcasestr-ifunc.c: Likewise.
62090         * string/test-strcat-ifunc.c: Likewise.
62091         * string/test-strchr-ifunc.c: Likewise.
62092         * string/test-strchrnul-ifunc.c: Likewise.
62093         * string/test-strcmp-ifunc.c: Likewise.
62094         * string/test-strcpy-ifunc.c: Likewise.
62095         * string/test-strcspn-ifunc.c: Likewise.
62096         * string/test-strlen-ifunc.c: Likewise.
62097         * string/test-strncasecmp-ifunc.c: Likewise.
62098         * string/test-strncat-ifunc.c: Likewise.
62099         * string/test-strncmp-ifunc.c: Likewise.
62100         * string/test-strncpy-ifunc.c: Likewise.
62101         * string/test-strnlen-ifunc.c: Likewise.
62102         * string/test-strpbrk-ifunc.c: Likewise.
62103         * string/test-strrchr-ifunc.c: Likewise.
62104         * string/test-strspn-ifunc.c: Likewise.
62105         * string/test-strstr-ifunc.c: Likewise.
62107         * debug/Makefile (tests-ifunc): New variable.
62108         (tests): Add $(tests-ifunc).
62109         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62110         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62111         * debug/test-stpcpy_chk-ifunc.c: New file.
62112         * debug/test-strcpy_chk-ifunc.c: Likewise.
62114 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62116         [BZ #13601]
62117         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62118         header is not read in.
62120 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62122         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62123         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62124         directly.  Pass built executable to script as
62125         $(built-program-cmd).
62126         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
62127         $testprogram without using LD_LIBRARY_PATH and $ldso.
62129         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
62130         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
62131         $(rtld-installed-name).
62132         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
62133         (rtld_installed_name): Likewise.
62134         (library_path): Likewise.
62135         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
62136         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
62137         $(run-program-prefix) to tst-tables.sh.
62138         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
62139         it to run tst-table-from and tst-table-to.
62140         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
62141         Pass it to tst-table.sh.
62142         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
62143         $(run-program-prefix) to tst-gettext.sh.
62144         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
62145         tst-translit.sh.
62146         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
62147         tst-gettext2.sh.
62148         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
62149         to run tst-gettext.
62150         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
62151         to run tst-gettext2.
62152         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
62153         to run tst-translit.
62154         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
62155         $(run-program-prefix) to tst-mtrace.sh.
62156         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
62157         to run tst-mtrace.
62158         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
62159         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
62160         $(rtld-installed-name).
62161         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
62162         (rtld_installed_name): Likewise.
62163         (run_program_prefix): New variable.  Use it to run wordexp-test.
62165         * Makeconfig (ARCH): Remove all definitions.
62166         (machine): Likewise.
62167         [ARCH]: Remove conditional code.
62168         [!objdir]: Give error.
62169         [!objdir] (objpfx): Remove.
62170         [!objdir] (common-objpfx): Likewise.
62171         [!objdir] (common-objdir): Likewise.
62172         * configure.in (config_makefile): Remove.  Hardcode Makefile in
62173         AC_CONFIG_FILES call.
62174         * configure: Regenerated.
62176         [BZ #13888]
62177         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
62178         or TMPDIR.
62179         (testout): Likewise.
62181         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
62182         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
62183         $(rtld-installed-name).
62184         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
62185         (rtld_installed_name): Likwise.
62186         (runit): Remove function.
62187         (run_getconf): New variable,  Use it for running getconf binary.
62189 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
62191         [BZ #14716]
62192         * string/test-memmem.c (check_result): New function.
62193         (do_one_test): Use it.
62194         (check1): New function.
62195         (test_main): Use it.
62197 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
62199         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
62201 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
62203         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
62204         (_G_LSEEK64): Likewise.
62205         (_G_MMAP64): Likewise.
62206         (_G_FSTAT64): Likewise.
62207         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
62208         (_G_LSEEK64): Likewise.
62209         (_G_MMAP64): Likewise.
62210         (_G_FSTAT64): Likewise.
62211         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
62212         unconditional.  Call __mmap64 directly.
62213         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
62214         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
62215         __lseek64 directly.
62216         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62217         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
62218         __mmap64 directly.
62219         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
62220         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62221         __lseek64 directly.
62222         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
62223         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62224         __lseek64 directly.
62225         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
62226         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
62227         __lseek64 directly.
62228         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
62229         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
62230         __fxstat64 directly.
62231         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
62232         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
62233         unconditional.
62234         (freopen64) [!_G_OPEN64]: Remove conditional code.
62235         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
62236         unconditional.
62237         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
62238         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
62239         unconditional.
62240         (ftello64) [!_G_LSEEK64]: Remove conditional code.
62241         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
62242         unconditional.
62243         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62244         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
62245         unconditional.
62246         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
62247         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
62248         unconditional.
62249         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62250         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
62251         unconditional.
62252         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62253         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
62254         unconditional.
62255         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62257 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62259         [BZ #12140]
62260         * manual/memory.texi (Malloc Tunable Parameters): Add note
62261         about free list pointers overwriting some perturb bytes.
62262         Wording suggested by Roland McGrath.
62264 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
62266         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
62267         (lgamma_test): Likewise.
62268         (tgamma_test): Likewise.
62270 2012-10-16  Florian Weimer  <fweimer@redhat.com>
62272         [BZ #14700]
62273         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
62274         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
62276 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
62278         * NEWS: Mention BZ #14716.
62279         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
62280         when removing AVAILABLE1_USES_J macro.
62282 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
62284         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
62285         (__bswap_64): __uint64_t for unsigned 64-bit int.
62287 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
62289         * include/string.h (memmem): Declare libc hidden alias.
62290         * string/memmem.c (memmem): Define libc hidden alias.
62291         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
62292         __read, __close instead of open, read, close.
62294 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
62296         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
62297         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
62298         global and hidden.
62299         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
62300         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
62301         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
62302         Likewise.
62303         (__rawmemchr_sse2): Likewise.
62304         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
62305         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
62306         (__strchr_sse2): Likewise.
62307         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
62308         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62309         (__strcasecmp_sse2): Likewise.
62310         (__strncasecmp_sse2): Likewise.
62311         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62312         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62313         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62314         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62315         (__strrchr_sse2): Likewise.
62316         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62317         ifunc-impl-list.c.
62318         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62319         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62320         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62321         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62322         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62323         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62324         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62325         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62326         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62327         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62328         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62329         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62330         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62331         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62332         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62333         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62334         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62335         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62336         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62337         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62338         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62339         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62340         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62341         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62342         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62343         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62344         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62345         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62346         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62347         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62349         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62350         global and hidden.
62351         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62352         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62353         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62354         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62355         Likewise.
62356         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62357         Likewise.
62358         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62359         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62360         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62361         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62362         ifunc-impl-list.c.
62363         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62364         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62365         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62366         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62367         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62368         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62369         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62370         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62371         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62372         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62373         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62374         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62375         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62376         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62377         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62378         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62379         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62380         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62381         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62382         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62383         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62384         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62385         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62386         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62387         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62388         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62389         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62390         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62391         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62392         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62393         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62394         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62395         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62396         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62397         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62398         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62399         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62400         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62401         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62402         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62403         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62405         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62406         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62407         * include/ifunc-impl-list.h: New file.
62408         * misc/ifunc-impl-list.c: Likewise.
62409         * misc/Makefile (routines): Add ifunc-impl-list.
62410         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62411         * string/test-string.h: Include <ifunc-impl-list.h>.
62412         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62413         TEST_NAME]: New variables.
62414         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
62415         are defined.
62416         (test_init): Call __libc_ifunc_impl_list to initialize
62417         func_list if TEST_IFUNC and TEST_NAME are defined.
62419         * string/Makefile (strop-tests): Add bcopy and bzero.
62420         * string/test-bcopy.c: New file.
62421         * string/test-bzero.c: Likewise.
62422         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
62423         defined.
62424         * string/test-memset.c: Support bzero test if TEST_BZERO is
62425         defined.
62426         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
62427         __libc_memmove.
62428         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
62429         __libc_memset.
62430         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
62431         of memset.
62433 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
62435         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
62436         * configure: Regenerated.
62438         * Makeconfig (+link-static-before-libc): Don't include
62439         $(link-static-libc).
62441         * libio/libio.h (_IO_pos_t): Remove.
62443 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62445         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
62446         McGrath.
62448 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62450         * crypt/crypt-entry.c: Include fips-private.h.
62451         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
62452         * crypt/md5c-test.c (main): Tolerate disabled MD5.
62453         * sysdeps/unix/sysv/linux/fips-private.h: New file.
62454         * sysdeps/generic/fips-private.h: New file, dummy fallback.
62456 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62458         * crypt/crypt-private.h: Include stdbool.h.
62459         (_ufc_setup_salt_r): Return bool.
62460         * crypt/crypt-entry.c: Include errno.h.
62461         (__crypt_r): Return NULL with EINVAL for bad salt.
62462         * crypt/crypt_util.c (bad_for_salt): New.
62463         (_ufc_setup_salt_r): Check that salt is long enough and within
62464         the specified alphabet.
62465         * crypt/badsalttest.c: New file.
62466         * crypt/Makefile (tests): Add it.
62467         ($(objpfx)badsalttest): New.
62469 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
62471         * NEWS: Add entry for BZ #14602.
62473 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62475         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
62476         type-generic.
62477         * math/libm-test.inc: Update comment listing what functions and
62478         macros are tested.
62479         (isgreater_test): New function.
62480         (isgreaterequal_test): Likewise.
62481         (isless_test): Likewise.
62482         (islessequal_test): Likewise.
62483         (islessgreater_test): Likewise.
62484         (isunordered_test): Likewise.
62485         (main): Call the new functions.
62487 2012-10-09  Roland McGrath  <roland@hack.frob.com>
62489         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
62490         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
62491         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
62492         * sysdeps/i386/configure: Regenerated.
62493         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62494         * sysdeps/mach/configure: Regenerated.
62495         * sysdeps/mach/hurd/configure: Regenerated.
62496         * sysdeps/powerpc/configure: Regenerated.
62497         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62498         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62499         * sysdeps/s390/s390-32/configure: Regenerated.
62500         * sysdeps/s390/s390-64/configure: Regenerated.
62501         * sysdeps/sh/configure: Regenerated.
62502         * sysdeps/sparc/configure: Regenerated.
62503         * sysdeps/unix/sysv/linux/configure: Regenerated.
62504         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
62505         * sysdeps/x86_64/configure: Regenerated.
62507         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
62508         defined.  Don't check if MAP is NULL.
62510 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62512         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
62513         (_G_stat64): Likewise.
62514         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
62515         (_G_stat64): Likewise.
62516         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
62517         instead of struct _G_stat64.
62518         * libio/fileops.c (mmap_remap_check): Likewise.
62519         (decide_maybe_mmap): Likewise.
62520         (_IO_new_file_seekoff): Likewise.
62521         (_IO_file_stat): Likewise.
62522         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
62523         _G_off64_t.
62524         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
62525         instead of struct _G_stat64.
62526         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62528 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
62530         [BZ #14602]
62531         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62532         Replace with ...
62533         (CHECK_EOL): New macro.
62534         (two_way_short_needle): Check beginning of haystack for EOL.  Use
62535         CHECK_EOL.
62536         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62537         Replace with CHECK_EOL.
62538         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62539         Replace with CHECK_EOL.
62541 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
62543         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
62544         type-generic.
62545         * math/libm-test.inc: Update comment listing what functions and
62546         macros are tested.
62547         (finite_test): New function.
62548         (isinf_test): Likewise.
62549         (isnan_test): Likewise.
62550         (fpclassify_test): Test subnormal input.
62551         (isfinite_test): Likewise.
62552         (isnormal_test): Likewise.
62553         (main): Call the new functions.
62555 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
62557         [BZ #14660]
62558         * Makerules (%.dynsym): Force C locale when running
62559         $(OBJDUMP) --dynamic-syms.
62561 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
62563         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
62564         <stdint.h>.
62566 2012-10-06  David S. Miller  <davem@davemloft.net>
62568         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
62569         upper 32-bits of the length value in %o2 since we use branch-on-register
62570         tests which consider the entire 64-bit register.
62572 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
62574         * string/test-strstr.c (check2): Add a test for page boundary.
62576 2012-10-05  David S. Miller  <davem@davemloft.net>
62578         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
62579         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
62580         file.
62581         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62582         sysdep_routines.
62583         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62584         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
62585         and bzero when HWCAP_SPARC_CRYPTO is present.
62587 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
62589         [BZ #14602]
62590         * string/test-strstr.c (check2): New function.
62591         (test_main): Call check2.
62593         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
62594         and bug-strchr1.
62595         * string/bug-strcasestr1.c (do_test): Moved to ...
62596         * string/test-strcasestr.c (check1): Here.  New function.
62597         (do_one_test): Break out result checking code into ...
62598         (check_result): This.  New function.
62599         (do_one_test): Call check_result.
62600         (test_main): Call check1.
62601         * string/bug-strchr1.c (do_test): Moved to ...
62602         * string/test-strchr.c (check1): Here.  New function.
62603         (do_one_test): Break out result checking code into ...
62604         (check_result): This.  New function.
62605         (do_one_test): Call check_result.
62606         (test_main): Call check1.
62607         * string/bug-strstr1.c (main): Moved to ...
62608         * string/test-strstr.c (check1): Here.  New function.
62609         (do_one_test): Break out result checking code into ...
62610         (check_result): This.  New function.
62611         (do_one_test): Call check_result.
62612         (test_main): Call check1.
62613         * string/bug-strcasestr1.c: Removed.
62614         * string/bug-strchr1.c: Likewise.
62615         * string/bug-strstr1.c: Likewise.
62617         * elf/Makefile (dl-routines): Add hwcaps.
62618         * elf/dl-support.c (_dl_important_hwcaps): Removed.
62619         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
62620         (_dl_important_hwcaps): Moved to ...
62621         * elf/dl-hwcaps.c: Here.  New file.
62622         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
62624         [BZ #14557]
62625         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
62626         if IS_IN_rtld isn't defined.
62628         * elf/dl-support.c (_dl_sysinfo_map): New.
62629         Include "get-dynamic-info.h" and "setup-vdso.h".
62630         (_dl_non_dynamic_init): Call setup_vdso.
62631         * elf/dynamic-link.h: Don't include <assert.h>.
62632         (elf_get_dynamic_info): Moved to ...
62633         * elf/get-dynamic-info.h: Here.  New file.
62634         * elf/dynamic-link.h: Include "get-dynamic-info.h".
62635         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
62636         * elf/setup-vdso.h: Here.  New file.
62637         * elf/rtld.c: Include "setup-vdso.h".
62638         (dl_main): Call setup_vdso.
62640 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
62642         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
62643         creal in comment listing functions tested.  List finite, isinf,
62644         isnan, isless, islessequal, isgreater, isgreaterequal,
62645         islessgreater, isunordered, lgamma_r and pow10 as functions and
62646         macros not tested.  Mention which functions not tested are aliases
62647         for other functions.  Fix typo.  Note that signs of NaNs are not
62648         tested.
62650         * scripts/config.guess: Update from config.git.
62651         * scripts/config.sub: Likewise.
62653 2012-10-04  Roland McGrath  <roland@hack.frob.com>
62655         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
62656         * misc/madvise.c (madvise): Renamed to __madvise.
62657         Make madvise a weak alias.
62658         * include/sys/mman.h: Declare __madvise.
62659         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
62660         * sysdeps/unix/syscalls.list
62661         (madvise): Make __madvise the strong name, and madvise a weak alias.
62662         * sysdeps/unix/sysv/linux/syscalls.list
62663         (madvise, mmap): Remove redundant entries.
62664         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
62665         * malloc/malloc.c (mtrim): Likewise.
62666         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
62668 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62670         * sysdeps/mach/hurd/dl-cache.c: File removed.
62671         * config.h.in (USE_LDCONFIG): New #undef.
62672         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
62673         * configure: Regenerated.
62674         * elf/Makefile (dl-routines): Add dl-cache only under
62675         [$(use-ldconfig) = yes].
62676         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
62677         cache on [USE_LDCONFIG].
62678         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
62679         [USE_LDCONFIG].
62680         * elf/rtld.c (dl_main): Likewise.
62682 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
62684         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
62685         _SC_LEVEL4_CACHE_LINESIZE.
62687 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62689         * sysdeps/unix/bsd/confstr.h: File removed.
62691 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
62693         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
62694         sys/sdt-config.h.
62696 2012-10-02  Roland McGrath  <roland@hack.frob.com>
62698         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
62699         Make 'mapoff' field ElfW(Off) rather than off_t.
62701 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
62703         * nscd/Makefile: Remove nscd-cflags and all its users.
62704         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
62705         (CFLAGS-nonlib): Add compiler flags for nscd modules.
62707         [BZ #10631]
62708         * malloc.c (malloc_printerr): Clarify error message.
62710 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
62712         [BZ #14648]
62713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62714         Set bit_FMA_Usable if FMA is supported.
62715         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
62716         macro.
62717         (bit_FMA4_Usable): Updated.
62718         (index_FMA_Usable): New macro.
62719         (CPUID_FMA): Likewise.
62720         (HAS_FMA): Defined with bit_FMA_Usable.
62722 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62724         * bits/types.h (__swblk_t): Type removed.
62725         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
62726         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
62727         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62728         (__SWBLK_T_TYPE): Likewise.
62729         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62730         (__SWBLK_T_TYPE): Likewise.
62731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62732         (__SWBLK_T_TYPE): Likewise.
62733         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62734         (__SWBLK_T_TYPE): Likewise.
62736 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
62737             Honza Horak <hhorak@redhat.com>
62739         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
62740         (xdr_mapname): Use YPMAXMAP as maxsize.
62741         (xdr_peername): Use YPMAXPEER as maxsize.
62742         (xdr_keydat): Use YPAXRECORD as maxsize.
62743         (xdr_valdat): Use YPMAXRECORD as maxsize.
62745 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62747         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62749         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
62750         * csu/init-first.c: ... here.
62751         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
62752         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
62753         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
62754         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
62755         * sysdeps/i386/init-first.c: File removed.
62756         * sysdeps/sh/init-first.c: File removed.
62758 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
62760         [BZ #14645]
62761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
62762         if x * y might underflow to zero and z is zero.
62763         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62764         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62765         * math/libm-test.inc (min_subnorm_value): New variable.
62766         (fma_test): Add more tests.
62767         (fma_test_towardzero): Likewise.
62768         (fma_test_downward): Likewise.
62769         (fma_test_upward): Likewise.
62770         (initialize): Set min_subnorm_value.
62772 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
62774         [BZ #14638]
62775         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
62776         0 + 0.
62777         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
62778         mode for addition resulting in exact zero.
62779         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62781         exact 0 + 0.
62782         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62783         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62784         * math/libm-test.inc (fma_test): Add more tests.
62785         (fma_test_towardzero): New function.
62786         (fma_test_downward): Likewise.
62787         (fma_test_upward): Likewise.
62788         (main): Call the new functions.
62790 2012-09-28  David S. Miller  <davem@davemloft.net>
62792         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62794 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62796         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62797         instead of SIGALRM.
62799         * sysdeps/gnu/_G_config.h: Moved to ...
62800         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62801         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62802         * sysdeps/generic/_G_config.h: ... here.
62804         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62806         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62808         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62809         Conditionalize target on [libnss_test1.so-version].
62811         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62813         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62814         (elfobjdir): Move out of conditionals.
62816         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62817         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62818         (__nss_lookup_function): Conditionalize label remove_from_tree on
62819         [!DO_STATIC_NSS || SHARED], matching its only use.
62821 2012-09-28  David S. Miller  <davem@davemloft.net>
62823         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62824         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62825         file.
62826         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62827         sysdep_routines.
62828         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62829         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62830         when HWCAP_SPARC_CRYPTO is present.
62832 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62834         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62836 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62838         [BZ #6530]
62839         * stdio-common/vfprintf.c (process_string_arg): Revert
62840         2000-07-22 change.
62842 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62844         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62845         for testcase.
62846         * stdio-common/tst-sprintf.c: Include <locale.h>
62847         (main): Test sprintf's handling of incomplete multibyte
62848         characters.
62850 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62852         * elf/dl-runtime.c (VERSYMIDX): Removed.
62853         * elf/dl-version.c (VERSYMIDX): Likewise.
62854         * elf/do-rel.h (VERSYMIDX): Likewise.
62855         (VALIDX): Likewise.
62856         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62857         * elf/rtld.c (VALIDX): Likewise.
62858         (ADDRIDX): Likewise.
62859         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62860         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62861         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62862         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62863         (VALIDX): Likewise.
62864         (ADDRIDX): Likewise.
62866 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62868         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62870 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62872         [BZ #11438]
62873         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62874         to global scope.
62875         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62876         addresses are in the same scope as 192.0.2/24.
62877         * posix/gai.conf: Document new scope table defaults.
62879 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62881         [BZ #5298]
62882         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62883         for ftell.  Compute offsets from write pointers instead.
62884         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62886 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62888         [BZ #14543]
62889         * libio/Makefile (tests): New test case tst-fseek.
62890         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62891         combination works in wide mode.
62892         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62893         state when the external buffer state changes.
62895 2012-09-27  David S. Miller  <davem@davemloft.net>
62897         [BZ #14376]
62898         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62899         pass reloc->r_addend in as the 'high' argument to
62900         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62904 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62906         * rt/tst-aio2.c: Include <pthread.h>.
62907         * rt/tst-aio3.c: Likewise.
62909 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62911         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62913 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62915         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62916         contents on [SHARED].
62918 2012-09-26  Marek Polacek  <polacek@redhat.com>
62920         [BZ #14530]
62921         [BZ #13741]
62922         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62923         for C++ and GCC <4.3 as well as for non GCC compilers.
62925 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62929 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62931         * Makefile.in (all, install): Declare with .PHONY.
62932         Reported by Michael Hope <michael.hope@linaro.org>.
62934 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62936         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62937         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62938         system header.
62939         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62940         Likewise.
62941         (sydep_routines): Add the new and the internal functions.
62942         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62943         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62945         (GLIBC_2.17): Add the new function.
62946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62947         (GLIBC_2.17): Likewise.
62948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62949         (GLIBC_2.17): Likewise.
62950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62951         (GLIBC_2.17): Likewise.
62952         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62954 2012-09-25  Alan Modra  <amodra@gmail.com>
62956         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62957         Add release barrier before setting once_control to say
62958         initialisation is done.  Add hints on lwarx.  Use macro in
62959         place of isync.
62960         (clear_once_control): Add release barrier.
62962 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62964         [BZ #13629]
62965         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62966         specially.
62967         * math/s_clog10.c (__clog10): Likewise.
62968         * math/s_clog10f.c (__clog10f): Likewise.
62969         * math/s_clog10l.c (__clog10l): Likewise.
62970         * math/s_clogf.c (__clogf): Likewise.
62971         * math/s_clogl.c (__clogl): Likewise.
62972         * math/Makefile (libm-calls): Add x2y2m1.
62973         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62974         (__x2y2m1): Likewise.
62975         (__x2y2m1l): Likewise.
62976         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62977         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62978         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62979         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62980         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62981         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62982         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62983         * sysdeps/i386/fpu/libm-test-ulps: Update.
62984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62986         [BZ #14621]
62987         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62988         int as type of variable DEPTH.
62989         (glob): Use size_t instead of int as type of variables NEWCOUNT
62990         and OLD_PATHC.
62992 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62994         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62995         Add s_sincosf-sse2.
62996         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
62997         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
62998         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
62999         macros for using routine as __sincosf_ia32.
63000         Use macro for function declaration and weak_alias.
63001         * sysdeps/i386/fpu/libm-test-ulps: Update.
63003         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63006         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63007         subnormal argument.
63008         * math/s_cexpf.c (__cexpf): Likewise.
63009         * math/s_csinf.c (__csinf): Likewise.
63010         * math/s_csinhf.c (__csinhf): Likewise.
63011         * math/s_ctanf.c (__ctanf): Likewise.
63012         * math/s_ctanhf.c (__ctanhf): Likewise.
63013         * math/s_ccosh.c (__ccoshf): Likewise.
63014         * math/s_cexp.c (__cexpl): Likewise.
63015         * math/s_csin.c (__csin): Likewise.
63016         * math/s_csinh.c (__csinh): Likewise.
63017         * math/s_ctan.c (__ctan): Likewise.
63018         * math/s_ctanh.c (ctanh): Likewise.
63019         * math/s_ccoshl.c (__ccoshl): Likewise.
63020         * math/s_cexpl.c (__cexpl): Likewise.
63021         * math/s_csinl.c (__csinl): Likewise.
63022         * math/s_csinhl.c (__csinhl): Likewise.
63023         * math/s_ctanl.c (__ctanl): Likewise.
63024         * math/s_ctanhl.c (__ctanhl): Likewise.
63026 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63028         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63029         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63030         (_IO_off_t): Define to __off_t, not _G_off_t.
63031         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63032         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63033         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63034         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63035         type of __dummy and __dummy2 fields.
63036         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63037         (_G_ssize_t): Likewise.
63038         (_G_off_t): Likewise.
63039         (_G_pid_t): Likewise.
63040         (_G_uid_t): Likewise.
63041         (_G_wchar_t): Likewise.
63042         (_G_wint_t): Likewise.
63043         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63044         (_G_ssize_t): Likewise.
63045         (_G_off_t): Likewise.
63046         (_G_pid_t): Likewise.
63047         (_G_uid_t): Likewise.
63048         (_G_wchar_t): Likewise.
63049         (_G_wint_t): Likewise.
63050         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63051         (_G_ssize_t): Likewise.
63052         (_G_off_t): Likewise.
63053         (_G_pid_t): Likewise.
63054         (_G_uid_t): Likewise.
63055         (_G_wchar_t): Likewise.
63056         (_G_wint_t): Likewise.
63058 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63060         * malloc/arena.c: Include malloc-sysdep.h.
63061         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63062         is sufficient to shrink the heap or an unmap is needed.
63063         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63064         new function check_may_shrink_heap.
63065         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63066         new function check_may_shrink_heap.
63068 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63070         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63071         comments.
63073 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63075         * catgets/test-gencat.sh: Add "set -e".
63076         * elf/tst-pathopt.sh: Likewise.
63077         * grp/tst_fgetgrent.sh: Likewise.
63078         * iconvdata/run-iconv-test.sh: Likewise.
63079         * intl/tst-gettext.sh: Likewise.
63080         * intl/tst-gettext2.sh: Likewise.
63081         * intl/tst-gettext4.sh: Likewise.
63082         * intl/tst-gettext6.sh: Likewise.
63083         * intl/tst-translit.sh: Likewise.
63084         * io/ftwtest-sh: Likewise.
63085         * libio/test-freopen.sh: Likewise.
63086         * malloc/tst-mtrace.sh: Likewise.
63087         * posix/globtest.sh: Likewise.
63088         * posix/tst-getconf.sh: Likewise.
63089         * posix/wordexp-tst.sh: Likewise.
63090         * stdio-common/tst-printf.sh: Likewise.
63091         * stdio-common/tst-unbputc.sh: Likewise.
63092         * stdlib/tst-fmtmsg.sh: Likewise.
63093         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63094         * catgets/Makefile: Do not specify -e option when running
63095         testsuite shell scripts.
63096         * elf/Makefile: Likewise.
63097         * grp/Makefile: Likewise.
63098         * iconvdata/Makefile: Likewise.
63099         * intl/Makefile: Likewise.
63100         * io/Makefile: Likewise.
63101         * libio/Makefile: Likewise.
63102         * malloc/Makefile: Likewise.
63103         * posix/Makefile: Likewise.
63104         * stdio-common/Makefile: Likewise.
63105         * stdlib/Makefile: Likewise.
63106         * sysdeps/x86_64/Makefile: Likewise.
63108         * io/ftwtest-sh: Add copyright header.
63109         * posix/globtest.sh: Likewise.
63110         * posix/tst-getconf.sh: Likewise.
63111         * posix/wordexp-tst.sh: Likewise.
63112         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63114 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63116         [BZ #13679]
63117         * Makeconfig (+link): Defined as $(+link-static) if
63118         $(build-shared) isn't yes.
63119         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63120         isn't yes.
63121         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63123         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63125         [BZ #14562]
63126         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63127         new chunk size with MALLOC_ALIGN_MASK.
63129 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
63131         [BZ #5044]
63132         * stdio-common/printf_fphex.c: Include <stdbool.h> and
63133         <rounding-mode.h>.
63134         (__printf_fphex): Determine rounding using get_rounding_mode and
63135         round_away.
63136         * stdio-common/tst-printf-round.c (struct hex_test): New
63137         structure.
63138         (hex_tests): New variable.
63139         (test_hex_in_one_mode): New function.
63140         (do_test): Also run tests for hex float output.
63142 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
63144         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63145         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63146         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
63147         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63148         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63149         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
63150         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63151         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63153 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
63155         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
63156         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
63157         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
63158         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
63160 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
63162         [BZ #14579]
63163         * elf/rtld.c (dl_main): Limit the check for self loading to normal
63164         mode only.
63165         * elf/tst-rtld-load-self.sh: New test.
63166         * elf/Makefile: Run it.
63168 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
63170         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
63171         (tst-writev-ENV): Remove.
63172         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
63174 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
63176         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
63178 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
63180         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
63181         unconditional.
63182         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
63183         Likewise.
63184         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
63185         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
63186         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
63187         Likewise.
63189 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
63191         [BZ #14587]
63192         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
63193         * config.make.in (have-cpp-asm-debuginfo): Removed.
63194         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
63195         * configure: Regenerated.
63197 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
63199         [BZ #5044]
63200         * stdio-common/printf_fp.c: Include <stdbool.h> and
63201         <rounding-mode.h>.
63202         (___printf_fp): Determine rounding using get_rounding_mode and
63203         round_away.
63204         * stdio-common/tst-printf-round.c: New file.
63205         * stdio-common/Makefile (tests): Add tst-printf-round.
63206         (link-libm): New variable.
63207         ($(objpfx)tst-printf-round): Depend in $(link-libm).
63209 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
63211         [BZ #14576]
63212         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
63213         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
63214         Likewise.
63215         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
63216         Likewise.
63218 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
63220         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
63221         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63222         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63223         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63225 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
63227         [BZ #14518]
63228         * include/rounding-mode.h: New file.
63229         * sysdeps/generic/get-rounding-mode.h: Likewise.
63230         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
63231         * stdlib/strtod_l.c: Include <rounding-mode.h>.
63232         (MAX_VALUE): New macro.
63233         (MIN_VALUE): Likewise.
63234         (overflow_value): New function.
63235         (underflow_value): Likewise.
63236         (round_and_return): Use overflow_value and underflow_value to
63237         determine return values in overflow and underflow cases.  Use
63238         round_away to determine rounding depending on rounding mode.
63239         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
63240         determine return values in overflow and underflow cases.
63241         * stdlib/tst-strtod-round.c: Include <fenv.h>.
63242         (struct test_results): New structure.
63243         (struct test): Use struct test_results to store expected results
63244         for all rounding modes.
63245         (TEST): Include expected results for all rounding modes.
63246         (test_in_one_mode): New function.
63247         (do_test): Use test_in_one_mode to compute and check results.
63248         Check results for all rounding modes.
63249         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
63250         $(link-libm).
63252 2012-12-09  Allan McRae  <allan@archlinux.org>
63254         * sysdeps/i386/fpu/libm-test-ulps: Update
63256 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
63258         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
63259         (_G_int32_t): Likewise.
63260         (_G_uint16_t): Likewise.
63261         (_G_uint32_t): Likewise.
63262         (_G_HAVE_BOOL): Likewise.
63263         (_G_HAVE_ATEXIT): Likewise.
63264         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63265         (_G_HAVE_IO_FILE_OPEN): Likewise.
63266         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
63267         (_G_int32_t): Likewise.
63268         (_G_uint16_t): Likewise.
63269         (_G_uint32_t): Likewise.
63270         (_G_HAVE_BOOL): Likewise.
63271         (_G_HAVE_ATEXIT): Likewise.
63272         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63273         (_G_HAVE_IO_FILE_OPEN): Likewise.
63274         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
63275         (_G_int32_t): Likewise.
63276         (_G_uint16_t): Likewise.
63277         (_G_uint32_t): Likewise.
63278         (_G_HAVE_BOOL): Likewise.
63279         (_G_HAVE_ATEXIT): Likewise.
63280         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63281         (_G_HAVE_IO_FILE_OPEN): Likewise.
63283 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
63285         * csu/libc-tls.c: Update copyright years.
63287 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
63289         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
63290         [!_G_USING_THUNKS]: Remove conditional code.
63291         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
63292         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
63294         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
63295         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
63296         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63297         (_G_VTABLE_LABEL_PREFIX): Likewise.
63298         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63299         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63300         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63301         (_G_VTABLE_LABEL_PREFIX): Likewise.
63302         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63303         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63304         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63305         (_G_VTABLE_LABEL_PREFIX): Likewise.
63306         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63308 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
63310         * libio/Makefile: Include ../Makeconfig before tests.
63311         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63312         only if $(build-shared) is yes.
63314         * iconv/gconv_db.c: Update copyright years.
63316 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63318         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63319         unwind info if defined PIC. Fix special cases description.
63320         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63322         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63323         DP_HI_MASK entry.
63324         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63326 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63328         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63330         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63331         is NULL.
63333         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63334         (LDLIBS-tst-chk4): This.
63335         (LDFLAGS-tst-chk5): Renamed to ...
63336         (LDLIBS-tst-chk5): This.
63337         (LDFLAGS-tst-chk6): Renamed to ...
63338         (LDLIBS-tst-chk6): This.
63339         (LDFLAGS-tst-lfschk4): Renamed to ...
63340         (LDLIBS-tst-lfschk4): This.
63341         (LDFLAGS-tst-lfschk5): Renamed to ...
63342         (LDLIBS-tst-lfschk5): This.
63343         (LDFLAGS-tst-lfschk6): Renamed to ...
63344         (LDLIBS-tst-lfschk6): This.
63346         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63347         on $(common-objpfx)soversions.mk.
63349 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
63351         [BZ #10014]
63352         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63353         example host name.
63355 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63357         * malloc/arena.c (arena_get_retry): New function that gets
63358         another arena for the caller to try its request on.
63359         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63360         current arena cannot fulfill the request.
63361         (__libc_memalign): Likewise.
63362         (__libc_memalign): Likewise.
63363         (__libc_pvalloc): Likewise.
63364         (__libc_calloc): Likewise.
63366 2012-09-05  John Tobey  <john.tobey@gmail.com>
63368         [BZ #13542]
63369         * manual/arith.texi (Operations on Complex): Fix description
63370         of carg branch cut.
63372 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63374         [BZ #10014]
63375         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63376         host name.
63378         [BZ #10038]
63379         * manual/memory.texi (Memory): Make order of menu items match
63380         order of sections.
63382 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63384         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63385         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
63386         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63388 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63390         * csu/libc-tls.c (static_dtv): Renamed to ...
63391         (_dl_static_dtv): This.  Make it global.
63392         (_dl_initial_dtv): Removed.
63393         (__libc_setup_tls): Updated.
63394         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63395         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63396         DL_INITIAL_DTV.
63398 2012-09-06  Petr Machata  <pmachata@redhat.com>
63400         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63401         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63402         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63403         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63405 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63407         [BZ #14545]
63408         * csu/libc-tls.c (_dl_initial_dtv): New variable.
63409         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63410         freeing dtv[-1].
63412 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63414         [BZ #14544]
63415         * Makeconfig (link-static-before-libc): Replace $(+prector)
63416         with $(+prectorT).
63417         (link-static-after-libc): Replace $(+postctor) with
63418         $(+postctorT).
63419         (link-bounded): Replace $(+prector)/$(+postctor) with
63420         $(+prectorT)/$(+postctorT).
63421         (+prectorT): New macro.
63422         (+postctorT): Likewise.
63424 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63426         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
63427         (round_str): Handle values above the maximum for IBM long double
63428         as inexact.
63429         * stdlib/tst-strtod-round.c (tests): Regenerated.
63431 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63433         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
63434         assembler flag.
63435         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
63436         zarch_nohighgprs around the zarch optimized routines.
63437         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
63438         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
63439         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
63440         for zarch.
63442 2012-09-05  David S. Miller  <davem@davemloft.net>
63444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63446         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
63447         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
63448         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
63449         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63450         entries.
63452 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63454         * malloc/arena.c: Fold copyright years.
63455         * malloc/mcheck.c, malloc/memusage.c: Likewise.
63457 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63459         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
63461 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63463         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
63465 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63467         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
63468         change internal state upon failure.
63470 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63472         * malloc/mcheck.c (mcheck_check_all): Fix typo.
63473         * malloc/memusage.c (mmap): Likewise.
63474         (mmap64, mremap): Likewise.  Adjust name in comment.
63476 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63478         * libio/fileops.c: Fix typos in comments.
63479         * libio/oldfileops.c: Likewise.
63480         * libio/wfileops.c: Likewise.
63482 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63484         [BZ #1349]
63485         * malloc/Makefile (tests): Add tst-malloc-usable test case.
63486         (tst-malloc-usable-ENV): Set environment for test case.
63487         * malloc/hooks.c (malloc_check_get_size): New function to get
63488         requested size.
63489         * malloc/malloc.c (musable): Use malloc_check_get_size.
63490         * malloc/tst-malloc-usable.c: New test case.
63492 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63494         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
63496 2012-09-05  Allan McRae  <allan@archlinux.org>
63498         [BZ #13966]
63499         * configure.in (CXX_SYSINCLUDES): Use compiler output to
63500         determine header location.
63501         * configure: Regenerated.
63503 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63505         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
63506         float format.
63507         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
63508         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
63509         format.
63510         (test): Regenerate.
63512 2012-09-04  David S. Miller  <davem@davemloft.net>
63514         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
63515         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
63516         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
63518 2012-09-04  Florian Weimer  <fweimer@redhat.com>
63520         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
63521         failures.
63523         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
63525 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
63527         [BZ #9914]
63528         * libio/iogetdelim.c: Include <limits.h>.
63529         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
63530         + len + 1 would overflow.
63532 2012-09-03  Andreas Jaeger  <aj@suse.de>
63534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63535         * sysdeps/i386/fpu/libm-test-ulps: Update.
63537 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63539         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63540         Add s_sinf-sse2, s_conf-sse2.
63542         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
63543         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
63544         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
63545         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
63547         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
63548         for using routine as __sinf_ia32.
63549         Use macro for function declaration and weak_alias.
63550         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
63551         for using routine as __cosf_ia32.
63552         Use macro for function declaration and weak_alias.
63554         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
63555         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
63557         * sysdeps/x86_64/fpu/s_sinf.S: New file.
63558         * sysdeps/x86_64/fpu/s_cosf.S: New file.
63559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63561         * math/libm-test.inc (cos_test): Add more test cases.
63562         (sin_test): Likewise.
63563         (sincos_test): Likewise.
63565 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63567         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
63568         (IFUNC_RESOLVE): Make pointers to the specialized implementations
63569         hidden.
63570         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63572 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
63574         [BZ #14538]
63575         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
63576         first element of the GOT.
63577         (elf_machine_load_address): Return the difference between
63578         the runtime address of _DYNAMIC and elf_machine_dynamic ().
63580 2012-09-01  Allan McRae  <allan@archlinux.org>
63582         [BZ #13412]
63583         * configure.in (AWK): Require gawk version 3.0 or later.
63584         * configure: Regenerated.
63586 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
63588         * sysdeps/unix/sysv/linux/kernel-features.h
63589         (__ASSUME_POSIX_CPU_TIMERS): Remove.
63590         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63591         [__NR_clock_getres]: Make code unconditional.
63592         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
63593         (clock_getcpuclockid): Remove code left unreachable by removal of
63594         conditionals.
63595         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
63596         code unconditional.
63597         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63598         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63599         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
63600         Make code unconditional.
63601         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63602         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63603         * sysdeps/unix/sysv/linux/clock_settime.c
63604         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
63605         conditional code.
63606         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
63607         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63609 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
63611         [BZ #14476]
63612         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
63613         scripts/test-installation.pl.
63615         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
63616         and $ld_so_version if it is set.
63618 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63620         [BZ #14516]
63621         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
63622         failure if reading from procfs failed.
63623         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
63625 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63627         * sysdeps/unix/sysv/linux/kernel-features.h
63628         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
63629         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63630         Remove conditional code.
63631         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63632         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
63633         Remove conditional code.
63634         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63635         * sysdeps/unix/sysv/linux/i386/fxstat.c
63636         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63637         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63638         * sysdeps/unix/sysv/linux/i386/fxstatat.c
63639         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63640         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63641         * sysdeps/unix/sysv/linux/i386/lxstat.c
63642         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63643         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63644         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
63645         Remove conditional code.
63646         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63647         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63648         Remove conditional code.
63649         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63650         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
63651         <kernel-features.h>.
63652         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
63653         Remove.
63654         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
63655         Remove conditional code.
63656         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63657         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
63658         Remove conditional.
63660 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
63662         [BZ #5400]
63663         * NEWS: Add fixed bug number.
63665 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63667         [BZ #14519]
63668         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
63669         underflowing exponent in case of negative sign.
63670         * stdlib/tst-strtod-round-data: Add more tests.
63671         * stdlib/tst-strtod-round.c (tests): Regenerated.
63673         [BZ #3479]
63674         * stdlib/strtod_l.c (NDIG): Remove.
63675         (HEXNDIG): Likewise.
63676         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
63677         smallest representable value.
63678         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
63679         lie within an exact representation of 1/2 ulp of the result.
63680         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
63681         unconditionally.
63682         (TENS_P9_IDX): Define unconditionally.
63683         (TENS_P9_SIZE): Likewise.
63684         (TENS_P10_IDX): Likewise.
63685         (TENS_P10_SIZE): Likewise.
63686         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
63687         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
63688         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
63689         entries for 10^2^13 and 10^2^14.
63690         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
63691         (TENS_P13_IDX): Define.
63692         (TENS_P13_SIZE): Likewise.
63693         (TENS_P14_IDX): Likewise.
63694         (TENS_P14_SIZE): Likewise.
63695         (_fpioconst_pow10): Change array size to
63696         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
63697         unconditional.
63698         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
63699         1024]: Add entries for 10^2^13 and 10^2^14.
63700         [LAST_POW10 > _LAST_POW10]: Remove #error.
63701         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
63702         (_fpioconst_pow10): Change array size to
63703         FPIOCONST_POW10_ARRAY_SIZE.
63704         * stdlib/gen-fpioconst.c: New file.
63705         * stdlib/gen-tst-strtod-round.c: Likewise.
63706         * stdlib/tst-strtod-round-data: Likewise.
63707         * stdlib/tst-strtod-round.c: Likewise.
63708         * stdlib/Makefile (tests): Add tst-strtod-round.
63710         [BZ #14459]
63711         * stdlib/strtod_l.c: Include <stdint.h>.
63712         (NDEBUG): Do not define.
63713         (round_and_return): Change EXPONENT parameter to type intmax_t.
63714         Rearrange calculations to avoid internal overflow possibilities.
63715         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
63716         Rearrange calculations to avoid internal overflow possibilities.
63717         Assert that number fits inside MPNSIZE limbs.
63718         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
63719         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
63720         calculations and add assertions to avoid internal overflow
63721         possibilities.  Add casts to avoid signed/unsigned operations.
63722         * stdlib/tst-strtod-overflow.c: New file.
63723         * stdlib/Makefile (tests): Add tst-strtod-overflow.
63725 2012-08-25  Marek Polacek  <polacek@redhat.com>
63727         * time/time.h: Fix some typos in comments.
63729 2012-08-23  Roland McGrath  <roland@hack.frob.com>
63731         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
63732         * posix/tst-rfc3484-2.c: Likewise.
63733         * posix/tst-rfc3484-3.c: Likewise.
63735 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
63737         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
63738         (EF_ARM_ABI_FLOAT_HARD): Likewise.
63740 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
63742         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
63743         #include of fxstatat64.c.
63745 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63747         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
63748         * shadow/getspent_r.c: Likewise.
63749         * shadow/getspnam.c: Likewise.
63750         * shadow/getspnam_r.c: Likewise.
63751         * gshadow/getsgent.c: Likewise.
63752         * gshadow/getsgent_r.c: Likewise.
63753         * gshadow/getsgnam.c: Likewise.
63754         * gshadow/getsgnam_r.c: Likewise.
63755         * inet/getnetbyad.c: Likewise.
63756         * inet/getnetbyad_r.c: Likewise.
63757         * inet/getnetbynm.c: Likewise.
63758         * inet/getnetbynm_r.c: Likewise.
63759         * inet/getnetent.c: Likewise.
63760         * inet/getnetent_r.c: Likewise.
63761         * inet/getproto.c: Likewise.
63762         * inet/getproto_r.c: Likewise.
63763         * inet/getprtent.c: Likewise.
63764         * inet/getprtent_r.c: Likewise.
63765         * inet/getprtname.c: Likewise.
63766         * inet/getprtname_r.c: Likewise.
63767         * inet/getrpcbyname.c: Likewise.
63768         * inet/getrpcbyname_r.c: Likewise.
63769         * inet/getrpcbynumber.c: Likewise.
63770         * inet/getrpcbynumber_r.c: Likewise.
63771         * inet/getrpcent.c: Likewise.
63772         * inet/getrpcent_r.c: Likewise.
63773         * inet/getaliasent.c: Likewise.
63774         * inet/getaliasent_r.c: Likewise.
63775         * inet/getaliasname.c: Likewise.
63776         * inet/getaliasname_r.c: Likewise.
63777         * nscd/getgrgid_r.c: Likewise.
63778         * nscd/getgrnam_r.c: Likewise.
63779         * nscd/gethstbyad_r.c: Likewise.
63780         * nscd/gethstbynm3_r.c: Likewise.
63781         * nscd/getpwnam_r.c: Likewise.
63782         * nscd/getpwuid_r.c: Likewise.
63783         * nscd/getsrvbynm_r.c: Likewise.
63784         * nscd/getsrvbypt_r.c: Likewise.
63785         * nscd/gai.c: Likewise.
63787         * configure.in (build_nscd): New substituted variable, set
63788         by --disable-build-nscd and defaults to $use_nscd.
63789         * configure: Regenerated.
63790         * config.make.in (build-nscd): New substituted variable.
63791         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63792         Change conditional to require [$(build-nscd) = yes] as well.
63793         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63795         [BZ# 13696]
63796         * configure.in (use_nscd): New substituted variable, set by
63797         --disable-nscd.  If enabled, define USE_NSCD.
63798         * configure: Regenerated.
63799         * config.h.in: Add USE_NSCD.
63800         * config.make.in (use-nscd): New substituted variable.
63801         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63802         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63803         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63804         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63805         (CFLAGS-getgrnam_r.c): Likewise.
63806         (CFLAGS-initgroups.c): Likewise.
63807         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63808         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63809         Variables removed.
63810         * inet/getnetgrent_r.c
63811         (nscd_setnetgrent): New function, broken out of ...
63812         (setnetgrent): ... here.  Call it.
63813         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63814         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63815         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63816         * nscd/Makefile (routines, aux): Move definitions after include of
63817         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63818         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63819         Conditionalize on [USE_NSCD].
63820         (is_nscd, nscd_init_cb): Likewise.
63821         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63822         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63823         * nss/nss_db/db-init.c: Likewise.
63824         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63825         [USE_NSCD].
63826         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63827         (make_request): Use it.
63828         (cache_valid_p): New function.
63829         (__check_pf): Use it.
63830         * NEWS: Add item for --disable-nscd.
63832 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63834         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63835         to support sed >= 4.2.1-20-ga9bf076.
63836         * configure: Regenerated.
63838 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63840         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63841         Conditionalize whole body on [IREL].
63843 2012-08-22  Jeff Law <law@redhat.com>
63845         [BZ #14505]
63846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63847         if the family is PF_UNSPEC.
63849 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63851         * Makerules (lib-version): Rename from V.
63852         (install-lib-nosubdir): Change V to lib-version.
63854 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63856         [BZ #14252]
63857         * powerpc32/power6/wcschr.c: New file.
63858         * powerpc32/power6/wcscpy.c: New file.
63859         * powerpc32/power6/wcsrchr.c: New file.
63860         * powerpc64/power6/wcschr.c: New file.
63861         * powerpc64/power6/wcscpy.c: New file.
63862         * powerpc64/power6/wcsrchr.c: New file.
63864 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63866         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63867         (two_way_short_needle): Use it.
63868         * string/strstr.c (AVAILABLE1_USES_J): Define.
63869         * string/strcasestr.c: Likewise.
63871         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63872         array references.
63873         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63875         [BZ #11607]
63876         * NEWS: Add an entry.
63877         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63878         define their defaults.
63879         (two_way_short_needle): Detect end-of-string on-the-fly.
63880         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63881         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63882         * string/bug-strcasestr1.c: New test.
63883         * string/Makefile: Run it.
63885 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63887         [BZ #11607]
63888         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63889         the first character.
63891 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63893         * csu/elf-init.c (__libc_csu_irel): Function removed.
63894         * csu/libc-start.c (apply_irel): New function.
63895         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63897 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63899         * sysdeps/unix/sysv/linux/kernel-features.h
63900         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63901         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63902         <kernel-features.h>.
63903         [__NR_fadvise64_64]: Make code unconditional.
63904         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63905         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63906         !__NR_fadvise64_64)]: Likewise.
63907         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63908         !__NR_fadvise64_64))]: Likewise.
63909         [__NR_fadvise64]: Make code unconditional.
63910         [!__NR_fadvise64]: Remove conditional code.
63911         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63912         <kernel-features.h>.
63913         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63914         unconditional.
63915         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63916         conditional code.
63917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63918         not include <kernel-features.h>.
63919         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63920         unconditional.
63921         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63922         conditional code.
63923         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63924         include <kernel-features.h>.
63925         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63926         unconditional.
63927         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63928         conditional code.
63930 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63932         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63933         slight instruction rearrangements per scrollpipe analysis.
63934         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63936 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63938         * manual/syslog.texi (syslog; vsyslog, closelog):
63939         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63940         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63942         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63943         DSOCAPS to match condition on defining it.
63945 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63947         * sysdeps/unix/sysv/linux/kernel-features.h
63948         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63950         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63951         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63953         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63954         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63956         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63957         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63959         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63960         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63962         * sysdeps/unix/sysv/linux/kernel-features.h
63963         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63964         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63965         unconditional.
63966         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63967         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63968         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63969         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63970         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63971         Make code unconditional.
63972         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63973         (__mmap64) [!__NR_mmap2]: Likewise.
63974         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63975         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63976         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63977         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63978         [__NR_mmap2]: Make code unconditional.
63979         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63980         (__mmap64) [!__NR_mmap2]: Likewise.
63982 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63984         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63986 2012-08-18  Andreas Jaeger  <aj@suse.de>
63988         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63990 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63992         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63993         * include/unistd.h (__have_sock_cloexec): Likewise.
63994         (__have_pipe2): Likewise.
63995         (__have_dup3): Likewise.
63997 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63999         [BZ #9685]
64000         * include/unistd.h (__have_pipe2): Change define into an extern int.
64001         (__have_dup3): Likewise.
64002         * socket/have_sock_cloexec.c: Include fcntl.h.
64003         (__have_pipe2): New variable.
64004         (__have_dup3): Likewise.
64006 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64008         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64010 2012-08-17  Marek Polacek  <polacek@redhat.com>
64012         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64013         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64015 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64017         * configure.in: Add AC_SUBST for sysheaders.
64018         * configure: Regenerated.
64019         * config.make.in (sysheaders): New substituted variable.
64021         * sysdeps/unix/mkfifo.c: Moved ...
64022         * sysdeps/posix/mkfifo.c: ... here.
64023         * sysdeps/unix/mkfifoat.c: Moved ...
64024         * sysdeps/posix/mkfifoat.c: ... here.
64026         * sysdeps/unix/utime.c: Moved ...
64027         * sysdeps/posix/utime.c: ... here.
64029         * sysdeps/unix/time.c: Moved ...
64030         * sysdeps/posix/time.c: ... here.
64031         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64032         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64034         * sysdeps/unix/nice.c: Moved ...
64035         * sysdeps/posix/nice.c: ... here.
64037         * sysdeps/unix/alarm.c: Moved ...
64038         * sysdeps/posix/alarm.c: ... here.
64040         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64042 2012-08-17  Jeff Law <law@redhat.com>
64044         * intl/Makefile (codeset_mo): New variable.
64045         ($(codeset_mo)): New target.
64046         (tst-codeset.out): Depend on that.  Remove explicit rule.
64047         (tst-gettext3.out, tst-gettext5.out): Likewise.
64048         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64049         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64050         * intl/tst-codeset.sh: Remove.
64051         * intl/tst-gettext3.sh: Likewise.
64052         * intl/tst-gettext5.sh: Likewise.
64054 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64056         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64057         * sysdeps/unix/syscalls.list: ... here.
64059         * sysdeps/posix/getaddrinfo.c
64060         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64061         (gaiconf_init, gaiconf_reload): Use them.
64062         [!_STATBUF_ST_NSEC]
64063         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64064         Define using time_t rather than struct timespec.
64066         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64067         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64068         Macros removed.
64069         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64070         [!NO_THREADS].
64071         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64072         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64073         Likewise.
64075         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64076         __libc_cleanup_push argument.
64078         * bits/param.h: New file.
64079         * misc/sys/param.h: New file.
64080         * include/sys/param.h: New file.
64081         * misc/Makefile (headers): Add bits/param.h.
64082         * sysdeps/generic/sys/param.h: File removed.
64083         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64084         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64085         * sysdeps/mach/hurd/bits/param.h: New file.
64086         * sysdeps/mach/hurd/sys/param.h: File removed.
64088         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64089         last change.
64091         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64092         [_IO_MTSAFE_IO].
64093         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64094         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64095         New macros.
64097         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64098         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64099         rather than -D_IO_MTSAFE_IO conditionally.
64100         * stdio-common/Makefile (CPPFLAGS): Likewise.
64101         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64102         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64103         Use $(libio-mtsafe).
64104         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64105         of -D_IO_MTSAFE_IO.
64106         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64107         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64108         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64109         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64110         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64111         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64112         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64113         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64114         (CFLAGS-fread_u_chk.c): Likewise.
64115         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64116         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64117         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64118         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64119         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64120         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64121         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64122         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64123         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64125         * libio/Makefile: Test [$(libc-reentrant) = yes]
64126         instead of [$(filter %REENTRANT, $(defines)) nonempty].
64128         * Makeconfig
64129         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
64130         * sysdeps/pthread/configure: File removed.
64131         * sysdeps/pthread/Makeconfig: New file.
64132         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
64133         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
64135 2012-08-16  Gary Benson  <gbenson@redhat.com>
64137         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
64138         unmapping the first object in a namespace.
64140 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64142         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
64143         (__internal_setnetgrent): ... this.  Add internal_function to
64144         definition.  Add libc_hidden_def.
64145         (setnetgrent): Update caller.
64146         (internal_endnetgrent): Renamed to ...
64147         (__internal_endnetgrent): ... this.  Add internal_function to
64148         definition.  Add libc_hidden_def.
64149         (endnetgrent): Update caller.
64150         (internal_getnetgrent_r): Renamed to ...
64151         (__internal_getnetgrent_r): ... this.  Add internal_function to
64152         definition.  Add libc_hidden_def.
64153         (__getnetgrent_r): Update caller.
64154         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
64156 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64158         * stdlib/longlong.h: Update from GCC.
64160 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64162         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
64163         on _QL, which is set by umul_ppmm but never used.
64164         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
64165         variables, which are set by GMP macros but never used.
64166         * stdio-common/_itowa.c (_itowa): Likewise.
64167         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
64168         * stdlib/mod_1.c (mpn_mod_1): Likewise.
64170 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
64172         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
64173         struct La_sh_regs is not constant.
64174         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
64175         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
64176         and struct La_sparc64_regs are not constant.
64178 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64180         * sysdeps/unix/sysv/linux/kernel-features.h
64181         (__ASSUME_POSIX_TIMERS): Remove.
64182         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64183         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64184         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
64185         Make code unconditional.
64186         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64187         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
64188         Make code unconditional.
64189         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64190         * sysdeps/unix/sysv/linux/clock_nanosleep.c
64191         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
64192         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64193         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
64194         Make code unconditional.
64195         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64196         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
64197         (__libc_missing_posix_timers): Remove.
64199 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64201         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
64202         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64204         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
64206         * elf/dl-sym.c: Include <stdlib.h>.
64208         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
64209         constants, which avoids warnings in 32-bit builds.
64211         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
64212         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
64214         * misc/lseek.c: File moved to ...
64215         * io/lseek.c: ... here.
64217         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
64219         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
64220         shifting LEN more than 31 bits at once.
64222 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64224         [BZ #14195]
64225         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
64226         segmentation fault for a case of two empty input strings.
64227         * string/test-strncasecmp.c (check1): Renamed to...
64228         (bz12205): ...this.
64229         (bz14195): Add new testcase for two empty input strings and N > 0.
64230         (test_main): Call new testcase, adapt for renamed function.
64232 2012-08-15  Andreas Jaeger  <aj@suse.de>
64234         [BZ #14090]
64235         * crypt/md5test2.c: New test, based on test supplied by Serge
64236         Belyshev <belyshev@depni.sinp.msu.ru>.
64237         * crypt/Makefile (xtests): Add md5test-giant..
64238         * crypt/Makefile ($(objpfx)md5test-giant): Add.
64240 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
64242         [BZ #14090]
64243         * crypt/md5.c (md5_process_block): Don't assume the buffer
64244         length is less than 2**32.
64245         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
64246         length is less than 2**64.
64248 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64250         * string/str-two-way.h: Include <sys/param.h>.
64251         (MAX): Macro removed.
64253         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
64254         Move #define and #undef of memmove to just before and after
64255         including <string.h>.
64257         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
64258         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
64259         and after including <string.h>.  Move declarations of
64260         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
64261         to before #include "string/memmove.c".
64263         * include/dirent.h: Declare __getdirentries.
64265         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
64266         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
64268 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
64270         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
64271         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
64272         * sysdeps/i386/configure: Regenerated.
64273         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
64274         STABS_CURRENT_FILE, and STABS_FUN.
64275         (END): Remove call to STABS_FUN_END.
64276         (STABS_CURRENT_FILE1): Delete.
64277         (STABS_CURRENT_FILE): Likewise.
64278         (STABS_FUN): Likewise.
64279         (STABS_FUN_END): Likewise.
64280         (STABS_FUN2): Likewise.
64281         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
64282         * sysdeps/x86_64/configure: Regenerated.
64284 2012-08-14  Roland McGrath  <roland@hack.frob.com>
64286         * elf/dl-open.c: Include <atomic.h>.
64287         * elf/dl-lookup.c: Likewise.
64289 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
64291         * sysdeps/unix/sysv/linux/kernel-features.h
64292         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
64293         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64294         unconditionally.
64295         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
64296         unconditionally.
64297         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
64298         condition on __ASSUME_CLONE_THREAD_FLAGS.
64300 2012-08-14  Andreas Jaeger  <aj@suse.de>
64302         * sysdeps/i386/fpu/libm-test-ulps: Update.
64304 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
64306         * include/atomic.h (atomic_exchange_and_add): Split into ...
64307         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
64308         New atomic macros.
64310 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
64312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64314 2012-08-13  Jeff Law <law@redhat.com>
64316         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64317         null byte in the output string.
64319 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64321         * sysdeps/unix/sysv/linux/kernel-features.h
64322         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64323         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64324         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64325         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64326         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64327         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64328         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64330 2012-08-09  Jeff Law <law@redhat.com>
64332         [BZ #13939]
64333         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64334         When avoid_arena is set, don't retry in the that arena.  Pick the
64335         next one, whatever it might be.
64336         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64337         (arena_lock): Pass in new parameter to arena_get2.
64338         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64339         arena_get2.
64340         (__libc_malloc): Unify retrying after main arena failure with
64341         __libc_memalign version.
64342         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64344 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
64346         [BZ #14166]
64347         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64348         to __redirect_strstr.
64349         (__strstr_sse42): Use typeof __redirect_strstr.
64350         (__strstr_ia32): Likewise.
64351         (__libc_strstr): New prototype.
64352         (strstr): Renamed to ...
64353         (__libc_strstr): This.
64354         (strstr): New strong alias of __libc_strstr.
64355         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64356         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64357         __redirect_time.
64358         Include <time.h>.
64359         (__libc_time): New prototype.
64360         (time_ifunc): Replace time with __libc_time.
64361         (time): New strong alias and hidden definition of __libc_time.
64362         (__GI_time): Remove strong alias.
64363         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64364         Include <stddef.h>.
64365         (memmove): Redefined to __redirect_memmove.
64366         (__memmove_sse2): Use typeof __redirect_memmove.
64367         (__memmove_ssse3): Likewise.
64368         (__memmove_ssse3_back): Likewise.
64369         (__libc_memmove): New prototype.
64370         (memmove): Renamed to ...
64371         (__libc_memmove): This.
64372         (memmove): New strong alias of __libc_memmove.
64374 2012-08-08  Mark Salter  <msalter@redhat.com>
64376         * elf/elf.h
64377         (R_MN10300_TLS_GD): Define.
64378         (R_MN10300_TLS_LD): Likewise.
64379         (R_MN10300_TLS_LDO): Likewise.
64380         (R_MN10300_TLS_GOTIE): Likewise.
64381         (R_MN10300_TLS_IE): Likewise.
64382         (R_MN10300_TLS_LE): Likewise.
64383         (R_MN10300_TLS_DTPMOD): Likewise.
64384         (R_MN10300_TLS_DTPOFF): Likewise.
64385         (R_MN10300_TLS_TPOFF): Likewise.
64386         (R_MN10300_SYM_DIFF): Likewise.
64387         (R_MN10300_ALIGN): Likewise.
64388         (R_MN10300_NUM): Update.
64390 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
64392         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64393         Remove.
64395 2012-08-08  Roland McGrath  <roland@hack.frob.com>
64397         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64399         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64400         sysdeps/unix -> sysdeps/posix move.
64401         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64403 2012-08-07      Allan McRae     <allan@archlinux.org>
64405         [BZ #14303]
64406         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64407         (SUNOS_CPP): Likewise.
64408         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64409         not found.
64410         (open_input): Call CPP using execvp.
64412 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64414         * sysdeps/unix/sysv/linux/kernel-features.h
64415         (__ASSUME_PROT_GROWSUPDOWN): Remove.
64416         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64417         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64418         (__ASSUME_WAITID_SYSCALL): Likewise.
64419         * sysdeps/unix/sysv/linux/dl-execstack.c
64420         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
64421         code unconditional.
64422         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
64423         conditional code.
64424         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
64425         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
64426         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
64427         code.
64428         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
64429         unconditional.
64430         [__ASSUME_WAITID_SYSCALL]: Likewise.
64431         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
64433 2012-08-07  Roland McGrath  <roland@hack.frob.com>
64435         * sysdeps/unix/closedir.c: Renamed to ...
64436         * sysdeps/posix/closedir.c: ... here.
64437         * sysdeps/unix/dirfd.c: Renamed to ...
64438         * sysdeps/posix/dirfd.c: ... here.
64439         * sysdeps/unix/dirstream.h: Renamed to ...
64440         * sysdeps/posix/dirstream.h: ... here.
64441         * sysdeps/unix/fdopendir.c: Renamed to ...
64442         * sysdeps/posix/fdopendir.c: ... here.
64443         * sysdeps/unix/opendir.c: Renamed to ...
64444         * sysdeps/posix/opendir.c: ... here.
64445         * sysdeps/unix/readdir.c: Renamed to ...
64446         * sysdeps/posix/readdir.c: ... here.
64447         * sysdeps/unix/readdir_r.c: Renamed to ...
64448         * sysdeps/posix/readdir_r.c: ... here.
64449         * sysdeps/unix/rewinddir.c: Renamed to ...
64450         * sysdeps/posix/rewinddir.c: ... here.
64451         * sysdeps/unix/seekdir.c: Renamed to ...
64452         * sysdeps/posix/seekdir.c: ... here.
64453         * sysdeps/unix/telldir.c: Renamed to ...
64454         * sysdeps/posix/telldir.c: ... here.
64455         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
64456         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
64457         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64458         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
64460         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
64461         * bits/fcntl.h: ... here.
64463         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
64464         not 0.
64465         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
64466         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
64467         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
64468         (struct flock): Move l_start, l_len to the beginning.
64469         Use __pid_t for l_pid.
64470         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
64471         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
64472         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
64473         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
64474         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
64475         [__USE_LARGEFILE64] (struct flock64): New type.
64476         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
64478         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
64479         * bits/dirent.h: ... here.
64481         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
64482         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
64484 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64486         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64487         Change from 2.6.0 to 2.6.16.
64488         * sysdeps/unix/sysv/linux/configure: Regenerated.
64489         * sysdeps/unix/sysv/linux/kernel-features.h
64490         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
64491         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
64492         version.
64493         (__ASSUME_UTIMES): Likewise.
64494         (__ASSUME_CLONE_STOPPED): Remove.
64495         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
64496         architectures, not kernel version.
64497         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
64498         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64499         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64500         (__ASSUME_WAITID_SYSCALL): Likewise.
64501         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
64502         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
64503         * README: State 2.6.16 as minimum Linux kernel version.  Do not
64504         refer to older versions.
64506 2012-08-06  Roland McGrath  <roland@hack.frob.com>
64508         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
64509         Define alphasort64 as an alias.
64510         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
64511         Define versionsort64 as an alias.
64512         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
64513         Define scandir64 as an alias.
64514         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
64515         Define scandirat64 as an alias.
64516         * dirent/alphasort64.c (alphasort64):
64517         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
64518         * dirent/versionsort64.c: Likewise.
64519         * dirent/scandir64.c: Likewise.
64520         * dirent/scandirat64.c: Likewise.
64521         * sysdeps/wordsize-64/alphasort.c: File removed.
64522         * sysdeps/wordsize-64/alphasort64.c: File removed.
64523         * sysdeps/wordsize-64/scandir.c: File removed.
64524         * sysdeps/wordsize-64/scandir64.c: File removed.
64525         * sysdeps/wordsize-64/scandirat.c: File removed.
64526         * sysdeps/wordsize-64/scandirat64.c: File removed.
64527         * sysdeps/wordsize-64/versionsort.c: File removed.
64528         * sysdeps/wordsize-64/versionsort64.c: File removed.
64529         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
64530         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
64531         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
64532         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
64533         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
64534         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
64535         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
64536         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
64538         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
64539         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64540         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
64541         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64542         [defined __arch64__ || defined __sparcv9]
64543         (__INO_T_MATCHES_INO64_T): New macro.
64544         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64545         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
64546         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
64547         * sysdeps/unix/sysv/linux/bits/dirent.h
64548         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
64549         (_DIRENT_MATCHES_DIRENT64): New macro.
64551         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
64552         Define lockf64 as an alias.
64553         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
64554         Define fseeko64 as an alias.
64555         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
64556         Define ftello64 as an alias.
64557         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
64558         Define _IO_fgetpos64 and fgetpos64 as aliases.
64559         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
64560         Define _IO_fsetpos64 and fsetpos64 as aliases.
64561         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
64562         Conditionalize body on this.
64563         * libio/fseeko64.c: Likewise.
64564         * libio/ftello64.c: Likewise.
64565         * libio/iofgetpos64.c: Likewise.
64566         * libio/iofsetpos64.c: Likewise.
64567         * sysdeps/wordsize-64/lockf.c: File removed.
64568         * sysdeps/wordsize-64/lockf64.c: File removed.
64569         * sysdeps/wordsize-64/fseeko.c: File removed.
64570         * sysdeps/wordsize-64/fseeko64.c: File removed.
64571         * sysdeps/wordsize-64/ftello.c: File removed.
64572         * sysdeps/wordsize-64/ftello64.c: File removed.
64573         * sysdeps/wordsize-64/iofgetpos.c: File removed.
64574         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
64575         * sysdeps/wordsize-64/iofsetpos.c: File removed.
64576         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
64577         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
64578         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
64579         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
64580         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
64581         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
64582         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
64583         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
64584         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
64585         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
64586         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
64588         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64589         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64590         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
64591         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64592         [defined __arch64__ || defined __sparcv9]
64593         (__OFF_T_MATCHES_OFF64_T): New macro.
64594         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64595         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64596         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64597         (__OFF_T_MATCHES_OFF64_T): New macro.
64599 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64601         * stdlib/secure-getenv.c (__secure_getenv): Replace
64602         GLIBC_2_16 with GLIBC_2_17.
64604 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64606         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
64607         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64609 2012-08-03  David S. Miller  <davem@davemloft.net>
64611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64613 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
64616         Remove.
64617         (__ASSUME_CORRECT_SI_PID): Likewise.
64618         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
64619         (__ASSUME_TMPFS_NAME): Likewise.
64620         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
64621         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
64622         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
64623         (HAVE_AUX_SECURE): Make definition unconditional.
64624         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
64625         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
64627 2012-08-03  Roland McGrath  <roland@hack.frob.com>
64629         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
64630         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
64631         * sysdeps/mach/hurd/eloop-threshold.h: New file.
64632         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64633         __eloop_threshold instead of SYMLOOP_MAX.
64635         * sysdeps/generic/eloop-threshold.h: New file.
64636         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
64637         of MAXSYMLINKS.
64638         * elf/chroot_canon.c (chroot_canon): Likewise.
64640 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64642         [BZ #13717]
64643         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64644         Change to 2.6.0 everywhere.
64645         * sysdeps/unix/sysv/linux/configure: Regenerated.
64646         * sysdeps/unix/sysv/linux/kernel-features.h
64647         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
64648         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
64649         kernel versions.
64650         (__ASSUME_POSIX_TIMERS): Define unconditionally.
64651         (__ASSUME_FUTEX_REQUEUE): Remove.
64652         (__ASSUME_STATFS64): Define unconditionally.
64653         (__ASSUME_AT_SECURE): Likewise.
64654         (__ASSUME_CORRECT_SI_PID): Likewise.
64655         (__ASSUME_TGKILL): Define without depending on kernel version for
64656         i386.
64657         (__ASSUME_UTIMES): Likewise.
64658         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
64659         kernel version.
64660         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
64661         (__ASSUME_TMPFS_NAME): Likewise.
64662         * README: Update reference to Linux kernel versions.
64664 2012-08-02  Marek Polacek  <polacek@redhat.com>
64666         [BZ# 14150]
64667         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
64668         libc_cv_asm_type_prefix with %.
64669         * configure: Regenerated.
64670         * include/libc-symbols.h: Remove comment about
64671         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64672         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
64673         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
64674         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
64675         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
64676         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64677         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
64678         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
64679         * elf/tst-unique2mod1.c: Likewise.
64680         * elf/tst-unique1mod2.c: Likewise.
64681         * elf/tst-unique1mod1.c: Likewise.
64682         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
64683         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
64684         Replace ASM_TYPE_DIRECTIVE with .type.
64685         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64686         * sysdeps/i386/sysdep.h: Likewise.
64687         * sysdeps/x86_64/sysdep.h: Likewise.
64688         * sysdeps/sh/sysdep.h: Likewise.
64689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64690         Do not define ASM_TYPE_DIRECTIVE.
64691         * sysdeps/powerpc/sysdep.h: Likewise.
64692         * sysdeps/powerpc/powerpc32/sysdep.h:
64693         Replace ASM_TYPE_DIRECTIVE with .type.
64694         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64695         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64696         * sysdeps/i386/fpu/e_powf.S: Likewise.
64697         * sysdeps/i386/fpu/e_expl.S: Likewise.
64698         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64699         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64700         * sysdeps/i386/fpu/e_pow.S: Likewise.
64701         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64702         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64703         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64704         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64705         * sysdeps/i386/fpu/e_log2.S: Likewise.
64706         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64707         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64708         * sysdeps/i386/fpu/e_powl.S: Likewise.
64709         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64710         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64711         * sysdeps/i386/fpu/e_logl.S: Likewise.
64712         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64713         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64714         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64715         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64716         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64717         * sysdeps/i386/fpu/e_log.S: Likewise.
64718         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64719         * sysdeps/i386/fpu/e_logf.S: Likewise.
64720         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64721         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64722         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64723         * sysdeps/i386/fpu/e_log10.S: Likewise.
64724         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64725         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64726         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64727         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64728         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64729         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
64730         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64731         * sysdeps/i386/i686/strtok.S: Likewise.
64732         * sysdeps/i386/i386-mcount.S: Likewise.
64733         * sysdeps/i386/strtok.S: Likewise.
64734         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
64735         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64736         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64737         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64738         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64739         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64740         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64741         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64742         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64743         * sysdeps/x86_64/_mcount.S: Likewise.
64744         * sysdeps/x86_64/strtok.S: Likewise.
64745         * sysdeps/sh/_mcount.S: Likewise.
64747 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64749         * libio/iofopen.c: Include <fcntl.h>.
64750         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
64751         (_IO_fopen64, fopen64): Define as aliases.
64752         * libio/iofopen64.c: Include <fcntl.h>.
64753         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
64754         Conditionalize body on this.
64755         * sysdeps/wordsize-64/iofopen.c: File removed.
64756         * sysdeps/wordsize-64/iofopen64.c: File removed.
64758 2012-08-01  Marek Polacek  <polacek@redhat.com>
64760         * libc/Makeconfig: Use elf in place of binfmt-subdir.
64761         Use dlfcn directly instead of a variable.
64762         (binfmt-subdir): Do not define.
64763         (dlfcn): Likewise.
64765 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
64767         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
64768         Remove all definitions.
64769         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
64770         <kernel-features.h>.
64771         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64772         (miss_F_GETOWN_EX): Remove all definitions.
64773         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
64774         macro definition.
64775         [!__ASSUME_FCNTL64]: Remove conditional code.
64776         [__ASSUME_FCNTL64]: Make code unconditional.
64777         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
64778         <kernel-features.h>.
64779         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64780         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64781         (lockf64) [__NR_fcntl64]: Make code unconditional.
64782         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64784         * sysdeps/unix/sysv/linux/kernel-features.h
64785         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64786         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64787         Make code unconditional.
64788         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64789         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64791         [__NR_vfork]: Make code unconditional.
64792         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64793         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64795         [__NR_vfork]: Make code unconditional.
64796         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64797         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64799 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64801         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64802         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64804         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64805         Define mkstemp64 as an alias.
64806         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64807         Define mkstemps64 as an alias.
64808         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64809         Define mkostemp64 as an alias.
64810         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64811         Define mkostemps64 as an alias.
64812         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64813         Conditionalize body on this.
64814         * misc/mkostemp64.c: Likewise.
64815         * misc/mkostemps64.c: Likewise.
64816         * misc/mkstemps64.c: Likewise.
64817         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64818         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64819         * sysdeps/wordsize-64/mkostemp.c: File removed.
64820         * sysdeps/wordsize-64/mkstemp.c: File removed.
64821         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64822         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64823         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64824         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64826         [BZ #14138]
64827         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64828         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64829         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64830         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64832         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64833         compat_symbol macros from <shlib-compat.h> rather than the underlying
64834         default_symbol_version and symbol_version macros, so that DEFAULT
64835         lines in shlib-versions are respected.
64836         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64838 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64840         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64841         Declare with warn_unused_result.
64842         (setgid, setregid, setegid, setresgid): Likewise.
64843         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64844         Likewise.
64845         * WUR-REPORT: Remove set*id functions.
64847 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64849         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64851 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64853         [BZ #10191]
64854         * include/sys/socket.h (__libc_accept, __libc_accept4):
64855         Add attribute_hidden.
64856         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64858         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64859         use of PTR_MANGLE.
64860         * inet/getnetgrent_r.c (setup): Likewise.
64862         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64864 2012-07-31  David S. Miller  <davem@davemloft.net>
64866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64868 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64870         [BZ #13629]
64871         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64872         value between 1.0 and 2.0 and smaller part has absolute value less
64873         than 1.0.
64874         * math/s_clog10.c (__clog10): Likewise.
64875         * math/s_clog10f.c (__clog10f): Likewise.
64876         * math/s_clog10l.c (__clog10l): Likewise.
64877         * math/s_clogf.c (__clogf): Likewise.
64878         * math/s_clogl.c (__clogl): Likewise.
64879         * math/libm-test.inc (clog_test): Add more tests.
64880         (clog10_test): Likewise.
64881         * sysdeps/i386/fpu/libm-test-ulps: Update.
64882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64884 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64886         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64887         Exit with zero in case no suitable GID is found, and write a
64888         message to standard error.
64890 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64892         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64893         rather than to 1.
64894         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64895         (MAXPATHLEN): Removed.
64896         (NOGROUP, NODEV): New macros.
64897         (setbit, clrbit, isset, isclr): New macros.
64898         (howmany, roundup, powerof2): New macros.
64899         (DEV_BSIZE): New macro.
64901         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64902         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64904         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64905         definition on [!__NO_LONG_DOUBLE_MATH].
64907         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64908         PTR_MANGLE and PTR_DEMANGLE.
64910         * socket/accept4.c (accept4): Rename to __libc_accept4.
64911         Define accept4 as a weak alias.
64913         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64914         on [_DIRENT_HAVE_D_TYPE].
64915         * io/ftw.c (ftw_dir): Likewise.
64917         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64919         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64921         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64922         Use the BSD numbers rather than the arbitrary ones we had.
64923         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64924         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64925         (SIGXCPU, SIGXFSZ): New macros.
64926         (_NSIG): Now 32.
64928         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64929         initializer on [_LIBC_REENTRANT].
64931         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64932         definitions inside [_POSIX_MAPPED_FILES].
64934         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64936         * dirent/opendir.c: Include <fcntl.h>.
64938         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64939         (__libc_getspecific): Likewise.
64940         (__libc_key_create): Likewise.
64942         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64943         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64944         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64945         (tmpfile64): Define as alias.
64946         * sysdeps/wordsize-64/tmpfile.c: File removed.
64947         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64948         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64949         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64951         * stdio-common/vfscanf.c: Include <stdbool.h>.
64952         * nss/makedb.c: Likewise.
64953         * stdio-common/_i18n_number.h: Likewise.
64954         * argp/argp-help.c: Likewise.
64955         * posix/wordexp.c: Likewise.
64956         * sysdeps/posix/spawni.c: Likewise.
64957         * nss/nss_files/files-initgroups.c: Likewise.
64958         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64959         * nss/nss_files/files-initgroups.c: Likewise.
64960         * nss/nss_db/db-netgrp.c: Likewise.
64961         * nss/nss_db/db-initgroups.c: Likewise.
64962         * io/fchmodat.c: Include <sys/stat.h>.
64964         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64965         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64967         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64968         [HAVE_MMAP].
64970         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64971         Add multiple inclusion protection.
64973 2012-07-27  David S. Miller  <davem@davemloft.net>
64975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64977 2012-07-27  Gary Benson  <gbenson@redhat.com>
64979         [BZ #14298]
64980         * elf/rtld.c: Include <stap-probe.h>.
64981         (dl_main): Added static probes "init_start" and "init_complete".
64982         * elf/dl-load.c: Include <stap-probe.h>.
64983         (lose): Take new parameter "nsid".
64984         Added static probe "map_failed".
64985         (_dl_map_object_from_fd): Pass namespace id to lose.
64986         Added static probe "map_start".
64987         (open_verify): Pass namespace id to lose.
64988         * elf/dl-open.c: Include <stap-probe.h>.
64989         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64990         and "reloc_complete".
64991         * elf/dl-close.c: Include <stap-probe.h>.
64992         (_dl_close_worker): Added static probes "unmap_start" and
64993         "unmap_complete".
64994         * elf/rtld-debugger-interface.txt: New file documenting the above.
64996 2012-07-26  Roland McGrath  <roland@hack.frob.com>
64998         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
64999         rather than a string variable.
65000         * sunrpc/rpc_main.c (h_output): Likewise.
65001         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65003 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65005         * inet/check_native.c: New file.
65007 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65009         [BZ #13629]
65010         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65011         if larger part has absolute value 1.0.
65012         * math/s_clog10.c (__clog10): Likewise.
65013         * math/s_clog10f.c (__clog10f): Likewise.
65014         * math/s_clog10l.c (__clog10l): Likewise.
65015         * math/s_clogf.c (__clogf): Likewise.
65016         * math/s_clogl.c (__clogl): Likewise.
65017         * math/libm-test.inc (clog_test): Add more tests.
65018         (clog10_test): Likewise.
65019         * sysdeps/i386/fpu/libm-test-ulps: Update.
65020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65022         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65023         (pltexit): Likewise.
65024         (La_regs): Likewise.
65025         (La_retval): Likewise.
65026         (int_retval): Likewise.
65027         Update #error for removed macros to refer only to definitions in
65028         tst-audit.h.
65029         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65030         macro.
65031         (pltexit): Likewise.
65032         (La_regs): Likewise.
65033         (La_retval): Likewise.
65034         (int_retval): Likewise.
65035         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65036         macro.
65037         (pltexit): Likewise.
65038         (La_regs): Likewise.
65039         (La_retval): Likewise.
65040         (int_retval): Likewise.
65041         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65042         macro.
65043         (pltexit): Likewise.
65044         (La_regs): Likewise.
65045         (La_retval): Likewise.
65046         (int_retval): Likewise.
65047         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65048         macro.
65049         (pltexit): Likewise.
65050         (La_regs): Likewise.
65051         (La_retval): Likewise.
65052         (int_retval): Likewise.
65053         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65054         macro.
65055         (pltexit): Likewise.
65056         (La_regs): Likewise.
65057         (La_retval): Likewise.
65058         (int_retval): Likewise.
65059         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65060         macro.
65061         (pltexit): Likewise.
65062         (La_regs): Likewise.
65063         (La_retval): Likewise.
65064         (int_retval): Likewise.
65065         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65066         macro definitions in tst-audit.h.
65067         * sysdeps/i386/tst-audit.h: New file.
65068         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65069         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65070         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65071         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65072         * sysdeps/sh/tst-audit.h: Likewise.
65073         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65074         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65075         * sysdeps/x86_64/tst-audit.h: Likewise.
65077 2012-07-26  Andreas Jaeger  <aj@suse.de>
65079         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65080         ptrace.
65082         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65083         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65084         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65085         PTRACE_O_MASK.
65086         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65087         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65088         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65090         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65091         value.
65093         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65094         _sigsys.
65095         (si_call_addr, si_syscall, si_arch): Define new macro.
65096         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65097         _sigsys.
65098         (si_call_addr, si_syscall, si_arch): Define new marcro.
65099         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65100         _sigsys.
65101         (si_call_addr, si_syscall, si_arch): Define new macro.
65102         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65103         _sigsys.
65104         (si_call_addr, si_syscall, si_arch): Define new macro.
65106 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65108         [BZ #13717]
65109         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65110         Change to 2.4.21 where previously 2.4.1.
65111         * sysdeps/unix/sysv/linux/configure: Regenerated.
65112         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65113         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65114         Linux kernel version.
65115         (__ASSUME_STD_AUXV): Remove.
65116         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65117         kernel version.
65118         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65119         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65120         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65121         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65122         (__ASSUME_NETLINK_SUPPORT): Likewise.
65123         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65124         (__no_netlink_support): Remove conditional definition.
65125         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65126         Remove.
65127         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65128         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65129         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
65130         (if_nameindex_ioctl): Remove.
65131         (if_nameindex_netlink): Do not handle __no_netlink_support.
65132         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65133         code.
65134         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
65135         Remove conditional code.
65136         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65137         code.
65138         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
65139         unconditional.
65140         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65141         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
65142         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
65143         Remove.
65144         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
65145         [!__ASSUME_STD_AUXV]: Remove conditional code.
65146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
65147         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
65148         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
65149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
65150         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
65151         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65152         code.
65153         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
65155         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
65156         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65157         conditional code.
65158         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
65160         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65161         code.
65162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
65163         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65164         conditional code.
65165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
65166         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65167         code unconditional.
65168         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65169         conditional code.
65170         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65171         unconditional.
65172         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65173         conditional code.
65174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65175         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65176         unconditional.
65177         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65178         conditional code.
65179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
65180         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65181         code unconditional.
65182         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65183         conditional code.
65184         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65185         unconditional.
65186         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65187         conditional code.
65188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
65189         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65190         code unconditional.
65191         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65192         conditional code.
65193         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65194         unconditional.
65195         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65196         conditional code.
65198 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
65200         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
65201         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
65202         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
65203         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
65204         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
65205         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
65206         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65207         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
65208         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
65209         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
65210         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
65211         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
65212         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
65213         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
65214         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
65215         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
65216         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
65217         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
65218         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
65219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
65220         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
65221         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
65222         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65224 2012-07-25  Florian Weimer  <fweimer@redhat.com>
65226         * Versions.def: Add GLIBC_2.17.
65227         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
65228         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
65229         Introduce __libc_secure_getenv.
65230         * stdlib/Versions (2.17): Add secure_getenv
65231         (GLIBC_PRIVATE): Add __libc_secure_getenv.
65232         * stdlib/secure-getenv.c: Rename __secure_getenv to
65233         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
65234         symbol __secure_getenv for GLIBC_2.0.
65235         * stdlib/tst-secure-getenv.c: New.
65236         * stdlib/Makefile (tests): Add testcase.
65237         * manual/startup.texi (Environment Access): Document
65238         secure_getenv.
65239         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
65240         __libc_secure_getenv.
65241         * inet/ruserpass.c (ruserpass): Likewise.
65242         * malloc/mtrace.c (mtrace): Likewise.
65243         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
65244         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
65245         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
65246         * sysdeps/posix/tempname.c: Likewise.  Evaluate
65247         HAVE_SECURE_GETENV.
65248         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
65249         __secure_getenv to __libc_secure_getenv.
65250         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
65251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65252         Likewise.
65253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65254         Likewise.
65255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65257         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65263 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65265         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
65266         (struct La_i86_retval): Likewise.
65267         (struct La_x86_64_regs): Likewise.
65268         (struct La_x86_64_retval): Likewise.
65269         (struct La_x32_regs): Likewise.
65270         (struct La_x32_retval): Likewise.
65271         (struct La_ppc32_regs): Likewise.
65272         (struct La_ppc32_retval): Likewise.
65273         (struct La_ppc64_regs): Likewise.
65274         (struct La_ppc64_retval): Likewise.
65275         (struct La_sh_regs): Likewise.
65276         (struct La_sh_retval): Likewise.
65277         (struct La_s390_32_regs): Likewise.
65278         (struct La_s390_32_retval): Likewise.
65279         (struct La_s390_64_regs): Likewise.
65280         (struct La_s390_64_retval): Likewise.
65281         (struct La_sparc32_regs): Likewise.
65282         (struct La_sparc32_retval): Likewise.
65283         (struct La_sparc64_regs): Likewise.
65284         (struct La_sparc64_retval): Likewise.
65285         (struct audit_ifaces): Remove architecture-specific pltenter and
65286         pltexit members.
65287         * sysdeps/i386/ldsodefs.h: New file.
65288         * sysdeps/powerpc/ldsodefs.h: Likewise.
65289         * sysdeps/s390/ldsodefs.h: Likewise.
65290         * sysdeps/sh/ldsodefs.h: Likewise.
65291         * sysdeps/sparc/ldsodefs.h: Likewise.
65292         * sysdeps/x86_64/ldsodefs.h: Likewise.
65294 2012-07-25  Marek Polacek  <polacek@redhat.com>
65296         [BZ #6808]
65297         * math/libm-test.inc (yn_test): Add another test.
65298         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
65299         to ERANGE when the result is +-Inf.
65300         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
65301         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
65302         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
65303         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
65305 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
65307         * conform/data/time.h-data (NULL): Use macro-constant.  Require
65308         equal to 0.
65309         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
65310         clock_t.
65311         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
65313 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
65315         * configure.in <sysdeps resolving>: Correct printing
65316         Implies_before.
65317         * configure: Regenerate.
65319 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65321         * math/w_ilogb.c: Include <limits.h>.
65322         * math/w_ilogbl.c: Likewise.
65324 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65326         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65327         va_copy.  Document allowing for unavailable va_copy only as
65328         pre-C99 compatibility.
65329         * manual/string.texi (Copying and Concatenation): Use va_copy
65330         instead of __va_copy in concat example.
65332 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
65334         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65335         (__sendto): Use create_address_port.  Initialize APORT and deallocate
65336         it if not null.
65338         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65339         with O_NOLINK passed to __file_name_lookup.
65341         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65342         with O_NOLINK passed to __file_name_lookup.
65344         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65345         negative N or less than NGIDS.
65347         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65348         type to string_t.  Set ERANGE as errno and return it if NAME is not big
65349         enough.  Use memcpy instead of strncpy.
65351 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65353         * elf/Makefile (check-data): Remove.
65354         (localplt.data): New vpath directive.
65355         ($(objpfx)check-localplt.out): Use localplt.data from vpath
65356         instead of $(check-data).
65357         * scripts/data/localplt-generic.data: Move to ...
65358         * sysdeps/generic/localplt.data: ... here.
65359         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65360         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65361         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65363         ... here.
65364         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65366         ... here.
65367         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65369         ... here.
65370         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65372         ... here.
65373         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65375         ... here.
65376         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65378         ... here.
65380 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65382         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65383         PPC32 and PPC64 files.
65384         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65385         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65387 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65389         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65390         __makecontext_ret to ...
65391         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65392         ... here and call exit if uc_link is NULL.  New file.
65393         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65394         __makecontext_ret.S.
65395         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65396         __makecontext_ret to ...
65397         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65398         ... here and call exit if uc_link is NULL.  New file.
65399         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65400         __makecontext_ret.S.
65402 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65404         * elf/elf.h (R_390_IRELATIVE): New definition.
65405         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65406         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
65407         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65408         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65409         (elf_machine_lazy_rel): Likewise.
65410         * sysdeps/s390/dl-irel.h: New file.
65411         * sysdeps/s390/s390-64/memcpy.S: New asm code.
65412         * sysdeps/s390/s390-64/memset.S: New asm code.
65413         * sysdeps/s390/s390-64/memcmp.S: New asm code.
65414         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
65415         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
65416         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
65417         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
65418         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
65419         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
65420         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
65421         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
65422         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
65423         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
65424         * sysdeps/s390/s390-32/memcpy.S: New asm code.
65425         * sysdeps/s390/s390-32/memset.S: New asm code.
65426         * sysdeps/s390/s390-32/memcmp.S: New asm code.
65428 2012-07-17  Marek Polacek  <polacek@redhat.com>
65430         [BZ #14349]
65431         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
65432         * sysdeps/s390/s390-64/configure.in: Likewise.
65433         * sysdeps/sparc/configure.in: Likewise.
65434         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
65435         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
65436         * sysdeps/i386/configure.in: Likewise.
65437         * sysdeps/x86_64/configure.in: Likewise.
65438         * sysdeps/sh/configure.in: Likewise.
65439         * sysdeps/s390/s390-32/configure: Regenerated.
65440         * sysdeps/s390/s390-64/configure: Likewise.
65441         * sysdeps/x86_64/configure: Likewise.
65442         * sysdeps/sh/configure: Likewise.
65443         * sysdeps/powerpc/powerpc64/configure: Likewise.
65444         * sysdeps/powerpc/powerpc32/configure: Likewise.
65445         * sysdeps/sparc/configure: Likwise.
65446         * sysdeps/i386/configure: Likewise.
65448         * elf/dl-open.c: Comment fixes.
65450 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
65452         * Makefile [CXX] (check-data): Remove.
65453         [CXX] (c++-types.data): New vpath directive.
65454         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
65455         vpath.  Do not allow for C++ type data being missing.
65456         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
65457         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
65458         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
65459         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
65460         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
65461         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
65462         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
65463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
65464         ... here.
65465         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
65466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
65467         ... here.
65468         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
65469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
65470         ... here.
65471         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
65472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
65473         ... here.
65474         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
65475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
65476         ... here.
65477         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
65478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
65479         ... here.
65480         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
65481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
65482         ... here.
65483         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
65484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
65486         * elf/tls-macros.h (TLS_LE): Move architecture-specific
65487         definitions to architecture-specific files.
65488         (TLS_IE): Likewise.
65489         (TLS_LD): Likewise.
65490         (TLS_GD): Likewise.
65491         * sysdeps/i386/tls-macros.h: New file.
65492         * sysdeps/powerpc/tls-macros.h: Likewise.
65493         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65494         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
65495         * sysdeps/sh/tls-macros.h: Likewise.
65496         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
65497         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
65498         * sysdeps/x86_64/tls-macros.h: Likewise.
65500 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65502         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
65503         zero value for regular exit case.
65505         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
65506         (__start_context): Preserve zero value for regular exit case.
65508 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65509             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65511         * manual/setjmp.texi (setcontext): Clarify normal process
65512         termination when uc_link is the null pointer.
65513         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65514         exit call.
65516 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
65518         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
65519         preprocessor.  Test for each exception mask separately.
65521 2012-07-16  Andreas Jaeger  <aj@suse.de>
65523         * po/ru.po: Update from translation team.
65525 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
65527         * conform/data/string.h-data (NULL): Use macro-constant.  Require
65528         equal to 0.
65529         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65530         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65531         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
65532         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
65533         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65535 2012-07-13  Andreas Jaeger  <aj@suse.de>
65537         * po/fr.po: Update from translation team.
65539 2012-07-12  Marek Polacek  <polacek@redhat.com>
65541         [BZ #14173]
65542         * math/libm-test.inc (yn_test): Add test for BZ #14173.
65543         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
65544         loop condition.
65546 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
65548         [BZ #13717]
65549         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65550         Change to 2.4.1 where previously 2.4.0.
65551         * sysdeps/unix/sysv/linux/configure: Regenerated.
65552         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
65553         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
65554         version.
65555         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
65556         (__ASSUME_AT_CLKTCK): Remove.
65557         (__ASSUME_AT_PAGESIZE): Likewise.
65558         (__ASSUME_AT_XID): Likewise.
65559         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
65560         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
65561         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
65562         unconditionally.
65563         (HAVE_AUX_PAGESIZE): Likewise.
65564         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
65565         [__ASSUME_AT_CLKTCK]: Make code unconditional.
65566         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
65568 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
65570         [BZ #14307]
65571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
65572         the temporary buffer used to invoke __gethostbyname2_r,
65573         __gethostbyaddr_r and gethostbyname4_r to make room for struct
65574         host_data / struct gaih_addrtuple.
65575         * resolv/nss_dns/dns-host.c (global scope): Move definition of
65576         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
65577         header file nss/nsswitch.h.
65578         * nss/nsswitch.h (global scope): Add definition of implementation
65579         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
65580         resolv/nss_dns/dns-host.c).
65582 2012-07-11  Andreas Jaeger  <aj@suse.de>
65584         * po/fr.po: Update from translation team.
65586         * po/sv.po: Update from translation team
65587         * po/fr.po: Another update from translation team.
65589 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65591         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
65592         for subnormals or multiply small sinh result by itself.
65593         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65596 2012-07-11  David S. Miller  <davem@davemloft.net>
65598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65600 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
65602         [BZ #14347]
65603         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
65604         (INTERNAL_MARK): Shift it here.
65606 2012-07-10  Marek Polacek  <polacek@redhat.com>
65608         [BZ #14151]
65609         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
65610         libc_cv_asm_global_directive with .globl.
65611         * configure: Regenerated.
65612         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
65613         with .globl.
65614         * sysdeps/i386/configure: Regenerated.
65615         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
65616         with .globl.
65617         * sysdeps/x86_64/configure: Regenerated.
65618         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
65619         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
65620         * elf/tst-unique2mod2.c: Likewise.
65621         * elf/tst-unique2mod1.c: Likewise.
65622         * elf/tst-unique1mod2.c: Likewise.
65623         * elf/tst-unique1mod1.c: Likewise.
65624         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65625         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65626         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65627         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65628         * sysdeps/mach/sysdep.h: Likewise.
65629         * sysdeps/i386/sysdep.h: Likewise.
65630         * sysdeps/i386/i386-mcount.S: Likewise.
65631         * sysdeps/x86_64/_mcount.S: Likewise.
65632         * sysdeps/x86_64/sysdep.h: Likewise.
65633         * sysdeps/sh/_mcount.S: Likewise.
65634         * sysdeps/sh/sysdep.h: Likewise.
65635         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
65636         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
65637         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
65638         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65639         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
65640         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
65641         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
65642         * locale/localeinfo.h: Likewise.
65643         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
65644         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
65646 2012-07-09  Roland McGrath  <roland@hack.frob.com>
65648         [BZ #14336]
65649         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
65650         system".
65651         * manual/message.texi (The Uniforum approach): Likewise.
65652         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
65653         (glibc iconv Implementation): Likewise.
65655 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
65657         [BZ #14337]
65658         * math/s_clog.c (__clog): Avoid scaling a value down where that
65659         could result in underflow.
65660         * math/s_clog10.c (__clog10): Likewise.
65661         * math/s_clog10f.c (__clog10f): Likewise.
65662         * math/s_clog10l.c (__clog10l): Likewise.
65663         * math/s_clogf.c (__clogf): Likewise.
65664         * math/s_clogl.c (__clogl): Likewise.
65665         * math/libm-test.inc (clog_test): Add more tests.
65666         (clog10_test): Likewise.
65667         * sysdeps/i386/fpu/libm-test-ulps: Update.
65668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65670 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
65672         [BZ #14283]
65673         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
65674         by 7 not 8 to examine high bit of fractional part.
65676         [BZ #14042]
65677         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
65678         for call to __mcount_internal.
65679         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
65680         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
65681         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
65683 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
65685         [BZ #14154]
65686         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
65687         approximation for values within 0x1p-13f of an odd multiple of
65688         pi/4.
65689         * math/libm-test.inc (tan_test): Do not allow spurious underflow
65690         exception.  Add more tests.
65691         * sysdeps/i386/fpu/libm-test-ulps: Update.
65693         [BZ #6778]
65694         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
65695         inputs and return -1 for them.  Do not check for +Inf in case not
65696         reachable for +Inf.
65697         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
65698         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
65699         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65700         and return -1 for them.  Do not check for +Inf in case not
65701         reachable for +Inf.
65702         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
65703         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         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
65708         spurious underflow.
65709         * sysdeps/i386/fpu/libm-test-ulps: Update.
65710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65712 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
65714         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
65716 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
65718         [BZ #14157]
65719         [BZ #14331]
65720         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
65721         could result in spurious underflow.  Scale down values above
65722         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
65723         * math/s_csqrtf.c (__csqrtf): Likewise.
65724         * math/s_csqrtl.c (__csqrtl): Likewise.
65725         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
65726         spurious underflow.
65727         * sysdeps/i386/fpu/libm-test-ulps: Update.
65728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65730 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
65732         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
65733         xopen-msg.sed.
65734         * catgets/xopen-msg.awk: New file.
65735         * catgets/xopen-msg.sed: Removed.
65737         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
65738         po2text.sed.
65739         * intl/po2test.awk: New file.
65740         * intl/po2test.sed: Removed.
65742 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
65744         [BZ #14328]
65745         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
65746         or multiply small sinh result by itself.
65747         * math/s_ctanf.c (__ctanf): Likewise.
65748         * math/s_ctanh.c (__ctanh): Likewise.
65749         * math/s_ctanhf.c (__ctanhf): Likewise.
65750         * math/s_ctanhl.c (__ctanhl): Likewise.
65751         * math/s_ctanl.c (__ctanl): Likewise.
65752         * math/libm-test.inc (ctan_test_tonearest): New function.
65753         (ctan_test_towardzero): Likewise.
65754         (ctan_test_downward): Likewise.
65755         (ctan_test_upward): Likewise.
65756         (ctanh_test_tonearest): Likewise.
65757         (ctanh_test_towardzero): Likewise.
65758         (ctanh_test_downward): Likewise.
65759         (ctanh_test_upward): Likewise.
65760         (main): Call these new functions.
65761         * sysdeps/i386/fpu/libm-test-ulps: Update.
65762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65764 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
65766         * .gitignore: Delete /ports entry.
65768 2012-07-03  Andreas Jaeger  <aj@suse.de>
65770         * po/bg.po: Update from translation team.
65771         * po/cs.po: Likewise.
65772         * po/de.po: Likewise.
65773         * po/hr.po: Likewise.
65774         * po/nl.pl: Likewise.
65775         * po/pl.po: Likewise.
65776         * po/vi.po: Likewise.
65778 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
65780         * Makeconfig [!+link] (+link-before-libc): New variable.
65781         [!+link] (+link-after-libc): Likewise.
65782         [!+link] (+link-tests): Likewise.
65783         [!+link] (+link): Define in terms of $(+link-before-libc) and
65784         $(+link-after-libc).
65785         [!+link-static] (+link-static-before-libc): New variable.
65786         [!+link-static] (+link-static-after-libc): Likewise.
65787         [!+link-static] (+link-static-tests): Likewise.
65788         [!+link-static] (+link-static): Define in terms of
65789         $(+link-static-before-libc) and $(+link-static-after-libc).
65790         [build-shared] (link-libc-before-gnulib): New variable.
65791         [build-shared] (link-libc-tests): Likewise.
65792         [build-shared] (link-libc): Define in terms of
65793         $(link-libc-before-gnulib).
65794         [!build-shared] (link-libc-tests): New variable.
65795         (link-libc-static-tests): New variable.
65796         [!gnulib] (gnulib-arch): New variable.
65797         [!gnulib] (gnulib-tests): Likewise.
65798         [!gnulib] (static-gnulib-arch): Likewise.
65799         [!gnulib] (static-gnulib-tests): Likewise.
65800         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65801         Define with "=" instead of ":=".
65802         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65803         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65804         * Rules (binaries-all-notests): New variable.
65805         (binaries-all-tests): Likewise.
65806         (binaries-static-notests): Likewise.
65807         (binaries-static-tests): Likewise.
65808         (binaries-all): Define using $(binaries-all-notests) and
65809         $(binaries-all-tests).
65810         (binaries-static): Define using $(binaries-static-notests) and
65811         $(binaries-static-tests).
65812         (binaries-shared-tests): New variable.
65813         (binaries-shared-notests): Likewise.
65814         (binaries-shared): Remove variable.
65815         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65816         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65817         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65818         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65819         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65820         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65821         * elf/Makefile (sln-modules): New variable.
65822         (extra-objs): Add $(sln-modules:=.o).
65823         (ldconfig-modules): Add static-stubs.
65824         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65825         * elf/static-stubs.c: New file.
65827         [BZ #14283]
65828         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65829         by 7 not 8 to examine high bit of fractional part.  Use volatile
65830         variables when splitting into final array of floats if
65831         __FLT_EVAL_METHOD__ != 0.
65832         * math/libm-test.inc (cos_test): Add another test.
65833         (sin_test): Likewise.
65834         * sysdeps/i386/fpu/libm-test-ulps: Update.
65836         [BZ #14273]
65837         * math/libm-test.inc (cosh_test): Add more tests.
65839         * version.h (RELEASE): Set to "development".
65840         (VERSION): Set to "2.16.90".
65842 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65844         * NEWS: Update copyright. Remove last-updated date.
65845         Mention math library bug fixes and timezone data changes.
65846         * README: Mention GNU/Hurd, x32, and HPPA support status.
65848 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65850         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65852 2012-06-27  Andreas Jaeger  <aj@suse.de>
65854         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65856 2012-06-25  Andreas Jaeger  <aj@suse.de>
65858         * sysdeps/s390/fpu/libm-test-ulps: Update.
65860 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65861             Thomas Schwinge  <thomas@codesourcery.com>
65863         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65864         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65865         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65866         fanotify_mark.
65868 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65870         * sysdeps/mach/start.c: Remove file.
65871         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65872         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65873         * sysdeps/sh/init-first.c: Likewise.
65875         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65876         registers for frame unwinding purposes, add CFI directives.
65877         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65878         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65879         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65880         Likewise.
65882         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65883         __fortify_fail returning.
65884         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65886         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65887         sysdeps/sh/____longjmp_chk.S.
65888         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65889         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65890         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65891         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65893         * sysdeps/sh/abort-instr.h: New file.
65894         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65895         process in case exit returns.
65897         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65898         initialize the GOT register before use.
65900         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65901         calculation of ARGC > 4.
65903         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65904         meaningful names to some local labels.
65906 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65907             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65909         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65910         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65911         (__arch_compare_and_exchange_val_16_acq): Likewise.
65912         (__arch_compare_and_exchange_val_32_acq): Likewise.
65913         (atomic_exchange_and_add): Fix gUSA sequence.
65914         (atomic_add): Likewise.
65915         (atomic_add_negative): Likewise.
65916         (atomic_add_zero): Likewise.
65917         (atomic_bit_test_set): Likewise.
65919 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65921         [BZ #13579]
65922         * include/link.h (struct link_map): Add l_free_initfini.
65923         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65924         l_initfini.
65925         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65926         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65927         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65928         set.
65930 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65932         * configure.in: Use AC_LANG_SOURCE.
65933         * configure: Regenerate.
65935 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65937         * configure.in (libc_cv_localstatedir): New substituted variable.
65938         * configure: Regenerated.
65939         * config.make.in (localstatedir): New variable, substituted from
65940         libc_cv_localstatedir.
65941         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65942         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65943         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65944         * sysdeps/gnu/configure: Regenerated.
65946 2012-06-21  Jeff Law  <law@redhat.com>
65948         [BZ #14277]
65949         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65950         free.  Simplify list management for _LIBC case.
65952 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65954         [BZ #14273]
65955         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65956         Clear sign bit of 64-bit integer value before comparing against
65957         overflow value.
65959         * sysdeps/mach/configure: Regenerated.
65961 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65963         [BZ #14278]
65964         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65966 2012-06-21  Jeff Law  <law@redhat.com>
65968         [BZ #13882]
65969         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65970         uint16_t for elements in the "seen" array to avoid char overflows.
65971         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65972         * elf/dl-open.c (dl_open_worker): Likewise.
65974 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65976         * scripts/list-sources.sh: Scan PORTS for translations.
65977         * po/libc.pot: Regenerated.
65979 2012-06-21  Andreas Jaeger  <aj@suse.de>
65981         [BZ #12194]
65982         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65983         warning.
65984         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65985         * bits/byteswap-16.h (__bswap_16): Likewise.
65986         * bits/byteswap.h (__bswap_constant_16): Likewise.
65988 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65990         [BZ #14117]
65991         * sysdeps/i386/fpu_control.h: Removed.
65992         * sysdeps/x86_64/fpu_control.h: Moved to ...
65993         * sysdeps/x86/fpu_control.h: Here.
65995         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
65996         (_FPU_SETCW): Likewise.
65998 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66000         [BZ #14117]
66001         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66002         * sysdeps/x86/fpu/bits/mathinline.h: This.
66003         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66005         [BZ #14050]
66006         [BZ #14117]
66007         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66008         functions if __x86_64__ is defined.
66010 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66012         * string/endian.h: Add !__ASSEMBLER__ condition for including
66013         conversion interfaces.
66015 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66017         [BZ #14241]
66018         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66019         of ABS(x) in calculating zero to negative powers other than odd
66020         integers.
66021         * math/libm-test.inc (pow_test): Add more tests.
66023 2012-06-15  Andreas Jaeger  <aj@suse.de>
66025         * manual/contrib.texi (Contributors): Update entry of Liubov
66026         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66027         Machado Filho.
66029 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66031         * string/string.h: Add __wur to GNU version of strerror_r.
66033 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66035         [BZ #14229]
66036         * string/Makefile (tests): Add tst-strtok_r.
66037         * string/tst-strtok_r.c: New file.
66038         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66039         RAX_LP/RDX_LP on SAVE_PTR.
66041 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66043         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66045 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66047         * libm_test.inc (csqrt_test): Allow more spurious underflow
66048         exceptions.
66049         (j0_test): Likewise.
66050         (j1_test): Likewise.
66051         (y0_test): Likewise.
66052         (y1_test): Likewise.
66054 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66056         * po/Makefile (libc.pot): Use UTF-8 charset.
66058 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66060         [BZ #14210]
66061         Suppress sign-conversion warning from FD_SET.
66062         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66063         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66064         not unsigned long int.
66065         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66067 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66069         [BZ #14050]
66070         [BZ #14117]
66071         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66072         __extern_always_inline instead of __extern_inline.
66073         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66074         (__signbit): Likewise.
66075         (__signbitl): Support C++ namespace.
66076         (lrintf): New inline function.
66077         (lrint): Likewise.
66078         (llrintf): Likewise.
66079         (llrint): Likewise.
66080         (fmaxf): Likewise.
66081         (fmax): Likewise.
66082         (fminf): Likewise.
66083         (fmin): Likewise.
66084         (rint): Likewise.
66085         (rintf): Likewise.
66086         (ceil): Likewise.
66087         (ceilf): Likewise.
66088         (floor): Likewise.
66089         (floorf): Likewise.
66090         (nearbyint): Likewise.
66091         (nearbyintf): Likewise.
66093 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66095         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66096         non-default versions.
66098 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66100         [BZ #14218]
66101         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66103 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66105         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66106         (FE_UPWARD, FE_DOWNWARD): Don't define.
66107         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66108         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66110         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66111         reading it.
66112         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66113         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66115 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66117         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66118         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66119         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66120         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66122 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66124         [BZ #14117]
66125         * sysdeps/i386/fpu/bits/fenv.h: Removed.
66126         * sysdeps/i386/fpu/Implies: New file.
66127         * sysdeps/x86_64/fpu/Implies: Likewise.
66128         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66129         * sysdeps/x86/fpu/bits/fenv.h: This.
66131         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
66132         __SSE_MATH__.
66134 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66136         [BZ #14134]
66137         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
66138         character 0xffff that matches the last element of the
66139         conversion table.
66141 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66143         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
66144         fmodl commit.
66146 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66148         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
66149         values higher than 25.6283.
66151 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66153         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
66154         subnormal exponent extraction and add some __builtin_expect.
66155         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
66156         Fix for subnormal mantissa calculation.
66158 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
66160         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
66161         cpu2 is -1 and errno is not ENOSYS.
66163 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
66165         [BZ #14117]
66166         * sysdeps/i386/i486/bits/string.h: Renamed to ...
66167         * sysdeps/x86/bits/string.h: This.
66168         * sysdeps/x86_64/bits/string.h: Removed.
66170         * sysdeps/i386/i486/bits/string.h: Define inline functions only
66171         if not compiling for x86-64, but compiling for >= i486.
66173         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
66174         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
66176         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
66177         New macro from Linux kernel 3.4.0.
66178         (FP_XSTATE_MAGIC2): Likewise.
66179         (FP_XSTATE_MAGIC2_SIZE): Likewise.
66180         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
66181         (struct _fpx_sw_bytes): New struct.
66182         (struct _xsave_hdr): Likewise.
66183         (struct _ymmh_state): Likewise.
66184         (struct _xstate): Likewise.
66186         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66187         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
66188         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
66189         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
66190         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
66191         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66193         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
66194         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
66195         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
66196         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
66197         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
66198         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
66200 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66202         [BZ #13743]
66203         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
66204         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
66205         (sysdep_headers): Include sys/platform/ppc.h.
66206         * sysdeps/powerpc/test-gettimebase.c: Test for
66207         __ppc_get_timebase() to catch future ISA opcode/insn changes.
66208         * manual/Makefile (appendices): Include platform.texi.
66209         * manual/contrib.texi (Contributors): Update @node pointers.
66210         * manual/maint.texi (Maintenance): Likewise.
66211         (Platform): New node.
66212         * manual/platform.texi: New file.  Document the new features.
66214 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66215             Jakub Jelinek  <jakub@redhat.com>
66217         [BZ #14188]
66218         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
66219         where __builtin_expect is unavailable.
66221 2012-06-03  David S. Miller  <davem@davemloft.net>
66223         * stdlib/longlong.h: Updated from GCC.
66225 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
66227         [BZ #14042]
66228         * sysdeps/powerpc/powerpc32/mcount.c: New file.
66229         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
66230         __mcount_internal.
66231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66232         (GLIBC_2.16): Likewise.
66234 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66236         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
66238 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
66241         (default-abi): New variable.
66242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
66243         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
66244         variable.
66245         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
66246         Likewise.
66247         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66248         Likewise.
66249         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
66250         Likewise.
66252         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
66253         definition.  Document in comment.
66255 2012-06-01  David S. Miller  <davem@davemloft.net>
66257         * stdlib/longlong.h: Updated from GCC.
66259 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66261         [BZ #14117]
66262         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
66263         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
66264         sys/debugreg.h sys/io.h here.
66265         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
66266         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
66267         sys/io.h.
66268         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
66269         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
66270         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
66271         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
66272         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
66273         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
66275         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
66276         Define only if __x86_64__ is defined.
66278 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66280         [BZ #14048]
66281         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
66282         Use int64_t for variable i.
66283         * math/libm-test.inc (fmod_test): Add more tests.
66285         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
66286         z computation is not scheduled after fetestexcept.
66287         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
66288         Use math_force_eval instead of asm to ensure calculation scheduled
66289         before exception test.
66290         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
66291         Ensure a1 + u.d computation is not scheduled after fetestexcept.
66293 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
66295         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
66296         computation is not scheduled after fetestexcept.
66298 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66300         [BZ #14117]
66301         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
66302         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
66304 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66306         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
66307         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66309 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66311         [BZ #14117]
66312         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66313         <bits/wordsize.h>.
66314         (__WCHAR_MIN): Support __WORDSIZE == 64.
66315         (__WCHAR_MAX): Likewise.
66317         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66318         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66320         [BZ #14183]
66321         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66322         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66324         [BZ #14117]
66325         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66326         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66328         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66329         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66331         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66332         Defined to 1 if __x86_64__ isn't defined.
66333         (_STAT_VER_LINUX_OLD): New.
66334         (st_atime): Remove duplicate.
66335         (st_mtime): Likewise.
66336         (st_ctime): Likewise.
66338 2012-05-31  David S. Miller  <davem@davemloft.net>
66340         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66341         entries.
66343 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
66345         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66346         gen-libm-test.pl.
66348         [BZ #14132]
66349         * elf/dl-reloc.c: Include <_itoa.h>.
66350         (_dl_reloc_bad_type): Remove use of INTUSE.
66351         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66352         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66353         * stdio-common/psiginfo.c (psiginfo): Likewise.
66354         * stdio-common/psignal.c (psignal): Likewise.
66355         * string/strsignal.c (strsignal): Likewise.
66356         * include/signal.h (_sys_siglist): Declare hidden proto.
66357         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
66358         INTVARDEF with libc_hidden_data_def.
66359         * stdio-common/itoa-udigits.c: Likewise.
66360         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66361         (_itoa_lower_digits_internal): Remove declaration.
66362         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66363         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66364         (_sys_sigabbrev_internal): Remove aliases.
66365         (_sys_siglist): Define hidden alias.
66367 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
66369         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66370         bits/sysctl.h.
66372 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66374         [BZ #14117]
66375         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66376         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66378         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66379         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66380         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66381         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66382         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66383         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66385         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66386         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66387         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66389         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66390         with __addr.
66391         (insw): Likewise.
66392         (insl): Likewise.
66393         (outsb): Likewise.
66394         (outsw): Likewise.
66395         (outsl): Likewise.
66397         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66398         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66399         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66401         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66402         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66403         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66404         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66405         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66406         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66408         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66409         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66411         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66412         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
66414         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
66415         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
66416         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
66418         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
66419         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
66420         to ...
66421         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
66423         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
66424         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
66425         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
66427         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
66428         for x86-64.
66429         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
66431 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
66433         * math/math.h (M_El): Use two more decimal places.
66434         (M_LOG2El): Likewise.
66435         (M_LOG10El): Likewise.
66436         (M_LN2l): Likewise.
66437         (M_LN10l): Likewise.
66438         (M_PIl): Likewise.
66439         (M_PI_2l): Likewise.
66440         (M_PI_4l): Likewise.
66441         (M_1_PIl): Likewise.
66442         (M_2_PIl): Likewise.
66443         (M_2_SQRTPIl): Likewise.
66444         (M_SQRT2l): Likewise.
66445         (M_SQRT1_2l): Likewise.
66447 2012-05-31  David S. Miller  <davem@davemloft.net>
66449         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
66450         values between float registers.
66451         * sysdeps/sparc/sparc64/memset.S: Likewise.
66452         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66454 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
66456         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
66457         -D_FORTIFY_SOURCE=1.
66458         (CPPFLAGS-tst-longjmp_chk.c): Define.
66459         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
66460         (CPPFLAGS-tst-longjmp_chk2.c): Define.
66461         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
66462         CFLAGS-tst-wchar-h.c.
66464 2012-05-31  Marek Polacek  <polacek@redhat.com>
66466         [BZ #14132]
66467         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
66468         __endmntent_internal): Remove declaration.
66469         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66470         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
66471         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
66473 2012-05-30  David S. Miller  <davem@davemloft.net>
66475         * sysdeps/sparc/sparc32/soft-fp/q_util.c
66476         (___Q_simulate_exceptions): Use real FP ops rather than writing
66477         into the %fsr.
66478         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
66479         Likewise.
66481 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66483         [BZ #14117]
66484         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66485         * sysdeps/x86/bits/xtitypes.h: This.
66487         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
66488         * sysdeps/x86/bits/wordsize.h: This.
66490         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
66491         * sysdeps/x86/bits/huge_vall.h: This.
66493         * sysdeps/i386/bits/select.h: Removed.
66494         * sysdeps/x86_64/bits/select.h: Renamed to ...
66495         * sysdeps/x86/bits/select.h: This.
66497         * sysdeps/i386/bits/setjmp.h: Removed.
66498         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
66499         * sysdeps/x86/bits/setjmp.h: This.
66501         * sysdeps/i386/bits/mathdef.h: Removed.
66502         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
66503         * sysdeps/x86/bits/mathdef.h: This.
66505 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
66507         [BZ #14132]
66508         * include/sys/socket.h (__connect_internal)
66509         (__libc_sa_len_internal): Remove declaration.
66510         (__connect, __libc_sa_len): Declare hidden_proto.
66511         (SA_LEN): Remove use of INTUSE.
66512         * socket/connect.c: Add libc_hidden_def.
66513         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
66514         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
66515         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
66516         alias.
66517         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
66518         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
66519         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
66520         of adding _internal alias.
66522 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66524         [BZ #14117]
66525         * sysdeps/i386/bits/link.h: Removed.
66526         * sysdeps/i386/bits/linkmap.h: Likewise.
66527         * sysdeps/x86_64/bits/link.h: Renamed to ...
66528         * sysdeps/x86/bits/link.h: This.
66529         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
66530         * sysdeps/x86/bits/linkmap.h: This.
66532         * sysdeps/i386/bits/endian.h: Removed.
66533         * sysdeps/x86_64/bits/endian.h: Renamed to ...
66534         * sysdeps/x86/bits/endian.h: This.
66536         * sysdeps/i386/bits/byteswap.h: Removed.
66537         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66538         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
66539         * sysdeps/x86/bits/byteswap.h: This.
66540         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
66541         * sysdeps/x86/bits/byteswap-16.h: This.
66542         * sysdeps/i386/Implies: Add x86.
66543         * sysdeps/x86_64/Implies: Likewise.
66545 2012-05-30  David S. Miller  <davem@davemloft.net>
66547         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
66548         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
66549         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
66550         (FP_TRAPPING_EXCEPTIONS): Define.
66551         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
66552         (FP_TRAPPING_EXCEPTIONS): Define.
66553         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
66554         subnormals only when inexact has been signalled or underflow
66555         exceptions are enabled.
66556         (_FP_PACK_CANONICAL): Likewise.
66558 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66560         [BZ #14183]
66561         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
66562         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
66564 2012-05-30  Richard Henderson  <rth@twiddle.net>
66566         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
66567         with #ifndef NOT_IN_libc.
66569         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
66570         marked to avoid plt entry.
66572 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66574         [BZ #14112]
66575         * Makeconfig (default-abi): New macro.
66576         (abi-includes): Likewise.
66577         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
66578         $(abi-$(default-abi)-lib-soname) for soname if defined.
66579         ($(common-objpfx)gnu/lib-names.stmp): Generate from
66580         abi-variants.
66581         * Makefile (installed-stubs): Likewise.
66582         * include/stubs-biarch.h: Removed.
66583         * scripts/lib-names.awk: Only handle one library at a time.
66584         * scripts/soversions.awk: Remove WORDSIZE support.
66585         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
66586         entries.
66587         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
66588         Removed.
66589         (syscall-list-default-condition): Likewise.
66590         (syscall-list-default-condition): Likewise.
66591         (syscall-list-includes): Likewise.
66592         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
66593         syscall-list-* with abi-*.  Handle undefined abi-variants.
66594         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
66595         * sysdeps/unix/sysv/linux/i386/Implies: New file.
66596         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
66597         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
66598         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
66599         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
66600         Removed.
66601         (syscall-list-32-options): Likewise.
66602         (syscall-list-32-condition): Likewise.
66603         (syscall-list-64-options): Likewise.
66604         (syscall-list-64-condition): Likewise.
66605         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
66606         macro.
66607         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
66608         Renamed to ...
66609         (abi-*): This.
66610         (abi-64-ld-soname): New macro.
66611         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
66612         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
66613         Renamed to ...
66614         (abi-*): This.
66615         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
66616         * sysdeps/x86_64/x32/shlib-versions: Likewise.
66618 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
66620         * sysdeps/unix/sysv/linux/kernel-features.h
66621         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
66622         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
66623         include <kernel-features.h>.
66624         [!__NR_ftruncate64]: Remove conditional code.
66625         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66626         [__NR_ftruncate64]: Make code unconditional.
66627         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66628         * sysdeps/unix/sysv/linux/truncate64.c: Do not
66629         include <kernel-features.h>.
66630         [!__NR_ftruncate64]: Remove conditional code.
66631         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66632         [__NR_ftruncate64]: Make code unconditional.
66633         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
66635         include <kernel-features.h>.
66636         [!__NR_ftruncate64]: Remove conditional code.
66637         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66638         [__NR_ftruncate64]: Make code unconditional.
66639         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66641         include <kernel-features.h>.
66642         [!__NR_ftruncate64]: Remove conditional code.
66643         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66644         [__NR_ftruncate64]: Make code unconditional.
66645         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66647         * configure.in (libc_cv_fpie): Weaken to a compile test using
66648         LIBC_TRY_CC_OPTION.
66649         * configure: Regenerated.
66651 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
66654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
66655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
66656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66657         Refreshed.
66658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
66659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
66660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
66661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
66662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
66663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66664         Refreshed.
66666 2012-05-27  David S. Miller  <davem@davemloft.net>
66668         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
66669         (___Q_zero): New.
66670         (__Q_simulate_exceptions): Return void.  Change to simulate
66671         exceptions by writing into the %fsr.
66672         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
66673         (__Qp_handle_exceptions): Likewise.
66674         (numbers): Delete.
66675         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
66676         __Qp_handle_exceptions.
66677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
66678         __Qp_handle_exceptions.
66679         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66680         as unused and give dummy FP_RND_NEAREST initializer.
66681         (FP_INHIBIT_RESULTS): Define.
66682         (___Q_simulate_exceptions): Update declaration.
66683         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
66684         formatting.
66685         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66686         as unused and give dummy FP_RND_NEAREST initializer.
66687         (__Qp_handle_exceptions): Update declaration.
66688         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
66689         formatting.
66691 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
66693         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
66694         the temporary FPU control word.
66695         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
66696         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
66697         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
66698         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66699         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
66700         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
66701         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
66702         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66703         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66704         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
66705         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66707 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66709         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
66710         fields.
66712 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
66714         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
66715         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
66716         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
66717         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
66718         Likewise.
66719         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
66720         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
66721         Likewise.
66723 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
66725         * po/h.po: Update from translation team.
66727 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
66729         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
66731         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
66732         handling of denormals.
66733         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66734         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
66735         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66736         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66737         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66738         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
66739         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
66740         Likewise.
66742 2012-05-26  Marek Polacek  <polacek@redhat.com>
66744         [BZ #14152]
66745         * math/libm-test.inc (fma_test): Don't always expect underflow
66746         exception.
66748 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66750         [BZ #12416]
66751         * elf/tst-execstack.c: Include stackinfo.h.
66752         (do_test): Adjust test case to ensure that pthread_getattr_np
66753         behaviour remains the same after marking stack executable.
66755 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66757         * sysdeps/unix/sysv/linux/kernel-features.h
66758         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
66759         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
66760         kernel-features.h.
66761         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66762         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66763         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
66764         kernel-features.h.
66765         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66766         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66768 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
66770         * configure.in: Define the default includes to being none.
66771         * configure: Regenerated.
66773 2012-05-25  Roland McGrath  <roland@hack.frob.com>
66775         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
66776         * sysdeps/x86_64/setjmp.S: Likewise.
66777         * sysdeps/i386/bsd-setjmp.S: Likewise.
66778         * sysdeps/i386/bsd-_setjmp.S: Likewise.
66779         * sysdeps/i386/setjmp.S: Likewise.
66780         * sysdeps/i386/__longjmp.S: Likewise.
66781         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66782         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66784         * include/stap-probe.h: New file.
66785         * configure.in: Handle --enable-systemtap.
66786         * configure: Regenerated.
66787         * config.h.in (USE_STAP_PROBE): New #undef.
66788         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66789         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66790         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66792 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66794         [BZ #13717]
66795         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66796         to 2.4.0 where earlier.
66797         * sysdeps/unix/sysv/linux/configure: Regenerated.
66798         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66799         <kernel-features.h>.
66800         [__ASSUME_32BITUIDS]: Make code unconditional.
66801         [!__ASSUME_32BITUIDS]: Remove conditional code.
66802         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66803         <kernel-features.h>.
66804         [__ASSUME_32BITUIDS]: Make code unconditional.
66805         [!__ASSUME_32BITUIDS]: Remove conditional code.
66806         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66807         [__ASSUME_32BITUIDS]: Make code unconditional.
66808         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66809         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
66810         <kernel-features.h>.
66811         [__ASSUME_32BITUIDS]: Make code unconditional.
66812         [!__ASSUME_32BITUIDS]: Remove conditional code.
66813         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
66814         <kernel-features.h>.
66815         [__ASSUME_32BITUIDS]: Make code unconditional.
66816         [!__ASSUME_32BITUIDS]: Remove conditional code.
66817         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
66818         <kernel-features.h>.
66819         [__ASSUME_32BITUIDS]: Make code unconditional.
66820         [!__ASSUME_32BITUIDS]: Remove conditional code.
66821         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
66822         <kernel-features.h>.
66823         [__ASSUME_32BITUIDS]: Make code unconditional.
66824         [!__ASSUME_32BITUIDS]: Remove conditional code.
66825         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66826         <kernel-features.h>.
66827         [__ASSUME_32BITUIDS]: Make code unconditional.
66828         [!__ASSUME_32BITUIDS]: Remove conditional code.
66829         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66830         <kernel-features.h>.
66831         [__ASSUME_32BITUIDS]: Make code unconditional.
66832         [!__ASSUME_32BITUIDS]: Remove conditional code.
66833         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66834         <kernel-features.h>.
66835         [__ASSUME_32BITUIDS]: Make code unconditional.
66836         [!__ASSUME_32BITUIDS]: Remove conditional code.
66837         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66838         <kernel-features.h>.
66839         [__ASSUME_32BITUIDS]: Make code unconditional.
66840         [!__ASSUME_32BITUIDS]: Remove conditional code.
66841         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66842         <kernel-features.h>.
66843         [__ASSUME_32BITUIDS]: Make code unconditional.
66844         [!__ASSUME_32BITUIDS]: Remove conditional code.
66845         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66846         <kernel-features.h>.
66847         [__ASSUME_32BITUIDS]: Make code unconditional.
66848         [!__ASSUME_32BITUIDS]: Remove conditional code.
66849         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66850         <kernel-features.h>.
66851         [__NR_setresgid] (__setresgid): Do not declare.
66852         [__ASSUME_32BITUIDS]: Make code unconditional.
66853         [!__ASSUME_32BITUIDS]: Remove conditional code.
66854         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66855         <kernel-features.h>.
66856         [__NR_setresuid] (__setresuid): Do not declare.
66857         [__ASSUME_32BITUIDS]: Make code unconditional.
66858         [!__ASSUME_32BITUIDS]: Remove conditional code.
66859         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66860         <kernel-features.h>.
66861         [__ASSUME_32BITUIDS]: Make code unconditional.
66862         [!__ASSUME_32BITUIDS]: Remove conditional code.
66863         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66864         <kernel-features.h>.
66865         [__ASSUME_32BITUIDS]: Make code unconditional.
66866         [!__ASSUME_32BITUIDS]: Remove conditional code.
66867         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66868         <kernel-features.h>.
66869         [__ASSUME_32BITUIDS]: Make code unconditional.
66870         [!__ASSUME_32BITUIDS]: Remove conditional code.
66871         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66872         <kernel-features.h>.
66873         [__ASSUME_32BITUIDS]: Make code unconditional.
66874         [!__ASSUME_32BITUIDS]: Remove conditional code.
66875         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66876         <kernel-features.h>.
66877         [__ASSUME_32BITUIDS]: Make code unconditional.
66878         [!__ASSUME_32BITUIDS]: Remove conditional code.
66879         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66880         <kernel-features.h>.
66881         [__ASSUME_32BITUIDS]: Make code unconditional.
66882         [!__ASSUME_32BITUIDS]: Remove conditional code.
66883         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66884         <kernel-features.h>.
66885         [__ASSUME_32BITUIDS]: Make code unconditional.
66886         [!__ASSUME_32BITUIDS]: Remove conditional code.
66887         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66888         <kernel-features.h>.
66889         [__ASSUME_32BITUIDS]: Make code unconditional.
66890         [!__ASSUME_32BITUIDS]: Remove conditional code.
66891         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66892         <kernel-features.h>.
66893         [__ASSUME_32BITUIDS]: Make code unconditional.
66894         [!__ASSUME_32BITUIDS]: Remove conditional code.
66895         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66896         <kernel-features.h>.
66897         [__ASSUME_32BITUIDS]: Make code unconditional.
66898         [!__ASSUME_32BITUIDS]: Remove conditional code.
66899         * sysdeps/unix/sysv/linux/kernel-features.h
66900         (__ASSUME_SETRESUID_SYSCALL): Remove.
66901         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66902         (__ASSUME_32BITUIDS): Likewise.
66903         (__ASSUME_LDT_WORKS): Likewise.
66904         (__ASSUME_O_DIRECTORY): Likewise.
66905         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66906         architecture but not kernel version.
66907         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66908         (__ASSUME_MMAP2_SYSCALL): Likewise.
66909         (__ASSUME_STAT64_SYSCALL): Likewise.
66910         (__ASSUME_IPC64): Likewise.
66911         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66912         <kernel-features.h>.
66913         [__ASSUME_32BITUIDS]: Make code unconditional.
66914         [!__ASSUME_32BITUIDS]: Remove conditional code.
66915         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66916         <kernel-features.h>.
66917         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66918         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66919         132096]: Remove conditional code.
66920         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66921         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66922         <kernel-features.h>.
66923         [__ASSUME_32BITUIDS]: Make code unconditional.
66924         [!__ASSUME_32BITUIDS]: Remove conditional code.
66925         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66926         <kernel-features.h>.
66927         [__ASSUME_32BITUIDS]: Make code unconditional.
66928         [!__ASSUME_32BITUIDS]: Remove conditional code.
66929         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66930         <kernel-features.h>.
66931         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66932         unconditional.
66933         (__setresgid): Do not declare.
66934         [__ASSUME_32BITUIDS]: Make code unconditional.
66935         [!__ASSUME_32BITUIDS]: Remove conditional code.
66936         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66937         <kernel-features.h>.
66938         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66939         unconditional.
66940         (__setresuid): Do not declare.
66941         [__ASSUME_32BITUIDS]: Make code unconditional.
66942         [!__ASSUME_32BITUIDS]: Remove conditional code.
66943         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66944         <kernel-features.h>.
66945         [__ASSUME_32BITUIDS]: Make code unconditional.
66946         [!__ASSUME_32BITUIDS]: Remove conditional code.
66947         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66948         <kernel-features.h>.
66949         [__ASSUME_32BITUIDS]: Make code unconditional.
66950         [!__ASSUME_32BITUIDS]: Remove conditional code.
66952 2012-05-25  Richard Henderson  <rth@twiddle.net>
66954         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66955         dl_hwcap to ifunc resolver.
66956         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66957         elf_ifunc_invoke.
66958         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66959         dl_hwcap to ifunc resolver.
66960         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66962 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66964         [BZ #14153]
66965         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66966         for |x| <= 2**-26, not 2**-57.
66967         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66968         exception.
66970 2012-05-24  Jeff Law  <law@redhat.com>
66972         * stdio-common/Makefile (tests): Add bug25.
66973         * stdio-common/bug25.c: New test.
66975 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66977         [BZ #13576]
66978         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66979         multiple of MALLOC_ALIGNMENT in size.
66980         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66982 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66984         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66985         Require >= 256.
66986         (FILENAME_MAX): Use macro-int-constant.
66987         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66988         (_IOFBF): Use macro-int-constant.
66989         (_IOLBF): Likewise.
66990         (_IONBF): Likewise.
66991         (SEEK_CUR): Likewise.
66992         (SEEK_END): Likewise.
66993         (SEEK_SET): Likewise.
66994         (TMP_MAX): Likewise.
66995         (EOF): Use macro-int-constant.  Require < 0.
66996         (NULL): Use macro-constant.  Require == 0.
66997         (stdin): Require type to be FILE *.
66998         (stdout): Likewise.
66999         (stderr): Likewise.
67000         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67001         macro-int-constant.
67002         (EXIT_SUCCESS): Likewise.
67003         (NULL): Use macro-constant.  Require == 0.
67004         (RAND_MAX): Use macro-int-constant.
67005         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67006         [C99-based standards] (strtof): Require function.
67007         [C99-based standards] (strtold): Likewise.
67008         [C99-based standards] (strtoll): Likewise.
67009         [C99-based standards] (strtoull): Likewise.
67010         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67011         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67012         [ISO || ISO99 || ISO11] (math.h): Likewise.
67013         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67014         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67015         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67017 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67019         [BZ #14132]
67020         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67021         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67022         * intl/dgettext.c (DCGETTEXT): Likewise.
67023         * intl/gettext.c (DCGETTEXT): Likewise.
67024         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67025         * posix/regex_internal.h (gettext): Likewise.
67026         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67027         Remove declaration.
67028         * include/argz.h (__argz_count_internal)
67029         (__argz_stringify_internal): Remove declaration.
67030         (__argz_count, __argz_stringify): Declare hidden proto.
67031         * intl/dcgettext.c: Remove use of INTDEF.
67032         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67033         * string/argz-stringify.c: Likewise.
67034         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67035         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67036         Declare hidden proto.
67037         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67038         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67039         Declare hidden proto.
67040         * include/stdio.h (__asprintf_internal): Don't declare.
67041         (__asprintf): Don't define as macro.  Declare hidden proto.
67042         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67043         (__fsetlocking): Declare hidden proto.
67044         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67045         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67046         hidden proto.
67047         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67048         (_IO_setlinebuf): Remove use of INTUSE.
67049         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67050         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67051         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67052         Remove declaration.
67053         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67054         (_IO_do_flush): Remove use of INTUSE.
67055         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67056         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67057         (_IO_adjust_column, _IO_least_wmarker)
67058         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67059         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67060         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67061         (_IO_default_doallocate, _IO_wdefault_doallocate)
67062         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67063         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67064         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67065         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67066         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67067         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67068         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67069         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67070         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67071         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67072         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67073         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67074         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67075         proto.
67076         (_IO_flush_all_internal, _IO_adjust_column_internal)
67077         (_IO_default_uflow_internal, _IO_default_finish_internal)
67078         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67079         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67080         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67081         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67082         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67083         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67084         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67085         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67086         (_IO_file_close_internal, _IO_file_close_it_internal)
67087         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67088         (_IO_file_init_internal, _IO_file_attach_internal)
67089         (_IO_file_fopen_internal, _IO_file_read_internal)
67090         (_IO_file_sync_internal, _IO_file_seek_internal)
67091         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67092         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67093         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67094         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67095         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67096         (_IO_list_all_internal, _IO_link_in_internal)
67097         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67098         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67099         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67100         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67101         (_IO_do_write_internal, _IO_padn_internal)
67102         (_IO_getline_info_internal, _IO_getline_internal)
67103         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67104         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67105         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67106         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67107         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67108         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67109         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67110         with libc_hidden_ver, remove use of INTUSE.
67111         * libio/genops.c: Likewise.
67112         * libio/freopen.c: Likewise.
67113         * libio/freopen64.c: Likewise.
67114         * libio/iofclose.c: Likewise.
67115         * libio/iofdopen.c: Likewise.
67116         * libio/iofflush.c: Likewise.
67117         * libio/iofflush_u.c: Likewise.
67118         * libio/iofgets.c: Likewise.
67119         * libio/iofgets_u.c: Likewise.
67120         * libio/iofopen.c: Likewise.
67121         * libio/iofopncook.c: Likewise.
67122         * libio/iofread.c: Likewise.
67123         * libio/iofread_u.c: Likewise.
67124         * libio/ioftell.c: Likewise.
67125         * libio/iofwrite.c: Likewise.
67126         * libio/iogetline.c: Likewise.
67127         * libio/iogets.c: Likewise.
67128         * libio/iogetwline.c: Likewise.
67129         * libio/iopadn.c: Likewise.
67130         * libio/iopopen.c: Likewise.
67131         * libio/ioseekoff.c: Likewise.
67132         * libio/ioseekpos.c: Likewise.
67133         * libio/iosetbuffer.c: Likewise.
67134         * libio/iosetvbuf.c: Likewise.
67135         * libio/ioungetc.c: Likewise.
67136         * libio/ioungetwc.c: Likewise.
67137         * libio/iovdprintf.c: Likewise.
67138         * libio/iovsprintf.c: Likewise.
67139         * libio/iovsscanf.c: Likewise.
67140         * libio/memstream.c: Likewise.
67141         * libio/obprintf.c: Likewise.
67142         * libio/oldfileops.c: Likewise.
67143         * libio/oldiofclose.c: Likewise.
67144         * libio/oldiofdopen.c: Likewise.
67145         * libio/oldiofopen.c: Likewise.
67146         * libio/oldiopopen.c: Likewise.
67147         * libio/oldstdfiles.c: Likewise.
67148         * libio/putc.c: Likewise.
67149         * libio/setbuf.c: Likewise.
67150         * libio/setlinebuf.c: Likewise.
67151         * libio/stdfiles.c: Likewise.
67152         * libio/strops.c: Likewise.
67153         * libio/vasprintf.c: Likewise.
67154         * libio/vscanf.c: Likewise.
67155         * libio/vsnprintf.c: Likewise.
67156         * libio/vswprintf.c: Likewise.
67157         * libio/wfiledoalloc.c: Likewise.
67158         * libio/wfileops.c: Likewise.
67159         * libio/wgenops.c: Likewise.
67160         * libio/wmemstream.c: Likewise.
67161         * libio/wstrops.c: Likewise.
67162         * libio/__fpurge.c: Likewise.
67163         * libio/__fsetlocking.c: Likewise.
67164         * assert/assert.c: Likewise.
67165         * debug/fgets_chk.c: Likewise.
67166         * debug/fgets_u_chk.c: Likewise.
67167         * debug/fread_chk.c: Likewise.
67168         * debug/fread_u_chk.c: Likewise.
67169         * debug/gets_chk.c: Likewise.
67170         * debug/obprintf_chk.c: Likewise.
67171         * debug/vasprintf_chk.c: Likewise.
67172         * debug/vdprintf_chk.c: Likewise.
67173         * debug/vsnprintf_chk.c: Likewise.
67174         * debug/vsprintf_chk.c: Likewise.
67175         * malloc/mtrace.c: Likewise.
67176         * misc/error.c: Likewise.
67177         * misc/syslog.c: Likewise.
67178         * stdio-common/asprintf.c: Likewise.
67179         * stdio-common/fxprintf.c: Likewise.
67180         * stdio-common/getw.c: Likewise.
67181         * stdio-common/isoc99_fscanf.c: Likewise.
67182         * stdio-common/isoc99_scanf.c: Likewise.
67183         * stdio-common/isoc99_vfscanf.c: Likewise.
67184         * stdio-common/isoc99_vscanf.c: Likewise.
67185         * stdio-common/isoc99_vsscanf.c: Likewise.
67186         * stdio-common/printf-prs.c: Likewise.
67187         * stdio-common/printf_fp.c: Likewise.
67188         * stdio-common/printf_fphex.c: Likewise.
67189         * stdio-common/printf_size.c: Likewise.
67190         * stdio-common/putw.c: Likewise.
67191         * stdio-common/scanf.c: Likewise.
67192         * stdio-common/sprintf.c: Likewise.
67193         * stdio-common/tmpfile.c: Likewise.
67194         * stdio-common/vfprintf.c: Likewise.
67195         * stdio-common/vfscanf.c: Likewise.
67196         * stdlib/strfmon_l.c: Likewise.
67197         * sunrpc/openchild.c: Likewise.
67198         * sunrpc/xdr_stdio.c: Likewise.
67199         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
67200         * sysdeps/mach/hurd/tmpfile.c: Likewise.
67202 2012-05-24  Roland McGrath  <roland@hack.frob.com>
67204         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67206         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
67207         in the third column, to generate for the shared library an IFUNC
67208         that uses _dl_vdso_vsym.
67209         * Makerules (COMPILE.c, compile-stdin.c): New variables.
67210         * Makeconfig (object-suffixes-noshared): New variable.
67212         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
67213         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
67214         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
67215         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
67217         [BZ #14132]
67218         * include/sys/time.h (__gettimeofday): Remove macro.
67219         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
67220         * time/gettimeofday.c (__gettimeofday): Remove #undef.
67221         Remove INTDEF.
67222         (__gettimeofday): Add libc_hidden_def.
67223         (gettimeofday): Add libc_hidden_weak.
67224         * sysdeps/mach/gettimeofday.c: Likewise.
67225         * sysdeps/posix/gettimeofday.c: Likewise.
67226         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
67227         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
67228         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
67229         (__gettimeofday_internal): Remove strong_alias.
67230         (__gettimeofday): Add libc_hidden_def.
67231         (gettimeofday): Add libc_hidden_weak.
67232         * sysdeps/unix/syscalls.list (gettimeofday):
67233         Remove __gettimeofday_internal alias.
67235 2012-05-24  Daniel Jacobowitz  <drow@false.org>
67236             H.J. Lu  <hongjiu.lu@intel.com>
67238         [BZ #12495]
67239         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
67240         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
67241         (largebin_index_32_big): New.
67242         (largebin_index): Use it for 16-byte alignment.
67243         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
67244         correction with front_misalign.
67246 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
67249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
67250         Likewise.
67251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
67252         Likewise.
67253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67254         Likewise.
67255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
67256         Likewise.
67257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
67258         Likewise.
67259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
67260         Likewise.
67261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
67262         Likewise.
67263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
67264         Likewise.
67265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
67266         Likewise.
67267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67268         Likewise.
67269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
67270         Likewise.
67271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
67272         Likewise.
67274         * scripts/data/c++-types-x32-linux-gnu.data: New file.
67275         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
67277 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67279         [BZ #10846]
67280         [BZ #14036]
67281         * math/libm-test.inc (exp_test): Add test from bug 14036.
67282         (pow_test): Add test from bug 10846.
67284         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
67285         and other flags.
67286         (special_function): Do not include flags in test name.
67287         (parse_args): Likewise.
67288         * sysdeps/i386/fpu/libm-test-ulps: Update.
67289         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67290         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
67291         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
67292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67294         * math/gen-libm-test.pl (%beautify): Add entries for underflow
67295         exceptions.
67296         * math/libm-test.inc ("Philosophy"): Update comment about
67297         exception testing.
67298         (UNDERFLOW_EXCEPTION): New macro.
67299         (UNDERFLOW_EXCEPTION_OK): Likewise.
67300         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
67301         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
67302         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
67303         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
67304         (INVALID_EXCEPTION_OK): Update value.
67305         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67306         (OVERFLOW_EXCEPTION_OK): Likewise.
67307         (IGNORE_ZERO_INF_SIGN): Likewise.
67308         (test_exceptions): Handle underflow exceptions.
67309         (acos_test): Update for underflow exception expectations.
67310         (cexp_test): Likewise.
67311         (clog_test): Likewise.
67312         (clog10_test): Likewise.
67313         (csqrt_test): Likewise.
67314         (ctan_test): Likewise.
67315         (ctanh_test): Likewise.
67316         (exp_test): Likewise.
67317         (exp10_test): Likewise.
67318         (exp2_test): Likewise.
67319         (expm1_test): Likewise.
67320         (fma_test): Likewise.
67321         (j0_test): Likewise.
67322         (jn_test): Likewise.
67323         (nexttoward_test): Likewise.
67324         (pow_test): Likewise.
67325         (scalbn_test): Likewise.
67326         (scalbln_test): Likewise.
67327         (tan_test): Likewise.
67328         (y1_test): Likewise.
67329         * sysdeps/i386/fpu/libm-test-ulps: Update.
67330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67332 2012-05-23  David S. Miller  <davem@davemloft.net>
67334         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67335         (__libc_sigaction): Remove unused local variables.
67337 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67339         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67341 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
67343         mktime: avoid signed integer overflow
67344         * time/mktime.c (__mktime_internal): Do not mishandle the case
67345         where diff == INT_MIN.
67347         mktime: simplify computation of average
67348         * time/mktime.c (ranged_convert): Use new time_t_avg function
67349         instead of rolling our own (probably-slower) code.
67351         mktime: do not assume signed right shift propagates sign bit
67352         * time/mktime.c (isdst_differ): New static function.
67353         (__mktime_internal): No need to normalize tm_isdst now.
67354         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67355         tm_isdst values.
67357         mktime: merge another wrapv change from gnulib
67358         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67359         from some compilers.
67361         mktime: remove incorrect attempt at unusual arithmetics
67362         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67363         The code didn't really work on such machines anyway.
67364         (TYPE_MINIMUM): Assume two's complement.
67365         (twos_complement_arithmetic): Verify that long_int and time_t
67366         are two's complement (or unsigned, in the latter case).
67368         mktime: check signed shifts on long_int and time_t, too
67369         * time/mktime.c (SHR): Check that shifts work as desired
67370         on the types long_int and time_t too, as SHR is used on
67371         such types.
67373         mktime: do not assume 'long' is wide enough
67374         * time/mktime.c (verify): Move decl up.
67375         (long_int): New type.
67376         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67377         to remove assumption in the code that 'long' is wide enough to
67378         store year values.  This assumption is not true on x32 and on
67379         some non-glibc platforms.
67381         mktime: merge wrapv change from gnulib
67382         * time/mktime.c (WRAPV): New macro.
67383         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67384         (guess_time_tm, __mktime_internal): Do not assume that signed
67385         integer overflow wraps around; modern compilers generate code
67386         where this assumption is no longer valid.
67388 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67390         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67391         Replace "jmp L(pseudo_end)" with "ret".
67392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67393         Likewise.
67395 2012-05-23  Andreas Jaeger  <aj@suse.de>
67397         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67398         * sysdeps/unix/sysv/linux/poll.c: Remove file.
67400 2012-05-23  Andreas Jaeger  <aj@suse.de>
67401             Maximilian Attems  <max@stro.at>
67403         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67404         New macros.
67406 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67408         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67409         code so that pseudo_end is just ret and the stack pointer is
67410         correct also for static library in error case.
67412 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
67414         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67415         move to syscalls.list.
67416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
67417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
67419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
67421         * manual/install.texi (Running make install): Do not mention Linux
67422         kernel version for which pt_chown is not needed.
67423         (Linux): Do not mention problems with nscd with 2.0 kernels.
67424         * INSTALL: Regenerated.
67426 2012-05-23  Andreas Jaeger  <aj@suse.de>
67428         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
67429         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
67430         macro.
67431         * sysdeps/unix/sysv/linux/s390/bits/mman.h
67432         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67433         * sysdeps/unix/sysv/linux/sh/bits/mman.h
67434         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67435         * sysdeps/unix/sysv/linux/i386/bits/mman.h
67436         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67437         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
67438         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67439         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
67440         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67441         * sysdeps/unix/sysv/linux/bits/in.h
67442         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
67444 2012-05-22  Roland McGrath  <roland@hack.frob.com>
67446         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
67447         (PREPARE_VERSION): Just use assert instead, it will be elided
67448         under [NDEBUG] anyway.
67450 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67452         * sysdeps/unix/sysv/linux/Makefile: Include
67453         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
67454         (sysdep_routines): Remove sysctl.
67455         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
67456         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
67457         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
67458         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
67459         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
67461 2012-05-22  Andreas Jaeger  <aj@suse.de>
67463         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
67464         that pseudo_end is just ret and the stack pointer is correct also
67465         for static library in error case.
67467 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
67469         [BZ #14122]
67470         * nss/nsswitch.c (defconfig_entries): New variable.
67471         (__nss_database_lookup): Don't leak defconfig entries.
67472         (nss_parse_service_list): Don't leak on error paths.
67473         (free_database_entries): New function.
67474         (free_defconfig): New function.
67475         (free_mem): Move common code to free_database_entries.
67477 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67479         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
67480         Add arch_prctl.
67481         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
67483         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
67484         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
67485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
67486         New macro.
67487         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
67488         (INTERNAL_SYSCALL_TYPES): Likewise.
67489         (LOAD_ARGS_TYPES_[1-6]): Likewise.
67490         (LOAD_REGS_TYPES_[1-6]): Likewise.
67491         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
67492         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
67494 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67496         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
67497         copysignl for GLIBC_2_0.
67498         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
67499         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
67500         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
67501         logbl for GLIBC_2_0.
67502         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
67503         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
67505 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67507         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
67508         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67510         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67511         Use "neg %eax".
67513         * time/mktime.c: Update copyright years.
67515 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
67517         mktime: merge comment-quoting-style change from gnulib
67518         * time/mktime.c: Quote 'like this' in comments.
67519         The GNU coding standards suggest that we no longer quote `like this',
67520         as "`" and "'" are typically rendered asymmetrically nowadays.
67521         The typical gnulib style is to quote 'like this' when quoting
67522         code, and "like this" when quoting English.
67524         * time/mktime.c (compile-command): Add "-I.".
67526         mktime: merge mktime-internal.h change from gnulib
67527         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
67529         mktime: merge time_r change from gnulib
67530         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
67532         mktime: merge DEBUG change from gnulib
67533         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
67534         case system <time.h> has a #define.
67536         mktime: merge <sys/types.h> change from gnulib
67537         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
67538         since <time.t> is now guaranteed to define time_t.
67540         mktime: merge HAVE_CONFIG_H change from gnulib
67541         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
67543 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67545         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67546         Use "neg %eax".
67548         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
67549         __rlim_t cast.
67550         (struct rusage): Use anonymous union to pad each field to
67551         __syscall_slong_t.
67553 2012-05-21  David S. Miller  <davem@davemloft.net>
67555         * Makefules (o-iterator): Remove .s cases.
67556         (compile-command.s): Delete.
67557         (COMPILE.s): Delete.
67558         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
67560 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
67562         * configure.in (libc_cv_predef_stack_protector): Only consider
67563         "foobar" and "__stack_chk_fail" lines in libc_undefs.
67564         * configure: Regenerated.
67566 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67568         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67569         New macro.  Use R*LP on int and pointer.
67570         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
67571         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
67572         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
67573         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
67575         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
67576         [__WORDSIZE_TIME64_COMPAT32] instead of
67577         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
67578         (struct utmp): Likewise.
67579         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
67580         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
67581         Renamed to ...
67582         (__WORDSIZE_TIME64_COMPAT32): This.
67583         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
67584         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
67585         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
67586         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
67587         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
67588         (__WORDSIZE_TIME64_COMPAT32): New macro.
67590 2012-05-21  Andreas Jaeger  <aj@suse.de>
67592         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
67593         only if [SHARED]. Add prototype for __wcschr_ia32.
67595 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67597         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
67598         of %rbp unmolested in the jmp_buf while mangling the low bits.
67599         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
67600         unmolested high bits of %rbp while demangling the low bits.
67601         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67603 2012-05-21  Andreas Jaeger  <aj@suse.de>
67605         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
67606         * sunrpc/svc_simple.c: Use it for registerrpc.
67607         * sunrpc/xcrypt.c: Use it for passwd2des.
67609         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
67611 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67613         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
67614         Don't define if [__SYSCALL_WORDSIZE != 32].
67615         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
67616         New macro.
67618 2012-05-21  Bruno Haible  <bruno@clisp.org>
67619             Andreas Jaeger  <aj@suse.de>
67621         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
67622         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
67623         inptr and inend for must_buffer_ch.
67624         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
67625         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
67626         * stdio-common/Makefile (tests): Remove bug15.
67627         (bug15-ENV): Remove macro.
67628         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
67629         anymore.
67631 2012-05-19  Andreas Jaeger  <aj@suse.de>
67632             Roland McGrath  <roland@hack.frob.com>
67634         * manual/contrib.texi: Completely rewritten. It contains now an
67635         alphabetical list of contributors and their contributions.
67637 2012-05-21  Richard Henderson  <rth@twiddle.net>
67639         * misc/getauxval.c (__getauxval): Use unsigned long int.
67640         * misc/sys/auxv.h: Include <sys/cdefs.h>.
67641         (getauxval): Use unsigned long int.
67643 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67645         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67647 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67649         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
67650         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
67651         __alignof__ (long double).
67653 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67657 2012-05-20  Richard Henderson  <rth@twiddle.net>
67659         * misc/getauxval.c: New file.
67660         * misc/sys/auxv.h: New file.
67661         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
67662         (routines): Add getauxval.
67663         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
67664         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
67665         * elf/dl-sysdep.c (_dl_auxv): Remove.
67666         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
67667         * elf/dl-support.c (_dl_auxv): New variable.
67668         (_dl_aux_init): Initialize it.
67669         * manual/startup.texi (Auxiliary Vector): New node.
67670         * sysdeps/generic/bits/hwcap.h: New file.
67671         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
67672         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
67673         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
67674         * sysdeps/sparc/sysdep.h: ... here.  Include it.
67675         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
67676         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
67677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67678         Update.
67679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
67680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
67681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
67682         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
67683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
67686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
67688 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67692 2012-05-19  David S. Miller  <davem@davemloft.net>
67694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67696 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67698         [BZ #14123]
67699         * math/s_ccosh.c: Include <float.h>
67700         (__ccosh): Avoid internal overflow calculating sinh and cosh
67701         values before multiplying by sin and cos values.
67702         * math/s_ccoshf.c: Likewise.
67703         * math/s_ccoshl.c: Likewise.
67704         * math/s_csin.c: Likewise.
67705         * math/s_csinf.c: Likewise.
67706         * math/s_csinl.c: Likewise.
67707         * math/s_csinh.c: Likewise.
67708         * math/s_csinhf.c: Likewise.
67709         * math/s_csinhl.c: Likewise.
67710         * math/libm-test.inc (ccos_test): Add more tests.
67711         (ccosh_test): Likewise.
67712         (csin_test): Likewise.
67713         (csinh_test): Likewise.
67714         * sysdeps/i386/fpu/libm-test-ulps: Update.
67715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67717 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
67719         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
67720         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
67722         * sysdeps/x86_64/x32/_itoa.h: Add comment.
67724 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67726         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
67727         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
67728         * sysdeps/powerpc/soft-fp/Versions: Likewise.
67729         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
67730         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
67731         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
67732         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
67733         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
67734         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
67735         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
67736         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
67737         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
67738         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
67739         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
67740         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
67741         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
67742         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
67743         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
67744         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
67745         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
67746         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
67747         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
67748         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
67749         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
67750         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
67751         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
67752         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
67753         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67754         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
67755         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
67756         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
67758 2012-05-18  Andreas Jaeger  <aj@suse.de>
67760         * csu/.gitignore: Delete.
67762 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67764         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
67765         (timex): Use __syscall_slong_t.
67767 2012-05-18  Andreas Jaeger  <aj@suse.de>
67768             Carlos O'Donell  <carlos_odonell@mentor.com>
67770         * manual/install.texi (Configuring and compiling): Update
67771         description about files modified in the source directory.
67772         * INSTALL: Regenerated.
67774 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67776         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
67777         value.  Use "or" to set return value to -1.
67778         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
67779         negate return value.
67781 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67783         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67784         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67785         failure if the compiler has Graphite support disabled.
67786         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67787         Likewise.
67788         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67789         (CFLAGS-memmove.c): Likewise.
67790         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67791         Likewise.
67793 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67795         * sysdeps/x86_64/x32/_itoa.h: New file.
67797         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67798         getdents system call only if kernel and user dirents have the
67799         same d_ino and d_off.
67801         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67802         LLONG_MAX != LONG_MAX.
67803         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67804         (_fitoa_word): Likewise.
67806         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67807         years.
67808         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67809         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67810         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67812         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67813         include <bits/wordsize.h>.  Check __x86_64__ instead of
67814         __WORDSIZE.
67815         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67816         if __x86_64__ is defined.  Use anonymous union on fpstate.
67818         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67819         anonymous union.
67821 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67823         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67824         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67825         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67826         Refer to _rtld_local_ro instead of _rtld_global_ro.
67827         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67828         Likewise.
67829         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67830         Likewise.
67831         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67832         Likewise.
67833         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67834         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67835         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67837         [BZ #10882]
67838         * sysdeps/powerpc/powerpc32/dl-machine.c
67839         (__elf_machine_runtime_setup) [PROF]: Don't reference
67840         _dl_prof_resolve.
67842 2012-05-18  Andreas Jaeger  <aj@suse.de>
67844         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67845         function only available for GCCs before 3.4 since GCC 3.4
67846         introduced a builtin.
67847         (lrint): Likewise.
67848         (llrintf): Likewise.
67849         (llrint): Likewise.
67850         (fmaxf): Likewise.
67851         (fmax): Likewise.
67852         (fminf): Likewise.
67853         (fmin): Likewise.
67854         (rint): Likewise.
67855         (rintf): Likewise.
67856         (nearbyint): Likewise.
67857         (nearbyintf): Likewise.
67858         (ceil): Likewise.
67859         (ceilf): Likewise.
67860         (floor): Likewise.
67861         (floorf): Likewise.
67863 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67865         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67866         on both fields and cast pointer to __syscall_ulong_t.
67868         * bits/types.h (__fsword_t): New type.
67869         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67870         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67871         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67872         (__FSWORD_T_TYPE): Likewise.
67873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67874         (__FSWORD_T_TYPE): Likewise.
67875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67876         (__FSWORD_T_TYPE): Likewise.
67877         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67878         (__FSWORD_T_TYPE): Likewise.
67879         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67880         __SWORD_TYPE with __fsword_t.
67881         (statfs64): Likewise.
67883 2012-05-17  David S. Miller  <davem@davemloft.net>
67885         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67887 2012-05-17  Andreas Jaeger  <aj@suse.de>
67889         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67890         warning.
67892 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67894         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67896 2012-05-17  Andreas Jaeger  <aj@suse.de>
67898         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67899         when it is used.
67901 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67903         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67905 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67907         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67908         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67910 2012-05-17  Andreas Jaeger  <aj@suse.de>
67911             Carlos O'Donell  <carlos_odonell@mentor.com>
67913         [BZ #14059]
67914         * sysdeps/x86_64/multiarch/init-arch.h
67915         (bit_YMM_Usable): Rename to...
67916         (bit_AVX_Usable): ... this.
67917         (bit_FMA4_Usable): New macro.
67918         (bit_XMM_state): New macro.
67919         (bit_YMM_state): New macro.
67920         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67921         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67922         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67923         (CPUID_OSXSAVE): New macro.
67924         (CPUID_AVX): New macro.
67925         (CPUID_FMA4): New macro.
67926         (index_YMM_Usable): Rename to...
67927         (index_AVX_Usable): ... this.
67928         (HAS_AVX): Use HAS_ARCH_FEATURE.
67929         (HAS_FMA4): Likewise.
67930         (HAS_YMM_USABLE): Remove.
67931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67932         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67933         are present.
67934         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67935         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67936         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67937         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67938         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67940 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67942         * math/libm-test.c: Support platforms without multiple rounding modes.
67943         * math/bug-nextafter.c: Support platforms without FP exceptions.
67944         * math/bug-nexttoward.c: Likewise.
67945         * math/test-fenv.c: Likewise.
67946         * math/test-misc.c: Likewise.
67947         * stdlib/bug-getcontext.c: Likewise.
67949 2012-05-17  Andreas Jaeger  <aj@suse.de>
67951         * manual/examples/search.c (critter_cmp): Change signature to
67952         avoid warnings.
67953         * manual/string.texi (Collation Functions): Likewise.
67955 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67957         * bits/types.h: Fold copyright years.
67958         * bits/typesizes.h: Likewise.
67959         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67960         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67962         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67963         * time/time.h: Likewise.
67965 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67967         [BZ #208]
67968         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67969         in instead of returning them.  Return void.
67970         (__libc_mallinfo): Accumulate over all arenas.
67971         (__malloc_stats): Adjust for change in int_mallinfo interface.
67973 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67975         [BZ #10375]
67976         * configure.in (NM): Add AC_CHECK_TOOL for it.
67977         (libc_extra_cflags): New substituted variable.
67978         Check for -fstack-protector being used implicitly.
67979         * configure: Regenerated.
67980         * config.make.in (config-extra-cflags): New variable,
67981         gets @libc_extra_cflags@.
67982         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67984         [BZ #10375]
67985         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67986         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67987         * configure: Regenerated.
67988         * config.make.in (CPPUNDEFS): New substituted variable.
67989         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67990         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67991         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67993 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67995         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
67996         (mq_attr): Use __syscall_slong_t.
67998 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68000         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68001         Check __x86_64__ instead of __WORDSIZE.
68002         (_STAT_VER_LINUX): Likewise.
68003         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68004         __syscall_ulong_t and __syscall_slong_t.
68005         (stat64): Likewise.
68007 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68009         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68011 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68013         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68015 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68017         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68018         __syscall_ulong_t.
68020         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68021         include <bits/wordsize.h>.  Check __x86_64__ instead of
68022         __WORDSIZE.
68023         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68024         defined.
68025         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68027         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68028         include <bits/wordsize.h>.  Check __x86_64__ instead of
68029         __WORDSIZE.
68030         (user_regs_struct): Use "__extension__ unsigned long long"
68031         instead of "unsigned long" if __x86_64__ is defined.
68032         (user): Likewise.  Pad after pointer field if __ILP32__ is
68033         defined.
68035 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68037         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68038         versions 5 to 9.
68039         * configure: Regenerated.
68040         * manual/install.texi (texinfo): Increase version requirement to
68041         4.5 or later.
68042         * INSTALL: Regenerated.
68044         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68046 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68048         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68050         * sysdeps/x86_64/x32/ffs.c: New file.
68052         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68053         __syscall_ulong_t.
68054         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68055         defined.  Use __syscall_ulong_t.
68056         (shminfo): Use __syscall_ulong_t.
68057         (shm_info): Likewise.
68059         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68060         __syscall_ulong_t.
68062         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68063         <bits/wordsize.h>.
68064         (msgqnum_t): Use __syscall_ulong_t.
68065         (msglen_t): Likewise.
68066         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68067         __syscall_ulong_t.
68069         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68070         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68072         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68074         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68075         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68077         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68078         __syscall_slong_t.
68080         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68081         include <bits/wordsize.h>.  Check __x86_64__ instead of
68082         __WORDSIZE.
68084         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68085         "unsigned long long int" if __x86_64__ is defined.
68086         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68088         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68089         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68090         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68092         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68093         <stdint.h>.
68094         (GET_PC): Cast to uintptr_t first.
68095         (GET_FRAME): Likewise.
68096         (GET_STACK): Likewise.
68098         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68099         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68100         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68101         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68102         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68103         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68104         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68105         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68106         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68107         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68108         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68109         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68110         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68111         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68112         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68113         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68114         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68115         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68116         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68117         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68118         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68119         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68120         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68121         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68122         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68123         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68124         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68125         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68126         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68128 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
68130         * Makerules (+depfiles): Also collect depfiles from .oS in
68131         $(extra-objs).
68132         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
68133         .oS, $(libnldbl-routines)).
68135         * Makerules (native-compile-mkdep-flags): Define.
68136         * sunrpc/Makefile (extra-objs): Add $(addprefix
68137         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
68138         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
68139         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
68140         calling $(make-target-directory).
68142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68144         * bits/types.h (__snseconds_t): Removed.
68145         * time/time.h (struct timespec): Replace __snseconds_t with
68146         __syscall_slong_t.
68147         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
68148         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
68149         Likewise.
68150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68151         (__SNSECONDS_T_TYPE): Likewise.
68152         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68153         (__SNSECONDS_T_TYPE): Likewise.
68154         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68155         (__SNSECONDS_T_TYPE): Likewise.
68157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68159         * sysdeps/mach/hurd/bits/typesizes.h
68160         (__SYSCALL_SLONG_TYPE): New macro.
68161         (__SYSCALL_ULONG_TYPE): Likewise.
68163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68165         * bits/types.h (__syscall_slong_t): New type.
68166         (__syscall_ulong_t): Likewise.
68168         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
68169         (__SYSCALL_ULONG_TYPE): Likewise.
68170         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68171         (__SYSCALL_SLONG_TYPE): Likewise.
68172         (__SYSCALL_ULONG_TYPE): Likewise.
68173         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68174         (__SYSCALL_SLONG_TYPE): Likewise.
68175         (__SYSCALL_ULONG_TYPE): Likewise.
68176         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68177         (__SYSCALL_SLONG_TYPE): Likewise.
68178         (__SYSCALL_ULONG_TYPE): Likewise.
68180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68182         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
68183         Add sigaltstack-offsets.sym.
68184         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
68185         <sigaltstack-offsets.h>.
68186         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
68187         longjmp_msg pointer.
68188         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
68189         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
68190         signal stack.
68191         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
68193 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68195         * elf/stackguard-macros.h: Remove file.
68196         * sysdeps/generic/stackguard-macros.h: New file.
68197         * sysdeps/i386/stackguard-macros.h: Likewise.
68198         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
68199         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
68200         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
68201         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
68202         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
68203         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
68204         * sysdeps/x86_64/stackguard-macros.h: Likewise.
68205         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
68206         <elf/stackguard-macros.h>.
68208         [BZ #14109]
68209         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
68210         __aligned__ in attribute.
68211         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
68212         (gregset_t): Likewise.
68214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68216         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
68217         * sysdeps/x86_64/64/Implies-after: Here.  New file.
68218         * sysdeps/x86_64/x32/Implies-after: New file.
68220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68222         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
68223         and access return value for _dl_profile_fixup.  Use R10_LP to
68224         load frame size.
68226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68228         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
68230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68232         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
68233         * sysdeps/x86_64/x32/sysdep.h: New file.
68235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68237         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
68238         * sysdeps/x86_64/setjmp.S: Likewise.
68240 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68242         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
68243         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
68244         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
68245         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
68246         remove unused global constant.
68248 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
68250         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
68251         include of <not-cancel.h>.
68253 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68255         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
68257 2012-05-15  Jeff Law  <law@redhat.com>
68258             Andreas Jaeger  <aj@suse.de>
68260         [BZ #13594]
68261         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
68262         out from...
68263         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
68264         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
68265         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
68266         code changing __hst_map_handle.map.
68268 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68270         * configure.in (sysnames): Look for Implies-before and Implies-after
68271         files.
68272         * configure: Regenerated.
68274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68276         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
68277         8-byte data alignment with LP_SIZE alignment.
68279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68281         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
68282         into R10_LP.
68284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68286         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
68288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68290         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
68291         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
68292         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
68293         Likewise.
68294         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68298         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
68299         (stackinfo_sub_sp): Likewise.
68301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68303         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
68304         RAX_LP.
68306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68308         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68309         into R*_LP.
68311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68313         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68314         sizes into R*_LP.
68316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68318         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68322         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68323         into R11_LP and load __x86_64_shared_cache_size_half into
68324         R8_LP.
68326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68328         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68329         R8_LP.
68331 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68333         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68334         logb for POWER7.
68335         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68336         logbf for POWER7.
68337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68338         logbl for POWER7.
68339         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68340         powerpc32/power7/fpu/s_logb.c via #include.
68341         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68342         powerpc32/power7/fpu/s_logbf.c via #include.
68343         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68344         powerpc32/power7/fpu/s_logbl.c via #include.
68346 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68348         * README.libm: Remove file.
68350 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68352         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68353         count for x32.  Use R*_LP and omit operand-size suffix.
68355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68357         * shlib-versions: Move x86_64-.*-linux.* entries to ...
68358         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
68359         * sysdeps/x86_64/x32/shlib-versions: New file.
68361 2012-05-14  Roland McGrath  <roland@hack.frob.com>
68363         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68364         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68365         Use _dl_fatal_printf instead.
68367 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68369         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68370         set if not set by the user.  Do not allow for being unset.
68371         * sysdeps/unix/sysv/linux/configure: Regenerated.
68373 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68375         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68376         the `q' suffix from lea and replace .quad with ASM_ADDR.
68378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68381         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
68382         instead of $17.
68383         (PTR_DEMANGLE): Likewise.
68385 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68387         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68388         (LP_OP): Likewise.
68389         (ASM_ADDR): Likewise.
68390         (RAX_LP): Likewise.
68391         (RBP_LP): Likewise.
68392         (RBX_LP): Likewise.
68393         (RCX_LP): Likewise.
68394         (RDI_LP): Likewise.
68395         (RSI_LP): Likewise.
68396         (RSP_LP): Likewise.
68397         (R8_LP): Likewise.
68398         (R9_LP): Likewise.
68399         (R10_LP): Likewise.
68400         (R10_LP): Likewise.
68401         (R11_LP): Likewise.
68402         (R12_LP): Likewise.
68403         (R13_LP): Likewise.
68404         (R14_LP): Likewise.
68405         (R15_LP): Likewise.
68407 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68409         * sysdeps/x86_64/x32/dl-machine.h: New file.
68411 2012-05-14  Andreas Jaeger  <aj@suse.de>
68413         * manual/Makefile (subdir): Remove export of subdir.
68414         (all): Remove target.
68415         (.PHONY): Remove all from list.
68416         (mkinstalldirs): Remove.
68417         (.PHONY): Remove installdirs from list.
68418         ($(inst_infodir)/libc.info): Use make-target-directory.
68419         (installdirs): Remove.
68420         (subdir_%): Remove.
68421         (glibc-targets): Remove.
68422         (lib): Remove.
68423         (stubs): Remove.
68424         ($(objpfx)stubs ../po/manual.pot): Remove.
68425         ($(objpfx)stamp%): Remove.
68426         (make-target-directory): Remove.
68427         (subdir_install): Remove.
68428         (routines): Remove.
68429         (aux): Remove.
68430         (sources): Remove.
68431         (objects): Remove.
68432         (headers): Remove.
68434         [BZ #13750]
68435         * manual/.gitignore: Remove, it's not needed anymore.
68436         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
68437         all files in it.
68438         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
68439         directory.
68440         (texis): Renamed to $(objpfx)texis.
68441         (texis-path): New, contains path to generated files.
68442         (chapters.%): Use texis-path for complete path, add extra argument
68443         libc-texinfo.sh.
68444         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68445         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
68446         (summary,texi, stamp-summary): Use complete path of
68447         files. Generate files in build dir.
68448         (dir-add.texi): Build in build dir.
68449         (libm-err.texi,stamp-libm-err): Likewise.
68450         (version.texi, stamp-version): Likewise.
68451         (.%c.texi): Likewise.
68452         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
68453         (mostlyclean): Remove target.
68454         (realclean): Remove target.
68455         (generated): Add new variable with contents from mostlyclean and
68456         realclean, remove entries duplicated in common-mostlyclean, add
68457         stamp-libm-err and stamp-version.
68458         (generated-dirs): Add libc directory.
68459         ($(inst_infodir)/libc.info): Install files from build dir.
68461         * manual/install.texi (Configuring and compiling): Adjust since
68462         the info files are not part of the tar ball anymore.
68464 2012-05-14  Andreas Jaeger  <aj@suse.de>
68466         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
68467         variable.
68469 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68471         [BZ #13717]
68472         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68473         to 2.2.0 where earlier.
68474         * sysdeps/unix/sysv/linux/configure: Regenerated.
68475         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
68476         Remove conditional code.
68477         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68478         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
68479         Remove conditional code.
68480         [!__NR_lchown]: Likewise.
68481         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68482         [__NR_lchown]: Likewise.
68483         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
68484         comment referencing __ASSUME_LCHOWN_SYSCALL.
68485         * sysdeps/unix/sysv/linux/i386/sigaction.c
68486         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68487         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68488         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
68489         Remove conditional code.
68490         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
68491         (__protocol_available): Remove #if 0 code.
68492         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
68493         conditional code.
68494         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
68495         * sysdeps/unix/sysv/linux/kernel-features.h
68496         (__ASSUME_GETCWD_SYSCALL): Don't define.
68497         (__ASSUME_REALTIME_SIGNALS): Likewise.
68498         (__ASSUME_PREAD_SYSCALL): Likewise.
68499         (__ASSUME_PWRITE_SYSCALL): Likewise.
68500         (__ASSUME_POLL_SYSCALL): Likewise.
68501         (__ASSUME_LCHOWN_SYSCALL): Likewise.
68502         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
68503         non-SPARC.
68504         (__ASSUME_SIOCGIFNAME): Don't define.
68505         (__ASSUME_MSG_NOSIGNAL): Likewise.
68506         (__ASSUME_SENDFILE): Define unconditionally.
68507         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
68508         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
68509         conditional code.
68510         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
68511         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
68512         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68513         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68514         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
68515         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68516         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
68518         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68519         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
68521         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
68524         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68525         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
68527         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
68530         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68531         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
68533         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
68536         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68537         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
68539         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68540         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68541         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
68542         Remove conditional code.
68543         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68544         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68545         Remove conditional code.
68546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68547         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
68548         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
68549         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68550         Remove conditional code.
68551         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68552         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
68553         Remove conditional code.
68554         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68555         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
68556         Remove conditional code.
68557         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68558         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68559         Remove conditional code.
68560         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68561         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68562         Remove conditional code.
68563         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68564         * sysdeps/unix/sysv/linux/sh/pwrite64.c
68565         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68566         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68567         * sysdeps/unix/sysv/linux/sigaction.c
68568         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68569         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68570         * sysdeps/unix/sysv/linux/sigpending.c
68571         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68572         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68573         * sysdeps/unix/sysv/linux/sigprocmask.c
68574         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68575         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68576         * sysdeps/unix/sysv/linux/sigsuspend.c
68577         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68578         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68579         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68580         (__libc_missing_rt_sigs): Remove.
68581         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
68582         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
68583         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
68584         Remove conditional code.
68585         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
68586         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
68587         return 1.
68588         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
68589         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
68590         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
68591         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
68593 2012-05-14  Andreas Jaeger  <aj@suse.de>
68595         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
68596         it's not used in glibc.
68597         (__coshm1): Likewise.
68598         (__acosh1p): Likewise.
68599         (__sgn): Likewise.
68601         * manual/string.texi (Copying and Concatenation): Add missing
68602         variable in concat example.
68603         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
68605 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68607         [BZ #14103]
68608         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
68609         __builtin_clzl with __builtin_clzll.
68611 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68613         [BZ #14104]
68614         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
68615         libc_freeres_ptr.
68617 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68619         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
68620         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
68621         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
68622         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
68624 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
68626         * NEWS: Update ia64 info.
68628 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
68630         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
68631         used as bcopy.
68633 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
68635         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
68636         * sysdeps/unix/syscalls.list (dup3): Likewise.
68637         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
68638         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
68640 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68642         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
68643         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
68645 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68647         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
68648         thread pointer.
68649         (TLS_IE): Use mov/add instead of movq/addq to load thread
68650         pointer.
68651         (TLS_GD_PREFIX): New.
68652         (TLS_GD): Use it.
68654 2012-05-11  David S. Miller  <davem@davemloft.net>
68656         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
68657         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
68658         (_FPU_SETCW): Likewise.
68660 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68662         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
68663         is 32-byte aligned.
68665 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
68667         [BZ #11837]
68668         * iconvdata/gb18030.c: Update tables.
68669         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
68670         characters specially.
68671         (BODY for TO_LOOP): Add encoding of missing ranges.
68673 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
68675         [BZ #13673]
68676         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
68677         * sysdeps/mach/hurd/dup3.c: Likewise.
68678         * sysdeps/mach/hurd/readlinkat.c: Likewise.
68679         * sysdeps/powerpc/memmove.c:: Likewise.
68681 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68683         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
68684         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
68686 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68688         * elf/elf.h (R_X86_64_RELATIVE64): New.
68689         (R_X86_64_NUM): Updated.
68690         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68691         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
68692         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
68693         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
68694         tst-quad1pie tst-quad2pie
68695         (modules-names): Add tst-quadmod1 tst-quadmod2.
68696         ($(objpfx)tst-quad1): New dependency.
68697         ($(objpfx)tst-quad2): Likewise.
68698         ($(objpfx)tst-quad1pie): Likewise.
68699         ($(objpfx)tst-quad2pie): Likewise.
68700         * sysdeps/x86_64/tst-quad1.c: New file.
68701         * sysdeps/x86_64/tst-quad1pie.c: New file.
68702         * sysdeps/x86_64/tst-quad2.c: Likewise.
68703         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
68704         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
68705         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
68706         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
68707         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
68709 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68711         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
68712         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
68713         * streams/stropts.h (t_scalar_t): Define type.
68715         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
68716         (_PATH_PRESERVE): Set to "/var/lib".
68717         (_PATH_RWHODIR): Set to "/var/spool/rwho".
68719         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
68720         instead of int.
68722         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
68723         if __dir_mkfile succeeded.
68725         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
68726         checking for _hurd_dtablesize.  Unlock it right after having
68727         finished _hurd_dtable allocation.
68729 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68731         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
68732         * sysdeps/mach/hurd/configure: Regenerated.
68733         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
68734         special-casing to...
68735         * sysdeps/gnu/configure.in: ... this new file.
68736         * sysdeps/unix/sysv/linux/configure: Regenerated.
68737         * sysdeps/gnu/configure: New generated file.
68739         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
68740         for Linux: use nsec instead of usec, as well as:
68741         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
68742         members of type struct timespec.
68743         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
68744         New macros.
68745         (struct stat64): Likewise.
68746         (_STATBUF_ST_NSEC): New macro.
68747         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68749         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68750         __strtoul_internal rather than strtoul.
68752 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68754         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
68755         and reject them.
68757 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68759         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
68760         which preserves existing values.
68761         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
68763 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68765         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
68766         TIMEOUT values.  Return EINVAL for NFDS values either negative or
68767         greater than FD_SETSIZE.
68769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68771         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
68772         allocated, call __vm_protect to finish enabling the existing space, and
68773         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
68774         allocate the remainder.
68776 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68778         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
68779         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
68781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68783         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68784         sysdeps/mach/hurd/readlink.c.
68786         * posix/tst-sysconf.c (posix_options): Only use
68787         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68788         _POSIX_SYNCHRONIZED_IO when they are defined
68789         * sysdeps/mach/hurd/bits/posix_opt.h:
68790         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68791         (_XOPEN_REALTIME): Undefine macro.
68792         (_XOPEN_REALTIME_THREADS): Undefine macro.
68793         (_XOPEN_SHM): Undefine macro.
68794         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68795         macro to -1.
68796         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68797         macro to -1.
68798         (_POSIX_ASYNC_IO): Undefine macro.
68799         (_POSIX_PRIORITIZED_IO): Undefine macro.
68800         (_POSIX_SPIN_LOCKS): Define macro to -1.
68802         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68803         SA_NODEFER, SA_RESETHAND.
68804         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68805         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68806         F_DUPFD_CLOEXEC.
68808 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68810         * elf/Makefile (pldd-modules): Define unconditionally.
68812 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68814         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68818         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68819         Return ENOENT when name is empty.
68820         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68824         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68826         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68830         Fix mlock in all cases except non-readable pages.
68831         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68832         instead of VM_PROT_ALL as parameter to __vm_wire function.
68834         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68835         (__mkdir): When path is `/', just fail with EEXIST.
68836         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68838 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68840         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68841         <sys/uio.h> (for writev).
68842         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68843         and <sys/param.h> (for MIN).
68845 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68847         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68848         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68849         if interrupted.
68851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68853         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68854         Depend on against $(link-rpcuserlibs).
68856 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68858         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68859         (__libc_stack_end): Do not use attribute_relro.
68860         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68861         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68862         to libthread-provided value.
68863         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68864         attribute_relro.
68866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68868         [BZ #3748]
68869         * bits/libc-lock.h (__libc_once_get): New macro.
68870         * sysdeps/mach/bits/libc-lock.h: Likewise.
68871         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68873         instead of using implementation details.
68875         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68876         * libio/freopen.c: Likewise.
68877         * libio/freopen64.c: Likewise.
68878         * misc/syslog.c: Likewise.
68879         * nscd/connections.c: Likewise.
68880         * nscd/netgroupcache.c: Likewise.
68881         * sysdeps/posix/getcwd.c: Likewise.
68883 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68885         * math/w_ilogbf.c: Add #include <limits.h>.
68887 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68889         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68890         path instead of returning without unlocking.
68892         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68893         immediate-write ioctls.
68894         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68896 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68898         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68899         __builtin_frame_address instead of making assumptions about the
68900         location of the return address relative to DATA.  Force early load of
68901         the return address.
68902         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68903         __builtin_frame_address.
68905         dup3 for GNU Hurd.
68906         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68907         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68908         implement dup3 and do some further code clean-ups.
68909         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68910         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68912 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68914         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68916         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68917         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68918         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68919         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68920         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68921         d->port.lock.
68923         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68924         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68925         when handler == SIG_ERR, not when handler != SIG_ERR.
68927 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68929         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68930         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68931         definitions.
68933         accept4 for GNU Hurd.
68934         * include/sys/socket.h (__libc_accept4): New prototype.
68935         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68936         to implement __libc_accept4.
68937         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68938         __libc_accept4.
68939         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68941         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68942         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68943         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68944         signal-defines.sym.
68946 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68948         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68950 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68952         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68953         assertion on O_CLOEXEC flag.
68954         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68955         * hurd/intern-fd.c: Likewise.
68956         * hurd/port2fd.c: Likewise.
68958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68960         [BZ #3906]
68961         * bits/in.h (IPV6_PKTINFO): Define new macro.
68962         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68964 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68966         [BZ #13954]
68967         [BZ #13955]
68968         [BZ #13956]
68969         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68970         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68971         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68972         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68973         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68974         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68975         * math/libm-test.inc (logb_test) : Additional logb tests.
68977 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68978             Andreas Jaeger  <aj@suse.de>
68980         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68981         * configure: Regenerated.
68982         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68983         * config.make.in (link-obsolete-rpc): New substituted variable.
68984         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68985         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68986         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68987         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68988         so that libc.a contains the symbols.
68989         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68990         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68991         * sunrpc/auth_none.c: Likewise.
68992         * sunrpc/auth_unix.c: Likewise.
68993         * sunrpc/authdes_prot.c: Likewise.
68994         * sunrpc/authuxprot.c: Likewise.
68995         * sunrpc/clnt_gen.c: Likewise.
68996         * sunrpc/clnt_perr.c: Likewise.
68997         * sunrpc/clnt_raw.c: Likewise.
68998         * sunrpc/clnt_simp.c: Likewise.
68999         * sunrpc/clnt_tcp.c: Likewise.
69000         * sunrpc/clnt_udp.c: Likewise.
69001         * sunrpc/clnt_unix.c: Likewise.
69002         * sunrpc/des_crypt.c: Likewise.
69003         * sunrpc/des_soft.c: Likewise.
69004         * sunrpc/get_myaddr.c: Likewise.
69005         * sunrpc/key_call.c: Likewise.
69006         * sunrpc/key_prot.c: Likewise.
69007         * sunrpc/netname.c: Likewise.
69008         * sunrpc/pm_getmaps.c: Likewise.
69009         * sunrpc/pm_getport.c: Likewise.
69010         * sunrpc/pmap_clnt.c: Likewise.
69011         * sunrpc/pmap_prot.c: Likewise.
69012         * sunrpc/pmap_prot2.c: Likewise.
69013         * sunrpc/pmap_rmt.c: Likewise.
69014         * sunrpc/publickey.c: Likewise.
69015         * sunrpc/rpc_cmsg.c: Likewise.
69016         * sunrpc/rpc_common.c: Likewise.
69017         * sunrpc/rpc_dtable.c: Likewise.
69018         * sunrpc/rpc_prot.c: Likewise.
69019         * sunrpc/rpc_thread.c: Likewise.
69020         * sunrpc/rtime.c: Likewise.
69021         * sunrpc/svc.c: Likewise.
69022         * sunrpc/svc_auth.c: Likewise.
69023         * sunrpc/svc_raw.c: Likewise.
69024         * sunrpc/svc_run.c: Likewise.
69025         * sunrpc/svc_tcp.c: Likewise.
69026         * sunrpc/svc_udp.c: Likewise.
69027         * sunrpc/svc_unix.c: Likewise.
69028         * sunrpc/svcauth_des.c: Likewise.
69029         * sunrpc/xcrypt.c: Likewise.
69030         * sunrpc/xdr.c: Likewise.
69031         * sunrpc/xdr_array.c: Likewise.
69032         * sunrpc/xdr_float.c: Likewise.
69033         * sunrpc/xdr_intXX_t.c: Likewise.
69034         * sunrpc/xdr_mem.c: Likewise.
69035         * sunrpc/xdr_rec.c: Likewise.
69036         * sunrpc/xdr_ref.c: Likewise.
69037         * sunrpc/xdr_sizeof.c: Likewise.
69038         * sunrpc/xdr_stdio.c: Likewise.
69040 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69042         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69043         change.  Update copyright years.
69045 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69047         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69049 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69050             Joseph Myers  <joseph@codesourcery.com>
69051             Paul Pluzhnikov  <ppluzhnikov@google.com>
69053         [BZ #14012]
69054         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69055         requiring rpcgen.
69056         [cross-compiling] (extra-libs): Likewise.
69057         [cross-compiling] (extra-libs-others): Likewise.
69058         [cross-compiling] (librpcsvc-routines): Likewise.
69059         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69060         [cross-compiling] (omit-deps): Likewise.
69061         (sunrpc-CPPFLAGS): New variable.
69062         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69063         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69064         (cross-rpcgen-objs): New variable.
69065         (extra-objs): Append $(cross-rpcgen-objs).
69066         ($(cross-rpcgen-objs)): New rule.
69067         ($(objpfx)cross-rpcgen): Likewise.
69068         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69069         comment.
69070         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69071         ($(objpfx)x%.stmp): Likewise.
69072         * sunrpc/proto.h [IS_IN_build] (_): Define.
69073         [IS_IN_build] (_libc_intl_domainname): Likewise.
69075 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69077         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69078         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69079         and R_X86_64_TPOFF64.
69081 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69083         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69084         sysdeps/unix/sysv/syscalls.list.
69085         (stime): Likewise.
69086         (utime): Likewise.
69087         * sysdeps/unix/sysv/syscalls.list: Remove file.
69089 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69091         [BZ #3440]
69092         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69093         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69094         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69095         (__LC_IDENTIFICATION): Make these macros useful in #if
69096         expressions, as required by C99.
69098 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69100         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69101         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69102         after this.
69104 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69106         * stdlib/longlong.h: Updated from GCC.
69108 2012-05-09  Andreas Jaeger  <aj@suse.de>
69110         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69111         default is first entry.
69112         (run_mode): Set type.
69113         (main): Remove informal message about syslog.
69114         (options): Fix typo.
69116         [BZ #14053]
69117         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69118         to asm.
69119         (lrint): Likewise.
69120         (llrintf): Likewise.
69121         (llrint): Likewise.
69122         (rint): Likewise.
69123         (rintf): Likewise.
69124         (nearbyint): Likewise.
69125         (nearbyintf): Likewise.
69127 2012-05-09  Andreas Jaeger  <aj@suse.de>
69128             Pedro Alves  <palves@redhat.com>
69130         * nscd/nscd.c (run_mode): Use enum.
69131         (main): Cleanup coding style issue.
69133 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
69134             Andreas Jaeger  <aj@suse.de>
69136         * nscd/nscd.c (go_background): Replaced with...
69137         (run_mode): ... this.
69138         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
69139         (options): Add -F --foreground.
69140         (main): Implement it.
69141         (parse_opt): Parse it.
69143 2012-05-09  Andreas Jaeger  <aj@suse.de>
69145         [BZ #14083]
69146         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
69147         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
69148         -Wconversion warning.
69149         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
69150         Likewise.
69152 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
69154         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
69155         == 0.
69156         (LC_ALL): Use macro-int-constant.
69157         (LC_COLLATE): Likewise.
69158         (LC_CTYPE): Likewise.
69159         (LC_MESSAGES): Likewise.
69160         (LC_MONETARY): Likewise.
69161         (LC_NUMERIC): Likewise.
69162         (LC_TIME): Likewise.
69163         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
69164         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69165         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69166         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
69167         Specify type.
69168         [C99-based standards] (float_t): Expect type.
69169         [C99-based standards] (double_t): Expect type.
69170         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
69171         type.
69172         [C99-based standards] (HUGE_VALL): Likewise.
69173         [C99-based standards] (INFINITY): Likewise.
69174         [C99-based standards] (NAN): Likewise.
69175         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69176         [C99-based standards] (FP_NAN): Likewise.
69177         [C99-based standards] (FP_NORMAL): Likewise.
69178         [C99-based standards] (FP_SUBNORMAL): Likewise.
69179         [C99-based standards] (FP_ZERO): Likewise.
69180         [C99-based standards] (FP_FAST_FMA): Use
69181         optional-macro-int-constant.  Specify type.  Require == 1.
69182         [C99-based standards] (FP_FAST_FMAF): Likewise.
69183         [C99-based standards] (FP_FAST_FMAL): Likewise.
69184         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
69185         [C99-based standards] (FP_ILOGBNAN): Likewise.
69186         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
69187         Specify type.
69188         [C99-based standards] (MATH_ERREXCEPT): Likewise.
69189         [C99-based standards] (math_errhandling): Specify type.
69190         [ISO99 || ISO11] (signgam): Do not allow.
69191         [non-C99-based standards] (copysignf): Do not allow.
69192         [non-C99-based standards] (exp2f): Likewise.
69193         [non-C99-based standards] (log2f): Likewise.
69194         [non-C99-based standards] (modff): Allow.
69195         [non-C99-based standards] (erff): Do not allow.
69196         [non-C99-based standards] (erfcf): Likewise.
69197         [non-C99-based standards] (gammaf): Likewise.
69198         [non-C99-based standards] (hypotf): Likewise.
69199         [non-C99-based standards] (j0f): Likewise.
69200         [non-C99-based standards] (j1f): Likewise.
69201         [non-C99-based standards] (jnf): Likewise.
69202         [non-C99-based standards] (lgammaf): Likewise.
69203         [non-C99-based standards] (tgammaf): Likewise.
69204         [non-C99-based standards] (y0f): Likewise.
69205         [non-C99-based standards] (y1f): Likewise.
69206         [non-C99-based standards] (ynf): Likewise.
69207         [non-C99-based standards] (isnanf): Likewise.
69208         [non-C99-based standards] (acoshf): Likewise.
69209         [non-C99-based standards] (asinhf): Likewise.
69210         [non-C99-based standards] (atanhf): Likewise.
69211         [non-C99-based standards] (cbrtf): Likewise.
69212         [non-C99-based standards] (expm1f): Likewise.
69213         [non-C99-based standards] (ilogbf): Likewise.
69214         [non-C99-based standards] (log1pf): Likewise.
69215         [non-C99-based standards] (logbf): Likewise.
69216         [non-C99-based standards] (nextafterf): Likewise.
69217         [non-C99-based standards] (remainderf): Likewise.
69218         [non-C99-based standards] (rintf): Likewise.
69219         [non-C99-based standards] (scalbf): Likewise.
69220         [non-C99-based standards] (copysignl): Likewise.
69221         [non-C99-based standards] (exp2l): Likewise.
69222         [non-C99-based standards] (log2l): Likewise.
69223         [non-C99-based standards] (modfl): Allow.
69224         [non-C99-based standards] (erfl): Do not allow.
69225         [non-C99-based standards] (erfcl): Likewise.
69226         [non-C99-based standards] (gammal): Likewise.
69227         [non-C99-based standards] (hypotl): Likewise.
69228         [non-C99-based standards] (j0l): Likewise.
69229         [non-C99-based standards] (j1l): Likewise.
69230         [non-C99-based standards] (jnl): Likewise.
69231         [non-C99-based standards] (lgammal): Likewise.
69232         [non-C99-based standards] (tgammal): Likewise.
69233         [non-C99-based standards] (y0l): Likewise.
69234         [non-C99-based standards] (y1l): Likewise.
69235         [non-C99-based standards] (ynl): Likewise.
69236         [non-C99-based standards] (isnanl): Likewise.
69237         [non-C99-based standards] (acoshl): Likewise.
69238         [non-C99-based standards] (asinhl): Likewise.
69239         [non-C99-based standards] (atanhl): Likewise.
69240         [non-C99-based standards] (cbrtl): Likewise.
69241         [non-C99-based standards] (expm1l): Likewise.
69242         [non-C99-based standards] (ilogbl): Likewise.
69243         [non-C99-based standards] (log1pl): Likewise.
69244         [non-C99-based standards] (logbl): Likewise.
69245         [non-C99-based standards] (nextafterl): Likewise.
69246         [non-C99-based standards] (remainderl): Likewise.
69247         [non-C99-based standards] (rintl): Likewise.
69248         [non-C99-based standards] (scalbl): Likewise.
69249         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69250         [non-C99-based standards] (FP_*): Do not allow.
69251         [C99-based standards] (FP_*): Change to
69252         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69253         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69254         allow.
69255         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
69256         (SIG_ERR): Likewise.
69257         [X/Open-based standards] (SIG_HOLD): Likewise.
69258         (SIG_IGN): Likewise.
69259         (SIGABRT): Use macro-int-constant.  Specify type.  Require
69260         positive value.
69261         (SIGFPE): Likewise.
69262         (SIGILL): Likewise.
69263         (SIGINT): Likewise.
69264         (SIGSEGV): Likewise.
69265         (SIGTER): Likewise.
69266         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
69267         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
69268         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
69269         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
69270         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
69271         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
69272         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
69273         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
69274         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
69275         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
69276         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
69277         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
69278         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
69279         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
69280         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
69281         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
69282         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
69283         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
69284         [X/Open-based standards] (SIGTRAP): Likewise.
69285         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
69286         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
69287         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
69288         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
69289         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69290         allow.
69292 2012-05-08  Ian Wienand  <ianw@vmware.com>
69294         [BZ #14080]
69295         * time/tzset.c (__tzset_parse_tz): Update default rules for
69296         daylight time changes in the Energy Policy Act of 2005.
69298 2012-05-09  Andreas Jaeger  <aj@suse.de>
69300         [BZ #13983]
69301         * elf/ldconfig.c (parse_conf): Change string to make clear that
69302         ldconfig only issued a warning if ld.so.conf does not exist.
69304 2012-05-08  David S. Miller  <davem@davemloft.net>
69306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
69307         movxtod instead of popping the value on the stack.
69309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69311 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
69313         * config.h.in: Add HAVE_ARM_PCS_VFP.
69315 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69317         [BZ #13979]
69318         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69319         checking but the checks are disabled for any reason.
69321 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69323         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69324         and ELF64_R_TYPE with ELFW(R_TYPE).
69326 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69328         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69329         (ulimit): Likewise.
69331         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69332         (settimeofday): Likewise.
69334 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
69336         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
69337         a struct th_u2 inside the union, and move tu_block/tu_code into
69338         a new th_u3 union of tu_block/tu_code inside of that.  Move
69339         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
69340         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
69341         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69342         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69343         (th_stuff): Change to th_u1.tu_stuff.
69344         (th_data): Define.
69345         (th_msg): Change to th_u1.th_u2.tu_data.
69347 2012-05-07  David S. Miller  <davem@davemloft.net>
69349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69351         [BZ #14074]
69352         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69353         (SETUP_PIC_REG): Use it.
69354         (SETUP_PIC_REG_LEAF): Use it.
69356 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
69358         [BZ #13885]
69359         [BZ #13923]
69360         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69361         USE_AS_EXPM1L.
69362         (EXPL_FINITE): Likewise.
69363         (FLDLOG): Likewise.
69364         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69365         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69366         e_expl.S.
69367         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69368         USE_AS_EXPM1L.
69369         (EXPL_FINITE): Likewise.
69370         (FLDLOG): Likewise.
69371         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69372         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69373         e_expl.S.
69374         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
69375         test of -max_value argument for long double.
69376         * sysdeps/i386/fpu/libm-test-ulps: Update.
69377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69379 2012-05-06  David S. Miller  <davem@davemloft.net>
69381         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69382         quad soft-float symbols whose references which are compiler
69383         generated.
69384         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69386 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
69388         [BZ #13884]
69389         [BZ #13914]
69390         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69391         USE_AS_EXP10L.
69392         (EXPL_FINITE): Likewise.
69393         (FLDLOG): Likewise.
69394         (c0): Likewise.
69395         (c1): Likewise.
69396         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69397         Adjust comments for base varying.
69398         (__expl_finite): Change alias to EXPL_FINITE.
69399         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69400         e_expl.S.
69401         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69402         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69403         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69404         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69405         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69406         USE_AS_EXP10L.
69407         (EXPL_FINITE): Likewise.
69408         (FLDLOG): Likewise.
69409         (c0): Likewise.
69410         (c1): Likewise.
69411         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69412         Adjust comments for base varying.
69413         (__expl_finite): Change alias to EXPL_FINITE.
69414         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
69415         tests for bugs.
69416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69418         [BZ #14064]
69419         * math/libm-test.inc (check_float_internal): Correct ulp
69420         calculation for subnormal expected results.
69422 2012-05-06  Andreas Jaeger  <aj@suse.de>
69424         * Makeconfig (+math-flags): New, set to -frounding-math.
69425         (+cflags): Add +math-flags so that all of glibc gets compiled with
69426         it.
69428         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
69430 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
69432         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
69433         Disable one test.
69435         [BZ #13787]
69436         [BZ #13922]
69437         [BZ #14036]
69438         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
69439         (__ieee754_expl): Allow for and saturate large arguments.
69440         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
69441         (u_threshold): Likewise.
69442         (__exp): Call __ieee754_exp before checking for overflow and
69443         underflow.
69444         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
69445         (u_threshold): Likewise.
69446         (__expf): Call __ieee754_expf before checking for overflow and
69447         underflow.
69448         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
69449         (u_threshold): Likewise.
69450         (__expl): Call __ieee754_expl before checking for overflow and
69451         underflow.
69452         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
69453         (__ieee754_expl): Allow for and saturate large arguments.
69454         * math/libm-test.inc (exp_test): Add another test.  Do not allow
69455         missing overflow exception on overflow.
69456         (expm1_test): Do not allow missing overflow exception on overflow.
69458         * sysdeps/i386/fpu/e_expl.c: Move to ...
69459         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
69460         rather than using inline asm.
69461         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
69462         * sysdeps/x86_64/fpu/e_expl.S: Copy from
69463         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
69465         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
69466         (nice): Likewise.
69467         (poll): Likewise.
69468         (signal): Likewise.
69469         (time): Likewise.
69470         (times): Likewise.
69472 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69474         * sysdeps/unix/syscalls.list (adjtime): Add entry from
69475         sysdeps/unix/common/syscalls.list.
69476         (fchmod): Likewise.
69477         (fchown): Likewise.
69478         (ftruncate): Likewise.
69479         (getrusage): Likewise.
69480         (gettimeofday): Likewise.
69481         (setpgid): Likewise.
69482         (setregid): Likewise.
69483         (setreuid): Likewise.
69484         (sigaction): Likewise.
69485         (truncate): Likewise.
69486         (vhangup): Likewise.
69487         * sysdeps/unix/common/syscalls.list: Remove file.
69488         * sysdeps/unix/bsd/Implies: Don't include unix/common.
69489         * sysdeps/unix/sysv/linux/Implies: Likewise.
69491 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
69493         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
69494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
69495         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
69496         Moved to ...
69497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
69498         Here.
69499         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
69500         to ...
69501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
69502         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
69503         to ...
69504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
69505         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
69506         to ...
69507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
69508         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
69509         to ...
69510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
69511         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
69512         to ...
69513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
69514         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
69515         to ...
69516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
69517         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
69518         to ...
69519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
69520         Here.
69521         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
69522         to ...
69523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
69524         Here.
69525         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
69526         to ...
69527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
69528         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
69529         Moved to ...
69530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
69531         Here.
69532         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
69533         to ...
69534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
69536 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69538         * sysdeps/unix/common/bits/dirent.h: Remove file.
69539         * sysdeps/unix/common/bits/fcntl.h: Likewise.
69541         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
69542         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
69543         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
69544         * sysdeps/unix/bsd/isatty.c: Likewise.
69545         * sysdeps/unix/bsd/tcdrain.c: Likewise.
69546         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
69547         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
69549 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69551         [BZ #13563]
69552         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
69553         long double comparison inaccuracies.
69554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
69555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69557 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
69559         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
69560         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
69562 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69564         [BZ #14049]
69565         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
69566         nonzero digits before rounding a hex value.
69567         * stdlib/tst-strtod.c (tests): Add another test.
69569 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69571         * sysdeps/s390/fpu/libm-test-ulps: Update.
69573 2012-05-03  Andreas Jaeger  <aj@suse.de>
69575         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
69576         does not get optimized out.
69577         (malloc_opt_barrier): New.
69579 2012-05-03  Andreas Jaeger  <aj@suse.de>
69580             Roland McGrath  <roland@hack.frob.com>
69582         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
69583         intermediate file deletion.
69584         (generated): Add .symlist files.
69586 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
69588         [BZ #13775]
69589         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
69590         Redirect under this condition.
69591         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69592         [__USE_GNU] (__dprintf_chk): Not under this condition.
69593         [__USE_GNU] (__vdprintf_chk): Likewise.
69594         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
69595         under this condition.
69596         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69597         [__USE_XOPEN2K8] (dprintf): Define under this condition.
69598         [__USE_XOPEN2K8] (vdprintf): Likewise.
69599         [__USE_GNU] (__dprintf_chk): Not under this condition.
69600         [__USE_GNU] (__vdprintf_chk): Likewise.
69601         [__USE_GNU] (dprintf): Likewise.
69602         [__USE_GNU] (vdprintf): Likewise.
69604 2012-05-03  Roland McGrath  <roland@hack.frob.com>
69606         * elf/Makefile (common-generated): Set this instead of generated for
69607         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
69608         $(all-built-dso)-derived lists.
69610 2012-05-03  Andreas Jaeger  <aj@suse.de>
69612         * sysdeps/i386/fpu/libm-test-ulps: Update.
69614         * FAQ: Removed.
69615         * FAQ.in: Likewise.
69616         * scripts/gen-FAQ.pl: Likewise.
69617         * manual/install.texi (Installation): Point to online location of
69618         FAQ.
69619         * Makefile (files-for-dist): Remove FAQ.
69620         (FAQ): Remove.
69622 2012-05-02  Allan McRae  <allan@archlinux.org>
69624         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
69625         (LDFLAGS-reldepmod5.so): Likewise.
69626         (LDFLAGS-reldep6mod1.so): Likewise.
69627         (LDFLAGS-reldep6mod4.so): Likewise.
69628         (LDFLAGS-reldep8mod3.so): Likewise.
69629         (LDFLAGS-unload4mod1.so): Likewise.
69630         (LDFLAGS-unload4mod2.so): Likewise.
69631         (LDFLAGS-tst-initorder): Likewise.
69632         (LDFLAGS-tst-initordera2.so): Likewise.
69633         (LDFLAGS-tst-initordera3.so): Likewise.
69634         (LDFLAGS-tst-initordera4.so): Likewise.
69635         (LDFLAGS-tst-initorderb2.so): Likewise.
69636         (LDFLAGS-noload): Likewise.
69637         (LDFLAGS-next): Likewise.
69638         (LDFLAGS-order2mod1.so): Likewise.
69639         (LDFLAGS-order2mod2.so): Likewise.
69640         (LDFLAGS-tst-initorder2): Likewise.
69641         (LDFLAGS-tst-initorder2a.so): Likewise.
69642         (LDFLAGS-tst-initorder2b.so): Likewise.
69643         (LDFLAGS-tst-initorder2c.so): Likewise.
69644         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
69646 2012-05-02  David S. Miller  <davem@davemloft.net>
69648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69650 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
69652         [BZ #14055]
69653         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
69655 2012-05-02  Andreas Jaeger  <aj@suse.de>
69657         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
69658         since we manipulate rounding mode.
69659         (CPPFLAGS-test-idouble.c): Likewise.
69660         (CPPFLAGS-test-ifloat.c): Likewise.
69661         (CFLAGS-test-ldouble.c): Likewise.
69662         (CFLAGS-test-double.c): Likewise.
69663         (CFLAGS-test-float.c): Likewise.
69664         (CFLAGS-test-misc.c): Likewise.
69665         (CFLAGS-test-test-fenv.c): Likewise.
69667 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69669         [BZ #2550]
69670         [BZ #2570]
69671         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
69672         comparisons to determine direction to adjust input.
69674 2012-05-01  Roland McGrath  <roland@hack.frob.com>
69676         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
69677         output to the target.
69679         * scripts/localplt.awk: New file.
69680         * elf/Makefile ($(objpfx)check-localplt): Target removed.
69681         (check-localplt-CFLAGS): Variable removed.
69682         ($(all-built-dso:=.jmprel)): New static pattern rule.
69683         (generated): Add those targets.
69684         (localplt-built-dso): New variable.
69685         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
69687         * elf/check-localplt.c: File removed.
69689         * scripts/check-execstack.awk: New file.
69690         * elf/Makefile ($(objpfx)check-execstack): Target removed.
69691         (check-execstack-CFLAGS): Variable removed.
69692         ($(objpfx)check-execstack.h): Target removed.
69693         ($(objpfx)execstack-default): New target.
69694         (generated): Add that instead of check-execstack.h.
69695         ($(all-built-dso:=.phdr)): New static pattern rule.
69696         (generated): Add those targets.
69697         * elf/check-execstack.c: File removed.
69699         * scripts/check-textrel.awk: New file.
69700         * elf/Makefile ($(objpfx)check-textrel): Target removed.
69701         (check-textrel-CFLAGS): Variable removed.
69702         (all-built-dso): Use := to define.o
69703         ($(all-built-dso:=.dyn)): New static pattern rule.
69704         (generated): Add those targets.
69705         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
69706         * config.make.in (READELF): New substituted variable.
69707         * elf/check-textrel.c: File removed.
69709 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69711         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69712         allow.
69713         * conform/data/ctype.h-data [C99-based standards] (isblank):
69714         Expect function.
69715         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
69716         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
69717         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69718         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
69719         Specify type.  Require positive value.
69720         (EILSEQ): Likewise.
69721         (ERANGE): Likewise.
69722         [ISO || POSIX] (EILSEQ): Do not expect.
69723         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
69724         Specify type.  Require positive value.
69725         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
69726         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
69727         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
69728         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
69729         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
69730         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
69731         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
69732         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
69733         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
69734         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
69735         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
69736         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
69737         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
69738         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
69739         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
69740         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
69741         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
69742         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
69743         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
69744         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
69745         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
69746         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
69747         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
69748         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
69749         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
69750         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
69751         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
69752         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
69753         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
69754         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
69755         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
69756         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
69757         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
69758         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
69759         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
69760         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
69761         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
69762         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
69763         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
69764         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
69765         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
69766         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
69767         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
69768         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
69769         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
69770         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
69771         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
69772         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
69773         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
69774         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
69775         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
69776         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69777         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
69778         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
69779         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69780         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69781         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69782         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69783         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69784         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69785         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69786         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69787         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69788         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69789         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69790         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69791         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69792         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69793         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69794         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69795         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69796         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69797         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69798         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69799         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69800         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69801         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69802         Require >= 2.
69803         (FLT_ROUNDS): Expect as macro, not constant.
69804         (FLT_MANT_DIG): Use macro-int-constant.
69805         (DBL_MANT_DIG): Likewise.
69806         (LDBL_MANT_DIG): Likewise.
69807         (FLT_DIG): Likewise.
69808         (DBL_DIG): Likewise.
69809         (LDBL_DIG): Likewise.
69810         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69811         (DBL_MIN_EXP): Likewise.
69812         (LDBL_MIN_EXP): Likewise.
69813         (FLT_MAX_EXP): Use macro-int-constant.
69814         (DBL_MAX_EXP): Likewise.
69815         (LDBL_MAX_EXP): Likewise.
69816         (FLT_MAX_10_EXP): Likewise.
69817         (DBL_MAX_10_EXP): Likewise.
69818         (LDBL_MAX_10_EXP): Likewise.
69819         (FLT_MAX): Use macro-constant.
69820         (DBL_MAX): Likewise.
69821         (LDBL_MAX): Likewise.
69822         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69823         (DBL_EPSILON): Likewise.
69824         (LDBL_EPSILON): Likewise.
69825         (FLT_MIN): Likewise.
69826         (DBL_MIN): Likewise.
69827         (LDBL_MIN): Likewise.
69828         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69829         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69830         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69831         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69832         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69833         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69834         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69835         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69836         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69837         [ISO11] (FLT_TRUE_MIN): Likewise.
69838         [ISO11] (LDBL_TRUE_MIN): Likewise.
69839         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69840         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69841         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69842         (SCHAR_MAX): Likewise.
69843         (UCHAR_MAX): Likewise.
69844         (CHAR_MIN): Likewise.
69845         (CHAR_MAX): Likewise.
69846         (MB_LEN_MAX): Use macro-int-constant.
69847         (SHRT_MIN): Use macro-int-constant.  Specify type.
69848         (SHRT_MAX): Likewise.
69849         (USHRT_MAX): Likewise.
69850         (INT_MAX): Likewise.
69851         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69852         bound negative.
69853         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69854         bound with "U".
69855         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69856         bound with "L".
69857         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69858         bound negative.  Suffix upper bound with "L".
69859         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69860         bound with "UL".
69861         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69862         Specify type.
69863         [C99-based standards] (LLONG_MAX): Likewise.
69864         [C99-based standards] (ULLONG_MAX): Likewise.
69865         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69866         == 0.
69867         [ISO11] (max_align_t): Require type.
69868         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69870         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69871         from $CFLAGS, without defining away __attribute__ calls.
69872         (checknamespace): Use $CFLAGS_namespace.
69874         * conform/conformtest.pl (@keywords): Only include C99 keywords
69875         for standards based on C99 or C11.
69877         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69878         Disable tests.
69879         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69880         UNIX98]: Likewise.
69882         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69883         usability of symbols in #if.
69885         * conform/conformtest.pl: If macro or constant types start
69886         "promoted:", expect the symbol to be of the following type
69887         promoted by the integer promotions.
69889         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69890         in one place.  Also handle "macro-constant".
69892         * conform/conformtest.pl: Only accept expected macro values with
69893         "==".  Parse all "macro" lines in one place.
69894         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69896         * conform/conformtest.pl: Handle braced types on "constant" lines
69897         instead of handling "typed-constant".
69898         * conform/data/signal.h-data: Use "constant" instead of
69899         "typed-constant".
69901         * conform/conformtest.pl: Handle "optional-" at start of lines in
69902         one place rather than duplicating several cases.  Handle each
69903         format of "macro" line with initial "optional-".
69905         * conform/conformtest.pl: Only accept expected constant or
69906         optional-constant values with "==".  Parse all "constant" lines in
69907         one place.  Parse all "optional-constant" lines in one place.
69908         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69909         * conform/data/fmtmsg.h-data: Likewise.
69910         * conform/data/netinet/in.h-data: Likewise.
69911         * conform/data/tar.h-data: Likewise.
69912         * conform/data/limits.h-data: Use "==" form on "constant" and
69913         "optional-constant" lines.
69915         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69916         Use -std=c99 for XOPEN2K.
69917         (@knownproblems): Remove.
69918         (newtoken): Don't check %isknown.
69920         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69921         Do not expect macro.
69922         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69923         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69924         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69925         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69926         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69927         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69928         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69929         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69930         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69931         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69932         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69933         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69934         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69935         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69936         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69937         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69938         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69939         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69940         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69941         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69942         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69943         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69944         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69945         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69946         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69947         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69948         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69949         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69950         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69951         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69952         [XPG3] (acosh): Likewise.
69953         [XPG3] (asinh): Likewise.
69954         [XPG3] (atanh): Likewise.
69955         [XPG3] (cbrt): Likewise.
69956         [XPG3] (expm1): Likewise.
69957         [XPG3] (ilogb): Likewise.
69958         [XPG3] (log1p): Likewise.
69959         [XPG3] (logb): Likewise.
69960         [XPG3] (nextafter): Likewise.
69961         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69962         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69963         [XPG3] (remainder): Likewise.
69964         [XPG3] (rint): Likewise.
69965         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69966         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69967         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69968         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69969         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69970         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69971         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69972         [UNIX98 || XOPEN2K] (scalb): Expect.
69973         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69974         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69975         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69976         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69977         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69978         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69979         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69980         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69981         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69982         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69983         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69984         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69985         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69986         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69987         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69988         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69989         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69990         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69991         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69992         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69993         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69994         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
69995         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
69996         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
69997         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
69998         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
69999         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70000         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70001         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70002         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70003         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70004         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70005         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70006         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70007         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70008         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70009         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70010         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70011         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70012         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70013         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70014         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70015         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70016         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70017         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70018         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70019         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70020         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70021         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70022         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70023         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70024         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70025         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70026         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70027         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70028         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70029         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70030         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70031         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70032         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70033         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70034         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70035         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70036         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70037         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70038         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70039         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70040         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70041         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70042         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70043         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70044         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70045         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70046         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70047         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70048         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70049         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70050         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70051         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70052         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70053         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70054         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70055         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70056         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70057         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70058         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70059         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70060         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70061         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70062         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70063         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70064         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70065         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70066         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70067         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70068         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70069         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70070         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70071         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70072         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70073         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70074         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70075         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70076         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70077         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70078         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70079         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70080         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70081         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70082         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70083         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70084         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70085         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70086         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70087         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70088         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70089         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70090         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70091         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70092         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70093         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70094         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70095         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70096         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70097         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70098         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70099         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70100         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70101         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70102         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70103         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70104         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70105         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70106         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70107         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70108         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70109         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70111         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70112         _XOPEN_SOURCE_EXTENDED for XPG4.
70114         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70116         * Makeconfig (localtime): Remove variable.
70117         (inst_localtime-file): Likewise.
70119 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70122         Update.
70123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70124         Update.
70125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70126         Update.
70127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70128         Update.
70129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
70130         Update.
70131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
70132         Update.
70133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70134         Update.
70135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
70136         Update.
70137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70138         Update.
70140 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70142         [BZ #2550]
70143         [BZ #2570]
70144         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
70145         comparisons to determine direction to adjust input.
70146         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
70147         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
70148         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
70149         Likewise.
70150         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
70151         Likewise.
70152         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
70153         Likewise.
70154         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
70155         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
70156         Likewise.
70157         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
70158         Likewise.
70159         * math/libm-test.inc (nexttoward_test): Add more tests.
70161 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70163         [BZ #14040]
70164         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
70165         in version GLIBC_2.1, not GLIBC_2.0.
70166         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
70167         Likewise.
70169 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
70171         [BZ #13942]
70172         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
70173         (1 - x) * (1 + x).
70174         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70175         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
70176         * math/libm-test.inc (acos_test): Add more tests.
70177         (asin_test): Likewise.
70178         * sysdeps/i386/fpu/libm-test-ulps: Update.
70179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70181         [BZ #14034]
70182         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
70183         of square root.
70184         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
70185         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70186         * math/libm-test.inc (acos_test_tonearest): New function.
70187         (acos_test_towardzero): Likewise.
70188         (acos_test_downward): Likewise.
70189         (acos_test_upward): Likewise.
70190         (asin_test_tonearest): Likewise.
70191         (asin_test_towardzero): Likewise.
70192         (asin_test_downward): Likewise.
70193         (asin_test_upward): Likewise.
70194         (main): Call the new functions.
70195         * sysdeps/i386/fpu/libm-test-ulps: Update.
70196         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70198         [BZ #13884]
70199         [BZ #13924]
70200         * math/e_exp10.c: Include <float.h>.
70201         (__ieee754_exp10): Handle underflow here rather than multiplying
70202         large negative argument by M_LN10.
70203         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
70204         of __ieee754_expf.
70205         * math/e_exp10l.c: Include <float.h>.
70206         (__ieee754_exp10l): Handle underflow here rather than multiplying
70207         large negative argument by M_LN10l.
70208         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70209         spurious overflow exception on underflow.
70211 2012-04-29  Marek Polacek  <polacek@redhat.com>
70213         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
70214         (__fortify_function): New macro.
70215         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
70216         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
70217         __extern_always_inline.
70218         * libio/bits/stdio2.h: Likewise.
70219         * libio/bits/stdio.h: Likewise.
70220         * string/string.h: Likewise.
70221         * string/bits/string3.h: Likewise.
70222         * include/stdio.h: Likewise.
70223         * stdlib/bits/stdlib.h: Likewise.
70224         * stdlib/stdlib.h: Likewise.
70225         * rt/bits/mqueue2.h: Likewise.
70226         * rt/mqueue.h: Likewise.
70227         * posix/bits/unistd.h: Likewise.
70228         * posix/unistd.h: Likewise.
70229         * io/bits/poll2.h: Likewise.
70230         * io/bits/fcntl2.h: Likewise.
70231         * io/fcntl.h: Likewise.
70232         * io/sys/poll.h: Likewise.
70233         * misc/bits/syslog.h: Likewise.
70234         * misc/bits/syslog-ldbl.h: Likewise.
70235         * misc/sys/syslog.h: Likewise.
70236         * socket/bits/socket2.h: Likewise.
70237         * socket/sys/socket.h: Likewise.
70238         * debug/tst-chk1.c: Likewise.
70239         * wcsmbs/bits/wchar2.h: Likewise.
70240         * wcsmbs/bits/wchar-ldbl.h: Likewise.
70241         * wcsmbs/wchar.h: Likewise.
70243 2012-04-29  Andreas Jaeger  <aj@suse.de>
70245         * Makerules (tests): Remove enable-check-abi protection.
70246         (check-abi-warn): Remove.
70247         (check-abi-%): Remove check-abi-warn usage.
70249         * configure.in: Remove check-abi configure option.
70250         * configure: Regenerated.
70251         * config.make.in (enable-check-abi): Remove.
70253 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
70255         [BZ #14033]
70256         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
70257         double functions to double *_finite functions.
70259         [BZ #13941]
70260         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
70261         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
70262         LDBL_MIN_EXP.
70263         * stdio-common/Makefile (tests): Add tst-sprintf3.
70264         * stdio-common/tst-sprintf3.c: New file.
70266         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
70267         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
70269 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70271         * conform/conformtest.pl: Remove duplicate typed-constant
70272         handling.
70274 2012-04-28  David S. Miller  <davem@davemloft.net>
70276         * Makerules (%.abilist): Add vpath on sysdep_dirs.
70277         (check-abi-%): Remove AWK script prerequisite and explicit
70278         abilist directory.
70279         (check-abi): Rewrite to just diff the symlist with the abilist.
70280         (config-tls, config-abi-config): Delete, no longer used.
70281         (update-abi-%): Remove AWK script and explicit abilist directory.
70282         (update-abi): Rewrite to simply compare and conditionally copy the
70283         symlist and the sysdep abilist file.  Remove update-abi-config
70284         checks.
70285         * abilist/ld.abilist: Remove.
70286         * abilist/libBrokenLocale.abilist: Remove.
70287         * abilist/libanl.abilist: Remove.
70288         * abilist/libcrypt.abilist: Remove.
70289         * abilist/libdl.abilist: Remove.
70290         * abilist/librt.abilist: Remove.
70291         * abilist/libthread_db.abilist: Remove.
70292         * abilist/libutil.abilist: Remove.
70293         * scripts/extract-abilist.awk: Remove.
70294         * scripts/merge-abilist.awk: Remove.
70295         * sysdeps/generic/libcidn.abilist: New file.
70296         * sysdeps/generic/libnss_compat.abilist: New file.
70297         * sysdeps/generic/libnss_db.abilist: New file.
70298         * sysdeps/generic/libnss_dns.abilist: New file.
70299         * sysdeps/generic/libnss_files.abilist: New file.
70300         * sysdeps/generic/libnss_hesiod.abilist: New file.
70301         * sysdeps/generic/libnss_nis.abilist: New file.
70302         * sysdeps/generic/libnss_nisplus.abilist: New file.
70303         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
70304         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
70305         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
70306         file.
70307         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
70308         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70309         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70310         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70311         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70312         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70313         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70314         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70315         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70316         file.
70317         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70318         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70319         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70320         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70321         file.
70322         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70323         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70324         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70325         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70326         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70327         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70328         file.
70329         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70330         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70331         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70332         file.
70333         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70334         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70335         New file.
70336         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70337         New file.
70338         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70339         New file.
70340         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70341         New file.
70342         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70343         New file.
70344         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70345         New file.
70346         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70347         New file.
70348         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70349         New file.
70350         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70351         New file.
70352         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70353         New file.
70354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70355         New file.
70356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70357         New file.
70358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70359         New file.
70360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70361         file.
70362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70363         New file.
70364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70365         New file.
70366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70367         file.
70368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70369         New file.
70370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70371         New file.
70372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70373         file.
70374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70375         New file.
70376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70377         New file.
70378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70379         New file.
70380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70381         New file.
70382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70383         New file.
70384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70385         New file.
70386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70388         file.
70389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70390         New file.
70391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70392         file.
70393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70394         file.
70395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70396         file.
70397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70398         file.
70399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70400         file.
70401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70402         New file.
70403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70404         file.
70405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70406         file.
70407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70408         New file.
70409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70410         file.
70411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70413         file.
70414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
70415         New file.
70416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
70417         file.
70418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
70419         file.
70420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
70421         file.
70422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
70423         file.
70424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
70425         file.
70426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70427         New file.
70428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
70429         file.
70430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
70431         file.
70432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
70433         New file.
70434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
70435         file.
70436         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70437         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
70438         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
70439         file.
70440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
70441         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
70442         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
70443         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
70444         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
70445         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
70446         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
70447         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
70448         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
70449         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
70450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
70451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
70452         file.
70453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
70454         New file.
70455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
70456         file.
70457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
70458         file.
70459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
70460         file.
70461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
70462         file.
70463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
70464         file.
70465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
70466         New file.
70467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
70468         New file.
70469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
70470         file.
70471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
70472         New file.
70473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
70474         file.
70475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
70476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
70477         file.
70478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
70479         New file.
70480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
70481         file.
70482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
70483         file.
70484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
70485         file.
70486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
70487         file.
70488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
70489         file.
70490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
70491         New file.
70492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
70493         New file.
70494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
70495         file.
70496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
70497         New file.
70498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
70499         file.
70501 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70503         * conform/conformtest.pl: Fix typo in handling typed-constant from
70504         allow-header.
70506 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70508         * README: Cut down references to pre-2.6 Linux kernels and
70509         Linuxthreads.  Update lists of configurations in libc and ports
70510         and sort alphabetically.  Say "or newer" with Linux kernel version
70511         requirements.
70513         * config.h.in [IS_IN_build]: Allow compiling without optimization.
70515 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70517         [BZ #887]
70518         * math/libm-test.inc (logb_test_downward): New test to expose
70519         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
70520         rounding mode.
70522 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70524         [BZ #14027]
70525         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
70526         to be done.
70527         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
70528         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
70530 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
70532         * sysdeps/unix/i386/brk.S: Remove file.
70533         * sysdeps/unix/i386/dl-brk.S: Likewise.
70534         * sysdeps/unix/i386/pipe.S: Likewise.
70535         * sysdeps/unix/i386/sigreturn.S: Likewise.
70536         * sysdeps/unix/i386/syscall.S: Likewise.
70537         * sysdeps/unix/i386/vfork.S: Likewise.
70538         * sysdeps/unix/i386/wait.S: Likewise.
70540         * sysdeps/unix/common/tcsendbrk.c: Move to ...
70541         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
70543         * configure.in (arm*-none*): Do not allow without
70544         --enable-hacker-mode.
70545         (netbsd*): Remove case setting base_os.
70546         (386bsd*): Likewise.
70547         (freebsd*): Likewise.
70548         (bsdi*): Likewise.
70549         (osf*): Likewise.
70550         (sunos*): Likewise.
70551         (ultrix*): Likewise.
70552         (newsos*): Likewise.
70553         (dynix*): Likewise.
70554         (*bsd*): Likewise.
70555         (sysv*): Likewise.
70556         (isc*): Likewise.
70557         (esix*): Likewise.
70558         (sco*): Likewise.
70559         (minix*): Likewise.
70560         (irix4*): Likewise.
70561         (irix6*): Likewise.
70562         (solaris[2-9]*): Likewise.
70563         (none): Likewise.
70564         * configure: Regenerated.
70566 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70568         [BZ #11521]
70569         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
70570         overflow or cancellation in calculating denominator.
70571         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
70572         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
70573         down expression to avoid unexpected rounding in newer GCCs.
70574         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
70576 2012-04-26  David S. Miller  <davem@davemloft.net>
70578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
70579         long-double compat symbols.
70580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
70584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
70586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
70587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
70588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
70589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
70590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
70591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
70592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70594 2012-04-25  David S. Miller  <davem@davemloft.net>
70596         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
70597         HWCAP_* values only after the memory barriers have been defined.
70598         (atomic_full_barrier): Define.
70599         (atomic_read_barrier): Define.
70600         (atomic_write_barrier): Define.
70602 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70604         * shlib-versions: Add libgcc_s version information.
70605         * sysdeps/generic/libgcc_s.h: Remove.
70606         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
70607         libgcc_s.h.
70608         * sysdeps/gnu/unwind-resume.c: Likewise.
70609         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
70611 2012-04-25  David S. Miller  <davem@davemloft.net>
70613         * sysdeps/unix/sparc/brk.S: Delete.
70614         * sysdeps/unix/sparc/dl-brk.S: Delete.
70615         * sysdeps/unix/sparc/pipe.S: Delete.
70616         * sysdeps/unix/sparc/sysdep.S: Delete.
70617         * sysdeps/unix/sparc/sysdep.h: Delete.
70618         * sysdeps/unix/sparc/vfork.S: Delete.
70619         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
70620         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
70621         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
70622         (ret_ERRVAL, r0, r1, MOVE): Define.
70623         (JUMPTARGET): Remove.
70624         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
70625         sysdeps/unix/sparc/sysdep.h
70626         (ENTRY, END): Remove.
70627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70629 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
70631         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
70632         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
70633         -DIS_IN_build.
70635         * timezone/README: Update upstream location and email address for
70636         tzcode and tzdata.
70637         * timezone/zdump.c: Update from tzcode 2012b.
70638         * timezone/zic.c: Likewise.
70640         * configure.in (libc_cv_as_needed): Remove test.
70641         * configure: Regenerated.
70642         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
70643         conditional definition.
70644         [$(have-as-needed) != yes] (no-as-needed): Likewise.
70645         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
70646         * config.make.in (have-as-needed): Remove variable.
70648 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70649             Paul Pluzhnikov  <ppluzhnikov@google.com>
70651         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
70652         strings correctly.
70654 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
70656         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
70657         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
70658         * sysdeps/sh/strlen.S: Likewise.
70660 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70662         * sysdeps/unix/fork.S: Remove file.
70663         * sysdeps/unix/i386/fork.S: Likewise.
70664         * sysdeps/unix/sparc/fork.S: Likewise.
70666         * sysdeps/unix/system.c: Remove file.
70667         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
70669         * sysdeps/unix/getegid.S: Remove file.
70670         * sysdeps/unix/geteuid.S: Likewise.
70672 2012-04-24  Roland McGrath  <roland@hack.frob.com>
70674         * scripts/check-localplt.awk: New file.
70675         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
70676         of diff.
70677         * scripts/data/localplt-generic.data: Add a comment.
70679         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
70680         NODE when __dir_mkfile failed.
70681         * sysdeps/mach/hurd/symlinkat.c: Likewise.
70682         Reported by Ludovic Courtès <ludo@gnu.org>.
70684 2012-04-24  Andreas Jaeger  <aj@suse.de>
70686         * Makerules (common-clean): Also remove gen-as-const-headers
70687         files.
70689 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70691         * Makerules (native-compile): Do not change working directory for
70692         build.  Use $(OUTPUT_OPTION) in command.
70693         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
70695 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70697         [BZ #13886]
70698         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
70699         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
70700         * math/libm-test.inc (floor_test): Add more tests.
70701         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
70703 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70705         * sysdeps/unix/getdents.c: Remove file.
70706         * sysdeps/unix/sysv/getdents.c: Likewise.
70707         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
70709         * sysdeps/unix/syscalls.list (madvise): Add syscall from
70710         sysdeps/unix/mman/syscalls.list.
70711         (mmap): Likewise.
70712         (mprotect): Likewise.
70713         (msync): Likewise.
70714         (munmap): Likewise.
70715         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
70716         * sysdeps/unix/mman/syscalls.list: Remove.
70717         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
70719         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
70720         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
70721         * configure: Regenerated.
70722         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
70723         $(libgcc_s_suffix).
70724         * config.make.in (libgcc_s_suffix): Remove variable.
70726 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
70728         * sysdeps/unix/sysv/gethostname.c: Move to ...
70729         * sysdeps/posix/gethostname.c: ... here.
70731         * sysdeps/unix/execve.S: Remove file.
70733         * sysdeps/unix/_exit.S: Remove file.
70735 2012-04-23  Andreas Jaeger  <aj@suse.de>
70737         [BZ #13739]
70738         * manual/Makefile: Remove make dist support, there's no
70739         need for a stand-alone documentation tar ball.
70740         (TEXI2DVI): Define always, it's not in Makeconfig.
70741         (dist): Removed.
70742         (tar-it): Removed.
70743         (edition): Removed.
70744         (glibc-doc-$(edition).tar): Removed
70745         (%.Z): Removed.
70746         (%.gz): Removed.
70747         (%.uu): Removed.
70748         (ETAGS): Remove, it's in Makeconfig.
70749         (move-if-change): Remove, it's in Makeconfig.
70751 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
70753         [BZ #13970]
70754         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
70755         (strtod, strtof, strtold, strtol, strtoul, strtoq)
70756         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
70757         (strtod_l, strtof_l, strtold_l): Remove __wur.
70758         It is not necessarily an error to ignore strtol's return value.
70759         One can reliably look at the stored endptr to decide whether
70760         the number had valid syntax.
70762 2012-04-21  Andreas Jaeger  <aj@suse.de>
70764         [BZ #13739]
70765         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
70767 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
70769         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
70770         * sysdeps/unix/sysv/Versions: Remove file.
70772 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
70774         [BZ #13927]
70775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70777 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
70779         [BZ #7064]
70780         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70781         version from __vm86.
70783 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70785         * sysdeps/unix/common/lxstat.c: Remove file.
70786         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70788         * sysdeps/unix/sysv/Makefile: Remove file.
70790         * sysdeps/unix/sysv/direct.h: Remove file.
70792         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70793         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70794         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70795         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70796         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70797         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70798         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70800         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70802         * sysdeps/unix/xmknod.c: Remove file.
70803         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70805         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70807         * sysdeps/unix/sysv/i386/time.S: Remove file.
70809         * sysdeps/unix/fxstat.c: Remove file.
70810         * sysdeps/unix/xstat.c: Likewise.
70811         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70813         * sysdeps/unix/sysv/sigaction.c: Remove file.
70815         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70816         (sysdep_headers): Remove variable.
70817         [termio.h not in sysdep_headers] (generated): Likewise.
70818         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70819         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70820         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70821         * sysdeps/unix/sysv/tcflow.c: Likewise.
70822         * sysdeps/unix/sysv/tcflush.c: Likewise.
70823         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70824         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70825         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70826         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70827         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70829         * sysdeps/unix/siglist.c: Remove file.
70831         * sysdeps/unix/getppid.S: Remove file.
70833         * sysdeps/unix/mkdir.c: Remove file.
70834         * sysdeps/unix/rmdir.c: Likewise.
70836 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70838         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70839         ERR_MAX value.
70840         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70841         errlist-compat value.
70843 2012-04-18  David S. Miller  <davem@davemloft.net>
70845         * sysdeps/generic/memcopy.h (reg_char): Delete.
70846         * debug/strcat_chk.c: Use char, not reg_char.
70847         * debug/strcpy_chk.c: Likewise.
70848         * debug/strncat_chk.c: Likewise.
70849         * debug/strncpy_chk.c: Likewise.
70850         * string/memchr.c: Likewise.
70851         * string/memrchr.c: Likewise.
70852         * string/rawmemchr.c: Likewise.
70853         * string/strcat.c: Likewise.
70854         * string/strchr.c: Likewise.
70855         * string/strchrnul.c: Likewise.
70856         * string/strcmp.c: Likewise.
70857         * string/strcpy.c: Likewise.
70858         * string/strncat.c: Likewise.
70859         * string/strncmp.c: Likewise.
70860         * string/strncpy.c: Likewise.
70862 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70864         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70865         __builtin_memcopy is called when src and dest ranges are known to not
70866         overlap.
70868 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70870         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70871         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70872         fwd_align_merge macro call.
70873         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70874         bwd_align_merge macro call.
70875         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70877 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70879         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70880         bwd_align_merge macros.
70881         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70882         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70883         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70885 2012-04-18  David S. Miller  <davem@davemloft.net>
70887         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70889 2012-04-18  Andreas Jaeger  <aj@suse.de>
70891         [BZ# 6794]
70892         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70893         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70894         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70896         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70897         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70898         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70900         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70901         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70902         Adjust for changed ldbl-128 files.
70904         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70905         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70906         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70908 2012-04-17  David S. Miller  <davem@davemloft.net>
70910         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70912 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70914         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70915         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70916         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70917         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70918         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70919         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70921 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70923         [BZ #6794]
70924         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70925         * math/libm-test.inc: Add ilogb errno and exception tests.
70926         * math/w_ilogb.c: New file: ilogb wrapper.
70927         * math/w_ilogbf.c: New file: ilogbf wrapper.
70928         * math/w_ilogbl.c: New file: ilogbl wrapper.
70929         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70930         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70931         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70932         exception being thrown with 0.0 as argument.
70933         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70934         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70935         exception being thrown with 0.0 as argument.
70936         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70937         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70938         exception being thrown with 0.0 as argument.
70939         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70940         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70941         exception being thrown with 0.0 as argument.
70942         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70943         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70944         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70945         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70946         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70947         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70948         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70949         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70950         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70952 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70954         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70955         with altivec.
70957 2012-04-16  Marek Polacek  <polacek@redhat.com>
70959         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70961 2012-04-16  Marek Polacek  <polacek@redhat.com>
70963         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70964         operands of fdivp instruction.
70966 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70968         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70969         * elf/tst-auditmod3b.c: Likewise.
70970         * elf/tst-auditmod4b.c: Likewise.
70971         * elf/tst-auditmod5b.c: Likewise.
70972         * elf/tst-auditmod6b.c: Likewise.
70973         * elf/tst-auditmod6c.c: Likewise.
70974         * elf/tst-auditmod7b.c: Likewise.
70975         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70976         * sysdeps/x86_64/preconfigure.in: Likewise.
70977         * sysdeps/x86_64/preconfigure: Regenerated.
70979 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70981         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70982         __ILP32__.
70984 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70986         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70987         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70989 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70991         [BZ #13973]
70992         * locale/iso-639.def: Fix gl language name. Spotted by
70993         Yaron Shahrabani.
70995 2012-04-12  Roland McGrath  <roland@hack.frob.com>
70997         [BZ #2074]
70998         * libio/libio.h (__io_write_fn): Update comment.
71000 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71002         [BZ #2074]
71003         * stdio.texi (Hook Functions): The user provided writer function
71004         is not allowed to return -1.
71006 2012-04-11  David S. Miller  <davem@davemloft.net>
71008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71010 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71012         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71013         Add a leading slash to rtkaio.
71015 2012-04-11  Jim Meyering  <meyering@redhat.com>
71017         [BZ #11959]
71018         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71019         It is not necessarily an error to ignore fwrite's return
71020         value.  One can reliably use ferror to test for errors after
71021         the fact.
71023 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71025         * bits/types.h (__snseconds_t): New type.
71026         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71028         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71029         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71030         (__SNSECONDS_T_TYPE): Likewise.
71031         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71032         (__SNSECONDS_T_TYPE): Likewise.
71033         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71034         (__SNSECONDS_T_TYPE): Likewise.
71036 2012-04-10  Andreas Jaeger  <aj@suse.de>
71038         [BZ #2636]
71039         * manual/time.texi (Processor Time): Return type of times is
71040         elapsed real time since an arbitrary point in the past.
71041         (CPU Time): Move CLK_TCK from here...
71042         (Processor Time): ...to here.  Correct description.
71043         * manual/conf.texi (Constants for Sysconf): Correct description of
71044         _SC_CLK_TCK.
71046 2012-04-10  David S. Miller  <davem@davemloft.net>
71048         [BZ #13967]
71049         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71050         where the is a gap between DT_REL(A) and DT_JMPREL.
71052 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71054         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71055         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71056         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71058 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71060         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71061         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71062         (dl_main): Handle --inhibit-cache.
71063         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71064         _dl_inhibit_cache.
71065         * elf/dl-load.c (_dl_map_object): Use it.
71066         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71068 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71070         [BZ #13872]
71071         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71072         (__ieee754_powl): Saturate large exponents rather than testing for
71073         overflow of y*log2(x).
71074         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71075         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71076         exceptions.
71078         [BZ #11521]
71079         * math/s_ctan.c: Include <float.h>.
71080         (__ctan): Avoid internal overflow or cancellation in calculating
71081         denominator.
71082         * math/s_ctanf.c: Likewise.
71083         * math/s_ctanl.c: Likewise.
71084         * math/s_ctanh.c: Likewise.
71085         * math/s_ctanhf.c: Likewise.
71086         * math/s_ctanhl.c: Likewise.
71087         * math/libm-test.inc (ctan_test): Add more tests.
71088         (ctanh_test): Likewise.
71089         * sysdeps/i386/fpu/libm-test-ulps: Update.
71090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71092 2012-04-09  Andreas Jaeger  <aj@suse.de>
71094         [BZ #6894]
71095         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71096         is an optional BSD extension.
71098         [BZ #10254]
71099         * manual/stdio.texi (Opening Streams): Document additional fopen
71100         parameters.
71102 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71104         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71105         %eax without telling the compiler.
71107 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71109         [BZ # 13963]
71110         * manual/install.texi: Use sourceware.org.
71112 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71114         [BZ #13873]
71115         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71116         (__ieee754_pow): Generate overflow and underflow using huge*huge
71117         and tiny*tiny rather than just returning constant infinity or zero
71118         for large exponents.
71119         * math/libm-test.inc (pow_test): Require overflow exceptions for
71120         applicable cases of large exponents.
71122         [BZ #706]
71123         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71124         (__ieee754_pow): Use iterative multiplication algorithm only for
71125         integer exponents with absolute value below 1024.  Check for odd
71126         integer exponents when using algorithm for real exponents.
71127         * math/libm-test.inc (pow_test): Add more tests.
71128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71130 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
71132         [BZ #13705]
71133         * math/libm-test.inc (exp_test): Do not allow overflow exception
71134         on underflow test.
71136 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
71138         [BZ #13705]
71139         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
71140         instead of __kernel_standard_f.
71142 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
71144         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
71145         * sysdeps/x86_64/memset_chk.S: Likewise.
71147 2012-04-08  Andreas Jaeger  <aj@suse.de>
71149         [BZ #10153]
71150         * manual/startup.texi (Environment Access): Describe return value
71151         for putenv and setenv.
71153         [BZ #6895]
71154         * manual/filesys.texi (Directory Entries): Add description for
71155         DT_LNK.
71157         [BZ #6890]
71158         * manual/filesys.texi (Directory Entries): Clarify that it's file
71159         system not operating system in the description of DT_UNKNOWN.
71161         [BZ #6578]
71162         * manual/syslog.texi (closelog): Fix reference, it's openlog.
71164 2012-04-08  Stephen Compall  <s11@member.fsf.org>
71166         [BZ #6649]
71167         * manual/llio.texi (Opening and Closing Files): Add cross
71168         reference to explain mode argument.
71170 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
71172         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
71173         * sysdeps/x86_64/memset_chk.S: Likewise.
71175 2012-04-07  David S. Miller  <davem@davemloft.net>
71177         * elf/elf.h (R_SPARC_WDISP10): Define.
71178         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
71179         R_SPARC_SIZE32.
71180         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
71181         R_SPARC_SIZE64 and R_SPARC_H34.
71183 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
71185         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
71186         conditions and remove no longer applicable assertion.
71188 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71190         * bits/byteswap.h: Include <features.h>.
71191         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71192         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71194 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71196         * bits/byteswap.h (__bswap_16): Removed.
71197         Include <bits/byteswap-16.h> to get __bswap_16.
71198         * sysdeps/i386/bits/byteswap.h: Likewise.
71199         * sysdeps/s390/bits/byteswap.h: Likewise.
71200         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71201         * bits/byteswap-16.h: New file.
71202         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71203         * sysdeps/s390/bits/byteswap-16.h: Likewise.
71204         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
71205         * string/Makefile (headers): Add bits/byteswap-16.h.
71207 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71209         [BZ #13895]
71210         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
71211         extra indirection.
71212         * nss/Makefile (tests-static, tests): Add tst-nss-static.
71213         * nss/tst-nss-static.c: New.
71215 2012-04-06  Robert Millan  <rmh@gnu.org>
71217         [BZ #6486]
71218         * manual/llio.texi (File Position Primitive): lseek
71219         refers to WHENCE when it really means OFFSET.
71221 2012-04-06  Andreas Jaeger  <aj@suse.de>
71223         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
71224         strncmp declarations.
71226         * abilist/libc.abilist: Add __poll and __ppoll.
71228 2012-04-05  David S. Miller  <davem@davemloft.net>
71230         * scripts/check-local-headers.sh: Accept a host triplet in the
71231         path matched by the exclude regexp.
71233         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
71234         definition.
71235         * sysdeps/powerpc/powerpc32/dl-machine.h
71236         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
71237         * sysdeps/s390/s390-32/dl-machine.h
71238         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71239         * sysdeps/sparc/sparc32/dl-machine.h
71240         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71241         * sysdeps/sparc/sparc64/dl-machine.h
71242         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71244         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
71245         lazy binding.
71246         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
71247         undefined symbol errors.
71249         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
71250         DT_NEEDED entries.
71252 2012-04-05  Michael Matz  <matz@suse.de>
71254         [BZ #13592]
71255         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
71257 2012-04-05  Andreas Jaeger  <aj@suse.de>
71259         [BZ #13908]
71260         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
71261         comment.
71263 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71265         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
71266         which ROUND is no valid rounding mode.
71268 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71270         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
71271         read again.
71272         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
71274 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71276         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
71277         an exception using FPU order intentionally.
71279 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71281         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
71282         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
71283         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
71284         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
71286 2012-04-05  Simon Josefsson  <simon@josefsson.org>
71288         [BZ #12340]
71289         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
71290         EINVAL when BUFLEN is too smal.
71292 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
71294         [BZ #13553]
71295         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
71296         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
71298 2012-04-03  Andreas Jaeger  <aj@suse.de>
71300         [BZ #13938]
71301         * manual/setjmp.texi (System V contexts): Fix sentence.
71303         [BZ #13926]
71304         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
71305         New macro for this case.
71306         [!__GNUC__] (__bswap_64): New inline function for this case.
71307         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71308         * bits/byteswap.h: Likewise.
71309         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71310         ull, guard with __GLIBC_HAVE_LONG_LONG.
71312         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71313         __GLIBC_HAVE_LONG_LONG.
71315         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71316         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71318 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71320         [BZ #13691]
71321         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71322         inptr and inend, rather than using last_ch.
71324 2012-04-02  David S. Miller  <davem@davemloft.net>
71326         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71327         * stdio-common/printf-parse.h (read_int): Change return type to
71328         'int', return -1 on INT_MAX overflow.
71329         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71330         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71331         overflows INT_MAX.  Check for overflow of in-format-string precision
71332         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
71333         SIZE_MAX not INT_MAX for integer overflow test.
71334         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71335         skip the construct in the format string but do not record anything.
71336         * stdio-common/bug22.c: Adjust to test both width/prevision
71337         INT_MAX overflow as well as total length INT_MAX overflow.  Check
71338         explicitly for proper errno values.
71340 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
71342         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71343         CHAR_MAX.
71344         * string/test-strcmp.c [! WIDE]: Likewise.
71345         * time/tst-mktime2.c: Likewise for INT_MAX.
71346         * string/test-string.h: #include <sys/param.h> for MIN.
71348         * csu/init-first.c (__libc_init_first): Call __ctype_init.
71349         * sysdeps/i386/init-first.c (init): Likewise.
71350         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71351         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71352         * sysdeps/sh/init-first.c (init): Likewise.
71354 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
71356         * po/ru.po: Update from translation team.
71357         * po/vi.po: Likewise.
71359 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71361         * resolv/nss_dns/dns-host.c: Merge copyright years.
71363 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71365         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71366         Optimize memcpy with prefetch if
71367         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
71368         src, dst pointers have unequal 16 byte alignments.
71370 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71372         [BZ #13928]
71373         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71374         from a CNAME entry and return the minimum ttl for the query.
71375         (gaih_getanswer_slice): Likewise.
71377 2012-03-30  Jeff Law  <law@redhat.com>
71379         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71380         due to long keys.
71381         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71382         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71384         * resolv/nss_dns/dns-host.c: Update copyright year.
71386 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
71388         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71389         requests to save a system call.  Fix check that all bytes are sent.
71391         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71392         comments for sendmmsg.
71394 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71396         [BZ #13691]
71397         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71398         with only 1 character between 0x0041 and 0x01b0.
71399         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71400         * wcsmbs/tst-mbsnrtowcs.c: New file.
71402 2012-03-29  David S. Miller  <davem@davemloft.net>
71404         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71405         small copies by hand.
71407 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71409         [BZ #13761]
71410         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71411         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71412         group memberships.
71414 2012-03-28  David S. Miller  <davem@davemloft.net>
71416         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
71417         that branches into memcpy.
71418         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
71419         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
71420         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71421         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
71422         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
71423         bits.
71424         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71425         implementation too.
71426         * sysdeps/sparc/mempcpy.S: New file.
71428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71429         the IFUNC routine in the libc case.
71430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71432         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71433         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
71434         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
71435         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
71436         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
71437         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
71438         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
71439         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
71441         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
71442         loop to 256 bytes instead of 64 bytes and fix test signedness.
71444         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
71445         * sysdeps/sparc/sparc32/Makefile: rather than here...
71446         * sysdeps/sparc/sparc64/Makefile: and here.
71448 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
71450         * malloc/mallocbug.c: Avoid warnings about unused variables.
71452 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
71454         [BZ #13760]
71455         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
71456         in the right place. Discard and retry query if response is
71457         larger than input buffer size.
71459 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
71461         [BZ #369]
71462         [BZ #2678]
71463         [BZ #3866]
71464         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
71465         x for large integer exponent.
71466         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
71467         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
71468         sign of result as needed afterwards.
71469         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
71470         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
71471         result for underflowing pow the same as for overflow.
71472         (__kernel_standard_l): Handle powl overflow and underflow here
71473         rather than calling __kernel_standard.
71474         * math/libm-test.inc (pow_test): Add more tests.
71476         [BZ #3868]
71477         [BZ #13879]
71478         [BZ #13910]
71479         [BZ #13911]
71480         [BZ #13912]
71481         [BZ #13913]
71482         [BZ #13915]
71483         [BZ #13916]
71484         [BZ #13917]
71485         [BZ #13918]
71486         [BZ #13919]
71487         [BZ #13920]
71488         [BZ #13921]
71489         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
71490         * sysdeps/ieee754/k_standard.c: Include <float.h>.
71491         (__kernel_standard_l): New function.
71492         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
71493         __kernel_standard.
71494         * math/w_acosl.c (__acosl): Likewise.
71495         * math/w_asinl.c (__asinl): Likewise.
71496         * math/w_atan2l.c (__atan2l): Likewise.
71497         * math/w_atanhl.c (__atanhl): Likewise.
71498         * math/w_coshl.c (__coshl): Likewise.
71499         * math/w_exp10l.c (__exp10l): Likewise.
71500         * math/w_exp2l.c (__exp2l): Likewise.
71501         * math/w_fmodl.c (__fmodl): Likewise.
71502         * math/w_hypotl.c (__hypotl): Likewise.
71503         * math/w_j0l.c (__j0l, __y0l): Likewise.
71504         * math/w_j1l.c (__j1l, __y1l): Likewise.
71505         * math/w_jnl.c (__jnl, __ynl): Likewise.
71506         * math/w_lgammal.c (__lgammal): Likewise.
71507         * math/w_log10l.c (__log10l): Likewise.
71508         * math/w_log2l.c (__log2l): Likewise.
71509         * math/w_logl.c (__logl): Likewise.
71510         * math/w_powl.c (__powl): Likewise.
71511         * math/w_remainderl.c (__remainderl): Likewise.
71512         * math/w_scalbl.c (sysv_scalbl): Likewise.
71513         * math/w_sinhl.c (__sinhl): Likewise.
71514         * math/w_sqrtl.c (__sqrtl): Likewise.
71515         * math/w_tgammal.c (__tgammal): Likewise.
71516         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
71517         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71518         * math/libm-test.inc (acos_test): Add more tests.
71519         (acosh_test): Likewise.
71520         (asin_test): Likewise.
71521         (atanh_test): Likewise.
71522         (exp_test): Likewise.
71523         (exp10_test): Likewise.
71524         (exp2_test): Likewise.
71525         (expm1_test): Likewise.
71526         (lgamma_test): Likewise.
71527         (log_test): Likewise.
71528         (log10_test): Likewise.
71529         (log1p_test): Likewise.
71530         (log2_test): Likewise.
71531         (pow_test): Do not allow some spurious overflow exceptions.
71532         (sqrt_test): Add more tests.
71533         (tgamma_test): Likewise.
71534         (y0_test): Likewise.
71535         (y1_test): Likewise.
71536         (yn_test): Likewise.
71538 2012-03-27  Anton Blanchard  <anton@samba.org>
71540         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
71541         MAP_HUGETLB.
71542         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71543         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71544         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71546 2012-03-27  David S. Miller  <davem@davemloft.net>
71548         * conform/Makefile: Run run-conformtest.sh using $(BASH).
71550         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
71551         have-as-vis3 check.
71553 2012-03-27  Andreas Jaeger  <aj@suse.de>
71555         * sysdeps/x86_64/elf/configure.in: Moved to ...
71556         * sysdeps/x86_64/configure.in: ... here.
71557         * sysdeps/x86_64/elf/start.S: Moved to ...
71558         * sysdeps/x86_64/start.S: ... here.
71559         * sysdeps/x86_64/elf/configure: Delete.
71561         * sysdeps/x86_64/configure.in: Merge contents from
71562         sysdeps/i386/configure.in (without i686 check).
71564         * sysdeps/i386/elf/Versions: Merge into ...
71565         * sysdeps/i386/Versions: ... this.
71566         * sysdeps/i386/elf/Versions: Delete file.
71567         * sysdeps/i386/elf/start.S: Moved to ...
71568         * sysdeps/i386/start.S: ...here.
71569         * sysdeps/i386/elf/configure.in: Merge into...
71570         * sysdeps/i386/configure.in: ...here.
71571         * sysdeps/i386/elf/configure.in: Delete file.
71572         * sysdeps/i386/elf/configure: Delete file.
71574         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
71575         * debug/backtracesyms.c: ... here.
71576         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
71577         * debug/backtracesymsfd.c: ... here.
71578         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
71579         * sysdeps/generic/ifunc-sel.h: ... here.
71581         * sysdeps/unix/i386/start.c: Delete file.
71582         * sysdeps/unix/sparc/start.c: Delete file.
71583         * sysdeps/unix/start.c: Delete file.
71585         * sysdeps/sh/elf/configure.in: Moved to ...
71586         * sysdeps/sh/configure.in: ... here.
71587         * sysdeps/sh/elf/start.S: Moved to ...
71588         * sysdeps/sh/start.S: ... here.
71589         * sysdeps/sh/elf/configure: Delete file.
71591         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
71592         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
71593         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
71594         * sysdeps/powerpc/powerpc64/entry.h: ... here.
71595         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
71596         * sysdeps/powerpc/powerpc64/start.S: here.
71597         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
71598         * sysdeps/powerpc/powerpc64/Makefile: ... this.
71599         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
71600         * sysdeps/powerpc/powerpc64/configure.in: ... this.
71601         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
71603         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
71604         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
71605         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
71606         * sysdeps/powerpc/powerpc32/start.S: ... here.
71607         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
71608         * sysdeps/powerpc/powerpc32/configure.in: ... this.
71609         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
71611         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
71612         * sysdeps/powerpc/ifunc-sel.h: ... here.
71613         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
71614         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
71616         * sysdeps/sparc/elf/configure.in: Moved to ...
71617         * sysdeps/sparc/configure.in: ... here.
71618         * sysdeps/sparc/elf/configure: Delete file.
71619         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
71620         * sysdeps/sparc/sparc32/start.S: ... here.
71621         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
71622         * sysdeps/sparc/sparc64/start.S: ... here.
71623         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
71624         * sysdeps/sparc/sparc32/Makefile: ... this.
71625         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
71626         * sysdeps/sparc/sparc64/Makefile: ... this.
71628         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
71629         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
71630         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
71631         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
71632         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
71633         * sysdeps/s390/s390-32/setjmp.S: ... here.
71634         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
71635         * sysdeps/s390/s390-32/configure.in: ... here.
71636         * sysdeps/s390/s390-32/elf/configure: Delete file.
71637         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
71638         * sysdeps/s390/s390-32/start.S: ... here.
71640         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
71641         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
71642         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
71643         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
71644         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
71645         * sysdeps/s390/s390-64/setjmp.S: ... here.
71646         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
71647         * sysdeps/s390/s390-64/configure.in: ... here
71648         * sysdeps/s390/s390-64/elf/configure: Delete file.
71649         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
71650         * sysdeps/s390/s390-64/start.S: ... here.
71651         * sysdeps/s390/s390-64/elf/configure: Delete.
71653         * configure.in: Remove support for elf directories in sysdeps.
71655         * configure: Regenerated.
71656         * sysdeps/i386/configure: Regenerated.
71657         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71658         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71659         * sysdeps/s390/s390-32/configure: Regenerated.
71660         * sysdeps/s390/s390-64/configure: Regenerated.
71661         * sysdeps/sh/configure: Regenerated.
71662         * sysdeps/sparc/configure: Regenerated.
71663         * sysdeps/x86_64/configure: Regenerated.
71665 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
71667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71669         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
71670         denormal result into account.
71672 2012-03-25  Roland McGrath  <roland@hack.frob.com>
71674         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
71675         Reported by Allan McRae <allan@archlinux.org>.
71677 2012-03-23  Jeff Law  <law@redhat.com>
71679         * nss/getnssent.c (__nss_getent): Fix typo.
71681 2012-03-23  David S. Miller  <davem@davemloft.net>
71683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71685 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
71687         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
71688         to pad to uint64_t for each field.
71689         (dl_tls_index): Replace unsigned long with uint64_t.
71691 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
71692         Paul Pluzhnikov  <ppluzhnikov@google.com>
71694         [BZ #6528]
71695         * grp/Makefile (otherlibs): Don't set it.
71696         * inet/Makefile (otherlibs): Likewise.
71697         * login/Makefile (otherlibs): Likewise.
71698         * nscd/Makefile (otherlibs): Likewise.
71699         * posix/Makefile (otherlibs): Likewise.
71700         * pwd/Makefile (otherlibs): Likewise.
71701         * rt/Makefile (otherlibs): Likewise.
71702         * sunrpc/Makefile (otherlibs): Likewise.
71703         * nss/Makefile (otherlibs): Likewise.
71704         Add libnss_files to routines and static-only-routines.
71705         ($(objpfx)getent): Remove rule.
71706         * resolv/Makefile: Add libnss_dns and libresolv to routines and
71707         static-only-routines.
71709 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71711         [BZ #13892]
71712         * math/s_cexp.c: Include <float.h>.
71713         (__cexp): Handle exp result overflowing not necessarily
71714         overflowing both real and imaginary parts of result.
71715         * math/s_cexpf.c: Likewise.
71716         * math/s_cexpl.c: Likewise.
71717         * math/libm-test.inc (cexp_test): Add more tests.
71718         * sysdeps/i386/fpu/libm-test-ulps: Update.
71719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71721 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71723         * include/link.h (ELFW): New macro.
71724         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
71725         Replace ELF64_R_TYPE with ELFW(R_TYPE).
71727 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71729         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
71730         with uint64_t.
71732 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71734         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
71735         declaration.
71736         (struct La_x32_retval): Likewise.
71738 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71740         * sysdeps/x86_64/preconfigure.in: New file.
71741         * sysdeps/x86_64/preconfigure: New generated file.
71743 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71745         [BZ #13824]
71746         * math/e_exp2l.c: Include <float.h>.
71747         (__ieee754_exp2l): Handle overflow and underflow cases
71748         separately.  Only pass fractional part of argument to
71749         __ieee754_expl.
71750         * math/libm-test.inc (exp2_test): Add more tests.
71752         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
71753         negating x to take absolute value.
71754         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
71755         Likewise.
71756         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
71757         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
71758         Likewise.
71759         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
71760         computing low part if x was negated.
71761         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
71763 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71765         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
71766         la_x32_gnu_pltexit.
71767         (pltexit): Cast int_retval to ptrdiff_t.
71768         * elf/tst-auditmod3b.c: Likewise.
71769         * elf/tst-auditmod4b.c: Likewise.
71770         * elf/tst-auditmod5b.c: Likewise.
71771         * elf/tst-auditmod6b.c: Likewise.
71772         * elf/tst-auditmod6c.c: Likewise.
71773         * elf/tst-auditmod7b.c: Likewise.
71775         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
71776         and x32_gnu_pltexit.
71778         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
71779         __ELF_NATIVE_CLASS.
71780         (La_x32_regs): New macro.
71781         (La_x32_retval): Likewise.
71782         (la_x32_gnu_pltenter): New function prototype.
71783         (la_x32_gnu_pltexit): Likewise.
71785 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71787         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71788         exponent.
71790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71792         * configure.in (libc_cv_cc_nofma): Check for option to disable
71793         generation of FMA instructions.
71794         * configure: Regenerate.
71795         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71796         * sysdeps/ieee754/dbl-64/Makefile: New file.
71797         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71798         Remove brandred-fma4.
71799         (CFLAGS-brandred-fma4.c): Remove.
71800         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71801         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71802         define.
71803         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71804         define.
71806 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71808         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71809         LLONG_MAX != LONG_MAX.
71810         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71811         (_fitoa_word): Likewise.
71812         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71813         LLONG_MAX != LONG_MAX.
71814         * stdio-common/_itowa.h: Include <_itoa.h>.
71815         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71816         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71817         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71818         only if not defined.
71819         (_ITOA_WORD_TYPE): Likewise.
71820         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71821         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71823 2012-03-21  David S. Miller  <davem@davemloft.net>
71825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71827 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71829         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71830         of x86_64 when setting libc_cv_slibdir, libdir and
71831         libc_cv_localedir.
71832         * sysdeps/unix/sysv/linux/configure: Regenerated.
71834 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71836         * manual/lang.texi (Old Varargs): Remove section.
71837         (How Variadic): Update menu.
71838         (va_start): Do not mention varargs.h.
71840 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71841             Joseph Myers  <joseph@codesourcery.com>
71843         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71844         link test.
71845         * configure: Regenerated.
71847 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71849         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71850         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71851         conformtest.pl
71853 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71855         * NOTES: Remove.
71856         * Makefile (files-for-dist): Remove NOTES.
71857         (NOTES): Remove rule.
71858         * README: Don't refer to NOTES.
71859         * manual/creature.texi: Don't include macros.texi.
71860         * manual/intro.texi (creature.texi): Remove comment referring to
71861         NOTES.
71863         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71864         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71865         * configure: Regenerated.
71866         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71867         LIBC_TRY_CC_OPTION.
71868         (libc_cv_as_i686): Likewise.
71869         (libc_cv_cc_avx): Likewise.
71870         (libc_cv_cc_sse2avx): Likewise.
71871         (libc_cv_cc_fma4): Likewise.
71872         (libc_cv_cc_novzeroupper): Likewise.
71873         * sysdeps/i386/configure: Regenerated.
71875         [BZ #13883]
71876         * sysdeps/i386/fpu/s_cexp.S: Remove.
71877         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71878         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71879         * math/libm-test.inc (cexp_test): Add more tests.
71880         * sysdeps/i386/fpu/libm-test-ulps: Update.
71881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71883 2012-03-21  Allan McRae  <allan@archlinux.org>
71885         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71887 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71889         [BZ #13871]
71890         * math/w_exp2.c: Do not include <float.h>.
71891         (o_threshold, u_threshold): Remove.
71892         (__exp2): Calculate result before checking finiteness and calling
71893         __kernel_standard.
71894         * math/w_exp2f.c: Likewise.
71895         * math/w_exp2l.c: Likewise.
71896         * math/libm-test.inc (exp2_test): Require overflow exception for
71897         1e6 input.
71899         [BZ #3866]
71900         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71901         range of signed 64-bit integers before using fistpll.  Remove
71902         checks for whether integers fit in mantissa bits.
71903         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71904         the range of signed 32-bit integers before using fistpl.  Remove
71905         checks for whether integers fit in mantissa bits.
71906         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71907         (__ieee754_powl): Test for y outside the range of signed 64-bit
71908         integers before using fistpll.  Reduce 64-bit values to 63-bit
71909         ones as needed.
71910         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71911         divide-by-zero is raised for zero to large negative powers.
71912         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71913         (__ieee754_powl): Test for y outside the range of signed 64-bit
71914         integers before using fistpll.  Reduce 64-bit values to 63-bit
71915         ones as needed.
71916         * math/libm-test.inc (pow_test): Add more tests.
71918 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71920         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71921         <stdio-common/_itoa.h>.
71922         * debug/segfault.c: Likewise.
71923         * elf/dl-cache.c: Likewise.
71924         * elf/dl-minimal.c: Likewise.
71925         * elf/dl-misc.c: Likewise.
71926         * elf/dl-sysdep.c: Likewise.
71927         * elf/dl-version.c: Likewise.
71928         * elf/rtld.c: Likewise.
71929         * hurd/hurdsock.c: Likewise.
71930         * hurd/lookup-retry.c: Likewise.
71931         * malloc/malloc.c: Likewise.
71932         * malloc/mtrace.c: Likewise.
71933         * nscd/nscd_getgr_r.c: Likewise.
71934         * nscd/nscd_getpw_r.c: Likewise.
71935         * nscd/nscd_getserv_r.c: Likewise.
71936         * posix/getopt_init.c: Likewise.
71937         * posix/wordexp.c: Likewise.
71938         * stdio-common/_itoa.c: Likewise.
71939         * stdio-common/printf_fphex.c: Likewise.
71940         * stdio-common/vfprintf.c: Likewise.
71941         * string/_strerror.c: Likewise.
71942         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71943         * sysdeps/i386/i686/hp-timing.h: Likewise.
71944         * sysdeps/mach/_strerror.c: Likewise.
71945         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71946         * sysdeps/mach/hurd/sethostid.c: Likewise.
71947         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71948         * sysdeps/mach/xpg-strerror.c: Likewise.
71949         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71950         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71951         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71952         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71953         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71954         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71955         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71956         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71957         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71958         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71959         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71960         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71961         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71962         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71963         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71964         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71965         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71966         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71967         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71968         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71969         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71971         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71973         * stdio-common/_itoa.h: Moved to ...
71974         * sysdeps/generic/_itoa.h: Here.
71976         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71978         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71979         instead of "_itoa.h" and "_itowa.h".
71980         * stdio-common/vfprintf.: Likewise.
71982 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71984         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71985         <bits/wordsize.h>.
71986         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71987         (__signbit): Likwise.
71988         (llrintf): Likwise.
71989         (llrint): Likwise.
71991 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71993         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71994         __WORDSIZE != 64.
71996 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
71998         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
71999         OVERFLOW_EXCEPTION_OK.
72000         * math/libm-test.inc ("Philosophy"): Update comment about
72001         exception testing.
72002         (OVERFLOW_EXCEPTION): Define.
72003         (OVERFLOW_EXCEPTION_OK): Likewise.
72004         (INVALID_EXCEPTION_OK): Renumber.
72005         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72006         (IGNORE_ZERO_INF_SIGN): Likewise.
72007         (test_exceptions): Handle FE_OVERFLOW.
72008         (exp10_test): Expect overflow exceptions.
72009         (exp2_test): Likewise.
72010         (expm1_test): Likewise.
72011         (nextafter_test): Likewise.
72012         (pow_test): Likewise.
72013         (scalbn_test): Likewise.
72014         (scalbln_test): Likewise.
72016 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72018         * sysdeps/x86_64/bits/atomic.h
72019         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72020         64bit integer.
72021         (atomic_exchange_acq): Likewise.
72022         (__arch_exchange_and_add_body): Likewise.
72023         (__arch_add_body): Likewise.
72024         (atomic_add_negative): Likewise.
72025         (atomic_add_zero): Likewise.
72027 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72029         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72030         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72032 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72034         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72035         Check __x86_64__ instead of __WORDSIZE.
72037 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72039         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72041 2012-03-19  David S. Miller  <davem@davemloft.net>
72043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72045         * sysdeps/sparc/fpu/fenv_private.h: New file.
72046         * sysdeps/sparc/fpu/math_private.h: Use it.
72047         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72048         Remove.
72049         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72050         (libc_feholdexcept_setroundl): Remove.
72051         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72052         Remove.
72053         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72054         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72056 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72058         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72059         int64_t instead of long int.
72060         (INSERT_WORDS64): Likwise.
72062 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72064         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72065         _Unwind_GetCFA return to _Unwind_Ptr first.
72067 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72069         [BZ #13629]
72070         * math/s_clog.c: Include <float.h>.
72071         (__clog): Scale large or subnormal inputs.
72072         * math/s_clogf.c: Likewise.
72073         * math/s_clogl.c: Likewise.
72074         * math/s_clog10.c: Include <float.h>.
72075         (M_LOG10_2): Define.
72076         (__clog10): Scale large or subnormal inputs.
72077         * math/s_clog10f.c: Likewise.
72078         * math/s_clog10l.c: Likewise.
72079         * math/libm-test.inc (clog_test): Add more tests.
72080         (clog10_test): Likewise.
72081         * sysdeps/i386/fpu/libm-test-ulps: Update.
72082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72084         [BZ #11451]
72085         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72086         x and y.
72087         * math/libm-test.inc (atan2_test): Add another test.
72089         * Makerules (common-objdir-compile): Remove.
72090         * sysdeps/unix/Makefile (config-generated): Do not add
72091         $(unix-generated) to variable.
72092         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72093         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72094         Remove rule.
72095         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72096         Likewise.
72097         [generic bits/local_lim.h] (before-compile): Do not append to
72098         variable.
72099         [generic bits/local_lim.h] (common-generated): Likewise.
72100         [generic sys/param.h] (before-compile): Do not append to variable.
72101         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72102         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72103         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72104         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72105         include.
72106         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72107         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72108         [generic sys/param.h] ($(addprefix
72109         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72110         [generic sys/param.h] (common-generated): Do not append to
72111         variable.
72112         [generic sys/param.h] (sysdep_headers): Likewise.
72113         [generic bits/errno.h] (before-compile): Do not append to
72114         variable.
72115         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72116         rule.
72117         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72118         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72119         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72120         [generic bits/errno.h] (common-generated): Do not append to
72121         variable.
72122         [generic bits/ioctls.h] (before-compile): Do not append to
72123         variable.
72124         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72125         rule.
72126         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72127         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72128         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72129         rule.
72130         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
72131         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
72132         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
72133         [generic bits/ioctls.h] (common-generated): Do not append to
72134         variable.
72135         [generic sys/syscall.h] (syscall.h): Remove variable.
72136         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
72137         rule.
72138         [generic sys/syscall.h] (before-compile): Do not append to
72139         variable.
72140         [generic sys/syscall.h] (common-generated): Likewise.
72141         * sysdeps/unix/errnos-tmpl.c: Remove file.
72142         * sysdeps/unix/errnos.awk: Likewise.
72143         * sysdeps/unix/ioctls-tmpl.c: Likewise.
72144         * sysdeps/unix/ioctls.awk: Likewise.
72145         * sysdeps/unix/mk-local_lim.c: Likewise.
72146         * sysdeps/unix/snarf-ioctls: Likewise.
72148 2012-03-19  Richard Henderson  <rth@twiddle.net>
72150         * sysdeps/i386/fpu/fenv_private.h: New file.
72151         * sysdeps/i386/fpu/math_private.h: Use it.
72152         (math_opt_barrier, math_force_eval): Remove.
72153         (libc_feholdexcept_setround_53bit): Remove.
72154         (libc_feupdateenv_53bit): Remove.
72155         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72156         (math_opt_barrier, math_force_eval): Remove.
72157         (libc_feholdexcept): Remove.
72158         (libc_feholdexcept_setround): Remove.
72159         (libc_fetestexcept, libc_fesetenv): Remove.
72160         (libc_feupdateenv_test): Remove.
72161         (libc_feupdateenv, libc_feholdsetround): Remove.
72162         (libc_feresetround): Remove.
72164         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
72165         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
72167         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
72168         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
72169         (libc_feupdateenv_testl): New.
72170         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
72171         (libc_feupdateenv_testf): New.
72172         (libc_feupdateenv): Use libc_feupdateenv_test.
72173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
72174         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
72176         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
72177         (libc_feholdsetroundf, libc_feholdsetroundl): New.
72178         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
72179         (libc_feresetround_noex): New.
72180         (libc_feresetround_noexf): New.
72181         (libc_feresetround_noexl): New.
72182         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
72183         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
72184         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
72185         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
72186         SET_RESTORE_ROUND.
72187         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
72188         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
72189         (__cos): Likewise.
72190         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
72191         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
72192         SET_RESTORE_ROUND_NOEX.
72193         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
72194         SET_RESTORE_ROUND_NOEXF.
72195         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
72196         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
72197         (libc_feholdsetroundf): New.
72198         (libc_feresetround, libc_feresetroundf): New.
72200         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
72201         (libc_feholdexcept_setround_53bit): Convert from macro to function.
72202         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
72204         * sysdeps/generic/math_private.h: Include <fenv.h>.
72205         (default_libc_feholdexcept): New.
72206         (default_libc_feholdexcept_setround): New.
72207         (default_libc_fesetenv, default_libc_feupdateenv): New.
72208         (libc_feholdexcept): Only define if undefined.
72209         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
72210         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
72211         (libc_feholdexcept_setroundl): Likewise.
72212         (libc_feholdexcept_setround_53bit): Likewise.
72213         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
72214         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
72215         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
72216         (libc_feupdateenv_53bit): Likewise.
72217         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
72218         (libc_feholdexcept): Convert from macro to inline function.
72219         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
72220         (libc_fesetenv, libc_feupdateenv): Likewise.
72222         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
72223         not previously defined.
72224         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
72225         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
72226         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
72227         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
72228         * sysdeps/ieee754/flt-32/math_private.h: New file.
72229         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
72230         math_private.h below SET_FLOAT_WORD.
72231         (__isnan, __isinf_ns, __finite): Remove.
72232         (__isnanf, __isinf_nsf, __finitef): Remove.
72234 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
72236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72238 2012-03-17  David S. Miller  <davem@davemloft.net>
72240         [BZ #6471]
72241         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
72242         for 2.16.
72244 2012-03-16  David S. Miller  <davem@davemloft.net>
72246         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
72247         warnings.
72249         [BZ #6471]
72250         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
72251         properly.
72252         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
72253         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
72254         sysdep_routines when subdir is sysvipc.
72255         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
72256         __getshmlba helper.
72258         * sysdeps/sparc/fpu/libm-test/ulps: Update.
72260 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72262         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
72263         [__LP64__].
72265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72267         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
72268         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72269         (__lround): Renamed to ...
72270         (__llround): This.  Replace long int with long long int.
72271         Define lround functions as aliases of llround functions.
72272         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
72274 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72276         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
72277         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
72278         adresses to uintptr_t.  Replace "long int" and "unsigned long
72279         int" with "greg_t" on va_arg.
72281 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72283         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
72284         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
72286         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
72287         Move e_machine check before EI_CLASS check.  Handle x32
72288         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
72289         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
72290         SKIP_EM_IA_64 and include
72291         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
72293         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
72294         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
72295         (add_system_dir): New macro.
72297         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
72298         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
72300 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72302         [BZ #2551]
72303         [BZ #2552]
72304         [BZ #2553]
72305         [BZ #2554]
72306         [BZ #2562]
72307         [BZ #2563]
72308         [BZ #2565]
72309         [BZ #2566]
72310         [BZ #2576]
72311         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72312         (y0): Likewise.
72313         * math/w_j0f.c (j0f): Likewise.
72314         (y0f): Likewise.
72315         * math/w_j0l.c (__j0l): Likewise.
72316         (__y0l): Likewise.
72317         * math/w_j1.c (j1): Likewise.
72318         (y1): Likewise.
72319         * math/w_j1f.c (j1f): Likewise.
72320         (y1f): Likewise.
72321         * math/w_j1l.c (__j1l): Likewise.
72322         (__y1l): Likewise.
72323         * math/w_jn.c (jn): Likewise.
72324         (yn): Likewise.
72325         * math/w_jnf.c (jnf): Likewise.
72326         (ynf): Likewise.
72327         * math/w_jnl.c (__jnl): Likewise.
72328         (__ynl): Likewise.
72329         * math/libm-test.inc (j0_test): Add more tests.
72330         (j1_test): Likewise.
72331         (jn_test): Likewise.  Add trailing semicolon to existing test.
72332         (y0_test): Likewise.
72333         (y1_test): Likewise.
72334         * sysdeps/i386/fpu/libm-test-ulps: Update.
72335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72337         [BZ #13851]
72338         [BZ #13854]
72339         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72340         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72341         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72342         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72343         (__tanl): Set errno for infinite argument.
72344         * sysdeps/i386/fpu/mptan.c: Remove.
72345         * sysdeps/i386/fpu/s_tan.S: Likewise.
72346         * sysdeps/i386/fpu/s_tanl.S: Likewise.
72347         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72348         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72349         * math/libm-test.inc (tan_test): Add more tests and enable more
72350         tests for double and long double.
72351         * sysdeps/i386/fpu/libm-test-ulps: Update.
72352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72354 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
72356         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72357         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72359 2012-03-16  Roland McGrath  <roland@hack.frob.com>
72361         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72362         * configure.in: Use it for both main tree and add-ons.
72363         * configure: Regenerated.
72365 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72367         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72369 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72371         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72372         in comment.
72374         [BZ #13851]
72375         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72376         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72377         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72378         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72379         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72380         infinite argument.
72381         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72382         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72383         != 0 for prec == 2.
72384         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72385         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72386         * sysdeps/i386/fpu/s_cosl.S: Likewise.
72387         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72388         * sysdeps/i386/fpu/s_sinl.S: Likewise.
72389         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72390         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72391         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72392         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72393         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72394         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72395         * math/libm-test.inc (cos_test): Add more tests and enable more
72396         tests for long double.
72397         (sin_test): Likewise.
72398         (sincos_test): Likewise.
72399         * sysdeps/i386/fpu/libm-test-ulps: Update.
72400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72402 2012-03-16  David S. Miller  <davem@davemloft.net>
72404         * sysdeps/sparc/fpu/math_private.h: New file.
72406 2012-03-15  David S. Miller  <davem@davemloft.net>
72408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72409         file.
72410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72412         file.
72413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
72414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
72415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
72416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
72417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
72418         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
72419         sysdep routines.
72420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72422         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
72423         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
72425         * sysdeps/sparc/sparc-ifunc.h: New file.
72426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
72427         sparc-ifunc.h
72428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
72430         Likewise.
72431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
72432         Likewise.
72433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
72434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
72435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72437         Likewise.
72438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
72440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
72442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
72443         Likewise.
72444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
72445         Likewise.
72446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
72449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
72450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72452         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
72453         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
72454         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72455         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
72457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
72458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
72459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
72460         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
72461         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
72462         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
72463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
72464         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
72465         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
72466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
72467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
72468         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
72469         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
72471 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72473         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
72474         scaling.
72475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72477 2012-03-15  Andreas Jaeger  <aj@suse.de>
72479         [BZ #13852]
72480         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
72481         ieee754/flt-32 implementation for sin, cos and sincos.
72482         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
72483         * sysdeps/i386/fpu/s_cosf.S: Likewise.
72484         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
72485         * sysdeps/i386/fpu/s_sinf.S: Likewise.
72486         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
72487         ieee754/flt-32 implementation for tan.
72489         * math/libm-test.inc (cos_test): Enable some large input tests for
72490         float as well
72491         (sin_test): Likewise.
72492         (sincos_test): Likewise.
72493         (tan_test): Add tests for large input.
72495         * sysdeps/i386/fpu/libm-test-ulps: Update.
72497 2012-03-15  Andreas Jaeger  <aj@suse.de>
72499         [BZ #13658]
72500         * math/libm-test.inc (cos_test): Add more test cases.
72501         (sin_test): Likewise.
72502         (sincos_test): Likewise.
72504 2012-03-15  Andreas Jaeger  <aj@suse.de>
72506         [BZ #13837]
72507         * math/libm-test.inc (cos_test): Add a test case for large input
72508         value.
72509         (sin_test): Likewise.
72510         (sincos_test): Likewise.
72512 2012-03-15  Andreas Jaeger  <aj@suse.de>
72513             Joseph Myers  <joseph@codesourcery.com>
72515         [BZ #13658]
72516         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
72517         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
72518         * sysdeps/i386/fpu/branred.c: Likewise.
72519         * sysdeps/i386/fpu/dosincos.c: Likewise.
72520         * sysdeps/i386/fpu/mpa.c: Likewise.
72521         * sysdeps/i386/fpu/s_cos.S: Likewise.
72522         * sysdeps/i386/fpu/s_sin.S: Likewise.
72523         * sysdeps/i386/fpu/s_sincos.S: Likewise.
72524         * sysdeps/i386/fpu/sincos32.c: Likewise.
72526         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
72527         Define.
72528         (libc_feupdateenv_53bit): Define.
72529         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
72530         Define.
72531         (libc_feupdateenv_53bit): Define.
72533         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
72534         53 bit (without extend i386 double precision).
72536         * math/libm-test.inc (sincos_test): Add tests for large input.
72537         (sin): Likewise.
72538         (cos): Likewise.
72540         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
72542 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72546 2012-03-15  David S. Miller  <davem@davemloft.net>
72548         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
72549         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
72550         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
72551         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
72552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
72553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
72554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
72555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
72556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
72557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
72558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
72559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
72560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
72561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
72562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
72563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
72564         file.
72565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
72566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
72567         file.
72568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
72569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
72570         file.
72571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
72572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
72573         file.
72574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
72575         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
72576         fmin/fmax sysdep routines.
72577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72579 2012-03-14  David S. Miller  <davem@davemloft.net>
72581         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
72582         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
72583         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
72584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
72585         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
72586         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
72587         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
72588         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
72589         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
72590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
72591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
72592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
72593         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
72594         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
72595         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
72596         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
72597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
72598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
72599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
72600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
72601         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
72602         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
72603         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
72604         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
72605         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
72606         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
72607         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
72608         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
72609         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
72610         routines.
72611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
72612         file.
72613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
72614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
72615         file.
72616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
72617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
72618         file.
72619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
72620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
72621         file.
72622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
72623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
72624         file.
72625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
72626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
72627         file.
72628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
72629         file.
72630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
72631         file.
72632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
72633         file.
72634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
72635         New file.
72636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
72637         file.
72638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
72639         file.
72640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
72641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
72642         file.
72643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
72644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
72645         file.
72646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
72647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
72648         file.
72649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
72650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
72651         VIS3 routines.
72653         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72654         New file.
72656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72658         * sysdeps/sparc/configure.in: New file.
72659         * sysdeps/sparc/configure: Generate.
72660         * configure.in (libc_cv_sparc_as_vis3): Substitute.
72661         * configure: Regenerate.
72662         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
72663         * config.make.in (have-as-vis3): New.
72664         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
72665         available use -Av9d instead of -Av9a.
72666         * sysdeps/sparc/sparc64/Makefile: Likewise.
72667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
72668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
72669         New file.
72670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
72671         file.
72672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
72673         New file.
72674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
72675         file.
72676         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
72677         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
72678         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
72679         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
72680         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
72682         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
72683         fzeros/fnegs to load 0x80000000 into a float register instead of
72684         using the stack.
72685         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
72687 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72689         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72690         bits/syscall.h.
72691         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
72692         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
72693         ($(inst_includedir)/bits/syscall.h): Remove rule.
72694         ($(objpfx)bits/syscall.d): Include instead of
72695         $(objpfx)syscall-list.d.
72696         (generated): Change syscall-list.h and syscall-list.d to
72697         bits/syscall.h and bits/syscall.d.
72699 2012-03-14  Roland McGrath  <roland@hack.frob.com>
72701         [BZ #13846]
72702         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
72704 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72706         [BZ #13841]
72707         * math/s_csqrt.c: Include <float.h>.
72708         (__csqrt): Scale large or subnormal inputs.
72709         * math/s_csqrtf.c: Likewise.
72710         * math/s_csqrtl.c: Likewise.
72711         * math/libm-test.inc (csqrt_test): Add more tests.
72712         * sysdeps/i386/fpu/libm-test-ulps: Update.
72713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72715         [BZ #13840]
72716         * math/libm-test.inc (hypot_test): Add more tests.
72718 2012-03-13  David S. Miller  <davem@davemloft.net>
72720         [BZ #13840]
72721         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
72722         double-precision for the calculation instead of scaling.
72724 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
72726         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
72727         manipulate bits before adding and subtracting TWO52[sx].
72728         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
72729         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
72730         Likewise.
72731         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
72733 2012-03-13  David S. Miller  <davem@davemloft.net>
72735         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
72736         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
72737         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
72738         rtld-global-offsets.h
72739         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72741         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
72742         large parameters.
72744         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
72746         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
72747         'err' in the ifdef scope in which it is actually used.
72749         * nss/nss_db/db-init.c: Include string.h
72751 2012-03-12  David S. Miller  <davem@davemloft.net>
72753         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72754         masking out of the most significant byte of random value used.
72755         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72756         Fix coding style in previous change.
72758         * sysdeps/unix/sysv/linux/kernel-features.h
72759         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
72760         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
72761         expression.
72762         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
72763         later.
72765 2012-03-11  David S. Miller  <davem@davemloft.net>
72767         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72768         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
72769         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
72770         for 'resultvar' otherwise things get truncated on 64-bit.
72772         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72773         Fix masking out of the most significant byte of random value used.
72775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72777 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
72779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72781 2012-03-09  David S. Miller  <davem@davemloft.net>
72783         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72784         variables with appropriate CPP guards.
72785         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72786         from the frame pointer, not the stack pointer.  Correct layout
72787         comments.  Fix test on resulting framesize and the management of
72788         the outregs buffer for pltexit.  Preserve floating point return
72789         values across _dl_call_pltexit call.
72790         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72791         framesize and the management of the outregs buffer for pltexit.
72792         Preserve floating point return values across _dl_call_pltexit
72793         call.
72794         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72795         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72796         (la_sparc64_gnu_pltexit): New functions.
72797         (print_exit): Fix format string for return register value.
72799 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72801         * sunrpc/Makefile (others): Add rpcgen.
72802         ($(objpfx)rpcgen): Remove special build rule and dependency on
72803         libc.
72804         * sunrpc/rpcgen.c: New file.
72806 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72808         [BZ #13673]
72809         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72810         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72811         * sysdeps/i386/crti.S: Likewise.
72812         * sysdeps/i386/crtn.S: Likewise.
72813         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72814         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72815         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72816         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72817         * sysdeps/sh/crti.S: Likewise.
72818         * sysdeps/sh/crtn.S: Likewise.
72819         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72821         [BZ #13673]
72822         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72823         with URL.
72824         * locale/programs/locfile-kw.gperf: Likewise.
72825         * locale/programs/charmap-kw.h: Regenerated.
72826         * locale/programs/locfile-kw.h: Likewise.
72828         [BZ #13673]
72829         * intl/plural.y: Replace FSF snail mail address with URL.
72830         * intl/plural.c: Regenerated.
72832 2012-03-09  Richard Henderson  <rth@twiddle.net>
72834         * include/math_private.h: Remove file.
72835         * math/math_private.h: Move file ...
72836         * sysdeps/generic/math_private.h: ... here.
72838         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72839         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72840         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72842         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72843         and <math_private.h>.
72844         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72845         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72846         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72847         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72848         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72849         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72850         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72851         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72852         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72853         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72854         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72855         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72856         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72857         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72858         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72859         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72860         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72861         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72862         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72863         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72864         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72865         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72866         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72867         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72868         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72869         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72870         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72871         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72873         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72874         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72875         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72876         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72877         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72878         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72879         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72880         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72881         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72882         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72883         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72884         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72885         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72886         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72887         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72888         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72889         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72890         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72891         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72892         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72893         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72894         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72895         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72896         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72897         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72898         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72899         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72900         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72901         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72902         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72903         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72904         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72905         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72906         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72907         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72908         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72909         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72910         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72911         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72912         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72913         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72914         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72915         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72916         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72917         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72918         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72919         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72920         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72921         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72922         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72923         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72924         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72925         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72926         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72927         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72928         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72929         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72930         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72931         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72932         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72933         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72934         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72935         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72936         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72937         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72938         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72939         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72940         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72941         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72942         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72943         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72944         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72945         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72946         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72947         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72948         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72949         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72950         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72951         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72952         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72953         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72954         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72955         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72956         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72957         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72958         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72959         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72960         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72961         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72962         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72963         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72964         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72965         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72966         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72967         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72968         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72969         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72970         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72971         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72972         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72973         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72974         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72975         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72976         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72977         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72978         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72979         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72980         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72981         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72982         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72983         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72984         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72985         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72986         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72987         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72988         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72989         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72990         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72991         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72992         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72993         * sysdeps/ieee754/k_standard.c: Likewise.
72994         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72995         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72996         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72997         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72998         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72999         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73000         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73001         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73002         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73003         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73004         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73005         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73006         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73007         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73008         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73009         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73010         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73011         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73012         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73013         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73014         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73015         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73016         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73017         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73018         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73019         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73020         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73021         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73022         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73023         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73024         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73025         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73026         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73027         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73028         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73029         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73030         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73031         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73032         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73033         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73034         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73035         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73036         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73037         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73038         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73039         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73040         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73041         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73042         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73043         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73044         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73045         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73046         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73047         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73048         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73049         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73050         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73051         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73052         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73053         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73054         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73055         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73056         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73057         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73058         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73059         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73060         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73061         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73062         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73063         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73064         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73065         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73066         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73067         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73068         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73069         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73070         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73071         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73072         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73073         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73074         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73075         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73076         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73077         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73078         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73079         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73080         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73081         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73082         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73083         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73084         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73085         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73086         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73087         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73088         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73089         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73090         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73091         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73092         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73093         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73094         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73095         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73096         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73097         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73098         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73099         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73100         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73101         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73102         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73103         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73104         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73105         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73106         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73107         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73108         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73109         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73110         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73111         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73112         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73113         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73114         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73115         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73116         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73117         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73118         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73119         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73120         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73121         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73122         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73123         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73124         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73125         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73126         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73127         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73128         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73129         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73130         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
73131         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
73132         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73133         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
73134         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
73135         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73136         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
73137         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
73138         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73139         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73140         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73141         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73142         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73143         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
73144         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73145         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73146         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73147         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73148         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
73149         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
73150         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73151         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73152         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73153         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
73154         * sysdeps/ieee754/s_lib_version.c: Likewise.
73155         * sysdeps/ieee754/s_matherr.c: Likewise.
73156         * sysdeps/ieee754/s_signgam.c: Likewise.
73157         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73158         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73159         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
73160         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
73161         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
73162         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73163         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
73164         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
73165         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
73166         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
73167         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
73168         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
73169         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73170         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73171         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
73172         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73173         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73174         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73175         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73176         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73177         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73179 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73181         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
73182         * sunrpc/rpc_main.c: Likewise.
73183         * sunrpc/rpc_svcout.c: Likewise.
73185 2012-03-09  David S. Miller  <davem@davemloft.net>
73187         * include/math_private.h: New file.
73189 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73191         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
73192         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
73193         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
73194         from <bits/socket_type.h>.
73195         (enum __socket_type): Don't define here.
73196         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
73197         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73198         bits/socket_type.h.
73200         [BZ #13566]
73201         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
73202         checking __USE_GNU.
73204         * Makerules ($(inst_includedir)/%.h): New rule.
73205         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
73206         (install-others): Remove variable setting.
73207         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
73209 2012-03-08  Richard Henderson  <rth@twiddle.net>
73211         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
73212         from macro to inline function; merge with the
73213         !__LIBC_INTERNAL_MATH_INLINES version.
73214         (__ieee754_sqrtf): Likewise.
73216         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
73217         to inline function.
73218         (__rintf, __floor, __floorf): Likewise.
73220         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
73221         macro to inline function.
73222         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
73224         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
73225         not <math/math_private.h>.
73227 2012-03-08  David S. Miller  <davem@davemloft.net>
73229         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
73230         copyright year.
73231         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
73233 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
73235         * resolv/gai_misc.c (handle_requests): Fix struct timespec
73236         normalization.
73237         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
73238         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
73240 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
73242         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
73243         be defined individually, they must be defined as a block.  Define
73244         S for printing a string instead of hidint the different by using a
73245         macro for adding the 'l'.
73246         * stdio-common/tst-fphex-wide.c: Adjust.
73248 2012-03-07  Marek Polacek  <polacek@redhat.com>
73250         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73252 2012-03-08  Marek Polacek  <polacek@redhat.com>
73254         [BZ #13806]
73255         * stdio-common/Makefile (tests): Add tst-fphex-wide.
73256         * stdio-common/tst-fphex.c: Define a few macros to make the
73257         test reusable.  Use them.
73258         * stdio-common/tst-fphex-wide.c: New file.
73260 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
73262         [BZ #6911]
73263         * manual/macros.texi (gnusystems): New macro.
73264         (nongnusystems): Likewise.
73265         (gnulinuxhurdsystems): Likewise.
73266         (gnuhurdsystems): Likewise..
73267         (gnulinuxsystems): Likewise.
73268         * manual/charset.texi: Use new macros or @theglibc{} to refer to
73269         variants of the GNU system, not "GNU system".
73270         * manual/conf.texi: Likewise.
73271         * manual/errno.texi: Likewise.  Update example of errno macro
73272         expansion.
73273         * manual/filesys.texi: Likewise.
73274         (getumask): Document as specific to GNU/Hurd.
73275         * manual/install.texi: Likewise.  Reword some references to
73276         GNU/Linux.
73277         * manual/intro.texi: Likewise.
73278         * manual/io.texi: Likewise.
73279         (File Name Portability): Detail which constraints are inapplicable
73280         to all GNU systems and which are only inapplicable to GNU/Hurd.
73281         * manual/job.texi: Likewise.
73282         * manual/llio.texi: Likewise.
73283         (O_NOCTTY): Document as present on GNU/Linux.
73284         * manual/maint.texi: Likewise.
73285         * manual/memory.texi: Likewise.
73286         * manual/pattern.texi: Likewise.
73287         * manual/pipe.texi: Likewise.
73288         * manual/process.texi: Likewise.
73289         * manual/resource.texi: Likewise.
73290         (RUSAGE_CHILDREN): Remove statement about specifying a particular
73291         child on GNU/Hurd.
73292         * manual/setjmp.texi: Likewise.
73293         * manual/signal.texi: Likewise.
73294         * manual/startup.texi: Likewise.
73295         * manual/stdio.texi: Likewise.
73296         * manual/terminal.texi: Likewise.
73297         (ONLCR): Document as POSIX.
73298         (OXTABS): Document availability on GNU/Linux as XTABS.
73299         (ONOEOT): Document availability separately from other bits.
73300         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
73301         * manual/time.texi: Likewise.
73302         * manual/users.texi: Likewise.
73303         * INSTALL: Regenerated.
73304         * sysdeps/gnu/errlist.c: Regenerated.
73306         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
73307         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
73308         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
73309         puts.
73310         * configure: Regenerated.
73312 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
73314         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73315         default includes instead of AC_HEADER_CHECK.
73316         * sysdeps/i386/configure: Regenerated.
73318         [BZ #10716]
73319         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73320         * math/s_cacoshf.c (__cacoshf): Likewise.
73321         * math/s_cacoshl.c (__cacoshl): Likewise.
73322         * math/s_casinh.c (__casinh): Set signs of result from argument.
73323         * math/s_casinhf.c (__casinhf): Likewise.
73324         * math/s_casinhl.c (__casinhl): Likewise.
73325         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73326         (casinh_test): Add more tests.
73327         * sysdeps/i386/fpu/libm-test-ulps: Update.
73328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73330 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
73332         * po/zh_TW.po: Update from translation team.
73334         * login/Makefile (distribute): Remove variable.
73335         * catgets/Makefile: Likewise.
73336         * mach/Makefile: Likewise.
73337         * malloc/Makefile: Likewise.
73338         * misc/Makefile: Likewise.
73339         * iconv/Makefile: Likewise.
73340         * nscd/Makefile: Likewise.
73341         * hurd/Makefile: Likewise.
73342         * manual/Makefile: Likewise.
73343         * locale/Makefile: Likewise.
73344         * intl/Makefile: Likewise.
73345         * conform/Makefile: Likewise.
73346         * nss/Makefile: Likewise.
73347         * time/Makefile: Likewise.
73348         * soft-fp/Makefile: Likewise.
73349         * dirent/Makefile: Likewise.
73350         * gmon/Makefile: Likewise.
73351         * po/Makefile: Likewise.
73352         * rt/Makefile: Likewise.
73353         * socket/Makefile: Likewise.
73354         * math/Makefile: Likewise.
73355         * signal/Makefile: Likewise.
73356         * debug/Makefile: Likewise.
73357         * elf/Makefile: Likewise.
73358         * timezone/Makefile: Likewise.
73359         * stdlib/Makefile: Likewise.
73360         * iconvdata/Makefile: Likewise.
73361         * sunrpc/Makefile: Likewise.
73362         * io/Makefile: Likewise.
73363         * argp/Makefile: Likewise.
73364         * inet/Makefile: Likewise.
73365         * hesiod/Makefile: Likewise.
73366         * grp/Makefile: Likewise.
73367         * csu/Makefile: Likewise.
73368         * wctype/Makefile: Likewise.
73369         * crypt/Makefile: Likewise.
73370         * libio/Makefile: Likewise.
73371         * string/Makefile: Likewise.
73372         * nis/Makefile: Likewise.
73373         * resolv/Makefile: Likewise.
73374         * stdio-common/Makefile: Likewise.
73375         * wcsmbs/Makefile: Likewise.
73376         * dlfcn/Makefile: Likewise.
73377         * posix/Makefile: Likewise.
73379         [BZ #6959]
73380         * timezone/Makefile: Don't install timezone files, just the programs
73381         and scripts.
73383 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
73385         * nss/databases.def: Add missing gshadow entry.
73387         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
73389 2012-03-06  Marek Polacek  <polacek@redhat.com>
73391         [BZ #13726]
73392         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73393         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73394         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73395         * stdio-common/tst-long-dbl-fphex.c: New file.
73397 2012-03-06  David S. Miller  <davem@davemloft.net>
73399         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73400         (set_obp_int): New function.
73401         (get_obp_int): New function.
73402         (__get_clockfreq_via_dev_openprom): Likewise.
73403         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73404         Avoid unused variable warnings on 'val' and use builtin_expect.
73405         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73406         __builtin_expect.
73407         (INLINE_CLONE_SYSCALL): Likewise.
73409 2012-03-05  David S. Miller  <davem@davemloft.net>
73411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73413 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
73415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73417         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
73418         only for |x| >= 40.
73419         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73421 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
73423         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
73424         Replace gettimeofday with __vdso_gettimeofday.
73426         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73427         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
73428         __vdso_clock_gettime and __vdso_getcpu.
73430         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
73431         time with __vdso_time.
73433 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73435         * manual/lang.texi (size_t): Note types to which size_t may be
73436         equivalent with the GNU C Library, but do not describe when
73437         differences between them are significant.
73439 2012-03-05  Andreas Jaeger  <aj@suse.de>
73441         * sysdeps/i386/fpu/libm-test-ulps: Update.
73443 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73445         [BZ #3976]
73446         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
73447         (__ieee754_pow): Save and restore rounding mode and use
73448         round-to-nearest for main computations.
73449         * math/libm-test.inc (pow_test_tonearest): New function.
73450         (pow_test_towardzero): Likewise.
73451         (pow_test_downward): Likewise.
73452         (pow_test_upward): Likewise.
73453         (main): Call the new functions.
73454         * sysdeps/i386/fpu/libm-test-ulps: Update.
73455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73457         [BZ #3976]
73458         * math/libm-test.inc (cosh_test_tonearest): New function.
73459         (cosh_test_towardzero): Likewise.
73460         (cosh_test_downward): Likewise.
73461         (cosh_test_upward): Likewise.
73462         (sinh_test_tonearest): Likewise.
73463         (sinh_test_towardzero): Likewise.
73464         (sinh_test_downward): Likewise.
73465         (sinh_test_upward): Likewise.
73466         (main): Call the new functions.
73467         * sysdeps/i386/fpu/libm-test-ulps: Update.
73468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73470 2012-03-05  Tom de Vries  <tom@codesourcery.com>
73472         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
73473         default stack guard is set in last bytes.
73474         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
73476 2012-03-05  Kees Cook  <keescook@chromium.org>
73478         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
73480         [BZ #13656]
73481         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
73482         possibly allocate from heap instead of stack.
73483         * stdio-common/bug-vfprintf-nargs.c: New file.
73484         * stdio-common/Makefile (tests): Add nargs overflow test.
73486 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
73488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73490 2012-03-03  Marek Polacek  <polacek@redhat.com>
73492         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73493         * math/math_private.h: Likewise.
73494         * stdlib/tst-strtod.c: Likewise.
73495         * sysdeps/i386/i486/bits/atomic.h: Likewise.
73496         * sysdeps/x86_64/bits/atomic.h: Likewise.
73498 2012-03-02  David S. Miller  <davem@davemloft.net>
73500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
73501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
73502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
73503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
73504         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73505         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
73506         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
73507         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
73509 2012-03-02  Roland McGrath  <roland@hack.frob.com>
73511         [BZ #13792]
73512         * manual/examples/README: New file, says the example source files
73513         can be used under GPL>=2.
73514         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73515         line containing just "*/".
73516         * manual/examples/add.c: Add copyright header (GPL>=2).
73517         * manual/examples/argp-ex1.c: Likewise.
73518         * manual/examples/argp-ex2.c: Likewise.
73519         * manual/examples/argp-ex3.c: Likewise.
73520         * manual/examples/argp-ex4.c: Likewise.
73521         * manual/examples/atexit.c: Likewise.
73522         * manual/examples/db.c: Likewise.
73523         * manual/examples/dir.c: Likewise.
73524         * manual/examples/dir2.c: Likewise.
73525         * manual/examples/execinfo.c: Likewise.
73526         * manual/examples/filecli.c: Likewise.
73527         * manual/examples/filesrv.c: Likewise.
73528         * manual/examples/fmtmsgexpl.c: Likewise.
73529         * manual/examples/genpass.c: Likewise.
73530         * manual/examples/inetcli.c: Likewise.
73531         * manual/examples/inetsrv.c: Likewise.
73532         * manual/examples/isockad.c: Likewise.
73533         * manual/examples/longopt.c: Likewise.
73534         * manual/examples/memopen.c: Likewise.
73535         * manual/examples/memstrm.c: Likewise.
73536         * manual/examples/mkfsock.c: Likewise.
73537         * manual/examples/mkisock.c: Likewise.
73538         * manual/examples/mygetpass.c: Likewise.
73539         * manual/examples/pipe.c: Likewise.
73540         * manual/examples/popen.c: Likewise.
73541         * manual/examples/rprintf.c: Likewise.
73542         * manual/examples/search.c: Likewise.
73543         * manual/examples/select.c: Likewise.
73544         * manual/examples/setjmp.c: Likewise.
73545         * manual/examples/sigh1.c: Likewise.
73546         * manual/examples/sigusr.c: Likewise.
73547         * manual/examples/stpcpy.c: Likewise.
73548         * manual/examples/strdupa.c: Likewise.
73549         * manual/examples/strftim.c: Likewise.
73550         * manual/examples/strncat.c: Likewise.
73551         * manual/examples/subopt.c: Likewise.
73552         * manual/examples/swapcontext.c: Likewise.
73553         * manual/examples/termios.c: Likewise.
73554         * manual/examples/testopt.c: Likewise.
73555         * manual/examples/testpass.c: Likewise.
73556         * manual/examples/timeval_subtract.c: Likewise.
73558         [BZ #13792]
73559         * manual/time.texi (Elapsed Time): Move timeval_subtract example
73560         function to ...
73561         * manual/timeval_subtract.c.texi: ... here, new file.
73563 2012-03-02  David S. Miller  <davem@davemloft.net>
73565         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
73567 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
73569         [BZ #3976]
73570         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
73571         (__sin): Save and restore rounding mode and use round-to-nearest
73572         for all computations.
73573         (__cos): Save and restore rounding mode and use round-to-nearest
73574         for all computations.
73575         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
73576         <fenv.h>.
73577         (tan): Save and restore rounding mode and use round-to-nearest for
73578         all computations.
73579         * math/libm-test.inc (cos_test_tonearest): New function.
73580         (cos_test_towardzero): Likewise.
73581         (cos_test_downward): Likewise.
73582         (cos_test_upward): Likewise.
73583         (sin_test_tonearest): Likewise.
73584         (sin_test_towardzero): Likewise.
73585         (sin_test_downward): Likewise.
73586         (sin_test_upward): Likewise.
73587         (tan_test_tonearest): Likewise.
73588         (tan_test_towardzero): Likewise.
73589         (tan_test_downward): Likewise.
73590         (tan_test_upward): Likewise.
73591         (main): Call the new functions.
73592         * sysdeps/i386/fpu/libm-test-ulps: Update.
73593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73595         [BZ #10135]
73596         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
73597         small n, then large n, before computing and testing k+n.
73598         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
73599         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
73600         Likewise.
73601         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
73602         Likewise.
73603         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
73604         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
73605         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
73606         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
73607         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
73608         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
73609         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
73610         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
73611         * math/libm-test.inc (scalbn_test): Add more tests.
73612         (scalbln_test): Likewise.
73614         * manual/filesys.texi (mode_t): Describe constraints on size and
73615         signedness, not exact equivalence to a particular type.
73616         (ino_t): Likewise.
73617         (ino64_t): Likewise.
73618         (dev_t): Likewise.
73619         (nlink_t): Likewise.
73620         (blkcnt_t): Likewise.
73621         (blkcnt64_t): Likewise.
73622         * manual/llio.texi (off_t): Likewise.
73624         [BZ #3976]
73625         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
73626         (__ieee754_exp): Save and restore rounding mode and use
73627         round-to-nearest for all computations.
73628         * math/libm-test.inc (exp_test_tonearest): New function.
73629         (exp_test_towardzero): Likewise.
73630         (exp_test_downward): Likewise.
73631         (exp_test_upward): Likewise.
73632         (main): Call the new functions.
73633         * sysdeps/i386/fpu/libm-test-ulps: Update.
73634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73636 2012-03-01  Chris Demetriou  <cgd@google.com>
73638         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
73639         have predictable order.
73641 2012-03-01  David S. Miller  <davem@davemloft.net>
73643         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
73645         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
73646         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
73647         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
73648         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
73650         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
73651         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
73652         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
73653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
73654         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
73655         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
73656         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
73657         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
73658         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
73660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73662         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
73663         * sysdeps/sparc/fpu/libm-test-ulps: to here.
73664         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
73666         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
73667         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73668         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73669         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
73670         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
73671         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
73672         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
73673         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73674         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73675         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
73676         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
73677         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73678         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73679         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73680         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73681         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73682         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
73683         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
73684         * sysdeps/sparc/elf/configure: Regenerated.
73686 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
73688         * configure.in (AS, LD): Require binutils 2.20 or later.
73689         * configure: Regenerated.
73690         * manual/install.texi (Tools for Compilation): Give binutils 2.20
73691         as required minimum version.
73692         * INSTALL: Regenerated.
73694         [BZ #2541]
73695         [BZ #4108]
73696         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
73697         before squaring exponent.
73698         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
73699         bottom long double and 27 bits of top long double before squaring
73700         exponent.
73701         * math/libm-test.inc (erfc_test): Add more tests.
73702         * sysdeps/i386/fpu/libm-test-ulps: Update.
73703         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73706 2012-03-01  Kai Tietz  <ktietz@redhat.com>
73708         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
73709         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
73710         containing bit-fields.
73711         * soft-fp/extended.h (_FP_UNION_E): Likewise.
73712         * soft-fp/single.h (_FP_UNION_S): Likewise.
73713         * soft-fp/double.h (_FP_UNION_D): Likewise.
73715 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73717         [BZ #13786]
73718         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
73719         not include ../strcmp.S.
73720         [USE_AS_STRNCASECMP_L]: Likewise.
73721         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
73722         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
73723         * sysdeps/i386/i686/multiarch/strncase_l-c.c
73724         (__strncasecmp_l_ia32): Define as alias to
73725         __strncasecmp_l_nonascii.
73727         [BZ #5794]
73728         * math/libm-test.inc (expm1_test): Add test for bug 5794.
73729         * sysdeps/i386/fpu/libm-test-ulps: Update.
73730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73732         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
73733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73735 2012-02-29  Jeff Law  <law@redhat.com>
73737         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
73738         out of bounds read.
73740 2012-02-29  Marek Polacek  <polacek@redhat.com>
73742         [BZ #13706]
73743         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
73744         * elf/Makefile: Add rules to run tst-unused-dep.out.
73746 2012-02-28  David S. Miller  <davem@davemloft.net>
73748         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
73749         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
73750         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
73751         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
73752         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
73753         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
73755 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73757         * math/libm-test.inc (llround_test): Move one test from
73758         lround_test.  Use TEST_f_L in moved test.
73759         (lround_test): Move misplaced test to llround_test.  Add testcase
73760         from bug 2561.
73762 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
73764         * sysdeps/x86_64/fpu/e_expf.S: New file.
73765         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
73767 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
73769         [BZ #13637]
73770         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
73771         of remain_len that may cause incomplete multi-byte character and
73772         false match.
73773         * posix/bug-regex33.c: New file.
73774         * posix/Makefile (tests): Add bug-regex33.
73776 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
73778         * manual/macros.texi: New file.
73779         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73780         * manual/libc.texinfo: Include macros.texi.
73781         * manual/creatute.texi: Likewise.
73782         * manual/install.texi: Likewise.
73783         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73784         @glibcadj{} in references to the GNU C Library.
73785         * manual/charset.texi: Likewise.
73786         * manual/conf.texi: Likewise.
73787         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73788         when not using those macros.
73789         * manual/creature.texi: Likewise.
73790         * manual/crypt.texi: Likewise.
73791         * manual/errno.texi: Likewise.
73792         * manual/filesys.texi: Likewise.
73793         * manual/header.texi: Likewise.
73794         * manual/install.texi: Likewise.
73795         * manual/intro.texi: Likewise.
73796         * manual/io.texi: Likewise.
73797         * manual/job.texi: Likewise.
73798         * manual/lang.texi: Likewise.
73799         * manual/libc.texiinfo: Likewise.
73800         * manual/llio.texi: Likewise.
73801         * manual/locale.texi: Likewise.
73802         * manual/maint.texi: Likewise.
73803         * manual/math.texi: Likewise.
73804         * manual/memory.texi: Likewise.
73805         * manual/message.texi: Likewise.
73806         * manual/nss.texi: Likewise.
73807         * manual/pattern.texi: Likewise.
73808         * manual/process.texi: Likewise.
73809         * manual/resource.texi: Likewise.
73810         * manual/search.texi: Likewise.
73811         * manual/setjmp.texi: Likewise.
73812         * manual/signal.texi: Likewise.
73813         * manual/socket.texi: Likewise.
73814         * manual/startup.texi: Likewise.
73815         * manual/stdio.texi: Likewise.
73816         * manual/string.texi: Likewise.
73817         * manual/sysinfo.texi: Likewise.
73818         * manual/syslog.texi: Likewise.
73819         * manual/terminal.texi: Likewise.
73820         * manual/time.texi: Likewise.
73821         * manual/users.texi: Likewise.
73822         * INSTALL: Regenerated.
73823         * NOTES: Regenerated.
73824         * sysdeps/gnu/errlist.c: Regenerated.
73826 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73828         * include/dirent.h: Include <dirstream.h> before
73829         <dirent/dirent.h>.
73831 2012-02-28  David S. Miller  <davem@davemloft.net>
73833         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73834         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73835         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73836         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73838 2012-02-27  David S. Miller  <davem@davemloft.net>
73840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73842         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73843         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73846         frame pointer instead of stack pointer relative arg slot.
73847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73848         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73849         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73851 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73853         [BZ #3992]
73854         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73856 2012-02-27  David S. Miller  <davem@davemloft.net>
73858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73862         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73863         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73864         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73865         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73867 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73869         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73870         later.  Allow versions 5-9.
73871         * configure: Regenerated.
73872         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73873         required minimum version and 4.6 as recommended version.  Do not
73874         mention bugs in GCC 2.7 and 2.8.
73875         * INSTALL: Regenerated.
73877 2012-02-27  David S. Miller  <davem@davemloft.net>
73879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73883         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73884         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73885         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73886         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73888         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73889         manipulate bits before adding and subtracting TWO112[sx].
73890         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73892 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73894         [BZ #13775]
73895         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73896         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73897         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73898         being in POSIX, because they are in 1003.1-2008.
73900         * rt/tst-aio.c: Include <fcntl.h>.
73901         * rt/tst-aio7.c: Likewise.
73902         * rt/tst-aio64.c: Likewise.
73904         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73906 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73908         * manual/install.texi (--with-headers): Describe headers as
73909         interface headers, not private headers.
73910         (Specific advice for GNU/Linux systems): Describe use of headers
73911         from "make headers_install", not private headers from older
73912         kernels.
73913         * INSTALL: Regenerated.
73914         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73915         Change to 2.6.19.
73916         * sysdeps/unix/sysv/linux/configure: Regenerated.
73918         * manual/llio.texi (fclean): Remove documentation.
73920         * manual/Makefile (libc-texi-generated): New variable.  Include
73921         version.texi.
73922         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73923         $(libc-texi-generated), not duplicated list of files.
73924         (version.texi, stamp-version): New rules.
73925         (realclean): Remove $(libc-texi-generated), not individual files
73926         from that list.  Do not remove dir-add.texinfo.
73927         * manual/libc.texinfo: Comment out uses of edition numbers and
73928         references to printed manual.  Remove last-updated dates.
73929         (EDITION): Comment out.
73930         (ISBN): Likewise.
73931         (VERSION, UPDATED): Remove.
73932         (version.texi): Include.
73934 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73936         * sysdeps/posix/spawni.c: Include <signal.h>.
73937         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73938         * sysdeps/pthread/aio_fsync.c: Likewise.
73940 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73942         * conform/Makefile (tests): Run only when not cross-compiling and
73943         when fast-check is not defined.
73945         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73946         * conform/data/limits.h-data: Fixes for POSIX2008.
73947         * conform/run-conformtest.sh: Run all tests.
73948         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73949         headers.
73950         * include/bits/dlfcn.h: Likewise.
73951         * include/langinfo.h: Likewise.
73952         * include/monetary.h: Likewise.
73953         * include/sys/poll.h: Likewise.
73955         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73956         for __USE_GNU.
73957         * posix/spawn.h: Define __need_sigset_t.
73958         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73959         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73960         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73961         to get sigevent_t only.
73962         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73963         only for __USE_GNU.
73964         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73965         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73966         process_vm_writev only for __USE_GNU.
73967         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73969         * conform/Makefile: For now ignore errors from run-conformtest.
73970         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73971         POSIX to avoid namespace pollution.  Don't prepend headers.
73972         * conform/data/aio.h-data: Fixes for POSIX testing.
73973         * conform/data/fcntl.h-data: Likewise.
73974         * conform/data/glob.h-data: Likewise.
73975         * conform/data/grp.h-data: Likewise.
73976         * conform/data/pthread.h-data: Likewise.
73977         * conform/data/pwd.h-data: Likewise.
73978         * conform/data/signal.h-data: Likewise.
73979         * conform/data/spawn.h-data: Likewise.
73980         * conform/data/stdio.h-data: Likewise.
73981         * conform/data/stdlib.h-data: Likewise.
73982         * conform/data/stropts.h-data: Likewise.
73983         * conform/data/sys/mman.h-data: Likewise.
73984         * conform/data/sys/stat.h-data: Likewise.
73985         * conform/data/sys/types.h-data: Likewise.
73986         * conform/data/sys/wait.h-data: Likewise.
73987         * conform/data/time.h-data: Likewise.
73988         * conform/data/unistd.h-data: Likewise.
73989         * conform/data/utime.h-data: Likewise.
73991         * io/sys/stat.h: fchmod was always in POSIX.
73992         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73993         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73994         * rt/aio.h: Define __need_timespec before including <time.h>.
73995         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
73996         struct.  Add forward declaration of pthread_attr_t and use it in
73997         sigevent.
73998         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73999         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74000         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74001         always remove CLK_TCK definition.
74003 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74005         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74007 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74009         * conform/run-conformtest.sh: New file.
74010         * conform/Makefile: Run run-conformtest for tests.
74011         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74012         support.
74014         * conform/data/uchar.h-data: New file.
74015         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74016         * conform/data/arpa/inet.h-data: Likewise.
74017         * conform/data/assert.h-data: Likewise.
74018         * conform/data/complex.h-data: Likewise.
74019         * conform/data/cpio.h-data: Likewise.
74020         * conform/data/ctype.h-data: Likewise.
74021         * conform/data/dirent.h-data: Likewise.
74022         * conform/data/dlfcn.h-data: Likewise.
74023         * conform/data/errno.h-data: Likewise.
74024         * conform/data/fcntl.h-data: Likewise.
74025         * conform/data/float.h-data: Likewise.
74026         * conform/data/fmtmsg.h-data: Likewise.
74027         * conform/data/fnmatch.h-data: Likewise.
74028         * conform/data/ftw.h-data: Likewise.
74029         * conform/data/glob.h-data: Likewise.
74030         * conform/data/grp.h-data: Likewise.
74031         * conform/data/iconv.h-data: Likewise.
74032         * conform/data/inttypes.h-data: Likewise.
74033         * conform/data/langinfo.h-data: Likewise.
74034         * conform/data/libgen.h-data: Likewise.
74035         * conform/data/limits.h-data: Likewise.
74036         * conform/data/locale.h-data: Likewise.
74037         * conform/data/math.h-data: Likewise.
74038         * conform/data/monetary.h-data: Likewise.
74039         * conform/data/mqueue.h-data: Likewise.
74040         * conform/data/ndbm.h-data: Likewise.
74041         * conform/data/net/if.h-data: Likewise.
74042         * conform/data/netdb.h-data: Likewise.
74043         * conform/data/netinet/in.h-data: Likewise.
74044         * conform/data/nl_types.h-data: Likewise.
74045         * conform/data/poll.h-data: Likewise.
74046         * conform/data/pthread.h-data: Likewise.
74047         * conform/data/pwd.h-data: Likewise.
74048         * conform/data/regex.h-data: Likewise.
74049         * conform/data/sched.h-data: Likewise.
74050         * conform/data/search.h-data: Likewise.
74051         * conform/data/semaphore.h-data: Likewise.
74052         * conform/data/setjmp.h-data: Likewise.
74053         * conform/data/signal.h-data: Likewise.
74054         * conform/data/spawn.h-data: Likewise.
74055         * conform/data/stdarg.h-data: Likewise.
74056         * conform/data/stdio.h-data: Likewise.
74057         * conform/data/stdlib.h-data: Likewise.
74058         * conform/data/string.h-data: Likewise.
74059         * conform/data/strings.h-data: Likewise.
74060         * conform/data/stropts.h-data: Likewise.
74061         * conform/data/sys/ipc.h-data: Likewise.
74062         * conform/data/sys/mman.h-data: Likewise.
74063         * conform/data/sys/msg.h-data: Likewise.
74064         * conform/data/sys/resource.h-data: Likewise.
74065         * conform/data/sys/select.h-data: Likewise.
74066         * conform/data/sys/sem.h-data: Likewise.
74067         * conform/data/sys/shm.h-data: Likewise.
74068         * conform/data/sys/socket.h-data: Likewise.
74069         * conform/data/sys/stat.h-data: Likewise.
74070         * conform/data/sys/statvfs.h-data: Likewise.
74071         * conform/data/sys/time.h-data: Likewise.
74072         * conform/data/sys/timeb.h-data: Likewise.
74073         * conform/data/sys/times.h-data: Likewise.
74074         * conform/data/sys/types.h-data: Likewise.
74075         * conform/data/sys/uio.h-data: Likewise.
74076         * conform/data/sys/un.h-data: Likewise.
74077         * conform/data/sys/utsname.h-data: Likewise.
74078         * conform/data/sys/wait.h-data: Likewise.
74079         * conform/data/syslog.h-data: Likewise.
74080         * conform/data/tar.h-data: Likewise.
74081         * conform/data/termios.h-data: Likewise.
74082         * conform/data/utime.h-data: Likewise.
74083         * conform/data/utmpx.h-data: Likewise.
74084         * conform/data/varargs.h-data: Likewise.
74085         * conform/data/wchar.h-data: Likewise.
74086         * conform/data/wctype.h-data: Likewise.
74087         * conform/data/wordexp.h-data: Likewise.
74089         * include/stropts.h: New file.
74090         * include/uchar.h: New file.
74091         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74092         * include/assert.h: Likewise.
74093         * include/ctype.h: Likewise.
74094         * include/dirent.h: Likewise.
74095         * include/dlfcn.h: Likewise.
74096         * include/fcntl.h: Likewise.
74097         * include/fnmatch.h: Likewise.
74098         * include/glob.h: Likewise.
74099         * include/grp.h: Likewise.
74100         * include/libio.h: Likewise.
74101         * include/locale.h: Likewise.
74102         * include/math.h: Likewise.
74103         * include/net/if.h: Likewise.
74104         * include/netdb.h: Likewise.
74105         * include/netinet/in.h: Likewise.
74106         * include/pthread.h: Likewise.
74107         * include/pwd.h: Likewise.
74108         * include/regex.h: Likewise.
74109         * include/sched.h: Likewise.
74110         * include/search.h: Likewise.
74111         * include/setjmp.h: Likewise.
74112         * include/signal.h: Likewise.
74113         * include/stdio.h: Likewise.
74114         * include/stdlib.h: Likewise.
74115         * include/string.h: Likewise.
74116         * include/sys/cdefs.h: Likewise.
74117         * include/sys/mman.h: Likewise.
74118         * include/sys/msg.h: Likewise.
74119         * include/sys/resource.h: Likewise.
74120         * include/sys/select.h: Likewise.
74121         * include/sys/socket.h: Likewise.
74122         * include/sys/stat.h: Likewise.
74123         * include/sys/statvfs.h: Likewise.
74124         * include/sys/time.h: Likewise.
74125         * include/sys/times.h: Likewise.
74126         * include/sys/uio.h: Likewise.
74127         * include/sys/utsname.h: Likewise.
74128         * include/sys/wait.h: Likewise.
74129         * include/termios.h: Likewise.
74130         * include/time.h: Likewise.
74131         * include/ulimit.h: Likewise.
74132         * include/unistd.h: Likewise.
74133         * include/utime.h: Likewise.
74134         * include/wchar.h: Likewise.
74135         * include/wctype.h: Likewise.
74136         * include/wordexp.h: Likewise.
74138         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
74140         * time/time.h: TIME_UTC must be a macro.
74141         Make timespec_get available for ISO C11 only as well.
74143 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
74145         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
74146         Reported by Peng Haitao <penght@cn.fujitsu.com>.
74148 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74150         * configure.in: Use -o not -a in test for unsupported multi-arch.
74152 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74154         * manual/texinfo.tex: Update to version 2012-01-19.16.
74156 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74158         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
74160 2012-02-24  Roland McGrath  <roland@hack.frob.com>
74162         [BZ #13738]
74163         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
74164         * manual/fdl-1.3.texi: New file.
74165         * manual/fdl-1.1.texi: File removed.
74167         [BZ #13738]
74168         * manual/libc.texinfo (FDL_VERSION): New @set.
74169         Use it for mention of FDL in cover text.
74170         (Documentation License): Use it in @include file name.
74172 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74173             Roland McGrath  <roland@hack.frob.com>
74175         [BZ #5461]
74176         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
74177         (not LONG_LONG_MAX and LONG_LONG_MIN.
74178         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
74179         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
74180         name.
74181         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
74183 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74185         [BZ #2547]
74186         [BZ #11365]
74187         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
74188         manipulate bits before adding and subtracting TWO23[sx].
74189         * math/libm-test.inc (nearbyint_test): Add more tests.
74191 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74193         [BZ #2548]
74194         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
74195         bits before adding and subtracting TWO23[sx].
74196         * math/libm-test.inc (rint_test): Add more tests.
74197         (rint_test_tonearest): Likewise.
74198         (rint_test_towardzero): Likewise.
74199         (rint_test_downward): Likewise.
74200         (rint_test_upward: Likewise.
74202 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74204         [BZ #10110]
74205         * include/stdc-predef.h: New file.  Extracted from features.h.
74206         * include/features.h: Include stdc-predef.h.
74207         * Makefile (headers): Add stdc-predef.h.
74208         * CONFORMANCE (Compiler limitations): Update.
74210 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74212         * manual/libc.texinfo (VERSION, UPDATED): Revert.
74214 2012-02-21  David S. Miller  <davem@davemloft.net>
74216         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
74217         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74219 2012-02-20  David S. Miller  <davem@davemloft.net>
74221         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
74222         using a normal save/restore sequence, rather than allocating a
74223         dummy stack frame just to store a frame pointer and restore.
74224         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74226 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74228         * manual/install.texi: Fix stray word in line-wrapped comment.
74230 2012-02-20  David S. Miller  <davem@davemloft.net>
74232         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
74233         both binutils and gcc support GOTDATA.
74235         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
74236         "rd %pc" in the PIC register setup sequences.
74238         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
74239         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
74240         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74241         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
74242         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74243         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74244         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74245         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74246         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
74247         (SYSCALL_ERROR_HANDLER): Likewise.
74248         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74249         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
74251         (SYSCALL_ERROR_HANDLER): Likewise.
74253         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
74254         (HAVE_GCC_GOTDATA): New.
74255         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
74256         relocation support in both binutils and gcc.
74257         * sysdeps/sparc/elf/configure: Regenerate.
74259         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
74260         * sysdeps/sparc/sparc32/elf/configure: Delete.
74261         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
74262         * sysdeps/sparc/sparc64/elf/configure: Delete.
74263         * sysdeps/sparc/elf/configure.in: New file.
74264         * sysdeps/sparc/elf/configure: Generate.
74266         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
74267         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
74268         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74269         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
74270         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
74272 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74274         * manual/install.texi: Do not mention specific glibc version
74275         numbers.
74276         * manual/libc.texinfo (VERSION, UPDATED): Update.
74277         (@copying): Use @copyright{} and range of years.
74279 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74281         [BZ #13695]
74282         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
74283         [crti.S not in sysdirs] (generated): Do not append.
74284         [crti.S not in sysdirs] (omit-deps): Likewise.
74285         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
74286         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
74287         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
74288         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
74289         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
74290         Likewise.
74291         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
74292         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
74293         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
74294         * csu/defs.awk: Remove file.
74295         * sysdeps/generic/initfini.c: Likewise.
74296         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
74297         variable.
74298         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
74299         Likewise.
74301 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74303         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
74304         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
74305         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
74306         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
74307         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74308         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74309         <bits/epoll.h>.
74310         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74311         (__EPOLL_PACKED): Define to empty if not defined by
74312         <bits/epoll.h>.
74313         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74315         bits/epoll.h.
74317 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74319         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74320         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74321         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74322         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74323         <bits/timerfd.h>.
74324         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74326         bits/timerfd.h.
74328 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74330         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74331         in C locale.
74332         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74333         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74334         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74337 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
74339         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74340         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74342 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
74344         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74345         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74346         defined.
74347         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74348         Likewise.
74349         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74350         entry for 2.16.
74352 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
74354         * math/w_acos.c: Use non-signaling floating-point comparisons.
74355         * math/w_acosf.c: Likewise.
74356         * math/w_acosh.c: Likewise.
74357         * math/w_acoshf.c: Likewise.
74358         * math/w_acoshl.c: Likewise.
74359         * math/w_acosl.c: Likewise.
74360         * math/w_asin.c: Likewise.
74361         * math/w_asinf.c: Likewise.
74362         * math/w_asinl.c: Likewise.
74363         * math/w_atanh.c: Likewise.
74364         * math/w_atanhf.c: Likewise.
74365         * math/w_atanhl.c: Likewise.
74366         * math/w_exp2.c: Likewise.
74367         * math/w_exp2f.c: Likewise.
74368         * math/w_exp2l.c: Likewise.
74369         * math/w_j0.c: Likewise.
74370         * math/w_j0f.c: Likewise.
74371         * math/w_j0l.c: Likewise.
74372         * math/w_j1.c: Likewise.
74373         * math/w_j1f.c: Likewise.
74374         * math/w_j1l.c: Likewise.
74375         * math/w_jn.c: Likewise.
74376         * math/w_jnf.c: Likewise.
74377         * math/w_log.c: Likewise.
74378         * math/w_log10.c: Likewise.
74379         * math/w_log10f.c: Likewise.
74380         * math/w_log10l.c: Likewise.
74381         * math/w_log2.c: Likewise.
74382         * math/w_log2f.c: Likewise.
74383         * math/w_log2l.c: Likewise.
74384         * math/w_logf.c: Likewise.
74385         * math/w_logl.c: Likewise.
74386         * math/w_sqrt.c: Likewise.
74387         * math/w_sqrtf.c: Likewise.
74388         * math/w_sqrtl.c: Likewise.
74389         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74390         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74391         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74392         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74393         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74395 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74397         [BZ #9739]
74398         * manual/string.texi (strnlen): Use correct parameter name in
74399         equivalent expression.
74401 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74403         [BZ #11174]
74404         * manual/users.texi (seteuid): Consistently use neweuid for
74405         argument name.
74407 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74409         [BZ #13704]
74410         * manual/nss.texi (Services in the NSS configuration): Correct
74411         list of services in example configuration file.
74413 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
74415         [BZ #11322]
74416         * manual/arith.texi: Remove statements about negative zero
74417         behaving identically to zero.
74419 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74421         [BZ #5993]
74422         * manual/install.texi: Do not document upgrading from libc5.
74424 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74426         [BZ #4596]
74427         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
74429 2012-02-18  David S. Miller  <davem@davemloft.net>
74431         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
74432         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
74433         %o7 across the call.
74434         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
74435         instead.
74436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
74437         SETUP_PIC_REG_LEAF.
74438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74439         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
74440         * sysdeps/sparc/crtn.S: Likewise.
74442 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
74444         * aout/Makefile: Remove.
74446 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
74448         [BZ #13058]
74449         * manual/examples/argp-ex1.c (main): Format definition in GNU
74450         style.
74451         * manual/examples/argp-ex2.c (main): Likewise.
74452         * manual/examples/argp-ex3.c (main): Likewise.
74453         * manual/examples/argp-ex4.c (main): Likewise.
74454         * manual/examples/longopt.c (main): Use new-style prototype
74455         definition.
74456         * manual/examples/strncat.c (main): Specify return type and use
74457         (void) for arguments.
74458         * manual/examples/subopt.c (main): Use char **argv argument.
74460 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74462         [BZ #5077]
74463         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
74464         rounding modes.
74466 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
74468         [BZ #6907]
74469         * manual/string.texi (strchr): Change when strchrnul is
74470         recommended.
74472 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
74474         [BZ #174]
74475         * manual/locale.texi (setlocale): Document LOCPATH.
74477 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74479         [BZ #10210]
74480         * manual/process.texi (execle): Move @dots{} before last argument.
74482 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
74484         [BZ #12047]
74485         * manual/charset.texi (Generic Charset Conversion): Fix typo
74486         (LC_TYPE -> LC_CTYPE).
74488 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
74490         [BZ #5805]
74491         * manual/arith.texi (scalbn): Use @var{} on parameter names.
74492         (scalbnf): Likewise.
74493         (scalbnl): Likewise.
74494         (scalbln): Likewise.
74495         (scalblnf): Likewise.
74496         (scalblnl): Likewise.
74497         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
74498         (vwarnx): Likewise.
74499         (verr): Likewise.
74500         (verrx): Likewise.
74501         * manual/filesys.texi (telldir): Use braces around return type.
74502         * manual/llio.texi (mmap): Add space after comma.
74503         (mmap64): Likewise.
74504         * manual/math.texi (jn): Use @var{} on parameter names.
74505         (jnf): Likewise.
74506         (jnl): Likewise.
74507         (yn): Likewise.
74508         (ynf): Likewise.
74509         (ynl): Likewise.
74510         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
74511         line.
74512         * manual/resource.texi (ulimit): Use @dots{} instead of literal
74513         "...".
74514         (sched_get_priority_min): Remove semicolon on @deftypefun line.
74515         (sched_get_priority_max): Likewise.
74516         * manual/signal.texi (sigvec): Add space after comma.
74517         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
74518         names.
74519         (if_indextoname): Likewise.
74520         (if_freenameindex): Likewise.
74521         (sendto): Use ',' instead of '.' in prototype.
74522         * manual/startup.texi (syscall): Use @dots{} instead of literal
74523         "...".
74524         * manual/stdio.texi (__fpending): Separate initial words of
74525         paragraph from @deftypefun line.
74526         * manual/syslog.texi (syslog): Use @dots{} instead of literal
74527         "...".
74528         (vsyslog): Use @var{} on parameter names.
74529         * manual/terminal.texi (stty): Use @var{} on parameter names.
74530         * manual/users.texi (getutmp): Use @var{} on parameter names.
74531         (getutmpx): Likewise.
74533 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74535         [BZ #6884]
74536         * manual/stdio.texi (fopen): Fix typos in description of
74537         ",ccs=STRING".
74539 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
74541         [BZ #4026]
74542         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
74543         get clock_id definition.
74545 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
74547         [BZ #4822]
74548         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
74549         (madvise): Cast every argument to void on its own.
74551 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74553         [BZ #9902]
74554         * manual/startup.texi (Exit Status): Fix typo.
74556 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74558         [BZ #10140]
74559         * manual/examples/argp-ex1.c: Include <stdlib.h>.
74560         * manual/examples/argp-ex2.c: Likewise.
74561         * manual/examples/argp-ex3.c: Likewise.
74563 2012-02-16  Richard Henderson  <rth@redhat.com>
74565         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
74566         * sysdeps/s390/s390-32/initfini.c: Remove.
74567         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
74568         * sysdeps/s390/s390-64/initfini.c: Remove.
74570 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74572         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
74573         compiler output for sysdeps/generic/initfini.c.
74574         * sysdeps/sh/elf/initfini.c: Remove file.
74576 2012-02-16  David S. Miller  <davem@davemloft.net>
74578         [BZ #11494]
74579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
74581         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
74582         * sysdeps/sparc/crti.S: New file.
74583         * sysdeps/sparc/crtn.S: New file.
74584         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
74585         * sysdeps/sparc/sparc64/Makefile: Likewise.
74587 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
74589         [BZ #3335]
74590         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
74592 2012-02-15  Roland McGrath  <roland@hack.frob.com>
74594         [BZ #4822]
74595         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
74597         * mach/devstream.c (cookie_io_functions_t): Macro removed.
74598         (write, read, close): Likewise.
74599         Patch by Aurelien Jarno <aurelien@aurel32.net>.
74601 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
74603         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
74604         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
74605         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
74606         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
74607         <bits/signalfd.h>.
74608         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
74609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74610         bits/signalfd.h.
74612 2012-02-14  Marek Polacek  <polacek@redhat.com>
74614         * sysdeps/x86_64/crti.S: New file.
74615         * sysdeps/x86_64/crtn.S: New file.
74616         * sysdeps/x86_64/elf/initfini.c: Remove file.
74618 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74620         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
74621         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
74622         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
74623         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
74624         <bits/inotify.h>.
74625         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
74626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74627         bits/inotify.h.
74629 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74631         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
74632         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
74633         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
74634         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
74635         <bits/eventfd.h>.
74636         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
74637         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74638         bits/eventfd.h.
74640 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
74642         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
74643         __feraiseexcept instead of feraiseexcept.
74645         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
74646         nanosleep invocations.
74647         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
74648         strings, and add error checking for a nanosleep invocations.
74650 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
74652         Replace FSF snail mail address with URLs, as per GNU coding standards.
74653         Most of the snail mail addresses were wrong anyway, and omitting
74654         them makes the source code easier to maintain.  Almost all of the
74655         changes are to license notices and to locale LC_IDENTIFICATION
74656         addresses, except for this one:
74657         * manual/libc.texinfo: In "Published by", give the FSF's URL,
74658         not its snail mail address.
74660 2012-02-09  Richard Henderson  <rth@twiddle.net>
74662         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
74663         of kernel-features.h.
74665         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
74667 2012-02-08  Marek Polacek  <polacek@redhat.com>
74669         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
74670         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
74671         * sysdeps/gnu/_G_config.h: Likewise.
74672         * sysdeps/generic/_G_config.h: Likewise.
74674 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
74676         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
74677         tests.
74678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74680         * sysdeps/powerpc/powerpc32/crti.S: New file.
74681         * sysdeps/powerpc/powerpc32/crtn.S: New file.
74682         * sysdeps/powerpc/powerpc64/crti.S: New file.
74683         * sysdeps/powerpc/powerpc64/crtn.S: New file.
74685         * Makeconfig (have-initfini): Don't set.
74686         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
74687         * configure.in (nopic_initfini): Don't substitute.
74688         * config.h.in (HAVE_INITFINI): Don't #undef.
74689         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
74690         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
74692 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
74694         Support crti.S and crtn.S provided directly by architectures.
74695         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
74696         [crti.S in sysdirs] (omit-deps): Likewise.
74697         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
74698         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
74699         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
74700         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
74701         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
74702         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
74703         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
74704         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
74705         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
74706         compiler output for sysdeps/generic/initfini.c.
74707         * sysdeps/i386/elf/Makefile: Remove file.
74708         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
74710 2012-02-07  Marek Polacek  <polacek@redhat.com>
74712         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
74713         * sysdeps/gnu/_G_config.h: Likewise.
74714         * sysdeps/mach/hurd/_G_config.h: Likewise.
74716 2012-02-07  Marek Polacek  <polacek@redhat.com>
74718         * math/Makefile (tests): Add tst-CMPLX2.
74719         * math/tst-CMPLX2.c: New file.
74721 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
74723         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74725         * math/libm-test.inc (jn_test): Add missing L suffix.
74727 2012-02-06  Marek Polacek  <polacek@redhat.com>
74729         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
74730         * sysdeps/i386/fpu/e_powf.S: Likewise.
74731         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74732         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74733         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74734         * sysdeps/i386/fpu/e_pow.S: Likewise.
74735         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74736         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74737         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74738         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74739         * sysdeps/i386/fpu/e_log2.S: Likewise.
74740         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74741         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74742         * sysdeps/i386/fpu/e_powl.S: Likewise.
74743         * sysdeps/i386/fpu/s_log1p.S: Likewise.
74744         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74745         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74746         * sysdeps/i386/fpu/e_logl.S: Likewise.
74747         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74748         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
74749         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74750         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74751         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74752         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74753         * sysdeps/i386/fpu/e_log.S: Likewise.
74754         * sysdeps/i386/fpu/s_cexp.S: Likewise.
74755         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74756         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
74757         * sysdeps/i386/fpu/e_logf.S: Likewise.
74758         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74759         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74760         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
74761         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74762         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74763         * sysdeps/i386/fpu/e_log10.S: Likewise.
74764         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74765         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74766         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74767         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74768         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74769         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74770         * sysdeps/i386/asm-syntax.h: Likewise.
74771         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74772         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74773         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74774         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
74775         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
74776         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74777         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74778         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74779         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74780         * sysdeps/powerpc/sysdep.h: Likewise.
74781         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74782         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74784 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74786         [BZ #411]
74787         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74789 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74791         * sysdeps/i386/sysdep.h: Include <features.h>.
74792         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74793         version.
74795 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74797         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74798         Define.
74799         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74800         LOAD_PIC_REG_STR.
74802 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74804         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74805         (SETUP_PIC_REG): Use GET_PC_THUNK.
74806         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74807         macro.
74809 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74811         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74812         for non-PIC compilation.
74813         (SETUP_PIC_REG): Add .p2align directive.
74814         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74815         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74816         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74817         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74818         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74819         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74820         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74821         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74822         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74823         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74824         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74825         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74826         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74827         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74828         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74829         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74830         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74831         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74832         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74833         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74834         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74835         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74836         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74837         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74838         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74840         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74841         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74842         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74843         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74844         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74845         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74846         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74847         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74848         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74849         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74850         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74851         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74852         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74853         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74854         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74856 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74858         * math/tst-CMPLX.c: Include <stdio.h>.
74860 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74862         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74863         float.
74864         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74865         * sysdeps/sparc/bits/mathdef.h: Likewise.
74867 2012-01-31  Marek Polacek  <polacek@redhat.com>
74869         * libio/libio.h: Don't define _PARAMS.
74870         * locale/programs/config.h: Don't define PARAMS.
74871         * stdlib/strtol_l.c: Likewise.
74872         (__strtol_l): Remove PARAMS from the prototype.
74874 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74876         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74877         names.  Just use the correct names.  Remove unnecessary wrapper
74878         functions.
74879         * malloc/arena.c: Likewise.
74880         * malloc/hooks.c: Likewise.
74882         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74883         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74884         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74886 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74888         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74889         into tail calls.
74890         (update_get_addr): New function.
74891         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74892         GET_ADDR_MODULE parameter.
74894 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74896         * crypt/cert.c: Remove __STDC__ conditionals.
74897         * crypt/crypt-entry.c: Likewise.
74898         * crypt/crypt_util.c: Likewise.
74899         * libio/filedoalloc.c: Likewise.
74900         * libio/fileops.c: Likewise.
74901         * libio/genops.c: Likewise.
74902         * libio/iofclose.c: Likewise.
74903         * libio/iofdopen.c: Likewise.
74904         * libio/iofopen.c: Likewise.
74905         * libio/iofopen64.c: Likewise.
74906         * libio/iogetdelim.c: Likewise.
74907         * libio/iopopen.c: Likewise.
74908         * libio/obprintf.c: Likewise.
74909         * libio/oldfileops.c: Likewise.
74910         * libio/oldiofclose.c: Likewise.
74911         * libio/oldiofdopen.c: Likewise.
74912         * libio/oldiofopen.c: Likewise.
74913         * libio/oldiopopen.c: Likewise.
74914         * libio/wfiledoalloc.c: Likewise.
74915         * libio/wgenops.c: Likewise.
74916         * locale/programs/xmalloc.c: Likewise.
74917         * misc/syslog.c: Likewise.
74918         * stdio-common/xbug.c: Likewise.
74919         * string/memchr.c: Likewise.
74920         * string/memcmp.c: Likewise.
74921         * string/memrchr.c: Likewise.
74922         * string/rawmemchr.c: Likewise.
74923         * sysdeps/posix/getcwd.c: Likewise.
74924         * time/strftime_l.c: Likewise.
74926 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74928         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74929         * config.make.in (config-cflags-sse2avx): Define.
74930         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74931         Fix typo.
74933 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74935         * scripts/config.guess: Update from upstream config git repository.
74936         * scripts/config.sub: Likewise.
74938 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74940         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74941         (EM_NUM): Update.
74942         (R_TILEPRO_*, R_TILEGX_*): New macros.
74944         * scripts/firstversions.awk: Fix bug in version range handling.
74946         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74948         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74950         * include/sys/epoll.h: New file.
74951         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74952         libc_hidden_def.
74954 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74956         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74957         Avoid unnecessary __WORDSIZE == 64 test.
74958         (fmaxf): Use VEX format if possible.
74959         (fmax): Likewise.
74960         (fminf): Likewise.
74961         (fmin): Likewise.
74963         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74964         * math/math_private.h: Remove libc_fegetround* and
74965         libc_fesetround*.
74966         * sysdeps/i386/configure.in: Check for -msse2avx.
74967         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74968         also if SSE2AVX is defined.
74969         Remove libc_fegetround* and libc_fesetround*.
74970         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74971         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74972         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74973         of HAS_YMM_USABLE.
74974         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74975         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74976         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74977         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74978         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74980         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74982 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74984         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74985         size is not set.
74986         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74988 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74990         [BZ #13618]
74991         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74992         relocation.
74993         * Makeconfig (libm): Define.
74994         * elf/Makefile: Add rules to build and run tst-relsort1.
74995         * elf/tst-relsort1.c: New file.
74996         * elf/tst-relsort1mod1.c: New file.
74997         * elf/tst-relsort1mod2.c: New file.
74999 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75001         * math/s_ldexp.c: Remove __STDC__ conditionals.
75002         * math/s_ldexpf.c: Likewise.
75003         * math/s_ldexpl.c: Likewise.
75004         * math/s_nextafter.c: Likewise.
75005         * math/s_nexttowardf.c: Likewise.
75006         * math/s_significand.c: Likewise.
75007         * math/s_significandf.c: Likewise.
75008         * math/s_significandl.c: Likewise.
75009         * math/w_jnl.c: Likewise.
75010         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75011         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75012         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75013         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75014         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75015         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75016         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75017         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75018         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75019         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75020         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75021         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75022         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75023         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75024         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75025         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75026         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75027         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75028         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75029         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75030         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75031         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75032         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75033         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75034         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75035         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75036         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75037         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75038         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75039         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75040         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75041         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75042         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75043         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75044         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75045         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75046         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75047         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75048         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75049         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75050         * sysdeps/ieee754/k_standard.c: Likewise.
75051         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75052         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75053         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75054         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75055         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75056         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75057         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75058         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75059         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75060         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75061         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75062         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75063         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75064         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75065         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75066         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75067         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75068         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75069         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75070         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75071         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75072         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75073         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75074         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75075         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75076         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75077         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75078         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75079         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75080         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75081         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75082         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75083         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75084         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75085         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75086         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75087         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75088         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75089         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75090         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75091         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75092         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75093         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75094         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75095         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75096         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75097         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75098         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75099         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75100         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75101         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75102         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75103         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75104         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75105         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75106         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75107         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75108         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75109         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75110         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75111         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75112         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75113         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75114         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75115         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75116         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75117         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75118         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75119         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75120         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75121         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75122         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75123         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75124         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75125         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75126         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75127         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75128         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75129         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75130         * sysdeps/ieee754/s_matherr.c: Likewise.
75131         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75132         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75133         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75134         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75136 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75138         * crypt/md5.h: Remove __STDC__ conditionals.
75139         * libio/libioP.h: Likewise.
75140         * locale/programs/config.h: Likewise.
75141         * sysdeps/generic/sysdep.h: Likewise.
75142         * sysdeps/i386/asm-syntax.h: Likewise.
75143         * sysdeps/s390/asm-syntax.h: Likewise.
75144         * sysdeps/unix/sysdep.h: Likewise.
75145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
75146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
75148 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75150         * libio/libio.h: Remove __STDC__ conditionals.
75151         * malloc/obstack.h: Likewise.
75152         * math/complex.h: Likewise.
75153         * math/math.h: Likewise.
75154         * sysdeps/generic/_G_config.h: Likewise.
75155         * sysdeps/gnu/_G_config.h: Likewise.
75156         * sysdeps/mach/hurd/_G_config.h: Likewise.
75157         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75158         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75159         * sysdeps/sparc/bits/mathdef.h: Likewise.
75161 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
75163         [BZ #13583]
75164         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
75165         Clean up HAS_* macros.
75166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
75167         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
75168         possible.
75169         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
75170         HAS_AVX.
75171         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75172         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75173         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75174         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75175         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75177 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
75179         * elf/tst-unique3.cc (gets): Remove declaration.
75180         * elf/tst-unique3lib.cc (gets): Likewise.
75181         * elf/tst-unique3lib2.cc (gets): Likewise.
75182         * elf/tst-unique4.cc (gets): Likewise.
75184 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
75186         * include/stdio.h: Add C++ protection.  Add gets declarations and
75187         definitions.
75188         * debug/tst-chk1.c: Don't declare gets here.
75189         * stdio-common/tst-gets.c: Likewise.
75191 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75193         * posix/glob: Remove directory.
75195 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75197         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
75199 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
75201         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
75202         of the non-standard EPFNOSUPPORT.
75204 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75206         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
75207         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
75208         ANYWHERE set to 1 only on KERN_NO_SPACE error.
75210 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
75212         * wcsmbs/uchar.h: Test __STDC_VERSION__.
75214 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
75216         * nscd/aicache.c (addhstaiX): Do not cache negative results of
75217         transient errors.
75218         * nscd/grpcache.c (cache_addgr): Likewise.
75219         * nscd/hstcache.c (cache_addhst): Likewise.
75220         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75221         * nscd/pwdcache.c (cache_addpw): Likewise.
75222         * nscd/servicescache.c (cache_addserv): Likewise.
75224 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
75226         * malloc/malloc.c: Various cleanups.
75227         * malloc/hooks.c: Likewise.
75229         * stdlib/Makefile (tests): Add bug-fmtmsg1.
75230         * stdlib/bug-fmtmsg1.c: New file.
75232         * stdlib/fmtmsg.c (init): Add missing unlock.
75233         Patch by Peng Haitao <penght@cn.fujitsu.com>.
75235 2012-01-12  Marek Polacek  <polacek@redhat.com>
75237         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
75238         and _GNU_SOURCE.
75240 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75242         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
75243         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
75244         macro to ensure uniqueness of label name.
75245         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75246         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75248 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
75250         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
75252         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
75253         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75254         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75255         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
75257 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
75259         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
75261         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
75262         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75263         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75265         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
75267         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
75268         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75269         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75270         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
75272         * math/bits/math-finite.h: Add ldexp support.
75274 2012-01-10  Marek Polacek  <polacek@redhat.com>
75276         * locale/programs/localedef.h (show_archive_content): Add noreturn
75277         attribute.
75279 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
75281         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
75283 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75285         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
75287         * io/Makefile (headers): Add bits/poll2.h.
75289 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
75291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
75292         typo #include statement.
75294 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75296         * include/sys/cdefs.h: Define __attribute_alloc_size.
75297         * catgets/gencat.c: Add alloc_size attribute and apply consistently
75298         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
75299         * elf/pldd.c: Likewise.
75300         * iconv/iconv_charmap.c: Likewise.
75301         * iconv/iconvconfig.c: Likewise.
75302         * iconv/strtab.c: Likewise.
75303         * locale/programs/locale.c: Likewise.
75304         * locale/programs/localedef.h: Likewise.
75305         * locale/programs/simple-hash.c: Likewise.
75306         * nscd/nscd.h: Likewise.
75307         * nss/makedb.c: Likewise.
75308         * sysdeps/generic/ldconfig.h: Likewise.
75309         * locale/programs/localedef.c: Remove xmalloc prototype.
75310         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75312 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75314         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75315         appropriate.
75317 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75319         * math/Makefile (tests): Add tst-CMPLX.
75320         * math/tst-CMPLX.c: New file.
75322         * math/complex.h (CMPLXL): Fix typo.
75324         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75325         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75326         GLIBC_2.16.
75327         * debug/tst-chk1.c: Add poll and ppoll tests.
75328         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75329         * include/sys/poll.h: Add hidden proto for ppoll.
75330         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75331         * sysdeps/mach/hurd/ppoll.c: Likewise.
75332         * io/ppoll.c: Likewise.
75333         * debug/poll_chk.c: New file.
75334         * debug/ppoll_chk.c: New file.
75335         * include/bits/poll2.h: New file.
75336         * io/bits/poll2.h: New file.
75338         [BZ #1350]
75339         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75341         * configure.in: static is always set to yes.  Remove.
75342         * config.make.in: Don't set build-static.
75343         * Makeconfig: Remove use of build-static.
75344         * dlfcn/Makefile: Likewise.
75345         * elf/Makefile: Likewise.
75346         * math/Makefile: Likewise.
75347         * misc/Makefile: Likewise.
75348         * nptl/Makefile: Likewise.
75349         * sysdeps/mach/hurd/Makefile: Likewise.
75351         * configure.in: PWD_P is not used anymore.
75352         * config.make.in: Remove PWD_P entry.
75354         * configure.in: Remove last remnants of RANLIB.
75355         No need to check for signed size_t anymore.
75356         Don't set libc_commonpagesize and libc_relro_required here for Alpha
75357         and IA-64.
75358         Remove __builtin_expect test because we require at least gcc 3.4.
75359         * aclocal.m4: Likewise.
75361         * wcsmbs/mbrtoc16.c: Implement using towc function.
75362         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75363         * wcsmbs/wcsmbsload.c: Likewise.
75364         * iconv/gconv_simple.c: Likewise.
75365         * iconv/gconv_int.h: Likewise.
75366         * iconv/gconv_builtin.h: Likewise.
75367         * iconv/iconv_prog.c: Remove CHAR16 handling.
75369         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75371         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75373         * configure.in: Remove --with-elf and --enable-bounded options.
75374         Dont set base_machine for ia64.  More non-ELF conditions removed.
75375         Remove testing and setting of leading underscore information.
75376         * config.make.in (build-bounded): Set to no.
75377         * config.h.in: Remove NO_UNDERSCORES entry.
75378         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
75379         them.
75380         * csu/start.c: Remove !NO_UNDERSCORE code.
75381         * locale/localeinfo.h: Likewise.
75382         * sysdeps/generic/machine-gmon.h: Likewise.
75383         * sysdeps/generic/sysdep.h: Likewise.
75384         * sysdeps/i386/sysdep.h: Likewise.
75385         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75386         * sysdeps/mach/sysdep.h: Likewise.
75387         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75388         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75389         * sysdeps/sh/sysdep.h: Likewise.
75390         * sysdeps/sparc/sparc32/alloca.S: Likewise.
75391         * sysdeps/unix/i386/sysdep.S: Likewise.
75392         * sysdeps/unix/sparc/start.c: Likewise.
75393         * sysdeps/unix/sparc/sysdep.S: Likewise.
75394         * sysdeps/unix/sparc/sysdep.h: Likewise.
75395         * sysdeps/unix/start.c: Likewise.
75396         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75397         * sysdeps/x86_64/sysdep.h: Likewise.
75399 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
75401         [BZ #13553]
75402         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75403         for non-gcc.
75404         * argp/argp-fmtstream.h: Use const instead __const.
75405         * argp/argp.h: Likewise.
75406         * assert/assert.h: Likewise.
75407         * bits/fenv.h: Likewise.
75408         * bits/sched.h: Likewise.
75409         * bits/sigset.h: Likewise.
75410         * bits/sigthread.h: Likewise.
75411         * catgets/nl_types.h: Likewise.
75412         * conform/data/pthread.h-data: Likewise.
75413         * crypt/crypt-private.h: Likewise.
75414         * crypt/crypt.h: Likewise.
75415         * crypt/crypt_util.c: Likewise.
75416         * ctype/ctype.h: Likewise.
75417         * debug/execinfo.h: Likewise.
75418         * debug/mbsnrtowcs_chk.c: Likewise.
75419         * debug/mbsrtowcs_chk.c: Likewise.
75420         * debug/wcsnrtombs_chk.c: Likewise.
75421         * debug/wcsrtombs_chk.c: Likewise.
75422         * debug/wcstombs_chk.c: Likewise.
75423         * dirent/dirent.h: Likewise.
75424         * dlfcn/dlfcn.h: Likewise.
75425         * elf/neededtest4.c: Likewise.
75426         * grp/grp.h: Likewise.
75427         * gshadow/gshadow.h: Likewise.
75428         * iconv/gconv.h: Likewise.
75429         * iconv/gconv_int.h: Likewise.
75430         * iconv/gconv_simple.c: Likewise.
75431         * iconv/iconv.h: Likewise.
75432         * iconv/loop.c: Likewise.
75433         * iconv/skeleton.c: Likewise.
75434         * include/aio.h: Likewise.
75435         * include/aliases.h: Likewise.
75436         * include/argz.h: Likewise.
75437         * include/arpa/inet.h: Likewise.
75438         * include/assert.h: Likewise.
75439         * include/dirent.h: Likewise.
75440         * include/dlfcn.h: Likewise.
75441         * include/execinfo.h: Likewise.
75442         * include/fcntl.h: Likewise.
75443         * include/fenv.h: Likewise.
75444         * include/glob.h: Likewise.
75445         * include/grp.h: Likewise.
75446         * include/libintl.h: Likewise.
75447         * include/mntent.h: Likewise.
75448         * include/netdb.h: Likewise.
75449         * include/pwd.h: Likewise.
75450         * include/rpc/netdb.h: Likewise.
75451         * include/sched.h: Likewise.
75452         * include/search.h: Likewise.
75453         * include/shadow.h: Likewise.
75454         * include/signal.h: Likewise.
75455         * include/stdio.h: Likewise.
75456         * include/stdlib.h: Likewise.
75457         * include/string.h: Likewise.
75458         * include/sys/socket.h: Likewise.
75459         * include/sys/stat.h: Likewise.
75460         * include/sys/statfs.h: Likewise.
75461         * include/sys/statvfs.h: Likewise.
75462         * include/sys/syslog.h: Likewise.
75463         * include/sys/time.h: Likewise.
75464         * include/sys/uio.h: Likewise.
75465         * include/time.h: Likewise.
75466         * include/unistd.h: Likewise.
75467         * include/utmp.h: Likewise.
75468         * include/wchar.h: Likewise.
75469         * include/wctype.h: Likewise.
75470         * inet/aliases.h: Likewise.
75471         * inet/arpa/inet.h: Likewise.
75472         * inet/netinet/ether.h: Likewise.
75473         * inet/netinet/in.h: Likewise.
75474         * intl/libintl.h: Likewise.
75475         * io/bits/fcntl2.h: Likewise.
75476         * io/fcntl.h: Likewise.
75477         * io/ftw.h: Likewise.
75478         * io/sys/poll.h: Likewise.
75479         * io/sys/stat.h: Likewise.
75480         * io/sys/statfs.h: Likewise.
75481         * io/sys/statvfs.h: Likewise.
75482         * io/utime.h: Likewise.
75483         * libio/bits/stdio.h: Likewise.
75484         * libio/bits/stdio2.h: Likewise.
75485         * libio/libio.h: Likewise.
75486         * libio/libioP.h: Likewise.
75487         * libio/stdio.h: Likewise.
75488         * locale/lc-ctype.c: Likewise.
75489         * locale/locale.h: Likewise.
75490         * login/utmp.h: Likewise.
75491         * malloc/arena.c: Likewise.
75492         * malloc/malloc.c: Likewise.
75493         * malloc/malloc.h: Likewise.
75494         * malloc/mcheck.c: Likewise.
75495         * malloc/mtrace.c: Likewise.
75496         * math/bits/mathcalls.h: Likewise.
75497         * math/fenv.h: Likewise.
75498         * math/math_private.h: Likewise.
75499         * misc/bits/error.h: Likewise.
75500         * misc/bits/syslog.h: Likewise.
75501         * misc/err.h: Likewise.
75502         * misc/error.h: Likewise.
75503         * misc/fstab.h: Likewise.
75504         * misc/mntent.h: Likewise.
75505         * misc/regexp.h: Likewise.
75506         * misc/search.h: Likewise.
75507         * misc/sgtty.h: Likewise.
75508         * misc/sys/mman.h: Likewise.
75509         * misc/sys/syslog.h: Likewise.
75510         * misc/sys/uio.h: Likewise.
75511         * misc/sys/xattr.h: Likewise.
75512         * misc/ttyent.h: Likewise.
75513         * nis/rpcsvc/ypclnt.h: Likewise.
75514         * nss/nss.h: Likewise.
75515         * posix/bits/unistd.h: Likewise.
75516         * posix/fnmatch.h: Likewise.
75517         * posix/glob.h: Likewise.
75518         * posix/sched.h: Likewise.
75519         * posix/spawn.h: Likewise.
75520         * posix/sys/wait.h: Likewise.
75521         * posix/unistd.h: Likewise.
75522         * posix/wordexp.h: Likewise.
75523         * pwd/pwd.h: Likewise.
75524         * resolv/netdb.h: Likewise.
75525         * resource/sys/resource.h: Likewise.
75526         * rt/aio.h: Likewise.
75527         * rt/bits/mqueue2.h: Likewise.
75528         * rt/mqueue.h: Likewise.
75529         * shadow/shadow.h: Likewise.
75530         * signal/signal.h: Likewise.
75531         * socket/send.c: Likewise.
75532         * socket/sendto.c: Likewise.
75533         * socket/sys/socket.h: Likewise.
75534         * stdio-common/printf.h: Likewise.
75535         * stdlib/bits/stdlib.h: Likewise.
75536         * stdlib/fmtmsg.h: Likewise.
75537         * stdlib/monetary.h: Likewise.
75538         * stdlib/stdlib.h: Likewise.
75539         * stdlib/ucontext.h: Likewise.
75540         * streams/stropts.h: Likewise.
75541         * string/argz.h: Likewise.
75542         * string/bits/string2.h: Likewise.
75543         * string/string.h: Likewise.
75544         * string/strings.h: Likewise.
75545         * sunrpc/rpc/auth.h: Likewise.
75546         * sunrpc/rpc/auth_des.h: Likewise.
75547         * sunrpc/rpc/clnt.h: Likewise.
75548         * sunrpc/rpc/netdb.h: Likewise.
75549         * sunrpc/rpc/pmap_clnt.h: Likewise.
75550         * sunrpc/rpc/xdr.h: Likewise.
75551         * sysdeps/generic/inttypes.h: Likewise.
75552         * sysdeps/generic/net/if.h: Likewise.
75553         * sysdeps/generic/sys/swap.h: Likewise.
75554         * sysdeps/gnu/net/if.h: Likewise.
75555         * sysdeps/gnu/utmpx.h: Likewise.
75556         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
75557         * sysdeps/i386/i486/bits/string.h: Likewise.
75558         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
75559         * sysdeps/s390/bits/string.h: Likewise.
75560         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
75561         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
75562         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
75563         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
75564         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
75565         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
75566         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
75567         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
75568         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
75569         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
75570         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
75571         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
75572         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
75573         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
75574         * sysdeps/unix/sysv/linux/readv.c: Likewise.
75575         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
75576         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
75577         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75578         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
75579         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
75580         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75581         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
75582         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
75583         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
75584         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
75585         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
75586         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
75587         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75588         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
75589         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
75590         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
75591         * sysvipc/sys/ipc.h: Likewise.
75592         * sysvipc/sys/msg.h: Likewise.
75593         * sysvipc/sys/sem.h: Likewise.
75594         * sysvipc/sys/shm.h: Likewise.
75595         * termios/termios.h: Likewise.
75596         * time/sys/time.h: Likewise.
75597         * time/time.h: Likewise.
75598         * wcsmbs/bits/wchar2.h: Likewise.
75599         * wcsmbs/uchar.h: Likewise.
75600         * wcsmbs/wchar.h: Likewise.
75601         * wctype/wctype.h: Likewise.
75603         [BZ #13551]
75604         * Makeconfig: Remove all but ELF support including AIX support.
75605         * Makerules: Likewise.
75606         * config.h.in: Likewise.
75607         * config.make.in: Likewise.
75608         * configure: Likewise.
75609         * configure.in: Likewise.
75610         * csu/Makefile: Likewise.
75611         * csu/version.c: Likewise.
75612         * debug/Makefile: Likewise.
75613         * dlfcn/Makefile: Likewise.
75614         * elf/Makefile: Likewise.
75615         * extra-lib.mk: Likewise.
75616         * iconv/Makefile: Likewise.
75617         * include/libc-symbols.h: Likewise.
75618         * include/shlib-compat.h: Likewise.
75619         * resolv/Makefile: Likewise.
75620         * resolv/res_libc.c: Likewise.
75621         * rt/Makefile: Likewise.
75622         * sysdeps/i386/asm-syntax.h: Likewise.
75623         * sysdeps/i386/sysdep.h: Likewise.
75624         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75625         * sysdeps/mach/sysdep.h: Likewise.
75626         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
75627         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
75628         * sysdeps/s390/asm-syntax.h: Likewise.
75629         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75630         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75631         * sysdeps/sh/sysdep.h: Likewise.
75632         * sysdeps/unix/sparc/sysdep.h: Likewise.
75633         * sysdeps/wordsize-32/divdi3.c: Likewise.
75634         * sysdeps/x86_64/sysdep.h: Likewise.
75636         * argp/Versions: Remove _argp_unlock_xxx.
75638         [BZ #13559]
75639         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
75640         * abilist/libBrokenLocale.abilist: Likewise.
75641         * abilist/libanl.abilist: Likewise.
75642         * abilist/libc.abilist: Likewise.
75643         * abilist/libcrypt.abilist: Likewise.
75644         * abilist/libdl.abilist: Likewise.
75645         * abilist/libm.abilist: Likewise.
75646         * abilist/libnsl.abilist: Likewise.
75647         * abilist/libpthread.abilist: Likewise.
75648         * abilist/libresolv.abilist: Likewise.
75649         * abilist/librt.abilist: Likewise.
75650         * abilist/libthread_db.abilist: Likewise.
75651         * abilist/libutil.abilist: Likewise.
75652         * abilist/libnss_db.abilist: New file.
75654         * scripts/abilist.awk: Add support for indirect functions.
75656         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
75658         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
75660         * shlib-versions: Remove entries for ports architectures.
75662         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
75663         files in ports.
75664         * elf/stackguard-macros.h: Remove support for IA-64.
75665         * elf/tst-auditmod1.c: Likewise.
75666         * sysdeps/generic/ldsodefs.h: Likewise.
75668         * sysdeps/unix/sysv/linux/configure.in: Ports should define
75669         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
75670         configure files.
75672         [BZ #13552]
75673         * configure.in: Remove --enable-omitfp support.
75674         * FAQ.in: Adjust.
75675         * config.make.in: Likewise.
75676         * Makeconfig: Likewise.
75677         * manual/install.texi: Likewise.
75679         In case anyone cares, the IA-64 architecture could move to ports.
75680         * sysdeps/ia64/*: Removed.
75681         * sysdeps/unix/sysv/linux/ia64/*: Removed.
75682         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
75684         [BZ #13555]
75685         * configure.in: Remove entries for unsupported architectures.
75687         [BZ #13533]
75688         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
75689         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
75690         routines.
75691         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
75692         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
75693         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
75694         fall back to using wcrtomb.
75695         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
75696         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
75697         renaming.
75698         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
75699         * wcsmbs/tst-c16c32-1.c: New file.
75701         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
75702         local variable.
75704         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
75706         * elf/tst-unique3.cc: Add explicit declaration of gets.
75707         * elf/tst-unique3lib.cc: Likewise.
75708         * elf/tst-unique3lib2.cc: Likewise.
75709         * elf/tst-unique4.cc: Likewise.
75711         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
75713 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
75715         [BZ #13566]
75716         * assert/assert.h (static_assert): Don't define for C++.
75717         * libio/stdio.h (gets): Do declare for C++ <= C++11.
75718         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
75720 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
75722         * iconv/loop.c (single loop): Fix assertion in storing of
75723         remaining bytes.
75725         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
75727 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
75729         * posix/getconf.c: Update copyright year.
75730         * nss/getent.c: Likewise.
75731         * nss/makedb.c: Likewise.
75732         * iconv/iconvconfig.c: Likewise.
75733         * iconv/iconv_prog.c: Likewise.
75734         * elf/ldconfig.c: Likewise.
75735         * elf/pldd.c: Likewise.
75736         * elf/sotruss.ksh: Likewise.
75737         * catgets/gencat.c: Likewise.
75738         * csu/version.c: Likewise.
75739         * elf/ldd.bash.in: Likewise.
75740         * elf/sprof.c (print_version): Likewise.
75741         * locale/programs/locale.c: Likewise.
75742         * locale/programs/localedef.c: Likewise.
75743         * login/programs/pt_chown.c: Likewise.
75744         * nscd/nscd.c (print_version): Likewise.
75745         * debug/xtrace.sh: Likewise.
75746         * malloc/memusage.sh: Likewise.
75747         * malloc/mtrace.pl: Likewise.
75748         * debug/catchsegv.sh: Likewise.
75750 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
75752         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
75753         pure attribute.
75755 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
75757         [BZ #13533]
75758         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
75759         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
75760         transformations.
75761         * iconv/gconv_int.h: Likewise.
75762         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
75763         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
75764         from libc for GLIBC_2.16.
75765         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
75766         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
75767         * wcsmbs/uchar.h: Really define mbstate_t.
75768         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
75769         * wcsmbs/c16rtomb.c: New file.
75770         * wcsmbs/mbrtoc16.c: New file.
75771         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
75772         for C/POSIX locale.
75773         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
75774         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
75776         * wcsmbs/wchar.h: Add missing __restrict.
75778 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75780         [BZ #13532]
75781         * time/Makefile (routines): Add timespec_get.
75782         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75783         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75784         timespec for ISO C11.
75785         * time/timespec_get.c: New file.
75786         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75787         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75789         [BZ #13531]
75790         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75791         * stdlib/stdlib.h: Declare aligned_alloc.
75792         * Versions.def: Add GLIBC_2.16 for libc.
75793         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75795         [BZ 13527]
75796         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75797         ISO C11.
75799         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75800         code.
75802         [BZ #13528]
75803         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75805         [BZ #13529]
75806         * assert/assert.h (static_assert): Define.
75808         * version.h: Update for 2.16 development version.
75810         [BZ #13526]
75811         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75812         _ISOC11_SOURCE.
75814         * version.h (RELEASE): Bump for 2.15 release.
75815         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75817         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75818         Patch by Marek Polacek <mpolacek@redhat.com>.
75820         * bits/byteswap.h: Protect long long constants with __extension__.
75821         * sysdeps/i386/bits/byteswap.h: Likewise.
75822         * sysdeps/ia64/bits/byteswap.h: Likewise.
75823         * sysdeps/s390/bits/byteswap.h: Likewise.
75824         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75826 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75828         [BZ #13540]
75829         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75830         destination buffer.
75831         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75833 2011-12-23  Marek Polacek  <polacek@redhat.com>
75835         * elf/dl-addr.c (determine_info): Add inline keyword.
75836         * elf/tst-auditmod4b.c (check_avx): Likewise.
75837         * elf/tst-auditmod6b.c (check_avx): Likewise.
75838         * elf/tst-auditmod6c.c (check_avx): Likewise.
75839         * elf/tst-auditmod7b.c (check_avx): Likewise.
75841 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75843         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75844         !__SSE_MATH__.
75846 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75848         [BZ #13540]
75849         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75850         processing for last bytes.
75852 2011-08-06  Bruno Haible  <bruno@clisp.org>
75854         [BZ #13061]
75855         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75856         U+0385, not to U+1FEE.
75858         [BZ #13062]
75859         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75860         entry for U+00A5 U+0301.
75862 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75864         [BZ #13166]
75865         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75866         buffer for the output is too small.
75868         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75869         optimization.
75871         [BZ #13185]
75872         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75873         SSE flags if possible.
75875 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75877         [BZ #13540]
75878         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75879         processing for last bytes.
75881 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75883         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75884         (syscall-list-default-options, syscall-list-default-condition)
75885         (syscall-list-includes): Define.
75886         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75887         list of ABIs and options and #if conditions for each ABI.  Do not
75888         handle common syscalls between ABIs specially.
75889         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75890         Remove.
75891         (syscall-list-variants, syscall-list-32bit-options)
75892         (syscall-list-32bit-condition, syscall-list-64bit-options)
75893         (syscall-list-64bit-condition): Define.
75894         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75895         (syscall-list-variants, syscall-list-32bit-options)
75896         (syscall-list-32bit-condition, syscall-list-64bit-options)
75897         (syscall-list-64bit-condition): Define.
75898         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75899         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/x86_64/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.
75909 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75911         * locale/iso-639.def: Add brx entry.
75913         [BZ #13328]
75914         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75915         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75917         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75918         __feraiseexcept_renamed.
75920 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75922         [BZ #13538]
75923         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75924         EPOLLET with unsigned values.
75925         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75926         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75928         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75929         to large cancellation.
75930         * math/s_cacoshf.c: Likewise.
75931         * math/s_cacoshl.c: Likewise.
75933 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75935         [BZ #13305]
75936         [BZ #12786]
75937         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75938         * math/s_cacoshf.c: Likewise.
75939         * math/s_cacoshl.c: Likewise.
75941 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75943         [BZ #13439]
75944         * iconv/gconv.h: Define __GCONV_SWAP.
75945         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75946         * iconvdata/utf-16.c: Likewise.
75947         * iconvdata/utf-32.c: Likewise.
75949 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75951         [BZ #13524]
75952         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75953         numerator after shifting it by one limb.
75955 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75957         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75958         under [__USE_EXTERN_INLINES].
75960 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75962         [BZ #13446]
75963         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75965 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75967         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75968         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75969         optimized code.
75970         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75971         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75972         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75973         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75974         for strncasecmp/strncasecmp_l compilation.
75975         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75976         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75978 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75980         [BZ #13484]
75981         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75982         of __asm__.
75984 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75986         [BZ #13506]
75987         * time/tzfile.c (__tzfile_read): Check values from file header.
75989 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75991         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75992         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75993         * powerpc/powerpc32/dl-start.S: Likewise.
75994         * powerpc/powerpc32/elf/start.S: Likewise.
75995         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
75996         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
75997         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
75998         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
75999         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76000         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76001         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76002         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76003         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76004         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76005         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76006         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76007         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76008         * powerpc/powerpc32/memset.S: Likewise.
76009         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76010         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76011         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76012         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76013         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76014         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76015         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76016         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76017         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76018         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76019         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76020         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76021         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76023 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76025         * math/libm-test.inc: Added more nearbyint tests.
76026         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76027         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76028         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76029         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76031 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76033         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76034         FD_CLOEXEC.
76036 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76038         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76039         Add wcscpy-ssse3 wcscpy-c.
76040         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76041         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76042         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76043         * sysdeps/x86_64/wcschr.S: New file.
76044         * sysdeps/x86_64/wcsrchr.S: New file.
76045         * string/test-strcmp.c: Remove checking of wcscmp function for
76046         wrong alignments.
76047         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76048         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76049         wcsrchr-sse2 wcsrchr-c.
76050         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76051         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76052         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76053         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76054         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76055         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76056         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76057         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76058         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76059         * wcsmbc/wcschr.c (WCSCHR): New macro.
76061 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76063         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76064         * wcsmbs/test-wcsrchr.c: New file.
76065         * string/test-strrchr.c: Add wcsrchr support.
76066         (WIDE): New macro.
76067         * wcsmbs/test-wcscpy.c: New file.
76068         * string/test-strcpy.c: Add wcscpy support.
76069         (WIDE): New macro.
76071 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76073         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76074         the inner loop.
76076 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76078         [BZ #13472]
76079         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76081 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76083         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76084         Minor optimizations.
76086         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76087         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76088         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76090 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76092         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76093         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76094         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76095         for gcc to avoid warnings.
76096         * inet/Makefile (tests): Add tst-checks.
76097         * inet/tst-checks.c: New file.
76099         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76100         warning.
76102         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76103         __wmemcmp_sse2.
76105         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76106         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76108         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76110 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76112         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76113         problem.
76115         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76117 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76119         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76120         conditional on GCC version.
76121         (__arch_compare_and_exchange_val_8_acq)
76122         (__arch_compare_and_exchange_val_16_acq)
76123         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76124         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76125         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76127 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
76129         * sysdeps/sh/backtrace.c: New file.
76131 2011-12-02  Andreas Schwab  <schwab@redhat.com>
76133         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
76134         parenthesis.
76136 2011-12-01  Andreas Schwab  <schwab@redhat.com>
76138         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
76139         falling back to utime.
76141 2011-11-30  Andreas Schwab  <schwab@redhat.com>
76143         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
76144         expectations for float.
76146 2011-11-29  Andreas Schwab  <schwab@redhat.com>
76148         * locale/weight.h (findidx): Add parameter len.
76149         * locale/weightwc.h (findidx): Likewise.
76150         * posix/fnmatch_loop.c (FCT): Adjust caller.
76151         * posix/regcomp.c (build_equiv_class): Likewise.
76152         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
76153         * posix/regexec.c (check_node_accept_bytes): Likewise.
76154         * string/strcoll_l.c (STRCOLL): Likewise.
76155         * string/strxfrm_l.c (STRXFRM): Likewise.
76157 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
76159         * Makefile.in: Remove CVSOPT handling.
76160         * configure.in: Remove use of AC_REVISION.
76161         * iconvdata/Makefile (distribute): No need to filter out CVS.
76162         * scripts/list-sources.sh: Remove CVS, subversion and monotone
76163         handling.
76165 2011-11-16  Andreas Schwab  <schwab@redhat.com>
76167         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
76168         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
76169         [USE_AS_STRNCASECMP_L]: Likewise.
76170         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
76171         NO_TLS_DIRECT_SEG_REFS.
76172         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
76173         Fix argument offsets for non-PIC.
76174         [USE_AS_STRNCASECMP_L]: Likewise.
76175         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
76176         NO_TLS_DIRECT_SEG_REFS.
76178 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76180         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
76181         O_CLOEXEC.
76182         * locale/loadlocale.c (_nl_load_locale): Likewise.
76184 2011-11-15  Andreas Schwab  <schwab@redhat.com>
76186         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
76187         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
76188         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
76189         (SYSCALL_GETTIME): Set errno on error.
76191         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
76192         count references to noai6ai_cached.
76194 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76196         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
76198         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
76199         FD_CLOEXEC for /proc/self/maps.
76201         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
76202         FD_CLOEXEC for /proc/meminfo.
76204         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
76205         gai.conf.
76207         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
76208         FD_CLOEXEC for given file.
76210         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
76212         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
76213         FD_CLOEXEC for /etc/hosts.
76214         (_gethtent): Likewise.
76216         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
76218         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
76219         cancellation and set FD_CLOEXEC for /etc/netgroup.
76221         * nss/nss_files/files-key.c (search): Don't allow cancellation when
76222         reading /etc/publickey.
76224         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
76225         allow cancellation when reading /etc/group.
76227         * nss/nss_files/files-alias.c (internal_setent): Don't allow
76228         cancellation.
76229         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
76231         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
76232         when using data file.
76234         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
76236         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
76237         (write_nis_obj): Use "c" and "e" in fopen.
76239         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
76241         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
76243         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
76245         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
76247         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
76248         locale.alias.
76250         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
76252         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
76254         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
76256         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
76257         file parsing and set FD_CLOEXEC.
76259 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76261         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
76263 2011-11-14  Andreas Schwab  <schwab@redhat.com>
76265         * malloc/arena.c (arena_get2): Don't call reused_arena when
76266         _int_new_arena failed.
76268 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76270         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
76271         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
76272         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
76273         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76274         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76275         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
76276         to compile strcasecmp and strncasecmp.
76277         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
76278         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
76280         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
76282 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
76284         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
76285         locale-defines.sym to gen-as-const-headers.
76286         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
76287         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
76288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
76289         to compile strcasecmp and strncasecmp.
76290         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
76291         strcasecmp_l and strncasecmp_l.
76292         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
76293         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
76294         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
76295         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
76296         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
76297         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
76298         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
76299         * sysdeps/i386/i686/multiarch/strncase.S: New file.
76300         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
76301         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
76302         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
76304 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
76306         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
76307         result of SYSDEP_GETTIME_CPU to retval.
76308         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76309         parameter list to macro.  Remove trailing semicolon.  Adjust users.
76311         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76312         variable.
76314         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76315         mantissa words.
76316         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76318         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76319         from unused variable.
76321         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76322         DWARF definitions.
76323         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76324         for assembling.
76326         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76327         over namespaces.
76329         * sunrpc/rpc_prot.c (rejected): Fix case value.
76331         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76332         unsigned long long int to avoid warnings in shift.
76334         * posix/regex_internal.c (re_string_reconstruct): Actually use result
76335         of use of trans.
76336         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76337         variable tmp.
76339         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76340         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76341         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76343         * nis/nis_table.c (nis_list): Use variable of correct type for
76344         result of __follow_path call.
76346 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76348         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76349         of math functions ceil, trunc, floor, round, and sqrt, when
76350         avaliable on the platform.
76351         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76352         name clash.
76353         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76354         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76355         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76357 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
76359         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76360         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76362 2011-11-11  Roland McGrath  <roland@hack.frob.com>
76364         * include/unistd.h: Fix __readlink return type.
76365         Reported by Chris Metcalf <cmetcalf@tilera.com>.
76367 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
76369         * stdlib/ucontext.h: Undo last change for makecontext.
76371 2011-11-11  Andreas Schwab  <schwab@redhat.com>
76373         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76375         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76376         * setjmp/setjmp.h: Mark functions as non-leaf.
76377         * setjmp/bits/setjmp2.h: Likewise.
76378         * stdlib/ucontext.h: Likewise.
76380 2011-11-10  Andreas Schwab  <schwab@redhat.com>
76382         * malloc/arena.c (_int_new_arena): Don't increment narenas.
76383         (reused_arena): Don't check arena limit.
76384         (arena_get2): Atomically check arena limit.
76386 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
76388         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76389         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76391         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76392         instructions.
76394 2011-11-07  Andreas Schwab  <schwab@redhat.com>
76396         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76397         handler when locking.
76399         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76400         Fix size of allocated buffer.
76402 2011-11-04  Andreas Schwab  <schwab@redhat.com>
76404         [BZ #10103]
76405         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76406         declarations for long double functions.
76407         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76409         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76411 2011-11-03  Andreas Schwab  <schwab@redhat.com>
76413         * nscd/nscd.c (main): Don't start AVC thread until credentials are
76414         installed.
76416         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
76417         is disabled.
76419 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76421         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
76423 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
76425         * include/alloca.h (stackinfo_alloca_round): Define.
76426         (extend_alloca): Use it.
76427         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
76428         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
76429         here.
76431         * scripts/check-local-headers.sh: Ignore libaudit.h.
76433         * nscd/Makefile (extra-objs): Make recursively expanded.
76435 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
76437         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
76438         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
76440         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
76441         * posix/tst-rfc3484-2.c: Likewise.
76442         * posix/tst-rfc3484-3.c: Likewise.
76444         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76445         process_vm_writev.
76446         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
76447         process_vm_writev.
76448         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
76449         process_vm_writev from libc using GLIBC_2.15 version.
76451         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
76453 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
76455         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
76456         stack usage.
76458 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
76460         [BZ #13367]
76461         * nss/getent.c (initgroups_keys): Show error message in case no group
76462         names are given.
76464         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
76465         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
76466         __bump_nl_timestamp.
76467         * nscd/connections (nscd_init): When host database is served open
76468         netlink socket and request notification about configuration changes.
76469         (main_loop_poll): Track netlink file descriptor and bump timestamp
76470         in case data becomes available.
76471         (main_loop_epoll): Likewise.
76472         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
76473         (database_pers_head): Add extra_data fileds.
76474         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
76475         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
76476         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
76477         Adjust caller.
76478         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
76479         in6ai data, call __free_in6ai.
76480         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
76481         Add -DHAVE_NETLINK.
76482         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
76483         interface information.  Reuse previous data if netlink timestamp
76484         is not changed.
76485         (__bump_nl_timestamp): New function.
76486         (__free_in6ai): New function.
76488 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
76490         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
76491         close_not_cancel_no_status here.
76492         (__check_pf): Reorganize code a bit to not call close twice if OOM.
76494 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76496         [BZ #13276]
76497         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
76498         return value.
76500         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
76501         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
76502         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
76504 2011-07-03  Andreas Jaeger  <aj@suse.de>
76506         [BZ #10709]
76507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
76508         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
76509         * math/libm-test.inc (sin_test): Add test case.
76511 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76513         [BZ #13337]
76514         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
76515         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76517         * elf/chroot_canon.c (chroot_canon): Cleanups.
76519         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
76521         [BZ #13335]
76522         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
76523         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76525         * string/test-strchr.c: Make usable for strchrnul testing.
76526         * string/test-strchrnul.c: New file.
76527         * string/Makefile (strop-tests): Add strchrnul.
76529         * po/it.po: Update from translation team.
76530         * po/es.po: Likewise.
76532 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
76534         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
76535         the three constants needed as parameters.  Drop the others.
76536         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
76537         __m128i_strloadu_tolower.
76538         Create and initialize variable zero and use it in all the places
76539         where _mm_setzero_si128 was used.
76541         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
76542         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
76543         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
76544         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
76545         anymore.
76546         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
76547         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
76548         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
76549         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
76550         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
76551         __mpranred, __mptan.
76552         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
76553         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
76554         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
76555         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
76556         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
76557         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
76558         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
76559         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
76560         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
76562 2011-10-28  Andreas Schwab  <schwab@redhat.com>
76564         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
76565         redefine if SHARED.
76566         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
76568         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
76569         wide char related routines to wcsmbs subdir.
76571 2011-10-27  Andreas Schwab  <schwab@redhat.com>
76573         [BZ #13344]
76574         * misc/sys/cdefs.h (__THROWNL): Define.
76575         * posix/unistd.h: Use __THREADNL instead of __THREAD
76576         for memory synchronization functions.
76578 2011-10-26  Roland McGrath  <roland@hack.frob.com>
76580         [BZ #13349]
76581         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
76582         doesn't exist.
76583         * manual/stdio.texi (Obstack Streams): Node removed.
76585 2011-10-26  Andreas Schwab  <schwab@redhat.com>
76587         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
76588         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76589         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76591         * math/math_private.h (math_force_eval): Allow non-addressable
76592         arguments.
76593         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
76595 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76597         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
76598         file is not needed.
76600         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
76601         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
76602         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76603         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76604         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76605         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76606         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76607         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
76608         Add AVX variants.
76609         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
76610         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
76611         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
76612         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
76613         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
76614         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
76615         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
76616         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
76617         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
76618         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
76619         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
76620         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
76621         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
76622         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
76623         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
76624         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
76625         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
76626         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
76627         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
76629         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
76630         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
76632         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
76633         place.  Use VEX encoding when compiling for AVX.
76635 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76637         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
76638         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
76640         * string/test-strchr.c (do_test): Don't generate NUL bytes.
76642 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76644         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
76645         useless if() expression.
76646         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76647         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76648         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76649         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76650         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76651         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76652         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76653         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76654         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76655         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76656         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76657         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76658         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76659         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76660         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76661         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76662         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76663         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76664         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76666         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
76668 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76670         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
76671         condition.
76672         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76674 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76676         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
76677         .text section.  Avoid duplicate constants.
76678         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76679         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76680         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76681         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76682         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76683         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76684         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76686         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
76687         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
76688         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
76689         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
76690         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
76691         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
76692         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
76693         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
76694         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
76695         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
76696         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76697         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76698         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76699         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76700         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76701         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
76702         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
76703         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
76704         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
76705         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
76706         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
76707         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
76708         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
76709         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
76710         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
76711         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
76712         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
76713         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
76714         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
76715         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
76716         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
76717         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
76718         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
76719         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
76720         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
76721         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
76722         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
76724 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
76726         * sysdeps/x86_64/dla.h: Move to ...
76727         * sysdeps/x86_64/fpu/dla.h: ...here.
76728         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
76729         situations.  Use __builtin_fma only for gcc 4.6 and up.
76731         * config.make.in: Add have-mfma4 entry.
76732         * configure.in: Substitute libc_cv_cc_fma4.
76733         * math/Makefile (dbl-only-routines): Add sincostab.
76734         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
76735         Use __sincostab not sincos.
76736         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
76737         name is a macro.
76738         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76739         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76740         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
76742         using __copysign.
76743         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
76744         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
76745         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
76746         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
76747         and __inv.
76748         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
76749         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
76750         __copysign.
76751         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
76752         define aliases when function name is a macro.
76753         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
76754         sysdeps/ieee754/dbl-64/sincos.tbl.
76755         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
76756         fma4-enabled routines.
76757         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
76758         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
76759         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
76760         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
76761         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
76762         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
76763         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
76764         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
76765         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
76766         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
76767         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
76768         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
76769         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
76770         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
76771         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
76772         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
76773         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
76774         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
76775         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
76776         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
76777         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
76778         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
76779         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76780         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76781         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76782         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76783         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76784         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76785         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76786         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76788         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76789         rename.
76790         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76791         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76792         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76793         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76794         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76795         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76796         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76797         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76799 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76801         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76803 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76805         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76807         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76808         prediction.
76809         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76811         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76812         Remove unused variable magic_bits.
76813         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76815         * string/strnlen.c: Define and use STRNLEN macro.
76816         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76817         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76818         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76819         * wcsmbs/wcslen.c: Define and use WCSLEN.
76820         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76821         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76822         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76823         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76824         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76825         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76826         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76828 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76831         strnlen-sse2-no-bsf.
76832         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76833         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76834         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76835         Add strnlen support.
76836         (USE_AS_STRNLEN): New macro.
76837         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76838         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76839         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76840         * sysdeps/x86_64/wcslen.S: New file.
76842 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76844         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76845         XMM-moves are used for copying on small sizes.
76847 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76849         * wcsmbs/Makefile (strop-tests): Add wcschr.
76850         * wcsmbs/test-wcschr.c: New file.
76851         * string/test-strchr.c: Update.
76852         Add wcschr support.
76853         (WIDE): New macro.
76855 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76857         * wcsmbs/Makefile (strop-tests): Add wcslen.
76858         * wcsmbs/test-wcslen.c: New file.
76859         * string/test-strlen.c: Update.
76860         Add wcslen support.
76861         (WIDE): New macro.
76863 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76865         * po/it.po: Update from translation team.
76867 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76869         * sysdeps/x86_64/wcscmp.S: Update.
76870         Fix wrong comparison semantics.
76871         wcscmp shall use signed comparison not unsigned.
76872         Don't use substraction to avoid overflow bug.
76873         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76874         * wcsmbc/wcscmp.c: Likewise.
76875         * string/test-strcmp.c: Likewise.
76876         Add new tests to check cases with negative values.
76878 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76880         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76881         * sysdeps/x86_64/dla.h: ...here.  New file.
76882         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76883         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76884         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76885         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76886         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76887         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76888         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76889         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76890         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76892 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76894         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76895         __ynl_finite aliases.
76897 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76901         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76902         define DLA_FMA.
76903         [DLA_FMA] (EMULV): Use DLA_FMA.
76904         [DLA_FMA] (MUL12): Use EMULV.
76905         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76906         that are not needed.
76907         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76908         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76910         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76911         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76912         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76913         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76915 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76917         * math/s_nan.c: Undef __nan.
76918         * math/s_nanf.c: Undef __nanf.
76919         * math/s_nanl.c: Undef __nanl.
76920         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76921         "math_private.h".
76923 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76925         * math/s_catan.c: Add branch predictions.
76926         * math/s_catanf.c: Likewise.
76927         * math/s_catanh.c: Likewise.
76928         * math/s_catanhf.c: Likewise.
76929         * math/s_catanhl.c: Likewise.
76930         * math/s_catanl.c: Likewise.
76931         * math/s_cexp.c: Likewise.
76932         * math/s_cexpf.c: Likewise.
76933         * math/s_cexpl.c: Likewise.
76934         * math/s_clog.c: Likewise.
76935         * math/s_clog10.c: Likewise.
76936         * math/s_clog10f.c: Likewise.
76937         * math/s_clog10l.c: Likewise.
76938         * math/s_clogf.c: Likewise.
76939         * math/s_clogl.c: Likewise.
76940         * math/s_csqrt.c: Likewise.
76941         * math/s_csqrtf.c: Likewise.
76942         * math/s_csqrtl.c: Likewise.
76943         * math/s_ctanf.c: Likewise.
76944         * math/s_ctanh.c: Likewise.
76945         * math/s_ctanhf.c: Likewise.
76946         * math/s_ctanhl.c: Likewise.
76947         * math/s_ctanl.c: Likewise.
76949         * math/math_private.h: Define __nan, __nanf, __nanl.
76950         * math/s_cacosh.c: Include <math_private.h>.
76951         * math/s_cacoshl.c: Likewise.
76952         * math/s_casinh.c: Likewise.
76953         * math/s_casinhf.c: Likewise.
76954         * math/s_casinhl.c: Likewise.
76955         * math/s_ccos.c: Rely entire on ccosh.
76956         * math/s_ccosf.c: Rely entire on ccoshf.
76957         * math/s_ccosl.c: Rely entirely on ccoshl.
76958         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76959         Remove tests for FE_INVALID.
76960         * math/s_ccoshf.c: Likewise.
76961         * math/s_ccoshl.c: Likewise.
76962         * math/s_csin.c: Likewise.
76963         * math/s_csinf.c: Likewise.
76964         * math/s_csinh.c Likewise.
76965         * math/s_csinhf.c: Likewise.
76966         * math/s_csinhl.c: Likewise.
76967         * math/s_csinl.c: Likewise.
76968         * math/s_ctan.c: Likewise.
76969         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76970         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76971         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76973 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76976         compilation problems.
76978         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76979         __builtin_expect.
76981 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76983         * sysdeps/i386/configure.in: Test for -mfma4 option.
76984         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76985         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76986         COMMON_CPUID_INDEX_80000001.
76987         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76988         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76989         use it if FMA3 is not supported.
76990         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76992         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76993         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76995 2011-10-20  Andreas Schwab  <schwab@redhat.com>
76997         [BZ #12892]
76998         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
76999         it would create a cycle with a link time dependency.
77001 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77003         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77004         instruction.
77005         * string/Makefile (strop-tests): Add rawmemchr.
77006         * string/test-rawmemchr.c: New file.
77008         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77009         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77010         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77011         when compiling str{,n}casecmp and when AVX is available.  Hook up
77012         new optimized code in initializers.
77014 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77016         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77017         __feraiseexcept instead of feraiseexcept.
77019 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77021         * math/math_private.h: Define defaults for libc_fetestexcept and
77022         libc_feupdateenv.
77023         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77024         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77025         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77026         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77027         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77028         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77029         libc_fetestexcept and libc_feupdateenv.
77031         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77032         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77033         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77034         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77035         libc_feholdexcept_setround.
77037         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77038         Add s_nearbyint-c and s_nearbyintf-c.
77039         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77040         nearbyintf inlines.
77041         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77042         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77043         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77044         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77046         * math/math_private.h: Define defaults for libc_fegetround,
77047         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77048         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77049         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77050         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77051         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77052         standard functions.
77053         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77054         Remove comments and hacks for old compiler versions.
77055         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77056         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77057         libc_feholdexceptl.
77059 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77061         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77062         (__feraiseexcept_renamed): Add __NTH.
77063         (feraiseexcept): Add __NTH.  Rename local variables to fix
77064         namespace violations.
77066 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77068         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77070         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77072         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77073         recently added interfaces.
77074         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77076         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77077         about macro parameter expansion.
77079         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77080         __NO_MATH_INLINES is defined.  Cleanups.
77082         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77083         and __floorf is target has SSE4.1.
77084         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77085         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77086         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77087         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77089         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77090         name.
77091         (floorf): Likewise.
77093         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77095 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77097         * misc/sys/cdefs.h: Fix last change.
77099         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77100         database lookup.
77102 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77104         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77106         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77107         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77108         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77109         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77110         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77111         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77112         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77113         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77114         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77115         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77116         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77117         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77118         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77119         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77120         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77121         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77122         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77123         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77124         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77125         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77126         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77127         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77129         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
77130         ceil, ceilf, floor, floorf.
77132         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
77133         Perform IRELATIVE relocations last.
77135         * elf/do-rel.h: Add another parameter nrelative, replacing the
77136         local variable with the same name.  Change name of the function
77137         to end in Rel or Rela (uppercase).
77138         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
77139         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
77140         elf_dynamic_do_##reloc function.
77142 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77144         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
77145         is sufficient, at least on modern CPUs.
77147         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
77149         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
77150         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
77152         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
77153         __expl_finite.
77154         * math/bits/math-finite.h: Add entries for exp.
77155         * math/e_expl.c: Add __*_finite alias.
77156         * sysdeps/i386/fpu/e_exp.S: Likewise.
77157         * sysdeps/i386/fpu/e_expf.S: Likewise.
77158         * sysdeps/i386/fpu/e_expl.c: Likewise.
77159         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77160         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77161         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
77162         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
77163         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
77164         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77165         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77167         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
77168         is sufficient, at least on modern CPUs.
77170         * ctype/ctype-info.c (__ctype_init): Define.
77171         * include/ctype.h (__ctype_init): Declare.
77172         (__ctype_b_loc): The variable is always initialized.
77173         (__ctype_toupper_loc): Likewise.
77174         (__ctype_tolower_loc): Likewise.
77175         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
77176         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
77178 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
77180         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
77182         * configure.in: Also look in $cxxmachine/include for C++ system
77183         headers.
77185 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77187         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
77188         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
77189         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
77190         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
77191         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
77192         (USE_AS_WMEMCMP): New macro.
77193         Fixing indents.
77194         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
77195         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
77196         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
77197         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
77198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77199         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
77200         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
77201         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
77202         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
77203         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
77204         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
77205         (USE_AS_WMEMCMP): New macro.
77206         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
77207         * sysdeps/string/test-memcmp.c: Update.
77208         Fix simple_wmemcmp.
77209         Add new tests.
77210         * wcsmbs/wmemcmp.c: Update.
77211         (WMEMCMP): New macro.
77212         Fix overflow bug.
77214 2011-10-12  Andreas Jaeger  <aj@suse.de>
77216         [BZ #13268]
77217         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
77219 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77221         * libio/iofwide.c (do_length): Avoid warning.
77223         * ctype/ctype.h (__isctype_f): Add missing __THROW.
77225 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
77227         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
77229         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
77230         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
77231         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
77232         * sysdeps/i386/i686/fpu/e_log.S: New file.
77233         * sysdeps/i386/i686/fpu/e_logf.S: New file.
77234         * sysdeps/i386/i686/fpu/e_logl.S: New file.
77236         * ctype/ctype.h: Add support for inlined isXXX functions when
77237         compiling C++ code.
77239 2011-10-14  Andreas Schwab  <schwab@redhat.com>
77241         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77243         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
77245 2011-10-13  Roland McGrath  <roland@hack.frob.com>
77247         [BZ #13291]
77248         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
77250 2011-10-13  Andreas Schwab  <schwab@redhat.com>
77252         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
77253         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
77254         feraiseexcept.
77256         * sysdeps/x86_64/memrchr.S: Check for zero size.
77258         * string/stratcliff.c: Add memrchr tests.
77260 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77262         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77263         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
77264         rawmemchr-sse2 rawmemchr-sse2-bsf.
77265         * sysdeps/i386/i686/multiarch/memchr.S: New file.
77266         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
77267         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
77268         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
77269         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
77270         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
77271         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
77272         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
77273         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
77274         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
77275         * string/memrchr.c (MEMRCHR): New macro.
77277 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
77279         Add integration with gcc's -ffinite-math-only and optimize wrapper
77280         functions in libm.
77281         * Versions.def: Define GLIBC_2.15 version for libm.
77282         * math/Makefile (headers): Add bits/math-finite.h.
77283         * math/bits/math-finite.h: New file.
77284         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
77285         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
77286         * math/e_acoshl.c: Add __*_finite alias.
77287         * math/e_acosl.c: Likewise.
77288         * math/e_asinl.c: Likewise.
77289         * math/e_atan2l.c: Likewise.
77290         * math/e_atanhl.c: Likewise.
77291         * math/e_coshl.c: Likewise.
77292         * math/e_exp10.c: Likewise.
77293         * math/e_exp10f.c: Likewise.
77294         * math/e_exp10l.c: Likewise.
77295         * math/e_exp2l.c: Likewise.
77296         * math/e_fmodl.c: Likewise.
77297         * math/e_gammal_r.c: Likewise.
77298         * math/e_hypotl.c: Likewise.
77299         * math/e_j0l.c: Likewise.
77300         * math/e_j1l.c: Likewise.
77301         * math/e_jnl.c: Likewise.
77302         * math/e_lgammal_r.c: Likewise.
77303         * math/e_log10l.c: Likewise.
77304         * math/e_log2l.c: Likewise.
77305         * math/e_logl.c: Likewise.
77306         * math/e_powl.c: Likewise.
77307         * math/e_sinhl.c: Likewise.
77308         * math/e_sqrtl.c: Likewise.
77309         * math/e_scalb.c: Completely rewritten and optimized.
77310         * math/e_scalbf.c: Likewise.
77311         * math/e_scalbl.c: Likewise.
77312         * math/w_acos.c: Likewise.
77313         * math/w_acosf.c: Likewise.
77314         * math/w_acosl.c: Likewise.
77315         * math/w_acosh.c: Likewise.
77316         * math/w_acoshf.c: Likewise.
77317         * math/w_acoshl.c: Likewise.
77318         * math/w_asin.c: Likewise.
77319         * math/w_asinf.c: Likewise.
77320         * math/w_asinl.c: Likewise.
77321         * math/w_atan2.c: Likewise.
77322         * math/w_atan2f.c: Likewise.
77323         * math/w_atan2l.c: Likewise.
77324         * math/w_atanh.c: Likewise.
77325         * math/w_atanhf.c: Likewise.
77326         * math/w_atanhl.c: Likewise.
77327         * math/w_exp10.c: Likewise.
77328         * math/w_exp10f.c: Likewise.
77329         * math/w_exp10l.c: Likewise.
77330         * math/w_fmod.c: Likewise.
77331         * math/w_fmodf.c: Likewise.
77332         * math/w_fmodl.c: Likewise.
77333         * math/w_j0.c: Likewise.
77334         * math/w_j0f.c: Likewise.
77335         * math/w_j0l.c: Likewise.
77336         * math/w_j1.c: Likewise.
77337         * math/w_j1f.c: Likewise.
77338         * math/w_j1l.c: Likewise.
77339         * math/w_jn.c: Likewise.
77340         * math/w_jnf.c: Likewise.
77341         * math/w_log.c: Likewise.
77342         * math/w_logf.c: Likewise.
77343         * math/w_logl.c: Likewise.
77344         * math/w_log10.c: Likewise.
77345         * math/w_log10f.c: Likewise.
77346         * math/w_log10l.c: Likewise.
77347         * math/w_log2.c: Likewise.
77348         * math/w_log2f.c: Likewise.
77349         * math/w_log2l.c: Likewise.
77350         * math/w_pow.c: Likewise.
77351         * math/w_powf.c: Likewise.
77352         * math/w_powl.c: Likewise.
77353         * math/w_remainder.c: Likewise.
77354         * math/w_remainderf.c: Likewise.
77355         * math/w_remainderl.c: Likewise.
77356         * math/w_scalb.c: Likewise.
77357         * math/w_scalbf.c: Likewise.
77358         * math/w_scalbl.c: Likewise.
77359         * math/w_sqrt.c: Likewise.
77360         * math/w_sqrtf.c: Likewise.
77361         * math/w_sqrtl.c: Likewise.
77362         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77363         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
77364         used.
77365         * math/math_private.h: Declare __kernel_standard_f.
77366         * math/w_cosh.c: Remove cruft and optimize a bit.
77367         * math/w_coshf.c: Likewise.
77368         * math/w_coshl.c: Likewise.
77369         * math/w_exp2.c: Likewise.
77370         * math/w_exp2f.c: Likewise.
77371         * math/w_exp2l.c: Likewise.
77372         * math/w_hypot.c: Likewise.
77373         * math/w_hypotf.c: Likewise.
77374         * math/w_hypotl.c: Likewise.
77375         * math/w_lgamma.c: Likewise.
77376         * math/w_lgamma_r.c: Likewise.
77377         * math/w_lgammaf.c: Likewise.
77378         * math/w_lgammaf_r.c: Likewise.
77379         * math/w_lgammal.c: Likewise.
77380         * math/w_lgammal_r.c: Likewise.
77381         * math/w_sinh.c: Likewise.
77382         * math/w_sinhf.c: Likewise.
77383         * math/w_sinhl.c: Likewise.
77384         * math/w_tgamma.c: Likewise.
77385         * math/w_tgammaf.c: Likewise.
77386         * math/w_tgammal.c: Likewise.
77387         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77389         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77390         Minor optimizations.  Pretty printing.  Remove cruft.
77391         * sysdeps/i386/fpu/e_acosf.S: Likewise.
77392         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77393         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77394         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77395         * sysdeps/i386/fpu/e_acosl.c: Likewise.
77396         * sysdeps/i386/fpu/e_asin.S: Likewise.
77397         * sysdeps/i386/fpu/e_asinf.S: Likewise.
77398         * sysdeps/i386/fpu/e_atan2.S: Likewise.
77399         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77400         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77401         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77402         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77403         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77404         * sysdeps/i386/fpu/e_exp10.S: Likewise.
77405         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77406         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77407         * sysdeps/i386/fpu/e_exp2.S: Likewise.
77408         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77409         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77410         * sysdeps/i386/fpu/e_fmod.S: Likewise.
77411         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77412         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77413         * sysdeps/i386/fpu/e_hypot.S: Likewise.
77414         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
77415         * sysdeps/i386/fpu/e_log.S: Likewise.
77416         * sysdeps/i386/fpu/e_log10.S: Likewise.
77417         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77418         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77419         * sysdeps/i386/fpu/e_log2.S: Likewise.
77420         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77421         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77422         * sysdeps/i386/fpu/e_logf.S: Likewise.
77423         * sysdeps/i386/fpu/e_logl.S: Likewise.
77424         * sysdeps/i386/fpu/e_pow.S: Likewise.
77425         * sysdeps/i386/fpu/e_powf.S: Likewise.
77426         * sysdeps/i386/fpu/e_powl.S: Likewise.
77427         * sysdeps/i386/fpu/e_remainder.S: Likewise.
77428         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
77429         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
77430         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77431         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77432         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77433         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
77434         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
77435         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
77436         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77437         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77438         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77439         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77440         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77441         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77442         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
77443         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77444         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77445         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77446         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77447         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77448         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77449         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77450         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77451         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77452         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77453         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77454         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77455         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77456         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77457         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77458         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77459         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77460         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77461         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77462         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77463         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77464         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
77465         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77466         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77467         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77468         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77469         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77470         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77471         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77472         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77473         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77474         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77475         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77476         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77477         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77478         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77479         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77480         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77481         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77482         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77483         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77484         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77485         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
77486         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77487         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77488         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77489         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77490         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77491         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77492         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77493         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77494         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77495         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77496         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77497         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77498         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77499         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77500         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77501         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77502         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77503         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77504         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
77505         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77506         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77507         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77508         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77509         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77510         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77511         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77512         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
77513         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77514         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77515         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77516         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77517         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77518         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
77519         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77520         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77521         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77522         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77523         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77524         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77525         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77526         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77527         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77528         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77529         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
77530         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77531         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77532         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77533         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
77534         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
77535         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
77536         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
77537         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
77538         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
77539         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
77540         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77541         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77542         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77543         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77544         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
77545         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77546         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
77547         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
77548         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
77549         (__isnanf): Likewise.
77550         (__isinf_ns): Likewise.
77551         (__isinf_nsf): Likewise.
77552         (__finite): Likewise.
77553         (__finitef): Likewise.
77554         (__ieee754_sqrt): Define as macro.
77555         (__ieee754_sqrtf): Define as macro.
77556         (__ieee754_sqrtl): Define as macro.
77557         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
77558         inlined copy.
77559         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
77560         __FINITE_MATH_ONLY__ consistent.
77561         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
77563 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
77565         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
77566         of rawmemchr.
77568         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
77570 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
77572         * po/ja.po: Update from translation team.
77574 2011-10-08  Roland McGrath  <roland@hack.frob.com>
77576         * locale/programs/locarchive.c (prepare_address_space): New function.
77577         (create_archive, enlarge_archive, open_archive): Use it.
77579         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
77580         inside [SHARED], where it is used.
77582         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
77584         * nss/getent.c (netgroup_keys): Remove unused variable.
77585         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77587 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
77589         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
77590         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
77591         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
77592         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
77593         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
77594         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
77595         * math/Makefile (libm-calls): Add s_isinf_ns.
77596         * math/divtc3.c: Use __isinf_nsl instead of isinf.
77597         * math/multc3.c: Likewise.
77598         * math/s_casin.c: Likewise.
77599         * math/s_casinf.c: Likewise.
77600         * math/s_casinl.c: Likewise.
77601         * math/s_ccos.c: Likewise.
77602         * math/s_ccosf.c: Likewise.
77603         * math/s_ccosl.c: Likewise.
77604         * math/s_ctan.c: Likewise.
77605         * math/s_ctanf.c: Likewise.
77606         * math/s_ctanh.c: Likewise.
77607         * math/s_ctanhf.c: Likewise.
77608         * math/s_ctanhl.c: Likewise.
77609         * math/s_ctanl.c: Likewise.
77610         * math/w_fmod.c: Likewise.
77611         * math/w_fmodf.c: Likewise.
77612         * math/w_fmodl.c: Likewise.
77613         * math/w_remainder.c: Likewise.
77614         * math/w_remainderf.c: Likewise.
77615         * math/w_remainderl.c: Likewise.
77616         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
77617         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
77618         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
77619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
77620         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
77621         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
77622         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
77623         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
77625         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
77626         of the number.
77627         * stdio-common/printf_fphex.c: Likewise.
77628         * stdio-common/printf_size.c: Likewise.
77630         * math/e_exp10.c: Include math_private.h using <...> not "...".
77631         * math/e_exp10f.c: Likewise.
77632         * math/e_exp10l.c: Likewise.
77633         * math/e_exp2l.c: Likewise.
77634         * math/e_j0l.c: Likewise.
77635         * math/e_j1l.c: Likewise.
77636         * math/e_jnl.c: Likewise.
77637         * math/e_lgammal_r.c: Likewise.
77638         * math/e_rem_pio2l.c: Likewise.
77639         * math/e_scalb.c: Likewise.
77640         * math/e_scalbf.c: Likewise.
77641         * math/e_scalbl.c: Likewise.
77642         * math/k_cosl.c: Likewise.
77643         * math/k_sinl.c: Likewise.
77644         * math/k_tanl.c: Likewise.
77645         * math/s_cacoshf.c: Likewise.
77646         * math/s_catan.c: Likewise.
77647         * math/s_catanf.c: Likewise.
77648         * math/s_catanh.c: Likewise.
77649         * math/s_catanhf.c: Likewise.
77650         * math/s_catanhl.c: Likewise.
77651         * math/s_catanl.c: Likewise.
77652         * math/s_ccosh.c: Likewise.
77653         * math/s_ccoshf.c: Likewise.
77654         * math/s_ccoshl.c: Likewise.
77655         * math/s_cexp.c: Likewise.
77656         * math/s_cexpf.c: Likewise.
77657         * math/s_cexpl.c: Likewise.
77658         * math/s_clog.c: Likewise.
77659         * math/s_clog10.c: Likewise.
77660         * math/s_clog10f.c: Likewise.
77661         * math/s_clog10l.c: Likewise.
77662         * math/s_clogf.c: Likewise.
77663         * math/s_clogl.c: Likewise.
77664         * math/s_csin.c: Likewise.
77665         * math/s_csinf.c: Likewise.
77666         * math/s_csinh.c: Likewise.
77667         * math/s_csinhf.c: Likewise.
77668         * math/s_csinhl.c: Likewise.
77669         * math/s_csinl.c: Likewise.
77670         * math/s_csqrt.c: Likewise.
77671         * math/s_csqrtf.c: Likewise.
77672         * math/s_csqrtl.c: Likewise.
77673         * math/s_ctan.c: Likewise.
77674         * math/s_ctanf.c: Likewise.
77675         * math/s_ctanh.c: Likewise.
77676         * math/s_ctanhf.c: Likewise.
77677         * math/s_ctanhl.c: Likewise.
77678         * math/s_ctanl.c: Likewise.
77679         * math/s_ldexp.c: Likewise.
77680         * math/s_ldexpf.c: Likewise.
77681         * math/s_ldexpl.c: Likewise.
77682         * math/s_significand.c: Likewise.
77683         * math/s_significandf.c: Likewise.
77684         * math/s_significandl.c: Likewise.
77685         * math/w_acos.c: Likewise.
77686         * math/w_acosf.c: Likewise.
77687         * math/w_acosh.c: Likewise.
77688         * math/w_acoshf.c: Likewise.
77689         * math/w_acoshl.c: Likewise.
77690         * math/w_acosl.c: Likewise.
77691         * math/w_asin.c: Likewise.
77692         * math/w_asinf.c: Likewise.
77693         * math/w_asinl.c: Likewise.
77694         * math/w_atan2.c: Likewise.
77695         * math/w_atan2f.c: Likewise.
77696         * math/w_atan2l.c: Likewise.
77697         * math/w_atanh.c: Likewise.
77698         * math/w_atanhf.c: Likewise.
77699         * math/w_atanhl.c: Likewise.
77700         * math/w_cosh.c: Likewise.
77701         * math/w_coshf.c: Likewise.
77702         * math/w_coshl.c: Likewise.
77703         * math/w_dremf.c: Likewise.
77704         * math/w_exp10.c: Likewise.
77705         * math/w_exp10f.c: Likewise.
77706         * math/w_exp10l.c: Likewise.
77707         * math/w_exp2.c: Likewise.
77708         * math/w_exp2f.c: Likewise.
77709         * math/w_fmod.c: Likewise.
77710         * math/w_fmodf.c: Likewise.
77711         * math/w_fmodl.c: Likewise.
77712         * math/w_hypot.c: Likewise.
77713         * math/w_hypotf.c: Likewise.
77714         * math/w_hypotl.c: Likewise.
77715         * math/w_j0.c: Likewise.
77716         * math/w_j0f.c: Likewise.
77717         * math/w_j0l.c: Likewise.
77718         * math/w_j1.c: Likewise.
77719         * math/w_j1f.c: Likewise.
77720         * math/w_j1l.c: Likewise.
77721         * math/w_jn.c: Likewise.
77722         * math/w_jnf.c: Likewise.
77723         * math/w_jnl.c: Likewise.
77724         * math/w_lgamma.c: Likewise.
77725         * math/w_lgamma_r.c: Likewise.
77726         * math/w_lgammaf.c: Likewise.
77727         * math/w_lgammaf_r.c: Likewise.
77728         * math/w_lgammal.c: Likewise.
77729         * math/w_lgammal_r.c: Likewise.
77730         * math/w_log.c: Likewise.
77731         * math/w_log10.c: Likewise.
77732         * math/w_log10f.c: Likewise.
77733         * math/w_log10l.c: Likewise.
77734         * math/w_log2.c: Likewise.
77735         * math/w_log2f.c: Likewise.
77736         * math/w_log2l.c: Likewise.
77737         * math/w_logf.c: Likewise.
77738         * math/w_logl.c: Likewise.
77739         * math/w_pow.c: Likewise.
77740         * math/w_powf.c: Likewise.
77741         * math/w_powl.c: Likewise.
77742         * math/w_remainder.c: Likewise.
77743         * math/w_remainderf.c: Likewise.
77744         * math/w_remainderl.c: Likewise.
77745         * math/w_scalb.c: Likewise.
77746         * math/w_scalbf.c: Likewise.
77747         * math/w_scalbl.c: Likewise.
77748         * math/w_sinh.c: Likewise.
77749         * math/w_sinhf.c: Likewise.
77750         * math/w_sinhl.c: Likewise.
77751         * math/w_sqrt.c: Likewise.
77752         * math/w_sqrtf.c: Likewise.
77753         * math/w_sqrtl.c: Likewise.
77754         * math/w_tgamma.c: Likewise.
77755         * math/w_tgammaf.c: Likewise.
77756         * math/w_tgammal.c: Likewise.
77758         * po/ja.po: Update from translation team.
77760 2011-09-29  Andreas Jaeger  <aj@suse.de>
77762         [BZ #13179]
77763         * sunrpc/netname.c (netname2host): Fix logic.
77765         [BZ #6779]
77766         [BZ #6783]
77767         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
77768         correctly.
77769         * math/w_remainder.c (__remainder): Likewise.
77770         * math/w_remainderf.c (__remainderf): Likewise.
77771         * math/libm-test.inc (remainder_test): Add test cases.
77773 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77775         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
77776         sdiv_qrnnd.
77778 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77780         * string/test-memcmp.c: Avoid unncessary #defines.
77781         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77783 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77785         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77786         Use new sse2 version for core i3 - i7 as it's faster
77787         than sse42 version.
77788         (bit_Prefer_PMINUB_for_stringop): New.
77789         * sysdeps/x86_64/rawmemchr.S: Update.
77790         Replace with faster SSE2 version.
77791         * sysdeps/x86_64/memrchr.S: New file.
77792         * sysdeps/x86_64/memchr.S: Update.
77793         Replace with faster SSE2 version.
77795 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77797         * elf/dl-load.c (lose): Add cast to avoid warning.
77799 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77801         * po/ca.po: Update from translation team.
77803         * inet/getnetgrent_r.c: Hook up nscd.
77804         * nscd/Makefile (routines): Add nscd_netgroup.
77805         (nscd-modules): Add netgroupcache.
77806         (CFLAGS-netgroupcache.c): Define.
77807         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77808         (cache_search): Add const to second parameter.
77809         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77810         INNETGR.
77811         (dbs): Add netgrdb entry.
77812         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77813         (verify_persistent_db): Handle netgrdb.
77814         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77815         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77816         GETFDNETGR.
77817         (netgroup_response_header): Define.
77818         (innetgroup_response_header): Define.
77819         (datahead): Add netgroup_response_header and innetgroup_response_header
77820         elements.
77821         * nscd/nscd.conf: Add entries for netgroup cache.
77822         * nscd/nscd.h (dbtype): Add netgrdb.
77823         (_PATH_NSCD_NETGROUP_DB): Define.
77824         (netgroup_iov_disabled): Declare.
77825         (xmalloc, xcalloc, xrealloc): Move declarations here.
77826         (cache_search): Adjust prototype.
77827         Add netgroup-related prototypes.
77828         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77829         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77830         (__nscd_innetgr): Declare.
77831         * nscd/selinux.c (perms): Use access_vector_t as element type and
77832         add netgroup-related initializers.
77833         * nscd/netgroupcache.c: New file.
77834         * nscd/nscd_netgroup.c: New file.
77835         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77836         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77837         For four parameters use innetgr.
77838         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77839         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77840         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77841         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77843         * nscd/connections.c (register_traced_file): Don't register file
77844         for disabled databases.
77846 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77848         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77850         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77851         from tree and freeing node.
77853 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77855         * nss/nsswitch.c (__nss_database_lookup): Handle
77856         nss_parse_service_list out of memory case.
77858 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77860         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77861         out of memory case.
77863 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77865         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77866         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77867         pass it down.
77868         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77869         elf_machine_rela, elf_machine_lazy_rel.
77870         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77871         (ELF_DYNAMIC_DO_REL): Likewise.
77872         (ELF_DYNAMIC_DO_RELA): Likewise.
77873         (ELF_DYNAMIC_RELOCATE): Likewise.
77874         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77875         to ELF_DYNAMIC_DO_REL.
77876         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77877         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77878         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77879         elf_machine_rela.
77880         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77881         skip_ifunc, don't call ifunc function if non-zero.
77882         (elf_machine_rela): Likewise.
77883         (elf_machine_lazy_rel): Likewise.
77884         (elf_machine_lazy_rela): Likewise.
77885         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77886         (elf_machine_lazy_rel): Likewise.
77887         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77888         Likewise.
77889         (elf_machine_lazy_rel): Likewise.
77890         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77891         Likewise.
77892         (elf_machine_lazy_rel): Likewise.
77893         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77894         (elf_machine_lazy_rel): Likewise.
77895         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77896         (elf_machine_lazy_rel): Likewise.
77897         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77898         (elf_machine_lazy_rel): Likewise.
77899         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77900         (elf_machine_lazy_rel): Likewise.
77901         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77902         (elf_machine_lazy_rel): Likewise.
77903         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77904         (elf_machine_lazy_rel): Likewise.
77906 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77908         * nss/nss_files/files-init.c (_nss_files_init): Use static
77909         initialization for all the *_traced_file variables.
77911 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77913         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77915 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77917         [BZ #13226]
77918         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77920 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77922         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77923         Reread the line before reparsing it.
77925 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77927         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77929 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77930             Maxim Kuvyrkov  <maxim@codesourcery.com>
77931             Joseph Myers  <joseph@codesourcery.com>
77933         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77934         if needed for __stack_chk_guard.
77936 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77938         * sysdeps/posix/spawni.c (script_execute): Always define it.
77939         It will be optimized away if unused.
77940         (maybe_script_execute): New function.
77941         (__spawni): Call it.
77943         * Makerules: Don't include tls.make.
77944         (config-tls): Always set to thread.
77945         * tls.make.c: File removed.
77947 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77949         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77950         * config.make.in (CPPFLAGS-config): New substituted variable.
77952 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77954         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77956         [BZ #13192]
77957         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77958         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77960 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77962         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77963         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77964         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77965         (CALL_FAIL): Likewise.
77966         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77967         (CALL_FAIL): Macro removed.
77968         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77970 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77972         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77973         for __FINITE_MATH_ONLY__ == 1.
77975 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77977         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77978         __ieee754_sqrt instead of sqrt.
77979         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77980         __ieee754_sqrtf instead of sqrtf.
77981         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77982         __floorf instead of floorf.
77983         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77984         __floorf, __truncf instead of floorf, truncf.
77986 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77988         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77990         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77991         __extern_always_inline.
77992         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77993         32-bit.
77995 2011-09-14  Andreas Schwab  <schwab@redhat.com>
77997         * elf/rtld.c (dl_main): Also relocate in dependency order when
77998         doing symbol dependency testing.
78000 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78002         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78003         Always define `refsym'.
78005 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78007         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78008         (__FD_ELT): Renamed from __FDELT.
78009         * misc/bits/select2.h (__FD_ELT): Likewise.
78010         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78011         __FD_MASK instead of __FDELT, __FDMASK.
78012         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78013         Likewise.
78014         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78015         Likewise.
78017         * elf/Makefile (gen-ldd): Fix pattern.
78019         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78020         (init_tls): Likewise.
78022 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78024         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78026 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78028         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78029         `struct cmsghdr *' instead of `void *'.
78030         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78031         Likewise.
78033 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78035         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78036         if non-absolute.
78037         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78038         ldd_rewrite_script.
78040 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78042         * configure.in: Remove --with-tls option.
78043         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78044         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78045         out in case it is missing.
78046         * sysdeps/ia64/elf/configure.in: Likewise.
78047         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78048         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78049         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78050         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78051         * sysdeps/sh/elf/configure.in: Likewise.
78052         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78053         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78054         * sysdeps/x86_64/elf/configure.in: Likewise.
78055         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78056         * sysdeps/mach/hurd/tls.h: Likewise.
78058         [BZ #13067]
78059         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78061         [BZ #13090]
78062         * configure.in: Fix use of AC_INIT.
78064         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78066 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78068         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78069         __set_errno.
78070         * malloc/hooks.c: Likewise.
78072         [BZ #11929]
78073         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78074         variables statically.
78075         (narenas): Initialize.
78076         (list_lock): Initialize.
78077         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78078         initializtion of main_arena and list_lock.  Small cleanups.
78079         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78080         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78081         Add initializers to main_arena and mp_.
78082         (malloc_state): Remove pagesize member.  Change all users to use
78083         GLRO(dl_pagesize).
78085         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78086         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78087         is always initialized.
78089         * malloc/malloc.c: Removed unused configurations and dead code.
78090         * malloc/arena.c: Likewise.
78091         * malloc/hooks.c: Likewise.
78092         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78094         * include/tls.h: Removed.  USE___THREAD must always be defined.
78095         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78096         * elf/dl-libc.c: Likewise.
78097         * elf/dl-tsd.c: Likewise.
78098         * include/errno.h: Likewise.
78099         * include/netdb.h: Likewise.
78100         * include/resolv.h: Likewise.
78101         * inet/herrno-loc.c: Likewise.
78102         * inet/herrno.c: Likewise.
78103         * malloc/arena.c: Likewise.
78104         * malloc/hooks.c: Likewise.
78105         * malloc/malloc.c: Likewise.
78106         * resolv/res-state.c: Likewise.
78107         * resolv/res_libc.c: Likewise.
78108         * sysdeps/i386/dl-machine.h: Likewise.
78109         * sysdeps/ia64/dl-machine.h: Likewise.
78110         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78111         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78112         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78113         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78114         * sysdeps/sh/dl-machine.h: Likewise.
78115         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78116         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78117         * sysdeps/unix/i386/sysdep.S: Likewise.
78118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78119         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78121         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78122         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78124         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78125         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78128         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78129         * sysdeps/x86_64/dl-machine.h: Likewise.
78130         * tls.make.c: Likewise.
78132         * configure.in: Remove --with-__thread option.  Make tests for
78133         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
78134         tls_model attribute fail if no support is available.  Remove
78135         USE_IN_LIBIO.
78136         * Makeconfig: Adjust for dropped configure option.  All features are
78137         now mandatory.
78138         * Makerules: Likewise.
78139         * Versions.def: Likewise.
78140         * argp/argp-fmtstream.c: Likewise.
78141         * argp/argp-fmtstream.h: Likewise.
78142         * argp/argp-help.c: Likewise.
78143         * assert/assert.c: Likewise.
78144         * config.h.in: Likewise.
78145         * config.make.in: Likewise.
78146         * configure: Likewise.
78147         * configure.in: Likewise.
78148         * csu/Versions: Likewise.
78149         * csu/init.c: Likewise.
78150         * elf/tst-audit2.c: Likewise.
78151         * elf/tst-tls10.c: Likewise.
78152         * elf/tst-tls10.h: Likewise.
78153         * elf/tst-tls11.c: Likewise.
78154         * elf/tst-tls12.c: Likewise.
78155         * elf/tst-tls14.c: Likewise.
78156         * elf/tst-tlsmod11.c: Likewise.
78157         * elf/tst-tlsmod12.c: Likewise.
78158         * elf/tst-tlsmod13.c: Likewise.
78159         * elf/tst-tlsmod13a.c: Likewise.
78160         * elf/tst-tlsmod14a.c: Likewise.
78161         * elf/tst-tlsmod15b.c: Likewise.
78162         * elf/tst-tlsmod16a.c: Likewise.
78163         * elf/tst-tlsmod16b.c: Likewise.
78164         * elf/tst-tlsmod7.c: Likewise.
78165         * elf/tst-tlsmod8.c: Likewise.
78166         * elf/tst-tlsmod9.c: Likewise.
78167         * gmon/gmon.c: Likewise.
78168         * grp/fgetgrent_r.c: Likewise.
78169         * grp/putgrent.c: Likewise.
78170         * hurd/fopenport.c: Likewise.
78171         * include/libc-symbols.h: Likewise.
78172         * include/tls.h: Likewise.
78173         * intl/gettextP.h: Likewise.
78174         * intl/loadinfo.h: Likewise.
78175         * locale/global-locale.c: Likewise.
78176         * locale/localeinfo.h: Likewise.
78177         * mach/devstream.c: Likewise.
78178         * malloc/arena.c: Likewise.
78179         * malloc/set-freeres.c: Likewise.
78180         * misc/err.c: Likewise.
78181         * misc/getttyent.c: Likewise.
78182         * misc/mntent_r.c: Likewise.
78183         * posix/getopt.c: Likewise.
78184         * posix/wordexp.c: Likewise.
78185         * pwd/fgetpwent_r.c: Likewise.
78186         * resolv/Versions: Likewise.
78187         * resolv/res_hconf.c: Likewise.
78188         * shadow/fgetspent_r.c: Likewise.
78189         * shadow/putspent.c: Likewise.
78190         * stdio-common/printf_fphex.c: Likewise.
78191         * stdio-common/tmpfile.c: Likewise.
78192         * stdlib/abort.c: Likewise.
78193         * stdlib/fmtmsg.c: Likewise.
78194         * sunrpc/auth_unix.c: Likewise.
78195         * sunrpc/clnt_perr.c: Likewise.
78196         * sunrpc/clnt_tcp.c: Likewise.
78197         * sunrpc/clnt_udp.c: Likewise.
78198         * sunrpc/clnt_unix.c: Likewise.
78199         * sunrpc/openchild.c: Likewise.
78200         * sunrpc/svc_simple.c: Likewise.
78201         * sunrpc/svc_tcp.c: Likewise.
78202         * sunrpc/svc_udp.c: Likewise.
78203         * sunrpc/svc_unix.c: Likewise.
78204         * sunrpc/xdr.c: Likewise.
78205         * sunrpc/xdr_array.c: Likewise.
78206         * sunrpc/xdr_rec.c: Likewise.
78207         * sunrpc/xdr_ref.c: Likewise.
78208         * sunrpc/xdr_stdio.c: Likewise.
78210 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78212         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78214 2011-07-03  Andreas Jaeger  <aj@suse.de>
78216         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
78217         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
78218         regenerate with gen-libm-tests.pl.
78220 2010-05-12  Petr Baudis  <pasky@suse.cz>
78222         [BZ #11589]
78223         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
78224         around j0() zero points by switching to j1().
78225         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78226         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78227         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78228         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78230 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78232         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
78233         instead of 0.
78234         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
78235         instead of 0.
78236         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78237         Patch in part by Pavel Roskin <proski@gnu.org>.
78239         [BZ #13138]
78240         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
78241         realloc.
78242         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
78243         Free memory block if necessary.
78245         [BZ #12847]
78246         * libio/genops.c (INTDEF): For string streams the _lock pointer can
78247         be NULL.  Don't lock in this case.
78249 2011-09-09  Roland McGrath  <roland@hack.frob.com>
78251         * elf/elf.h (ELFOSABI_GNU): New macro.
78252         (ELFOSABI_LINUX): Define to that.
78254 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
78256         * string/strncat.c (strncat): Undef the symbol in case it has been
78257         defined in bits/string.h.
78259 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78261         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
78263         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
78264         link map.
78266 2011-08-17  Andreas Jaeger  <aj@suse.de>
78268         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
78270 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
78271             Ian Lance Taylor  <iant@google.com>
78273         * math/libm-test.inc (lround_test): New testcase.
78274         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
78276 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
78278         * Makefile: Remove support for automatic cvs check-ins.
78279         * Makerules: Likewise.
78280         * config.make.in: Likewise.
78281         * configure.in: Likewise.
78282         * intl/Makefile: Likewise.
78283         * locale/Makefile: Likewise.
78284         * po/Makefile: Likewise.
78285         * posix/Makefile: Likewise.
78286         * sysdeps/gnu/Makefile: Likewise.
78287         * sysdeps/mach/hurd/Makefile: Likewise.
78288         * sysdeps/sparc/sparc32/Makefile: Likewise.
78290         [BZ #13118]
78291         * posix/Makefile (bug-regex32-ENV): Define.
78292         Patch by John Stanley <jpsinthemix@verizon.net>.
78294         * misc/Makefile (headers): Add bits/select2.h.
78295         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
78296         * misc/bits/select2.h: New file.
78297         * include/bits/select2.h: New file.
78298         * debug/Makefile (routines): Add fdelt_chk.
78299         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
78300         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
78301         FD_ISSET.
78302         * debug/fdelt_chk.c: New file.
78304         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
78305         * wcsmbs/test-wmemcmp.c: Likewise.
78306         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
78307         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78309 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78311         * string/Makefile (strop-tests): Add memcmp.
78312         * string/test-wmemcmp.c: New file.
78313         * string/test-memcmp.c: Add wmemcmp support.
78315 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78317         [BZ #13153]
78318         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78319         2011-07-19 change.
78321         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78322         garbage value in a __mach_port_mod_refs call in the cases of the
78323         task-self and thread-self ports.
78325 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78327         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78329 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78331         * elf/dl-load.c (lose): Check for non-null L.
78333 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78335         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78337         * elf/dl-libc.c (dlerror_run): Pass back error code from
78338         dl_catch_error.
78340         [BZ #13123]
78341         * elf/dl-load.c (lose): Free l_origin if it is valid.
78343         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78344         names.
78345         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78346         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78347         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78348         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78349         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78350         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78352 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78354         * sysdeps/powerpc/fpu/e_hypot.c: New file.
78355         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78356         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78357         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78358         * sysdeps/powerpc/fpu/k_cosf.c: New file.
78359         * sysdeps/powerpc/fpu/k_sinf.c: New file.
78360         * sysdeps/powerpc/fpu/s_cosf.c: New file.
78361         * sysdeps/powerpc/fpu/s_sinf.c: New file.
78362         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78363         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78365 2011-08-15  Alan Modra  <amodra@gmail.com>
78367         [BZ #13092]
78368         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78369         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78370         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
78371         ppc_mcount to static-only-routines.
78372         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78373         __mcount_internal.
78374         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78375         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
78377 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
78379         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78380         for finite and infinity parameters.
78382 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78385         and add nop instructions for throughput optimization.
78386         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78388 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
78390         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78391         aligned copy for power7 with vector-scalar instructions.
78392         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78394 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
78396         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78397         AVX check.
78399 2011-09-07  Andreas Schwab  <schwab@redhat.com>
78401         [BZ #13144]
78402         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78403         last change.
78405 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78407         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78408         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78409         syscall wrapper around clock_gettime in __vdso_clock_gettime.
78410         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78411         clock_gettime.
78413 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78415         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
78416         Forgot to demangle the pointer.
78418         * sysdeps/i386/sysdep.h: Define atom_text_section.
78419         * sysdeps/x86_64/sysdep.h: Likewise.
78420         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
78421         section with atom_text_section.
78422         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78423         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78424         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
78425         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78426         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
78428         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
78429         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
78430         already be defined.  Change to take two parameters and don't assign
78431         result to variable.  Adjust all users.
78432         Define INTERNAL_GETTIME if not already defined.
78433         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
78434         call.
78435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
78436         HAVE_CLOCK_GETTIME_VSYSCALL.
78437         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
78439         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
78440         gettimeofday vsyscall, just use time.
78442 2011-09-06  Andreas Schwab  <schwab@redhat.com>
78444         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
78445         <errno.h>.
78447 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78449         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
78450         syscall on x86-64.
78451         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
78452         syscall.
78453         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
78454         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
78455         syscall if possible.
78457 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78459         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
78460         e_ident.  Don't pass to find_mapsXX.
78461         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
78463 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78466         strchr-sse2-no-bsf strrchr-sse2-no-bsf
78467         * sysdeps/x86_64/multiarch/strchr.S: Update.
78468         Check bit_slow_BSF bit.
78469         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
78470         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
78471         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
78473 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78475         [BZ #13134]
78476         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
78477         before glibc 2.15.
78478         (tryshell): Define.
78479         (__spawni): Change last parameter to be flag.  Test
78480         SPAWN_XFLAGS_USE_PATH flag to use path or not.
78481         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
78482         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
78483         * posix/spawni.c: Likewise.
78484         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
78485         * posix/spawnp.c: Likewise.  Change normal version to use
78486         SPAWN_XFLAGS_USE_PATH.
78487         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
78488         SPAWN_XFLAGS_TRY_SHELL.
78490         [BZ #13150]
78491         * posix/glob.h: Remove gcc 1.x support.
78493         [BZ #13068]
78494         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
78496 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78499         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
78500         strrchr-sse2-bsf
78501         * sysdeps/i386/i686/multiarch/strchr.S: New file.
78502         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
78503         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
78504         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
78505         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
78506         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
78508 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78510         * sysdeps/x86_64/wcscmp.S: New file.
78512         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
78513         wcscmp-c wcscmp-sse2
78514         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
78515         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
78516         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
78517         * wcsmbs/wcscmp.c: Allow renaming.
78519 2011-09-05  David S. Miller  <davem@davemloft.net>
78521         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
78522         stack slot, rather than the struct return pointer slot.
78523         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
78524         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
78525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
78526         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
78528 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78530         * po/ja.po: Update from translation team.
78532         [BZ #13144]
78533         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
78534         kernel in 64-bit binaries.
78536 2011-09-01  David S. Miller  <davem@davemloft.net>
78538         * elf/elf.h (HWCAP_SPARC_*): Move to..
78539         * sysdeps/sparc/sysdep.h: this new file and add new values.
78540         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
78541         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
78542         _DL_HWCAP_COUNT to 24.
78543         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
78544         entries.
78545         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
78546         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
78547         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
78548         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
78549         instead of magic constants.
78550         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78552 2011-08-31  David S. Miller  <davem@davemloft.net>
78554         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
78555         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
78556         Reimplement to do errno handling inline.
78557         (SYSCALL_ERROR_HANDLER): New macro.
78558         (__SYSCALL_STRING): Do not do errno handling in asm.
78559         (__CLONE_SYSCALL_STRING): Delete.
78560         (__INTERNAL_SYSCALL_STRING): Delete.
78561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
78562         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
78563         (PSEUDO): Reimplement to do errno handling inline.
78564         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
78565         (SYSCALL_ERROR_HANDLER): New macro.
78566         (__SYSCALL_STRING): Do not do errno handling in asm.
78567         (__CLONE_SYSCALL_STRING): Delete.
78568         (__INTERNAL_SYSCALL_STRING): Delete.
78569         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
78570         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
78571         i386.
78572         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
78573         (inline_syscall*): Add 'err' argument.
78574         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
78575         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
78576         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
78577         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
78579         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
78580         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78582 2011-08-30  Andreas Schwab  <schwab@redhat.com>
78584         * elf/rtld.c (dl_main): Relocate objects in dependency order.
78586 2011-08-29  Jiri Olsa <jolsa@redhat.com>
78588         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
78589         directive.
78591 2011-08-24  David S. Miller  <davem@davemloft.net>
78593         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
78595 2011-08-24  Andreas Schwab  <schwab@redhat.com>
78597         * elf/Makefile: Add rules to build and run unload8 test.
78598         * elf/unload8.c: New file.
78599         * elf/unload8mod1.c: New file.
78600         * elf/unload8mod1x.c: New file.
78601         * elf/unload8mod2.c: New file.
78602         * elf/unload8mod3.c: New file.
78604         * elf/dl-close.c (_dl_close_worker): Reset private search list if
78605         it wasn't used.
78607 2011-08-23  David S. Miller  <davem@davemloft.net>
78609         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
78610         subtract stack bias.
78611         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
78612         %sp not %fp in calculations.
78613         (_JMPBUF_UNWINDS_ADJ): Likewise.
78615         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
78616         (aio_suspend): Call it to force an exception region around the
78617         AIO_MISC_WAIT() invocation.
78619 2011-08-23  Andreas Schwab  <schwab@redhat.com>
78621         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
78622         backslash.
78624 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
78626         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
78627         protection macro.
78628         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
78629         and <dl-machine.h>.
78630         (Elf64_FuncDesc): Remove.
78632 2011-08-22  David S. Miller  <davem@davemloft.net>
78634         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
78635         sigaltstack check, add missing cfi directives.
78636         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
78637         missing cfi directives, and sigaltstack handling.
78639 2011-08-16  Andreas Schwab  <schwab@redhat.com>
78641         [BZ #11724]
78642         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
78643         object is seen twice.
78644         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78646         * elf/Makefile (distribute): Add tst-initorder2.c.
78647         (tests): Add tst-initorder2.
78648         (modules-names): Add tst-initorder2a tst-initorder2b
78649         tst-initorder2c tst-initorder2d.  Add rules to build them.
78650         ($(objpfx)tst-initorder2.out): New rule.
78651         * elf/tst-initorder2.c: New file.
78652         * elf/tst-initorder2.exp: New file.
78654 2011-08-22  Andreas Schwab  <schwab@redhat.com>
78656         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
78658         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
78659         dependencies back to end of function.
78661         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78662         $(elfobjdir)/ld.so.
78664 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
78666         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
78667         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
78668         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
78669         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
78670         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
78671         of __vdso_gettimeofday.
78672         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
78673         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
78674         attribute_hidden.
78675         (_libc_vdso_platform_setup): Remove initialization of
78676         __vdso_gettimeofday and __vdso_time.
78678 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78680         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
78681         and fgetc_unlocked.
78682         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
78683         getc_unlocked.
78685         * elf/dl-open.c (add_to_global): Report additions to the global scope
78686         for LD_DEBUG=scopes.
78687         (dl_open_worker): Also print scope of newly loaded dependencies.
78688         (_dl_show_scope): Indicate if there is no scope.
78690         [BZ #13114]
78691         * stdio-common/Makefile (tests): Add bug24.
78692         * stdio-common/bug24.c: New file.
78694 2011-08-19  Andreas Jaeger  <aj@suse.de>
78696         [BZ #13114]
78697         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
78698         non-existant file when using close-on-exec mode.
78700 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78702         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
78703         the very first instruction.
78705         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
78706         the CFI state in the end.
78707         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
78708         inclusion of dl-trampoline.h.
78709         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
78711 2011-08-19  Andreas Schwab  <schwab@redhat.com>
78713         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
78714         expectations for long double.
78716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
78717         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
78719 2011-08-14  David S. Miller  <davem@davemloft.net>
78721         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
78722         artificual limit depends upon the system page size.
78724 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78726         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
78727         * resolv/Makefile: Define CFLAGS-libresolv.
78729 2011-08-17  Andreas Schwab  <schwab@redhat.com>
78731         * nss/makedb.c (compute_tables): Make variables used in nested
78732         function static.
78734 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78736         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
78737         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
78738         if buffer was too small.
78740         * elf/pldd.c (main): Attach to all threads in the process.
78741         Rewrite /proc handling to use *at functions.
78743 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
78745         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
78746         specifies first scope to show.
78747         (dl_open_worker): Update callers.  Move printing scope of new
78748         object to before the relocation.
78749         * elf/rtld.c (dl_main): Update _dl_show_scope call.
78750         * sysdeps/generic/ldsodefs.h: Update declaration.
78752         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
78753         string for the scope number.
78755 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
78757         * nscd/servicescache.c (cache_addserv): Make sure written is always
78758         initialized.
78760 2011-08-14  Roland McGrath  <roland@hack.frob.com>
78762         * sysdeps/i386/i486/bits/atomic.h
78763         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
78764         statement expression, so as to suppress "set but not used" warning.
78765         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
78767         * string/strncat.c (STRNCAT): Use prototype definition.
78769         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
78770         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
78771         -Iprograms here.
78772         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
78773         (localedef-modules): Add localedef.
78774         (locale-modules): Add locale.
78776         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
78777         * elf/rtld.c (dl_main): Invert order of assignment in last change,
78778         to avoid a warning.
78780 2011-08-14  David S. Miller  <davem@davemloft.net>
78782         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78783         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78785 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78787         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78788         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78789         * elf/rtld.c (dl_main): Set l_name of vDSO.
78790         Call _dl_show_scope when DL_DEBUG_SCOPES.
78791         (process_dl_debug): Recognize scopes flag and also set it for all.
78792         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78793         Declare _dl_show_scope.
78795         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78796         (do_dlopen): Pass caller_dlopen to dl_open.
78797         (__libc_dlopen_mode): Initialize caller_dlopen.
78799         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78800         of libc.  Make tolower call locale-independent.  Optimize a bit by
78801         using isdigit instead of isalnum.
78802         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78804 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78806         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78807         was a dependency or dynamically loaded.
78809 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78811         * intl/l10nflist.c: Allow architecture-specific pop function.
78812         * sysdeps/x86_64/l10nflist.c: New file.
78814         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78815         classification.
78817 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78819         * include/dirent.h: Add libc_hidden_proto for scandirat and
78820         scandirat64.  Don't declare __scandirat64.
78821         * dirent/scandirat.c: Add libc_hidden_def.
78822         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78823         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78825 2011-08-10  David S. Miller  <davem@davemloft.net>
78827         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78828         enum.
78829         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78830         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78831         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78833 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78835         * Versions.def [libc]: Add GLIBC_2.15.
78836         * dirent/Makefile (routines): Add scandirat and scandirat64.
78837         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78838         GLIBC_2.15.
78839         * dirent/dirent.h: Declare scandirat and scandirat64.
78840         * dirent/scandirat.c: New file.
78841         * dirent/scandirat64.c: New file.
78842         * sysdeps/wordsize-64/scandirat.c: New file.
78843         * sysdeps/wordsize-64/scandirat64.c: New file.
78844         * dirent/opendir.c: Define opendirat.
78845         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78846         using scandirat.
78847         * dirent/scandir64.c: Adjust for scandir.c change.
78848         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78849         __scandirat64, and __scandir_cancel_handler.
78850         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78851         additional parameter and use openat instead of open (outside of ld.so).
78852         Add new __opendir as wrapper around __opendirat.
78853         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78854         here without requiring old scandirat implementation.
78856 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78858         * dirent/scandir.c (cancel_handler): Renamed to
78859         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78860         defined.  Adjust users.
78861         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78862         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78864 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78866         * string/test-string.h (IMPL): Use __STRING to expand name and then
78867         stringify it.
78869         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78870         of cleanups.
78872 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78874         * string/Makefile: Update.
78875         (strop-tests): Append strncat.
78876         * string/test-wcscmp.c: New file.
78877         New comprehensive test for wcscmp.
78878         * string/test-strcmp.c: Update.
78879         (WIDE): New define.
78881 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78883         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78884         line.
78886 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78889         encoding to ACE if AI_IDN.
78891 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78893         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78894         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78896 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78898         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78899         Fix overflow bug in strncat.
78900         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78902         * string/test-strncat.c: Update.
78903         Add new tests for checking overflow bugs.
78905 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78908         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78909         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78910         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78911         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78912         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78913         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78914         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78915         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78917         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78918         (USE_AS_STRCAT): Define.
78919         Add strcat and strncat support.
78920         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78922 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78924         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78925         __n bigger than INT_MAX+1.
78926         (__strncmp_g): Likewise.
78928 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78930         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78931         * libio/stido.h: Likewise.
78933         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78934         (AF_NFC): Define.
78935         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78936         (AF_NFC): Define.
78938         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78939         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78940         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78941         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78942         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78944         [BZ #13021]
78945         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78946         installed.
78948         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78949         typo.
78950         (_dl_x86_64_save_sse): Likewise.
78952 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78954         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78955         OSXSAVE.
78956         (_dl_x86_64_save_sse): Likewise.
78958         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78960         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78962 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78964         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78965         change.
78966         (_dl_x86_64_save_sse): Use correct AVX check.
78968 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78970         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78971         bug in strncpy/strncat.
78972         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78974 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78976         * string/tester.c (test_strcat): Add tests for different alignments
78977         of source and destination.
78978         (test_strncat): Likewise.
78980 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78982         [BZ #12852]
78983         * posix/glob.c (glob): Check passed in values before using them in
78984         expressions to avoid some overflows.
78985         (glob_in_dir): Likewise.
78987         [BZ #13007]
78988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78989         check for AVX enablement so that we don't crash with old kernels and
78990         new hardware.
78991         * elf/tst-audit4.c: Add same checks here.
78992         * elf/tst-audit6.c: Likewise.
78994         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
78996 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
78998         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79000 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79002         * po/cs.po: Update from translation team.
79003         * po/bg.po: Likewise.
79005 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79007         * misc/sys/cdefs.h: Add support for const attribute.
79008         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79009         to gnu_dev_{major,minor,makedev} functions.
79011 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79013         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79015 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79017         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79018         strlen results.
79020 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79022         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79023         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79024         register in order to avoid conflicts with the soft frame pointer
79025         being held in r11 when necessary.
79026         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79027         (INTERNAL_VSYSCALL_NCS): Likewise.
79029 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79031         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79032         * elf/dl-fini.c (_dl_fini): Adjust caller.
79033         * elf/dl-close.c (_dl_close_worker): Likewise.
79034         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79036 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79038         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79039         "aux_cache->nlibs < 0".
79041         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79042         in the reload-count case.
79044 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79047         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79048         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79049         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79050         * sysdeps/x86_64/multiarch/strcat.S: New file.
79051         * sysdeps/x86_64/multiarch/strncat.S: New file.
79052         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79053         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79054         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79055         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79056         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79057         (USE_AS_STRCAT): Define.
79058         Add strcat and strncat support.
79059         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79060         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79061         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79062         * string/strncat.c: Update.
79063         (USE_AS_STRNCAT): Define.
79064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79065         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79066         and i7.
79067         * sysdeps/x86_64/multiarch/init-arch.h
79068         (bit_Prefer_PMINUB_for_stringop): New.
79069         (index_Prefer_PMINUB_for_stringop): Likewise.
79070         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79071         bit_Prefer_PMINUB_for_stringop.
79073 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79075         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79076         buffer64.
79077         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79078         of casting of buffer.
79079         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79080         buffer32 and buffer64.
79081         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79082         writes instead of casting of buffer.
79083         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79084         buffer32.
79085         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79086         casting of buffer.
79088 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79090         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79092 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79094         * nscd/nscd.c (termination_handler): Don't do anything for a database
79095         if it has not yet been initialized.
79097 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79099         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79101 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79103         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79105 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79107         * po/nl.po: Update from translation team.
79108         * po/sv.po: Likewise.
79110 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79112         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79113         now disallowed by GCC.
79115         * configure.in (use-default-link): Default to yes if a test -shared
79116         link meets our qualifications.
79117         * configure: Regenerated.
79119         * config.make.in (output-format): New variable.
79120         * configure.in: Check for ld --print-output-format support.
79121         * configure: Regenerated.
79122         * Makerules ($(common-objpfx)format.lds)
79123         [$(output-format) != unknown]: Just use $(output-format),
79124         instead of the linker-script munging.
79126 2011-07-14  Roland McGrath  <roland@hack.frob.com>
79128         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79129         of $(common-objpfx)shlib.lds.
79130         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
79132         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
79133         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
79135         * configure.in (-z relro check): Adjust test code to add a large
79136         writable data section after it.
79137         * configure: Regenerated.
79139 2011-07-11  Roland McGrath  <roland@hack.frob.com>
79141         * configure.in (-z relro check): Fix test code to make the variable
79142         truly const.
79143         * configure: Regenerated.
79145 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
79147         * nscd/nscd.h (struct traced_file): Define.
79148         (struct database_dyn): Remove inotify_descr, reset_res, and filename
79149         elements.  Add traced_files.
79150         (inotify_fd): Declare.
79151         (register_traced_file): Declare.
79152         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
79153         (inotify_fd): Export.
79154         (resolv_conf_descr): Remove.
79155         (nscd_init): Move inotify descriptor creation to main.
79156         Don't register files for notification here.
79157         (register_traced_file): New function.
79158         (invalidate_cache): Don't use reset_res to determine whether to call
79159         res_init, go through the list of registered files.
79160         (main_loop_poll): The inotify descriptors are now stored in the
79161         structures for the traced files.
79162         (main_loop_epoll): Likewise.
79163         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
79164         to __nss_disable_nscd.
79165         * nscd/cache.c (prune_cache): There is no single inotify descriptor
79166         for a database anymore.  Check the records for all the registered
79167         files instead.
79168         * nss/Makefile (libnss_files-routines): Add files-init.
79169         (libnss_db-routines): Add db-init.
79170         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
79171         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
79172         * nss/nss_db/db-init.c: New file.
79173         * nss/nss_files/files-init.c: New file.
79174         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
79175         __nss_lookup_function.
79176         (__nss_lookup_function): Call nss_load_library.
79177         (nss_load_all_libraries): New function.
79178         (__nss_disable_nscd): Take parameter with callback function for files
79179         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
79180         used for the cached services.
79181         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
79182         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
79183         options for features to all the files in nscd.
79185         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
79187 2011-07-10  Roland McGrath  <roland@hack.frob.com>
79189         * csu/elf-init.c (__libc_csu_init): Comment typo.
79191 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
79193         * po/pl.po: Update from translation team.
79194         * po/ja.po: Likewise.
79195         * po/ru.po: Likewise.
79196         * po/ko.po: Likewise.
79197         * po/fr.po: Likewise.
79199 2011-07-09  Roland McGrath  <roland@hack.frob.com>
79201         * configure.in (.ctors/.dtors header and trailer check):
79202         Use an empirical test on a built program.
79203         * configure: Regenerated.
79205         * configure.in (-z relro check): Use an empirical test on a built DSO.
79206         Detect, but do not require, on ia64.
79207         * configure: Regenerated.
79209         * configure.in (READELF): Find it with AC_CHECK_TOOL.
79210         Update tests that use readelf to use $READELF instead.
79211         * configure: Regenerated.
79213 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
79215         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
79216         if the result is not used.
79218 2011-07-05  Andreas Jaeger  <aj@suse.de>
79220         [BZ#9696]
79221         * stdlib/tst-strtod.c: Add testcase.
79223 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
79225         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
79226         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
79227         The latter has a higher limit.  Take additional parameter to pass to
79228         the new function.
79229         (__pathconf): Pass file to __statfs_link_max.
79230         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
79231         __statfs_link_max.
79232         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
79233         __statfs_link_max.
79235         [BZ #12868]
79236         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
79237         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79238         Handle Lustre.
79239         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
79240         (__statfs_filesize_max): Likewise.
79241         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
79243 2011-07-05  Andreas Jaeger  <aj@suse.de>
79245         * resolv/res_comp.c (dn_skipname): Remove unused variable.
79247 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
79249         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
79250         `status' variable.
79251         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
79252         Likewise.
79254 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
79256         * Makefile (strop-tests): Add strncat.
79257         * string/test-strncat.c: New file.
79259 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
79261         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
79263 2011-06-21  Andreas Jaeger  <aj@suse.de>
79265         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
79266         Copy rule from iconvdata/Makefile.
79268 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79270         [BZ #12922]
79271         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
79272         but no long options are defined, just return 'W'.
79274 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
79276         [BZ #9696]
79277         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
79279 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79281         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
79282         netgroups to read.
79283         (innetgr): Likewise.
79285 2011-07-05  Roland McGrath  <roland@hack.frob.com>
79287         * config.make.in (install_root): Default to $(DESTDIR).
79289 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
79291         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
79293 2011-07-02  Roland McGrath  <roland@hack.frob.com>
79295         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
79297         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
79298         containing directory rather than embedding absolute directory names.
79300         * scripts/check-local-headers.sh: Rewritten using awk.
79301         Match by word, not by line.  Print error messages for matches.
79302         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
79304         * Makerules [shlib-lds-flags empty]:
79305         ($(common-objpfx)libc_pic.opts): New target.
79306         ($(common-objpfx)libc_pic.os.clean): New target.
79307         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79309         * config.make.in (OBJCOPY): New variable.
79310         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79311         * configure: Regenerated.
79313         * config.make.in (use-default-link): New variable.
79314         * configure.in (use_default_link): Grok --with-default-link to set it.
79315         * configure: Regenerated.
79316         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79317         (shlib-lds, shlib-lds-flags): Define to empty.
79319         * Makerules (shlib-lds): New variable.
79320         (shlib-lds-flags): New variable.
79321         (build-shlib, build-moduile, build-module-asneeded): Use it.
79322         ($(common-objpfx)libc.so): Use $(shlib-lds).
79323         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79324         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79326         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79327         DT_FLAGS/DT_FLAGS_1 with zero flags.
79329         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79330         linker script munging.
79332 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
79334         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79335         as 128-bit value.
79336         * crypt/sha512.c (sha512_process_block): Perform total addition using
79337         128-bit if possible.
79338         (__sha512_finish_ctx): Likewise.
79339         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79340         as 64-bit value.
79341         * crypt/sha256.c (SWAP64): Define.
79342         (sha256_process_block): Perform total addition using 64-bit if
79343         possible.
79344         (__sha256_finish_ctx): Likewise.
79346 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
79348         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
79349         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79350         * nscd/hstcache.c (cache_addhst): Likewise.
79351         * nscd/grpcache.c (cache_addgr): Likewise.
79352         * nscd/aicache.c (addhstaiX): Likewise.
79353         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79355 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
79357         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79358         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79359         * nscd/hstcache.c (cache_addhst): Likewise.
79360         * nscd/grpcache.c (cache_addgr): Likewise.
79361         * nscd/aicache.c (addhstaiX): Likewise.
79363 2011-07-01  Andreas Schwab  <schwab@redhat.com>
79365         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79366         domain only when needed.
79368 2011-06-30  Andreas Schwab  <schwab@redhat.com>
79370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79371         is always restored.
79373 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
79375         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79376         are re-adding the entry.
79377         * nscd/servicescache.c (cache_addserv): Likewise.
79379 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
79381         * sysdeps/generic/dl-irel.h: fix protection against multiple
79382         inclusions.
79383         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79385 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
79387         [BZ #12935]
79388         * malloc/memusage.sh: Fix quoting in message.
79389         * debug/xtrace.sh: Likewise.
79391         * configure.in: Remove support for --experimental-malloc option, make
79392         it the default.
79393         * config.make.in: Likewise.
79394         * malloc/Makefile: Likewise.
79396 2011-06-27  Andreas Schwab  <schwab@redhat.com>
79398         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79399         two-byte characters.
79401 2011-06-27  Roland McGrath  <roland@hack.frob.com>
79403         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79404         AC_CACHE_CHECK invocation.
79405         * configure: Regenerated.
79407         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79409 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
79411         [BZ #12350]
79412         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
79413         bit from old_res_options.
79415         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
79417         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
79418         value type for setfct.
79420 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
79422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79423         __gettimeofday instead of gettimeofday.
79425 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
79427         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
79429 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
79431         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
79433         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
79434         info.
79436 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79439         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79440         strcpy-sse2-unaligned strncpy-sse2-unaligned
79441         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
79442         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
79443         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
79444         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
79445         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
79446         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
79447         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
79448         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
79449         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
79450         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
79451         (STRCPY): Support SSE2 and SSSE3 versions.
79453 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
79455         [BZ #12874]
79456         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
79457         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
79458         kernels which artificially limit size of requests.
79460 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79463         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79464         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
79465         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
79466         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
79467         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
79468         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
79469         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
79470         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
79471         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
79472         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
79473         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
79474         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
79475         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
79476         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
79477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79478         Enable unaligned load optimization for Intel Core i3, i5 and i7
79479         processors.
79480         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
79481         Define.
79482         (index_Fast_Unaligned_Load): Define.
79483         (HAS_FAST_UNALIGNED_LOAD): Define.
79485 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
79487         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
79489 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79491         [BZ #12907]
79492         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
79493         until it is clear that the information is realy needed.
79494         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
79496 2011-06-22  Andreas Schwab  <schwab@redhat.com>
79498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
79500 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79502         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79503         /sys/devices/system/cpu/online if it is usable.
79505         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
79506         reading the information from the /proc filesystem to once a second.
79508 2011-06-21  Andreas Jaeger  <aj@suse.de>
79510         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
79511         NULL after inclusion of kernel headers.
79513 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
79515         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
79516         calls to internal_setent.
79518         [BZ #12885]
79519         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
79520         addresses using gethostbyname4_r ignore IPv4 addresses.
79522         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
79523         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
79525         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
79527 2011-06-20  David S. Miller  <davem@davemloft.net>
79529         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
79530         inclusions.
79531         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
79533         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
79534         (elf_irel): Use it.
79535         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
79536         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
79537         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
79538         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
79539         * sysdeps/x86_64/dl-irel.h: Likewise.
79541         * elf/dl-runtime.c: Use elf_ifunc_invoke.
79542         * elf/dl-sym.c: Likewise.
79544 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79546         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
79547         need to dereference resplen2.
79549 2011-06-14  Andreas Schwab  <schwab@redhat.com>
79551         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
79553 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79555         * Makeconfig: Define vardbdir and inst_vardbdir.
79556         * nss/Makefile: Add rules to install db-Makefile.
79558         * nss/nss_db/db-XXX.c: Cleanup.
79560         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
79561         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
79562         GLIBC_PRIVATE.
79563         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
79564         * nss/makedb.c: Implement -g option to specify that value strings
79565         are generated and should not be added to table iterated over for
79566         get*ent calls.
79567         * nss/nss_db/db-initgroups.c: New file.
79569         * nss/getent.c: Add support for initgroups lookups through getgrouplist
79570         interface.
79572         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
79573         (internal_getgrouplist): Adjust to name change.
79574         Update use_initgroups_entry if this is not the first call.
79575         * nss/databases.def: Add initgroups entry.
79577         * nss/makedb.c (compute_tables): Check result of multiple hash table
79578         sizes to minimize maximum chain length.
79580 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
79582         * Versions.def: Add entry for libnss_db.
79583         * shlib-versions: Likewise.
79584         * nss/Makefile: Add rules to build libnss_db.
79585         * nss/Versions: Add libnss_db information.  Organize libnss_files
79586         entries better.
79587         * nss/db-Makefile: Add gshadow support.  Change rules for the new
79588         makedb progra.  Some minor improvements to generate smaller files.
79589         * nss/nss_db/nss_db.h: Move NSS database header data structures to
79590         here from...
79591         * nss/makedb.c: ...here.
79592         Improve database format to be smaller and require less memory at
79593         runtime.
79594         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
79595         db anymore.
79596         * nss/nss_db/db-netgrp.c: Likewise.
79597         * nss/nss_db/db-open.c: Likewise.
79598         * nss/nss_files/flies-XXX.x: Adjust comments.
79599         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
79600         * nss/nss_files/files-grp.c: Likewise.
79601         * nss/nss_files/files-hosts.c: Likewise.
79602         * nss/nss_files/files-network.c: Likewise.
79603         * nss/nss_files/files-proto.c: Likewise.
79604         * nss/nss_files/files-pwd.c: Likewise.
79605         * nss/nss_files/files-rpc.c: Likewise.
79606         * nss/nss_files/files-service.c: Likewise.
79607         * nss/nss_files/files-sgrp.c: Likewise.
79608         * nss/nss_files/files-spwd.c: Likewise.
79609         * nss/nss_db/db-alias.c: Removed.
79610         * nss/nss_db/dummy-db.h: Removed.
79612 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
79614         * nss/makedb.c: Rewritten to not use database library.
79615         * nss/Makefile: Update to build new makedb program.
79617 2011-06-14  Andreas Jaeger  <aj@suse.de>
79619         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
79620         memset declaration.
79622 2011-06-10  Andreas Schwab  <schwab@redhat.com>
79624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
79625         tmpbuf.
79627 2011-06-10  Roland McGrath  <roland@hack.frob.com>
79629         * Makerules (shlib.lds): Fail if the linker script comes out empty.
79630         * elf/Makefile ($(objpfx)ld.so): Likewise.
79632         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
79633         Don't list ld.so twice in dependencies.
79635         * posix/bug-regex31.c: Include <stdlib.h>.
79637         * nscd/hstcache.c (cache_addhst): Remove unused variable.
79639         * nis/nss_compat/compat-spwd.c
79640         (getspent_next_nss_netgr): Remove unused variable.
79641         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
79643         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
79644         nonmembers" output to use the right array.
79646         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
79648         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
79650         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
79651         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
79652         * catgets/gencat.c (read_input_file): Likewise.
79653         * locale/programs/locarchive.c (enlarge_archive): Likewise.
79655         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
79656         variable definition inside #if's controlling its use.
79658         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
79660         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
79662         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
79664         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
79665         unreachable code.
79667         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
79669         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
79670         * configure: Regenerated.
79672         * Makerules: Revert last change.
79673         * elf/Makefile: Likewise.
79675 2011-06-09  Roland McGrath  <roland@hack.frob.com>
79677         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
79678         * elf/Makefile ($(objpfx)librtld.os): Likewise.
79679         (reloc-link): Likewise.
79681 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
79683         * elf/Makefile: Add rules to build pldd.
79684         * elf/pldd.c: New file.
79685         * elf/pldd-xx.c: New file.
79687 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
79689         * version.h: Update for 2.15 development version.
79691 2011-06-07  David S. Miller  <davem@davemloft.net>
79693         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
79694         ifuncs.
79695         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
79696         elf_machine_lazy_rel): Likewise.
79697         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
79698         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
79699         elf_machine_lazy_rel): Likewise.
79700         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
79701         dl_hwcap via passed in argument.
79702         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
79703         Likewise.
79705 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79707         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
79709 2011-06-06  Roland McGrath  <roland@hack.frob.com>
79711         [BZ #12849]
79712         * manual/fdl-1.1.texi: New file, verbatim from:
79713         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
79714         * manual/lgpl-2.1.texi: New file, verbatim from:
79715         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
79716         * manual/Makefile (licenses): New variable, list those new file names.
79717         (texis): Use it.
79718         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
79720         * manual/fdl.texi: File removed.
79721         * manual/lesser.texi: File removed.
79722         * manual/libc.texinfo (Copying, Documentation License):
79723         Use new @include file names, put @appendix directive before @include.
79725 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
79727         [BZ #12841]
79728         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
79729         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
79730         (mq_open): Add __NTH.
79732 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
79734         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79735         Assume Intel Core i3/i5/i7 processor if AVX is available.
79737 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79739         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79740         typo.
79742 2011-05-31  Andreas Schwab  <schwab@redhat.com>
79744         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
79745         memory.  Use alloca_account.  Fix memory leak when retrying.
79747 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79749         * version.h (RELEASE): Bump for 2.14 release.
79750         * include/features.h (__GLIBC_MINOR__): Bump to 14.
79752         * config.make.in (RANLIB): Remove entry.
79754 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
79756         * po/Makefile (po-sed-cmd): Add ksh to extensions.
79757         (libc.pot): Work around missing support for .ksh extension in xgettext.
79759         [BZ #12684]
79760         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
79761         if both request failed.
79762         (send_dg): In case of server errors clear resplen or *resplen2.
79764         [BZ #12454]
79765         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
79766         when there are multiple maps.
79767         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
79768         (_dl_fini): Remove test here.
79770         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
79772 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
79774         [BZ #12350]
79775         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
79776         bit from old_res_options.
79777         (gaih_inet): Likewise.
79779         [BZ #11099]
79780         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79781         as signed.
79783         * resolv/res_init.c (res_setoptions): Make the code more compact.
79785         [BZ #11558]
79786         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79787         set RES_USEVC.
79789         [BZ #11634]
79790         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79792         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79794         [BZ #11781]
79795         * malloc/malloc.h: Declare malloc hook variables as volatile.
79797         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79798         in last patch.
79800         [BZ #11799]
79801         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79802         raise in the comment.
79803         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79804         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79805         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79807 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79809         [BZ #12811]
79810         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79811         grow the buffers more if it already has to be sufficient.
79812         (build_wcs_upper_buffer): Likewise.
79813         * posix/regexec.c (check_matching): Likewise.
79814         (clean_state_log_if_needed): Likewise.
79815         (extend_buffers): Don't enlarge buffers beyond size of the input
79816         buffer.
79817         Patches mostly by Emil Wojak <emil@wojak.eu>.
79818         * posix/bug-regex32.c: New file.
79819         * posix/Makefile (tests): Add bug-regex32.
79821         * locale/findlocale.c (_nl_find_locale): Return right away if
79822         _nl_explode_name failed.
79823         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79825         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79827         * debug/xtrace.sh: Unify messages.
79828         * malloc/memusage.sh: Likewise.
79830         [BZ #12813]
79831         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79832         time symbol from vDSO.  Substitute with vsyscall if not available.
79833         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79834         __vdso_time.
79836         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79837         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79838         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79839         Add sendmmsg and internal_sendmmsg.
79840         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79841         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79842         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79844         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79845         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79846         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79848 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79850         [BZ #12813]
79851         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79852         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79853         available.
79854         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79855         __vdso_getcpu.
79857         [BZ #12814]
79858         * iconvdata/Makefile (tests): Add bug-iconv9.
79859         * iconvdata/bug-iconv9.c: New file.
79861 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79863         [BZ #12814]
79864         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79866 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79868         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79869         (struct user_regs_struct): Change intcs field back to cs.
79871 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79873         * po/ja.po: Update from translation team.
79875 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79877         [BZ #12795]
79878         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79879         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79881 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79883         * stdlib/longlong.h: Update from GCC.
79885 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79887         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79888         parameter name.
79889         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79890         Add parameter name.
79891         (__sysconf): Pass it down.
79893 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79895         [BZ #12671]
79896         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79897         some situations.
79898         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79899         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79900         add in in __libc_use_alloca calls.  Adjust callers.
79901         (glob): Use malloc in some situations.
79903         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79904         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79905         pltexit.
79907 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79909         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79910         and CLOCK_BOOTTIME_ALARM.
79912         [BZ #12782]
79913         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79914         is returned.
79916         * string/_strerror.c (__strerror_r): Print negative errors as signed
79917         numbers.
79919         [BZ #12777]
79920         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79921         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79922         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79924         * configure.in: Fix typo in redirection and correct removal of test
79925         files in two cases.
79927         [BZ #12788]
79928         * locale/setlocale.c (new_composite_name): Fix test to check for
79929         identical name of all categories.
79931         [BZ #12792]
79932         * libio/filedoalloc.c (local_isatty): New function.
79933         (_IO_file_doallocate): Use local_isatty.
79934         * stdio-common/perror.c (perror): In case a new stream is used
79935         forward the stream error.
79936         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79937         error flag.
79939 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79941         [BZ #11884]
79942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79943         alloca.
79944         * include/alloca.h (extend_alloca_account): Define.
79946         [BZ #11857]
79947         * posix/regex.h: Fix comments with documentation of user-accessible
79948         fields after compilation and describe correct free'ing of pattern
79949         after re_compile_pattern.
79950         Patch by Reuben Thomas <rrt@sc3d.org>.
79952 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79954         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79955         and -mno-altivec to prevent the compiler from using Altivec and/or
79956         VSX instructions when the corresponding registers are not available.
79958 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79960         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79962 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79964         * libio/freopen.c (freopen): Use __dup2, not dup2.
79965         * libio/freopen64.c (freopen64): Likewise.
79967 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79969         [BZ #12775]
79970         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79971         * math/Makefile (tests): Add test-powl.
79972         (CFLAGS-test-powl.c): Define.
79973         * math/test-powl.c: New file.
79975 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79977         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79979 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79981         [BZ #11837]
79982         * iconvdata/gb18030.c: Update to GB18020-2005.
79984 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79986         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79987         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79988         Patch by Aharon Robbins <arnold@skeeve.com>.
79990         [BZ #11892]
79991         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79992         on the stack.
79994         [BZ #11895]
79995         * misc/pselect.c (__pselect): Handle timeout value errors hidden
79996         through underflows.
79998         [BZ #12766]
79999         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80000         point to strings before performing equality test for error_one_per_line
80001         mode.
80003         [BZ #11697]
80004         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80006         [BZ #11820]
80007         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80008         (struct user_fpregs_struct): Avoid __uint*_t types.
80010         [BZ #6420]
80011         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80012         symbol info.  Use it instead of calling _dl_addr locally.
80013         (lock_and_info): New function.
80014         (tr_freehook): Call lock_and_info and pass symbol info as additional
80015         parameter to tr_where.
80016         (tr_mallochook): Likewise.
80017         (tr_reallochook): Likewise.
80018         (tr_memalignhook): Likewise.
80020         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80021         used and couldn't be at all thread-safe.
80023 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80025         * libio/freopen.c (freopen): Don't close old file descriptor
80026         before the new one is opened.  Instead dup the new file descriptor
80027         to the old one after the new stream is created.
80028         * libio/freopen64.c (freopen64): Likewise.
80029         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80030         * libio/fileops.c (_IO_new_file_close_it): Handle new
80031         _IO_FLAGS2_NOCLOSE flag.
80032         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80033         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80034         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80035         _IO_FLAGS2_NOCLOSE flag.
80036         * include/unistd.h: Add hidden_proto for dup3.
80037         Define __have_dup3.
80038         * io/dup3.c: Define hidden symbol.
80039         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80041         [BZ #7101]
80042         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80043         when an incomplete long option is used.
80044         * posix/tst-getopt_long1.c: New file.
80045         * posix/Makefile (tests): Add tst-getopt_long1.
80047         [BZ #10138]
80048         * scripts/config.guess: Update from autoconf-2.68.
80049         * scripts/config.sub: Likewise.
80051         [BZ #10157]
80052         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80053         tests into ...
80054         (has_cpuclock): ...this.  New function.
80055         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80056         macro here based on has_cpuclock code.
80058         [BZ #10149]
80059         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80060         First byte (not low byte) is now always NUL.
80061         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80063         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80064         Use non-cancelable interfaces.
80066         [BZ #9809]
80067         * locale/iso-639.def: Add entry for Sorani.
80069         [BZ #11901]
80070         * include/stdlib.h: Move include protection to the right place.
80071         Define abort_msg_s.  Declare __abort_msg with it.
80072         * stdlib/abort.c (__abort_msg): Adjust type.
80073         * assert/assert.c (__assert_fail_base): New function.  Majority
80074         of code from __assert_fail.  Allocate memory for __abort_msg with
80075         mmap.
80076         (__assert_fail): Now call __assert_fail_base.
80077         * assert/assert-perr.c: Remove bulk of implementation.  Use
80078         __assert_fail_base.
80079         * include/assert.hL Declare __assert_fail_base.
80080         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80081         mmap.
80082         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80084 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80086         [BZ #11952]
80087         [BZ #12453]
80088         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80089         until all modules are registered in the DTV.
80090         * elf/Makefile: Add rules to build and run tst-tls19.
80091         * elf/tst-tls19.c: New file.
80092         * elf/tst-tls19mod1.c: New file.
80093         * elf/tst-tls19mod2.c: New file.
80094         * elf/tst-tls19mod3.c: New file.
80095         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80097         [BZ #12083]
80098         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80099         correctly.
80101         [BZ #12601]
80102         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80103         two-byte sequence errors.
80104         * iconvdata/Makefile (tests): Add bug-iconv8.
80105         * iconvdata/bug-iconv8.c: New file.
80107         [BZ #12626]
80108         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80109         buf2 definition.
80111         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80113         [BZ #12432]
80114         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80115         (dummy_getcfa): New function.
80116         (init): Get _Unwind_GetCFA address, use dummy if not found.
80117         (backtrace_helper): In recursion check, also check whether CFA changes.
80118         (__backtrace): Completely initialize arg.
80120         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80121         storing incomplete byte sequence in state object.  Avoid testing for
80122         guaranteed too small input if we know there is enough data available.
80124 2011-05-11  Andreas Schwab  <schwab@redhat.com>
80126         * Makeconfig (+link-pie): Indent.
80127         * Rules (binaries-pie): Define if $(have-fpie) and
80128         $(build-shared).
80129         (binaries-shared): Also filter out $(binaries-pie).
80130         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
80131         * nscd/Makefile (others-pie): Add nscd.
80132         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
80133         ($(objpfx)nscd): Remove command override.
80134         * login/Makefile (others-pie): Add pt_chown.
80135         ($(objpfx)pt_chown): Remove command override.
80136         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
80137         remove command overrides.
80139 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
80141         * libio/tst_putwc.c: Fix error messages.
80143         [BZ #12724]
80144         * libio/fileops.c (_IO_new_file_close_it): Always flush when
80145         currently writing and seek to current position when not.
80146         * libio/Makefile (tests): Add bug-fclose1.
80147         * libio/bug-fclose1.c: New file.
80149 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
80151         [BZ #12511]
80152         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
80153         don't set DF_1_NODELETE here.
80154         (do_lookup_x): When entering new entry test for copy relocation
80155         and if necessary set DF_1_NODELETE flag.
80156         * elf/tst-unique4.cc: New file.
80157         * elf/tst-unique4.h: New file.
80158         * elf/tst-unique4lib.cc: New file.
80159         * elf/Makefile: Add rules to build and run tst-unique4.
80160         Patch by Piotr Bury <pbury@goahead.com>.
80162 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
80164         [BZ #12052]
80165         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
80167         [BZ #12625]
80168         * misc/mntent_r.c (addmntent): Flush the stream after the output
80170         [BZ #12393]
80171         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
80172         (is_trusted_path_normalize): Skip initial colon.  Append slash
80173         to empty buffer.  Duplicate is_trusted_path code but allow
80174         constructed patch to be prefix.
80175         (is_dst): Allow $ORIGIN followed by /.
80176         (_dl_dst_substitute): Correct clearing of check_for_trusted.
80177         Correct testing of result of is_trusted_path_normalize
80178         (decompose_rpath): Fix warning.
80180 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
80182         [BZ #11257]
80183         * grp/initgroups.c (internal_getgrouplist): When we found the service
80184         list through the initgroups entry in nsswitch.conf do not always
80185         continue on a successful lookup.  Don't always use the
80186         __nss_group_database value if it is set.
80187         * nss/nsswitch.conf (initgroups): Change action for successful db
80188         lookup to continue for compatibility.
80190 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
80192         [BZ #11532]
80193         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
80194         and CP774 modules.
80195         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
80196         and CP774 modules.
80197         * iconvdata/tst-tables.sh: Likewise.
80198         * iconvdata/cp770.c: New file.
80199         * iconvdata/cp771.c: New file.
80200         * iconvdata/cp772.c: New file.
80201         * iconvdata/cp773.c: New file.
80202         * iconvdata/cp774.c: New file.
80203         * iconvdata/testdata/CP770: New file.
80204         * iconvdata/testdata/CP770..UTF8: New file.
80205         * iconvdata/testdata/CP771: New file.
80206         * iconvdata/testdata/CP771..UTF8: New file.
80207         * iconvdata/testdata/CP772: New file.
80208         * iconvdata/testdata/CP772..UTF8: New file.
80209         * iconvdata/testdata/CP773: New file.
80210         * iconvdata/testdata/CP773..UTF8: New file.
80211         * iconvdata/testdata/CP774: New file.
80212         * iconvdata/testdata/CP774..UTF8: New file.
80214         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
80215         END CHARMAP line.
80216         * iconvdata/gen-8bit-gap.sh: Likewise.
80217         * iconvdata/gen-8bit.sh: Likewise.
80219         * locale/iso-639.def: Add ary entry.
80221         [BZ #11258]
80222         * locale/C-translit.h.in: Add U20A1 transliteration.
80224         [BZ #12178]
80225         * locale/iso-639.def: Add wae entry.
80226         Patch by Kevin Bortis <bortis@translate-wae.ch>.
80228         [BZ #12545]
80229         * locale/programs/localedef.c (construct_output_path): Use ssize_t
80230         for n.
80232         [BZ #12711]
80233         * locale/C-translit.h.in: Add entry for U20B9.
80234         Patch by pravin.d.s@gmail.com.
80236 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
80238         [BZ #12713]
80239         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
80240         ENAMETOOLONG use generic getcwd.
80241         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
80242         in rtld.  Use *stat64.
80243         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
80244         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
80245         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
80246         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
80247         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
80248         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
80249         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
80250         __fstatat64 macros.
80251         * include/dirent.h: Add libc_hidden_proto for rewinddir.
80252         * dirent/rewinddir.c: Add libc_hidden_def.
80253         * sysdeps/mach/hurd/rewinddir.c: Likewise.
80254         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
80256         * include/dirent.h (__alloc_dir): Add flags parameter.
80257         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
80258         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
80259         __alloc_dir.
80260         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
80261         from fdopendir if O_CLOEXEC is already set.
80263 2011-03-15  Alan Modra  <amodra@gmail.com>
80265         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
80266         l_tls_firstbyte_offset non-zero.  Save padding offset in
80267         l_tls_firstbyte_offset for later use.
80268         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80269         freeing static tls block.
80271 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
80273         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
80274         where #ifdef was intended.  The intent is to prevent ARG_MAX from
80275         being defined by the kernel headers.
80277 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
80279         [BZ #12734]
80280         * resolv/resolv.h: Define RES_NOTLDQUERY.
80281         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
80282         no-tld-query and set RES_NOTLDQUERY.
80283         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
80284         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
80285         modern BIND to search name as TLD unless forbidden.
80287 2011-05-07  Petr Baudis  <pasky@suse.cz>
80288             Ulrich Drepper  <drepper@gmail.com>
80290         [BZ #12393]
80291         * elf/dl-load.c (fillin_rpath): Move trusted path check...
80292         (is_trusted_path): ...to here.
80293         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
80294         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
80295         using is_trusted_path_normalize() in setuid scripts.
80297 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80299         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
80300         __BEGIN/__END_DECLS.
80302 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
80304         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
80305         NSS_STATUS_NOTFOUND if no record was found.
80307 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80309         * sunrpc/Makefile (headers): Add rpc/netdb.h.
80310         (headers-not-in-tirpc): Remove rpc/netdb.h
80311         * resolv/netdb.h: Revert last change.
80313 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80315         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80316         circular dependency between libgcc.a and libc.a.
80318 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80320         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80321         * nis/Makefile: Don't install rpcsvc/*.
80322         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80323         instead of <rpc/types.h>.
80324         (MAXHOSTNAMELEN): Define.
80326 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80328         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80330 2011-04-28  Maciej Babinski  <mbabinski@google.com>
80332         [BZ #12714]
80333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80334         gethostbyname4_r when IPv6 results are possible.
80336 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
80338         [BZ #12723]
80339         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80340         _PC_PIPE_BUF handling.
80342 2011-04-30  Bruno Haible  <bruno@clisp.org>
80344         [BZ #12717]
80345         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80346         * resolv/netdb.h (getnameinfo): Change type of flags parameter
80347         to 'int'.
80348         * inet/getnameinfo.c (getnameinfo): Likewise.
80350 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
80352         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80353         to groups setting in database lookup.
80354         * nss/nsswitch.conf: Add initgroups entry.
80356 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
80358         [BZ #12685]
80359         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80360         mode string.
80361         Patch by Eric Blake <eblake@redhat.com>.
80363 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
80365         * sunrpc/Makefile (need-export-routines): Add svc_run.
80366         (routines): Remove svc_run.
80367         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80368         * sunrpc/clnt_perr.c (clnt_perrno): Export.
80369         * sunrpc/svc_run.c (svc_run): Likewise.
80370         * sunrpc/svc_udp.c (svcudp_create): Likewise.
80372 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
80374         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80375         problem in reallocation in last patch.
80377 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
80379         * sunrpc/Makefile: Move inclusion of Rules.
80381 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80383         * nss/nss_files/files-initgroups.c: New file.
80384         * nss/Makefile (libnss_files-routines): Add files-initgroups.
80385         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80386         _nss_files_initgroups_dyn.
80388 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
80390         * elf/elf.h (R_ARM_IRELATIVE): Define.
80392 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80394         * po/ru.po: Update from translation team.
80396 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80398         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80399         dependencies.
80401 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
80403         [BZ #12653]
80404         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80405         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80406         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80407         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80408         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80410 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
80412         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80413         differing bytes.
80414         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
80415         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
80416         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80418 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80420         [BZ #12420]
80421         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
80422         storing it.
80423         * stdlib/bug-getcontext.c: New file.
80424         * stdlib/Makefile: Add rules to build and run bug-getcontext.
80426 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80428         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
80429         instructions into .machine "z9-109".
80430         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
80431         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
80433 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80435         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
80436         between environment variables and auxiliary vector.
80438 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
80440         * Makefile: Add rules to build linkobj/libc.so.
80441         * include/libc-symbols.h: Define libc_hidden_nolink.
80442         * include/rpc/auth.h: Mark functions which are to be hidden.
80443         * include/rpc/auth_des.h: Likewise.
80444         * include/rpc/auth_unix.h: Likewise.
80445         * include/rpc/clnt.h: Likewise.
80446         * include/rpc/des_crypt.h: Likewise.
80447         * include/rpc/key_prot.h: Likewise.
80448         * include/rpc/pmap_clnt.h: Likewise.
80449         * include/rpc/pmap_prot.h: Likewise.
80450         * include/rpc/pmap_rmt.h: Likewise.
80451         * include/rpc/rpc_msg.h: Likewise.
80452         * include/rpc/svc.h: Likewise.
80453         * include/rpc/svc_auth.h: Likewise.
80454         * include/rpc/xdr.h: Likewise.
80455         * nis/Makefile: Link all DSOs against linkobj/libc.so.
80456         * nss/Makefile: Likewise.
80457         * sunrpc/Makefile: Don't install headers.  Build library with normal
80458         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
80459         * sunrpc/auth_des.c: Hide exported symbols by default, export some
80460         for the compat linking library.  Remove use of INTDEF/INTUSE.
80461         * sunrpc/auth_none.c: Likewise.
80462         * sunrpc/auth_unix.c: Likewise.
80463         * sunrpc/authdes_prot.c: Likewise.
80464         * sunrpc/authuxprot.c: Likewise.
80465         * sunrpc/clnt_gen.c: Likewise.
80466         * sunrpc/clnt_perr.c: Likewise.
80467         * sunrpc/clnt_raw.c: Likewise.
80468         * sunrpc/clnt_simp.c: Likewise.
80469         * sunrpc/clnt_tcp.c: Likewise.
80470         * sunrpc/clnt_udp.c: Likewise.
80471         * sunrpc/clnt_unix.c: Likewise.
80472         * sunrpc/des_crypt.c: Likewise.
80473         * sunrpc/des_soft.c: Likewise.
80474         * sunrpc/get_myaddr.c: Likewise.
80475         * sunrpc/key_call.c: Likewise.
80476         * sunrpc/key_prot.c: Likewise.
80477         * sunrpc/netname.c: Likewise.
80478         * sunrpc/pm_getmaps.c: Likewise.
80479         * sunrpc/pm_getport.c: Likewise.
80480         * sunrpc/pmap_clnt.c: Likewise.
80481         * sunrpc/pmap_prot.c: Likewise.
80482         * sunrpc/pmap_prot2.c: Likewise.
80483         * sunrpc/pmap_rmt.c: Likewise.
80484         * sunrpc/publickey.c: Likewise.
80485         * sunrpc/rpc_cmsg.c: Likewise.
80486         * sunrpc/rpc_common.c: Likewise.
80487         * sunrpc/rpc_dtable.c: Likewise.
80488         * sunrpc/rpc_prot.c: Likewise.
80489         * sunrpc/rpc_thread.c: Likewise.
80490         * sunrpc/rtime.c: Likewise.
80491         * sunrpc/svc.c: Likewise.
80492         * sunrpc/svc_auth.c: Likewise.
80493         * sunrpc/svc_authux.c: Likewise.
80494         * sunrpc/svc_raw.c: Likewise.
80495         * sunrpc/svc_run.c: Likewise.
80496         * sunrpc/svc_simple.c: Likewise.
80497         * sunrpc/svc_tcp.c: Likewise.
80498         * sunrpc/svc_udp.c: Likewise.
80499         * sunrpc/svc_unix.c: Likewise.
80500         * sunrpc/svcauth_des.c: Likewise.
80501         * sunrpc/xcrypt.c: Likewise.
80502         * sunrpc/xdr.c: Likewise.
80503         * sunrpc/xdr_array.c: Likewise.
80504         * sunrpc/xdr_float.c: Likewise.
80505         * sunrpc/xdr_intXX_t.c: Likewise.
80506         * sunrpc/xdr_mem.c: Likewise.
80507         * sunrpc/xdr_rec.c: Likewise.
80508         * sunrpc/xdr_ref.c: Likewise.
80509         * sunrpc/xdr_sizeof.c: Likewise.
80510         * sunrpc/xdr_stdio.c: Likewise.
80512 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
80514         [BZ #12650]
80515         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
80516         * sysdeps/ia64/dl-tls.h: Likewise.
80517         * sysdeps/powerpc/dl-tls.h: Likewise.
80518         * sysdeps/s390/dl-tls.h: Likewise.
80519         * sysdeps/sh/dl-tls.h: Likewise.
80520         * sysdeps/sparc/dl-tls.h: Likewise.
80521         * sysdeps/x86_64/dl-tls.h: Likewise.
80522         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
80524 2011-03-14  Andreas Schwab  <schwab@redhat.com>
80526         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
80527         rpath element also skip the following colon.
80528         (expand_dynamic_string_token): Add is_path parameter and pass
80529         down to DL_DST_REQUIRED and _dl_dst_substitute.
80530         (decompose_rpath): Call expand_dynamic_string_token with
80531         non-zero is_path.  Ignore empty rpaths.
80532         (_dl_map_object_from_fd): Call expand_dynamic_string_token
80533         with zero is_path.
80535 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
80537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
80538         Make cancelable.
80540 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
80542         [BZ #12655]
80543         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
80544         Patch by Filipe David Manana <fdmanana@apache.org>.
80546 2011-04-07  Andreas Schwab  <schwab@redhat.com>
80548         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
80549         Maintain aligned stack.
80550         (CHECK_RSP): Remove unused macro.
80552 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
80554         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
80555         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
80557 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
80559         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
80561         * include/features.h: Mention __USE_XOPEN2K8 in comment.
80563 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
80565         [BZ #12518]
80566         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
80567         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
80568         * sysdeps/x86_64/memmove.c: New file.
80569         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
80570         (memcpy): Renamed to ...
80571         (__new_memcpy): This.
80572         (memcpy): Provide GLIBC_2_14 memcpy.
80573         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
80574         (memcpy): Provide GLIBC_2_2_5 memcpy.
80576 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80578         [BZ #12631]
80579         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
80581 2011-03-30  Andreas Schwab  <schwab@redhat.com>
80583         * misc/syncfs.c: New file.
80584         * misc/Makefile (routines): Add syncfs.
80585         * posix/unistd.h: Declare syncfs.
80586         * sysdeps/unix/syscalls.list: Add syncfs.
80588 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80590         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
80591         open_by_handle_at.
80592         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80593         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80595         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80597         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
80598         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80600 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80602         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
80603         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80604         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
80605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80610         * io/Makefile: Compile fallocate.c, fallocate64.c, and
80611         sync_file_range.c with -fexceptions.
80612         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
80613         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
80614         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
80615         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
80616         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
80617         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
80618         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
80619         sync_file_range as cancellation point
80620         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
80621         now a wrapper around __call_sync_file_range with cancellation handling.
80622         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
80623         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
80624         function name to __call_sync_file_range.
80625         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
80626         Add call_sync_file_range.
80628 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80631         bits/timex.h.
80633 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80635         * iconv/iconv.h: Fix typo in comment.
80636         * io/fcntl.h: Likewise.
80637         * libio/stdio.h: Likewise.
80638         * posix/spawn.h: Likewise.
80639         * posix/unistd.h: Likewise.
80640         * stdlib/stdlib.h: Likewise.
80641         * time/time.h: Likewise.
80642         * wcsmbs/wchar.h: Likewise.
80644         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
80645         open_by_handle): Add.
80646         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
80647         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
80648         Augment a few comments.
80649         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80650         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80651         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80652         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80653         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80654         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
80655         open_by_handle.
80657         * io/fcntl.h (AT_EMPTY_PATH): Define.
80659 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
80661         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
80662         * sysdeps/unix/sysv/linux/bits/time.h: New file.
80663         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
80664         to...
80665         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
80666         * Versions.def: Add GLIBC_2.14.
80667         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
80668         Export.
80670 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
80672         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
80673         round counter.
80674         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80676 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80678         [BZ #12597]
80679         * string/test-strncmp.c (do_page_test): New function.
80680         (check2): Likewise.
80681         (test_main): Call check2.
80682         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
80684 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
80686         [BZ #12587]
80687         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
80688         Handle cache information in CPU leaf 4.
80689         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80691 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
80693         [BZ #12583]
80694         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
80695         character representation.
80696         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
80698 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
80700         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
80701         END(__isnan) to END(__isnanf) to match function entry point/label
80702         EALIGN(__isnanf,...).
80704 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
80706         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
80708 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
80710         [BZ #12510]
80711         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
80712         copy from the symbol referenced in the relocation to initialize the
80713         used variable.
80714         Patch by Piotr Bury <pbury@goahead.com>.
80715         * elf/Makefile: Add rules to build and tst-unique3.
80716         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
80717         * elf/tst-unique3.cc: New file.
80718         * elf/tst-unique3.h: New file.
80719         * elf/tst-unique3lib.cc: New file.
80720         * elf/tst-unique3lib2.cc: New file.
80722         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
80724 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
80726         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
80727         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
80728         to _start.
80730 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
80732         * elf/dl-load.c (_dl_map_object): If we are looking for the first
80733         to-be-loaded object along a path to loader is ld.so.
80735 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80736             Ulrich Drepper  <drepper@gmail.com>
80738         * sysdeps/x86_64/memset.S: After aligning destination, code
80739         branches to different locations depending on the value of
80740         misalignment, when multiarch is enabled. Fix this.
80742 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80744         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
80745         Set _x86_64_preferred_memory_instruction for AMD processsors.
80746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80747         Set bit_Prefer_SSE_for_memop for AMD processors.
80749 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
80751         * libio/fmemopen.c (fmemopen): Optimize a bit.
80753 2011-03-03  Andreas Schwab  <schwab@redhat.com>
80755         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
80757 2011-03-03  Roland McGrath  <roland@redhat.com>
80759         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
80761 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
80763         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
80764         __bzero_ultra1 instead of __memset_ultra1.
80766 2011-02-23  Andreas Schwab  <schwab@redhat.com>
80767             Ulrich Drepper  <drepper@gmail.com>
80769         [BZ #12509]
80770         * include/link.h (struct link_map): Add l_orig_initfini.
80771         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
80772         returning unsuccessfully.
80773         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
80774         close of a file loaded at startup, restore the original l_initfini
80775         list.
80776         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
80777         list, store the pointer.
80778         * elf/Makefile ($(objpfx)noload-mem): New rule.
80779         (noload-ENV): Define.
80780         (tests): Add $(objpfx)noload-mem.
80781         * elf/noload.c: Include <memcheck.h>.
80782         (main): Call mtrace.  Close all opened handles.
80784 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80786         [BZ #12454]
80787         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80788         dependencies are missing.
80790 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80792         Fix __if_freereq crash: Unlike the generic version which uses free,
80793         Hurd needs munmap.
80794         * sysdeps/mach/hurd/ifreq.h: New file.
80796 2011-01-27  Petr Baudis  <pasky@suse.cz>
80797             Ulrich Drepper  <drepper@gmail.com>
80799         [BZ 12445]#
80800         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80801         to extend_alloca().
80802         * stdio-common/bug23.c: New file.
80803         * stdio-common/Makefile (tests): Add bug23.
80805 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80806             Ulrich Drepper  <drepper@gmail.com>
80808         [BZ #12489]
80809         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80810         before performing relro protection.  At old place add assertion
80811         to make sure nothing changed.
80813 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80814             Glauber de Oliveira Costa  <glommer@gmail.com>
80816         * elf/elf.h: Add new ARM TLS relocs.
80818 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80821         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80822         cast from r3.
80823         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80824         'tests' variable.
80825         * sysdeps/wordsize-64/tst-writev.c: New file.
80827 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80829         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80830         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80831         insns in _dl_start to prevent a TOC reference before relocs are
80832         resolved.
80834 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80836         [BZ #12469]
80837         * Makeconfig: Remove RANLIB definition.
80838         * Makerules: Don't use RANLIB.
80839         * aclocal.m4: Remove ranlib test.
80840         * configure.in: No need to check for ranlib.
80841         * elf/rtld-Rules: Don't use RANLIB.
80843 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80845         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80846         protection macro.
80847         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80848         inclusion protection macro.
80850         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80851         SIGRTMIN and SIGRTMAX and print information in that case only when
80852         SIGRTMIN is defined.
80854 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80856         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80857         arginfo fn returning -1.
80859         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80860         and thousands string is zero terminated.
80862 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80864         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80865         sysdeps/unix/sysv/linux/bits/socket.h.
80867 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80869         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80870         (__CPU_COUNT): Remove old macros.
80871         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80872         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80873         (__CPU_ALLOC, __CPU_FREE): Add macros.
80874         (__sched_cpualloc, __sched_cpufree): Add declarations.
80876 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80878         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80879         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80880         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80881         (readdhstai): Return value of addhstaiX call.
80882         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80883         (addgrbyX): Return value returned by cache_addgr.
80884         (readdgrbyname): Return value returned by addgrbyX.
80885         (readdgrbygid): Likewise.
80886         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80887         (addpwbyX): Return value returned by cache_addpw.
80888         (readdpwbyname): Return value returned by addhstbyX.
80889         (readdpwbyuid): Likewise.
80890         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80891         (addservbyX): Return value returned by cache_addserv.
80892         (readdservbyname): Return value returned by addservbyX:
80893         (readdservbyport): Likewise.
80894         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80895         (addhstbyX): Return value returned by cache_addhst.
80896         (readdhstbyname): Return value returned by addhstbyX.
80897         (readdhstbyaddr): Likewise.
80898         (readdhstbynamev6): Likewise.
80899         (readdhstbyaddrv6): Likewise.
80900         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80901         (readdinitgroups): Return value returned by addinitgroupsX.
80902         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80903         (prune_cache): Keep track of timeout value of re-added entries.
80904         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80905         * nscd/nscd.h: Adjust prototypes of readd* functions.
80907 2011-02-04  Roland McGrath  <roland@redhat.com>
80909         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80910         (nis_stats): Likewise.
80911         * nis/nis_modify.c (nis_modify): Likewise.
80912         * nis/nis_remove.c (nis_remove): Likewise.
80913         * nis/nis_add.c (nis_add): Likewise.
80915         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80917         * posix/fnmatch_loop.c: Add some consts.
80919         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80921 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80923         [BZ #12460]
80924         * config.make.in (config-cflags-novzeroupper): Define.
80925         * configure.in: Substitute libc_cv_cc_novzeroupper.
80926         * elf/Makefile (AVX-CFLAGS): Define.
80927         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80928         (CFLAGS-tst-auditmod4a.c): Likewise.
80929         (CFLAGS-tst-auditmod4b.c): Likewise.
80930         (CFLAGS-tst-auditmod6b.c): Likewise.
80931         (CFLAGS-tst-auditmod6c.c): Likewise.
80932         (CFLAGS-tst-auditmod7b.c): Likewise.
80933         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80935 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80937         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80938         function to the callback.
80939         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80941 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80943         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80944         of errno.
80946 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80948         [BZ #11724]
80949         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80950         of constructors.
80951         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80952         of destructors.
80953         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80955         [BZ #11724]
80956         * elf/Makefile: Add rules to build and run new test.
80957         * elf/tst-initorder.c: New file.
80958         * elf/tst-initorder.exp: New file.
80959         * elf/tst-initordera1.c: New file.
80960         * elf/tst-initordera2.c: New file.
80961         * elf/tst-initordera3.c: New file.
80962         * elf/tst-initordera4.c: New file.
80963         * elf/tst-initorderb1.c: New file.
80964         * elf/tst-initorderb2.c: New file.
80965         * elf/tst-order-a1.c: New file.
80966         * elf/tst-order-a2.c: New file.
80967         * elf/tst-order-a3.c: New file.
80968         * elf/tst-order-a4.c: New file.
80969         * elf/tst-order-b1.c: New file.
80970         * elf/tst-order-b2.c: New file.
80971         * elf/tst-order-main.c: New file.
80972         New test case by George Gensure <werkt0@gmail.com>.
80974 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80977         decoding ACE if AI_CANONIDN.
80979 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80981         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80983 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80985         * version.h (RELEASE): Bump for 2.13 release.
80986         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80988         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80990         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80991         MADV_NOHUGEPAGE.
80992         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80993         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80994         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80995         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80996         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80999         * posix/getconf.c: Update copyright year.
81000         * catgets/gencat.c: Likewise.
81001         * csu/version.c: Likewise.
81002         * debug/catchsegv.sh: Likewise.
81003         * debug/xtrace.sh: Likewise.
81004         * elf/ldconfig.c: Likewise.
81005         * elf/ldd.bash.in: Likewise.
81006         * elf/sprof.c (print_version): Likewise.
81007         * iconv/iconv_prog.c: Likewise.
81008         * iconv/iconvconfig.c: Likewise.
81009         * locale/programs/locale.c: Likewise.
81010         * locale/programs/localedef.c: Likewise.
81011         * malloc/memusage.sh: Likewise.
81012         * malloc/mtrace.pl: Likewise.
81013         * nscd/nscd.c (print_version): Likewise.
81014         * nss/getent.c: Likewise.
81016         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81017         PF_CAIF, and PF_ALG.
81018         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81020 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81022         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81023         (modules-names): Use them.
81024         (ifunc-test-modules, ifunc-pie-tests): Define.
81025         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81026         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81027         (test-extras): Likewise.
81028         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81029         $(compile-command.c).
81030         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81031         (all-built-dso): Define.
81032         (check-textrel.out, check-execstack.out): Depend on it.
81034         * configure.in: Don't override --enable-multi-arch.
81036 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81038         [BZ #6812]
81039         * nscd/hstcache.c (tryagain): Define.
81040         (cache_addhst): Return tryagain not notfound for temporary errors.
81041         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81042         failed.
81044 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81046         [BZ #10563]
81047         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81048         to make the syscall.
81049         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81051         [BZ #12378]
81052         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81053         and fall back to matching as normal character if the string ends before
81054         the matching ']' is found.  This is what POSIX requires.
81055         * posix/testfnm.c: Adjust test result.
81056         * posix/globtest.sh: Adjust test result.  Add new test.
81057         * posix/tst-fnmatch.input: Likewise.
81058         * posix/tst-fnmatch2.c: Add new test.
81060 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81062         * elf/Makefile (check-execstack): Revert last change.  Depend on
81063         check-execstack.h.
81064         (check-execstack.h): New target.
81065         (generated): Add check-execstack.h.
81066         * elf/check-execstack.c: Include "check-execstack.h".
81067         (main): Revert last change.
81068         (handle_file): Return zero if GNU_STACK is absent and
81069         DEFAULT_STACK_PERMS doesn't include PF_X.
81071 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81073         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81074         in child fails because the descriptor is already closed.
81075         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81076         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81077         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81079         [BZ #12397]
81080         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81081         syscall.
81083         [BZ #10484]
81084         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81085         temporary buffer used to handle multi lookups locally.
81086         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81088 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81090         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81091         loader is ld.so.
81093 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81095         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81096         alignment for SSE2.
81098 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81100         [BZ #12394]
81101         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81102         characters.  When rounding increased number of integer digits recompute
81103         number of groups.
81104         * stdio-common/tst-grouping.c: New file.
81105         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81107 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81109         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81110         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81112         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81113         void.
81114         * bits/select.h: Likewise.
81116 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81118         * po/ja.po: Update from translation team.
81120 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81122         [BZ #11155]
81123         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81124         implementation just like for lxstat, fxstatat, et al.
81126 2010-12-27  Jim Meyering  <meyering@redhat.com>
81128         [BZ #12348]
81129         * posix/regexec.c (build_trtable): Return failure indication upon
81130         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
81132 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
81134         [BZ #12201]
81135         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
81136         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
81137         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
81138         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
81140         [BZ #12207]
81141         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
81143         [BZ #12204]
81144         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
81145         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
81147 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
81149         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
81150         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
81151         script has SORT_BY_INIT_PRIORITY.
81152         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
81153         NO_CTORS_DTORS_SECTIONS is defined.
81154         * elf/soinit.c: Likewise.
81155         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
81156         NO_CTORS_DTORS_SECTIONS is defined.
81157         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
81158         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
81159         * sysdeps/sh/init-first.c: Likewise.
81160         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
81162 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
81164         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
81165         always use the slow path.
81167 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
81169         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
81170         similar rule which adds the sysdep directories to the header search in
81171         order to pick up the correct platform stackinfo.h.
81172         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
81173         perform test if it is, otherwise return successfully without testing.
81174         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
81175         DEFAULT_STACK_PERMS define in stackinfo.h.
81176         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
81177         defined in stackinfo.h.
81178         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
81179         DEFAULT_STACK_PERMS defined in stackinfo.h.
81180         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
81181         * sysdeps/ia64/stackinfo.h: Likewise.
81182         * sysdeps/s390/stackinfo.h: Likewise.
81183         * sysdeps/sh/stackinfo.h: Likewise.
81184         * sysdeps/sparc/stackinfo.h: Likewise.
81185         * sysdeps/x86_64/stackinfo.h: Likewise.
81186         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
81187         PF_X for powerpc64.  Retain PF_X for powerpc32.
81189 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
81191         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
81192         accurately.
81193         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
81194         GETDENTS_64BIT_ALIGNED.
81196 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
81198         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
81200 2010-12-10  Andreas Schwab  <schwab@redhat.com>
81202         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
81203         _GNU_SOURCE.
81205         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
81206         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
81207         Remove __restrict.
81208         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
81209         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
81211 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
81213         [BZ #11655]
81214         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
81215         are initialized.
81217 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
81219         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
81221 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
81223         * po/it.po: Update from translation team.
81225 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
81227         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
81228         unused codes.
81230 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
81232         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
81234 2010-11-24  Andreas Schwab  <schwab@redhat.com>
81236         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
81237         specially.
81238         (gaih_getanswer_slice): Likewise.
81240 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
81242         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
81244 2010-05-31  Petr Baudis  <pasky@suse.cz>
81246         [BZ #11149]
81247         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
81248         silently even in the chroot mode.
81250 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
81252         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
81253         last patch a bit.  Pretty printing
81255 2010-05-31  Petr Baudis <pasky@suse.cz>
81257         [BZ #10085]
81258         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
81259         initialization of skip_initgroups_dyn.
81261 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
81263         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
81264         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81266 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
81268         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
81270 2010-11-11  Andreas Schwab  <schwab@redhat.com>
81272         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
81273         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
81274         (tst-fnmatch-ENV): Set MALLOC_TRACE.
81275         ($(objpfx)tst-fnmatch-mem): New rule.
81276         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
81277         * posix/tst-fnmatch.c (main): Call mtrace.
81279 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
81281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81282         Support Intel processor model 6 and model 0x2c.
81284 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
81286         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
81287           signed comparison.
81289 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
81291         [BZ #12205]
81292         * string/test-strncasecmp.c (check_result): New function.
81293         (do_one_test): Use it.
81294         (check1): New function.
81295         (test_main): Use it.
81296         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
81297         Support strcasecmp and strncasecmp.
81299 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
81301         [BZ #12194]
81302         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
81303         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81305 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
81307         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
81308         IFUNC support.
81309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81310         memset-x86-64.
81311         * sysdeps/x86_64/multiarch/bzero.S: New file.
81312         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81313         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81314         * sysdeps/x86_64/multiarch/memset.S: New file.
81315         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81317         Set bit_Prefer_SSE_for_memop for Intel processors.
81318         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81319         Define.
81320         (index_Prefer_SSE_for_memop): Define.
81321         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81323 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81325         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81326         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81328 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81330         [BZ #12191]
81331         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81332         (__x86_64_raw_data_cache_size_half): Likewise.
81333         (__x86_64_raw_shared_cache_size): Likewise.
81334         (__x86_64_raw_shared_cache_size_half): Likewise.
81336         * sysdeps/x86_64/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.
81340         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81341         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81342         and __x86_64_raw_shared_cache_size_half.  Round
81343         __x86_64_data_cache_size_half, __x86_64_data_cache_size
81344         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81345         to multiple of 256 bytes.
81347 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
81349         [BZ #12167]
81350         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81351         of inacessible symlinks.  Verify result of symlink before returning it.
81352         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81353         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81355 2010-10-28  Erich Ritz  <erichritz@gmail.com>
81357         * math/math.h (isinf): Fix typo in comment.
81359 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
81361         * po/da.po: Update from translation team.
81363 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
81365         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81366         is added to the list.
81368 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81369             Ulrich Drepper  <drepper@gmail.com>
81371         * elf/dl-object.c (_dl_new_object): Don't append the new object to
81372         the global list here.  Move code to...
81373         (_dl_add_to_namespace_list): ...here.  New function.
81374         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81375         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81376         * elf/dl-load.c (lose): Don't remove the element from the list.
81377         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81378         (_dl_map_object): Likewise.
81380 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
81382         [BZ #12159]
81383         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81384         into all bytes of SSE register.
81385         Patch by Richard Li <richardpku@gmail.com>.
81387 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
81389         [BZ #12140]
81390         * malloc/malloc.c (_int_free): Fill correct number of bytes when
81391         perturbing.
81393 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
81395         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81396         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81397         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81398         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81400         submachine.
81401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81403 2010-10-22  Andreas Schwab  <schwab@redhat.com>
81405         * include/dlfcn.h (__RTLD_SECURE): Define.
81406         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
81407         mode & __RTLD_SECURE instead.
81408         (open_path): Rename preloaded parameter to secure.
81409         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81410         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81411         * elf/dl-deps.c (openaux): Likewise.
81412         * elf/rtld.c (struct map_args): Remove is_preloaded.
81413         (map_doit): Don't use it.
81414         (dl_main): Likewise.
81415         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
81416         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
81418 2010-09-09  Andreas Schwab  <schwab@redhat.com>
81420         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
81421         (sysd-rules-targets): Remove duplicates.
81422         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
81423         rtld-%.$o dependency.
81425 2010-10-18  Andreas Schwab  <schwab@redhat.com>
81427         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
81428         _dl_map_object do it.
81430 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
81432         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
81433         fast fma builtins, define the macros in the C99 standard.
81434         (FP_FAST_FMAF): Likewise.
81435         (FP_FAST_FMAL): Likewise.
81436         * sysdeps/x86_64/bits/mathdef.h: Likewise.
81438         * bits/mathdef.h: Update copyright year.
81439         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81441 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
81443         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
81444         builtins, define the macros in the C99 standard.
81445         (FP_FAST_FMAF): Likewise.
81446         (FP_FAST_FMAL): Likewise.
81447         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81448         multiply/add.
81449         (FP_FAST_FMAF): Likewise.
81451 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
81453         [BZ #3268]
81454         * math/libm-test.inc (fma_test): Some new testcases.
81455         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
81456         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
81457         y and infinite z.  Do multiplication by C already in long double.
81458         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
81459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
81460         y and infinite z.  Do bitwise or of inexact bit into u.d.
81461         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
81462         * sysdeps/i386/fpu/s_fmaf.S: Removed.
81463         * sysdeps/i386/fpu/s_fma.S: Removed.
81464         * sysdeps/i386/fpu/s_fmal.S: Removed.
81466 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
81468         [BZ #3268]
81469         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
81470         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
81471         computation is not scheduled after fetestexcept.  Fix value
81472         of minimum denormal long double.
81474 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
81476         [BZ #3268]
81477         * math/libm-test.inc (fma_test): Add some more tests.
81478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
81479         correctly.
81481 2010-10-15  Andreas Schwab  <schwab@redhat.com>
81483         * scripts/data/localplt-s390-linux-gnu.data: New file.
81484         * scripts/data/localplt-s390x-linux-gnu.data: New file.
81486 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
81488         [BZ #3268]
81489         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
81490         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
81491         instead of dbl-64.
81492         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
81493         inlines.
81494         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
81495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
81496         if one of x and y is very large and the other is subnormal.
81497         * sysdeps/s390/fpu/s_fmaf.c: New file.
81498         * sysdeps/s390/fpu/s_fma.c: New file.
81499         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
81500         * sysdeps/powerpc/fpu/s_fma.S: New file.
81501         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
81502         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
81503         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
81505 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
81507         [BZ #3268]
81508         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
81509         fma tests.
81510         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
81511         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
81512         * sysdeps/i386/i686/multiarch/s_fma.c: Include
81513         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
81514         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
81515         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
81516         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
81518 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
81520         [BZ #12078]
81521         * posix/regcomp.c (parse_branch): One more memory leak plugged.
81522         * posix/bug-regex31.input: Add test case.
81524 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81526         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
81527         * posix/bug-regex31.input: New file.
81529         [BZ #12078]
81530         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
81531         (parse_sub_exp): Fix last change, use postorder.
81533         * posix/bug-regex31.c: New file.
81534         * posix/Makefile: Add rules to build and run bug-regex31.
81536         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
81538         [BZ #12078]
81539         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
81541         [BZ #12108]
81542         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
81543         to have entries in sys_siglist.
81545         [BZ #12093]
81546         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
81547         be NULL.
81549 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
81551         [BZ #3268]
81552         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
81553         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
81554         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
81555         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
81556         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81557         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
81558         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
81559         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
81560         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
81561         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
81562         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
81563         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
81564         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
81565         * math/ftestexcept.c (fetestexcept): Likewise.
81566         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
81567         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
81568         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
81569         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
81570         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
81571         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
81572         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
81574 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81576         [BZ #12107]
81577         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
81578         newline.
81580 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
81582         * string/bug-strstr1.c: New file.
81583         * string/Makefile: Add rules to build and run bug-strstr1.
81585 2010-10-05  Eric Blake  <eblake@redhat.com>
81587         [BZ #12092]
81588         * string/str-two-way.h (two_way_long_needle): Always clear memory
81589         when skipping input due to the shift table.
81591 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
81593         [BZ #12005]
81594         * malloc/mcheck.c: Handle large requests.
81596         [BZ #12077]
81597         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
81598         for strncmp and strncasecmp.
81599         * string/stratcliff.c: Add tests for strcmp and strncmp.
81600         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
81602 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81604         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
81605         __set_fpscr.
81607 2010-09-30  Andreas Jaeger  <aj@suse.de>
81609         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
81610         (CGROUP_SUPER_MAGIC): Define.
81611         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81612         Handle btrfs and cgroup file systems.
81613         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
81614         Likewise.
81616 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
81618         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
81619         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
81621 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81623         [BZ #12067]
81624         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
81625         trying to locate the ELF header.
81627 2010-09-27  Andreas Schwab  <schwab@redhat.com>
81629         [BZ #11611]
81630         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
81631         Mask out sign-bit copies when constructing f_fsid.
81633 2010-09-24  Petr Baudis <pasky@suse.cz>
81635         * debug/stack_chk_fail_local.c: Add missing licence exception.
81636         * debug/warning-nop.c: Likewise.
81638 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
81640         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
81641         implementing getdents64 using getdents syscall, set d_type if
81642         __ASSUME_GETDENTS32_D_TYPE.
81644 2010-09-16  Andreas Schwab  <schwab@redhat.com>
81646         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
81647         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
81649 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
81651         [BZ #12037]
81652         * posix/unistd.h: Undo change of feature selection for ftruncate from
81653         2010-01-11.
81655 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
81657         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
81658         detection.
81660 2010-09-20  Andreas Schwab  <schwab@redhat.com>
81662         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
81663         fanotify_mark.
81664         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81666 2010-09-14  Andreas Schwab  <schwab@redhat.com>
81668         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
81669         variables after CHECK_SP call.
81670         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
81672 2010-09-13  Andreas Schwab  <schwab@redhat.com>
81673             Ulrich Drepper  <drepper@redhat.com>
81675         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
81676         re-relocationg ld.so.
81677         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
81678         _dl_init_paths call.
81679         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
81680         here anymore.
81682 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
81684         * resolv/res_init.c (__res_vinit): Count the default server we added.
81686 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
81687             Ulrich Drepper  <drepper@redhat.com>
81689         [BZ #11968]
81690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81691         (____longjmp_chk): Use %ebx for saving value across system call.
81692         Add unwind info.
81694 2010-09-06  Andreas Schwab  <schwab@redhat.com>
81696         * manual/Makefile: Don't mix pattern rules with normal rules.
81698 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
81700         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
81701         operation.
81702         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
81703         * libio/iofopncook.c (_IO_cookie_init): Likewise.
81704         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
81705         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
81706         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81707         Likewise.
81709 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
81711         [BZ #11979]
81712         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
81713         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
81715 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
81717         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
81718         * sysdeps/x86_64/addmul_1.S: Likewise.
81719         * sysdeps/x86_64/lshift.S: Likewise.
81720         * sysdeps/x86_64/mul_1.S: Likewise.
81721         * sysdeps/x86_64/rshift.S: Likewise.
81722         * sysdeps/x86_64/sub_n.S: Likewise.
81723         * sysdeps/x86_64/submul_1.S: Likewise.
81725 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81727         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
81728         Define __sched_param instead of SCHED_* and sched_param when
81729         <bits/sched.h> is included with __need_schedparam defined.
81730         * bits/sched.h [__need_schedparam]
81731         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
81732         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
81733         (__defined_schedparam): Define to 1.
81734         (__sched_param): New structure, identical to sched_param.
81735         (__need_schedparam): Undefine.
81737 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
81739         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
81740         (epoll_create1): Declare.
81742         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
81744 2010-08-31  Andreas Schwab  <schwab@redhat.com>
81746         [BZ #7066]
81747         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
81748         shifting retval into place.
81750 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
81752         * nis/rpcsvc/nis.h: Update copyright notice.
81753         * nis/rpcsvc/nis.x: Likewise.
81754         * nis/rpcsvc/nis_callback.h: Likewise.
81755         * nis/rpcsvc/nis_callback.x: Likewise.
81756         * nis/rpcsvc/nis_object.x: Likewise.
81757         * nis/rpcsvc/nis_tags.h: Likewise.
81758         * nis/rpcsvc/yp.h: Likewise.
81759         * nis/rpcsvc/yp.x: Likewise.
81760         * nis/rpcsvc/ypupd.h: Likewise.
81761         * nis/yp_xdr.c: Likewise.
81762         * nis/ypupdate_xdr.c: Likewise.
81764         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
81765         mainly the body of pmap_getport.  Add parameters to specify timeouts.
81766         (pmap_getport): Use __libc_rpc_getport.
81767         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
81768         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
81769         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
81771 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
81773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
81774         fanotify_mark.
81776 2010-08-27  Roland McGrath  <roland@redhat.com>
81778         * sysdeps/i386/i686/multiarch/Makefile
81779         (CFLAGS-varshift.c): New variable.
81781 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
81783         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81784         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81786         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81788         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81790 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81792         * sysdeps/x86_64/strlen.S: Unroll the loop.
81793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81794         strlen-sse2 strlen-sse2-bsf.
81795         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81796         __strlen_no_bsf if bit_Slow_BSF is set.
81797         (__strlen_sse42): Removed.
81798         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81799         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81801 2010-08-25  Roland McGrath  <roland@redhat.com>
81803         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81804         * sysdeps/x86_64/multiarch/varshift.c: New file.
81805         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81806         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81807         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81808         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81810 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81813         strlen-sse2 strlen-sse2-bsf.
81814         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81815         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81816         (__strlen_sse2): Removed.
81817         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81818         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81820         bit_Slow_BSF for Atom.
81821         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81822         (index_Slow_BSF): Define.
81823         (HAS_SLOW_BSF): Define.
81825 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81827         [BZ #10851]
81828         * resolv/res_init.c (__res_vinit): When no server address at all
81829         is given default to loopback.
81831 2010-08-24  Roland McGrath  <roland@redhat.com>
81833         * configure.in: Remove config-name.h generation.
81834         * configure: Regenerated.
81835         * config-name.in: File removed.
81836         * scripts/config-uname.sh: New file.
81837         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81838         ($(objdir)config-name.h): New target.
81840         * sunrpc/rpc_parse.h: Avoid nested comment.
81842 2010-08-24  Richard Henderson  <rth@redhat.com>
81843             Ulrich Drepper  <drepper@redhat.com>
81844             H.J. Lu  <hongjiu.lu@intel.com>
81846         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81848         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81849         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81850         _mm_alignr_epi8 with _mm_loadu_si128.
81851         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81852         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81853         (__m128i_shift_right): Removed.
81854         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81855         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81856         * sysdeps/x86_64/multiarch/varshift.h: New file.
81857         * sysdeps/x86_64/multiarch/varshift.S: New file.
81859 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81861         * configure.in: Move assembler checks to before sysdep dir checking.
81863 2010-08-20  Petr Baudis  <pasky@suse.cz>
81865         * LICENSES: Sync the sunrpc license.
81867 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81869         * sunrpc/auth_des.c: Update copyright notice once again.
81870         * sunrpc/auth_none.c: Likewise.
81871         * sunrpc/auth_unix.c: Likewise.
81872         * sunrpc/authdes_prot.c: Likewise.
81873         * sunrpc/authuxprot.c: Likewise.
81874         * sunrpc/bindrsvprt.c: Likewise.
81875         * sunrpc/clnt_gen.c: Likewise.
81876         * sunrpc/clnt_perr.c: Likewise.
81877         * sunrpc/clnt_raw.c: Likewise.
81878         * sunrpc/clnt_simp.c: Likewise.
81879         * sunrpc/clnt_tcp.c: Likewise.
81880         * sunrpc/clnt_udp.c: Likewise.
81881         * sunrpc/clnt_unix.c: Likewise.
81882         * sunrpc/des_crypt.c: Likewise.
81883         * sunrpc/des_soft.c: Likewise.
81884         * sunrpc/get_myaddr.c: Likewise.
81885         * sunrpc/getrpcport.c: Likewise.
81886         * sunrpc/key_call.c: Likewise.
81887         * sunrpc/key_prot.c: Likewise.
81888         * sunrpc/openchild.c: Likewise.
81889         * sunrpc/pm_getmaps.c: Likewise.
81890         * sunrpc/pm_getport.c: Likewise.
81891         * sunrpc/pmap_clnt.c: Likewise.
81892         * sunrpc/pmap_prot.c: Likewise.
81893         * sunrpc/pmap_prot2.c: Likewise.
81894         * sunrpc/pmap_rmt.c: Likewise.
81895         * sunrpc/rpc/auth.h: Likewise.
81896         * sunrpc/rpc/auth_unix.h: Likewise.
81897         * sunrpc/rpc/clnt.h: Likewise.
81898         * sunrpc/rpc/des_crypt.h: Likewise.
81899         * sunrpc/rpc/key_prot.h: Likewise.
81900         * sunrpc/rpc/netdb.h: Likewise.
81901         * sunrpc/rpc/pmap_clnt.h: Likewise.
81902         * sunrpc/rpc/pmap_prot.h: Likewise.
81903         * sunrpc/rpc/pmap_rmt.h: Likewise.
81904         * sunrpc/rpc/rpc.h: Likewise.
81905         * sunrpc/rpc/rpc_des.h: Likewise.
81906         * sunrpc/rpc/rpc_msg.h: Likewise.
81907         * sunrpc/rpc/svc.h: Likewise.
81908         * sunrpc/rpc/svc_auth.h: Likewise.
81909         * sunrpc/rpc/types.h: Likewise.
81910         * sunrpc/rpc/xdr.h: Likewise.
81911         * sunrpc/rpc_clntout.c: Likewise.
81912         * sunrpc/rpc_cmsg.c: Likewise.
81913         * sunrpc/rpc_common.c: Likewise.
81914         * sunrpc/rpc_cout.c: Likewise.
81915         * sunrpc/rpc_dtable.c: Likewise.
81916         * sunrpc/rpc_hout.c: Likewise.
81917         * sunrpc/rpc_main.c: Likewise.
81918         * sunrpc/rpc_parse.c: Likewise.
81919         * sunrpc/rpc_parse.h: Likewise.
81920         * sunrpc/rpc_prot.c: Likewise.
81921         * sunrpc/rpc_sample.c: Likewise.
81922         * sunrpc/rpc_scan.c: Likewise.
81923         * sunrpc/rpc_scan.h: Likewise.
81924         * sunrpc/rpc_svcout.c: Likewise.
81925         * sunrpc/rpc_tblout.c: Likewise.
81926         * sunrpc/rpc_util.c: Likewise.
81927         * sunrpc/rpc_util.h: Likewise.
81928         * sunrpc/rpcinfo.c: Likewise.
81929         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81930         * sunrpc/rpcsvc/key_prot.x: Likewise.
81931         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81932         * sunrpc/rpcsvc/mount.x: Likewise.
81933         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81934         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81935         * sunrpc/rpcsvc/rex.x: Likewise.
81936         * sunrpc/rpcsvc/rstat.x: Likewise.
81937         * sunrpc/rpcsvc/rusers.x: Likewise.
81938         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81939         * sunrpc/rpcsvc/spray.x: Likewise.
81940         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81941         * sunrpc/rtime.c: Likewise.
81942         * sunrpc/svc.c: Likewise.
81943         * sunrpc/svc_auth.c: Likewise.
81944         * sunrpc/svc_authux.c: Likewise.
81945         * sunrpc/svc_raw.c: Likewise.
81946         * sunrpc/svc_run.c: Likewise.
81947         * sunrpc/svc_simple.c: Likewise.
81948         * sunrpc/svc_tcp.c: Likewise.
81949         * sunrpc/svc_udp.c: Likewise.
81950         * sunrpc/svc_unix.c: Likewise.
81951         * sunrpc/svcauth_des.c: Likewise.
81952         * sunrpc/xcrypt.c: Likewise.
81953         * sunrpc/xdr.c: Likewise.
81954         * sunrpc/xdr_array.c: Likewise.
81955         * sunrpc/xdr_float.c: Likewise.
81956         * sunrpc/xdr_mem.c: Likewise.
81957         * sunrpc/xdr_rec.c: Likewise.
81958         * sunrpc/xdr_ref.c: Likewise.
81959         * sunrpc/xdr_sizeof.c: Likewise.
81960         * sunrpc/xdr_stdio.c: Likewise.
81962         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81963         handling.
81965 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81967         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81969 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81971         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81972         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81973         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81974         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81975         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81976         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81977         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81978         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81979         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81980         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81981         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81982         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81983         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81984         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81986 2010-07-26  Anton Blanchard  <anton@samba.org>
81988         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81989         * malloc/arena.c (heap_trim): Likewise.
81991 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81993         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81994         here.  Not...
81995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
81996         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
81998 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82000         * sysdeps/i386/elf/Makefile: New file.
82002 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82004         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82005         from fanotify_init.
82006         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82007         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82009 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82011         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82012         of strncasecmp_l.
82013         * sysdeps/multiarch/strcmp.S: Likewise.
82015 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82017         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82018         strncase_l-nonascii.
82019         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82020         Add strncase_l-ssse3.
82021         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82022         * sysdeps/x86_64/strcmp.S: Likewise.
82023         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82024         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82025         * sysdeps/x86_64/strncase.S: New file.
82026         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82027         * sysdeps/x86_64/strncase_l.S: New file.
82028         * string/Makefile (strop-tests): Add strncasecmp.
82029         * string/test-strncasecmp.c: New file.
82031         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82032         warning.
82034         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82035         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82037 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82039         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82041 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82043         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82044         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82045         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82047 2010-05-01  Alan Modra  <amodra@gmail.com>
82049         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82050         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82051         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82052         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82053         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82054         tidying.  Don't tail-call __sigjmp_save for static lib.
82055         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82056         save location.
82057         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82058         (CALL_MCOUNT): Add eh info, and nop after bl.
82059         (TAIL_CALL_SYSCALL_ERROR): New macro.
82060         (PSEUDO_RET): Use it.
82061         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82062         Correct save location of integer regs and cr.
82063         (_dl_profile_resolve): Correct cr save location.  Delete nops
82064         after bl when SHARED.  Reduce cfi size a little by better
82065         placement of cfi directives.
82066         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82067         make a stack frame.  Instead use parm save area as a temp.
82068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82069         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82071         Don't make a stack frame for parent, use parm save area.
82072         Increase child stack frame to 112 bytes.  Don't save unused reg,
82073         and adjust reg usage.  Set up cfi on error recovery and
82074         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82076         (__makecontext): Add dummy nop after jump to exit.
82077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82078         Use correct parm save area and cr save, reduce stack frame.
82079         Correct cfi for possible PSEUDO_RET frame setup.
82080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82081         Branch to local label emitted by PSEUDO_RET rather than
82082         __syscall_error.
82084 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82086         [BZ #11904]
82087         * locale/programs/locale.c (print_assignment): New function.
82088         (show_locale_vars): Use it.
82090 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82092         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82093         field.
82094         (struct statfs64): Likewise.
82095         (_STATFS_F_FLAGS): Define.
82096         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82097         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82098         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82099         (ST_VALID): Define locally.
82100         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82101         __statvfs_getflags, use the provided value.
82102         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82103         __ASSUME_STATFS_F_FLAGS.
82105         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82107         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82108         Add sys/fanotify.h.
82109         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82110         fanotify_mask for GLIBC_2.13.
82111         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82112         fanotify_init and fanotify_mark.
82113         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82114         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82116         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82117         Add prlimit.
82118         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82119         prlimit64 for GLIBC_2.13.
82120         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82121         prlimit64.
82122         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82123         syscall.
82124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82125         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82126         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82127         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82128         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
82129         add prlimit alias.
82130         * sysdeps/unix/sysv/linux/prlimit.c: New file.
82132         [BZ #11903]
82133         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
82134         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
82136         * nss/Makefile: Add rules to build and run tst-nss-test1.
82137         * shlib-versions: Add entry for libnss_test1.
82138         * nss/nss_test1.c: New file.
82139         * nss/tst-nss-test1.c: New file.
82141         * nss/nsswitch.c (__nss_database_custom): Define new variable.
82142         (__nss_configure_lookup): Set appropriate entry in
82143         __nss_configure_lookup to true.
82144         * nss/nsswitch.h: Define enum with indeces of databases in
82145         databases and __nss_database_custom arrays.  Declare
82146         __nss_database_custom.
82147         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
82148         to avoid using nscd when custom rules are installed.
82149         * nss/getXXbyYY_r.c: Likewise.
82150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
82152         * nss/nss_files/files-parse.c: Whitespace fixes.
82154 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
82156         [BZ #11883]
82157         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
82158         * posix/fnmatch_loop.c: Likewise.
82160 2010-07-17  Andi Kleen  <ak@linux.intel.com>
82162         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
82163         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
82164         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
82165         * Versions.def [GLIBC_2.13]: Add.
82167 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
82169         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82170         Also fail if tpwd after pwuid call is NULL.
82172 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82174         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
82175         when converting to ms.
82177 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82179         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
82180         EOPNOTSUPP errors with ENOTTY.
82181         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
82182         EOPNOTSUPP errors with ENOTTY.
82184 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
82186         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82187         Add strcasecmp_l-ssse3.
82188         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
82189         strcasecmp.
82190         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
82191         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
82192         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
82194 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
82196         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
82198         * string/Makefile (strop-tests): Add strcasecmp.
82199         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82200         strcasecmp_l-nonascii.
82201         (gen-as-const-headers): Add locale-defines.sym.
82202         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
82203         * sysdeps/x86_64/strcasecmp.S: New file.
82204         * sysdeps/x86_64/strcasecmp_l.S: New file.
82205         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
82206         * sysdeps/x86_64/locale-defines.sym: New file.
82207         * string/test-strcasecmp.c: New file.
82209         * string/test-strcasestr.c: Test both ends of the range of characters.
82210         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
82212 2010-07-29  Roland McGrath  <roland@redhat.com>
82214         [BZ #11856]
82215         * manual/locale.texi (Yes-or-No Questions): Fix example code.
82217 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
82219         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
82220         for ld.so.
82222 2010-07-27  Andreas Schwab  <schwab@redhat.com>
82224         * manual/memory.texi (Malloc Tunable Parameters): Document
82225         M_PERTURB.
82227 2010-07-26  Roland McGrath  <roland@redhat.com>
82229         [BZ #11840]
82230         * configure.in (-fgnu89-inline check): Set and substitute
82231         gnu89_inline, not libc_cv_gnu89_inline.
82232         * configure: Regenerated.
82233         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
82235 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
82237         * string/test-strnlen.c: New file.
82238         * string/Makefile (strop-tests): Add strnlen.
82239         * string/tester.c (test_strnlen): Add a few more test cases.
82240         * string/tst-strlen.c: Better error reporting.
82242         * sysdeps/x86_64/strnlen.S: New file.
82244 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
82246         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
82247         lower-latency instructions.
82249 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
82251         * string/test-strcasestr.c: New file.
82252         * string/test-strstr.c: New file.
82253         * string/Makefile (strop-tests): Add strstr and strcasestr.
82254         * string/str-two-way.h: Don't undefine MAX.
82255         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
82257 2010-07-21  Andreas Schwab  <schwab@redhat.com>
82259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82260         strcasestr-nonascii.
82261         (CFLAGS-strcasestr-nonascii.c): Define.
82262         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
82263         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
82264         Remove unused attribute.
82266 2010-07-20  Roland McGrath  <roland@redhat.com>
82268         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
82269         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
82270         ld.so.cache was broken.  With it, there is no way to disable dsocaps
82271         like LD_HWCAP_MASK can disable hwcaps.
82273 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82275         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
82277 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
82279         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
82280         call in strcasestr.
82281         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
82282         __strcasestr_sse42_nonascii.
82283         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
82284         strcasestr-nonascii.c.
82285         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
82287 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
82289         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
82290         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
82291         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
82292         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
82294 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
82296         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
82297         fcntl.
82299 2010-07-06  Andreas Schwab  <schwab@redhat.com>
82301         [BZ #11577]
82302         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
82303         dl_signal_cerror.
82305 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
82307         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
82308         _PC_PIPE_BUF using F_GETPIPE_SZ.
82310 2010-07-05  Roland McGrath  <roland@redhat.com>
82312         * manual/arith.texi (Rounding Functions): Fix rint description
82313         implicit in round description.
82315 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82317         * elf/Makefile: Fix linking for a few tests to make recent linker
82318         happy.
82320 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82322         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82323         $(common-objpfx)libc_nonshared.a.
82325 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82327         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82328         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82329         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82330         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82331         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82332         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82333         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82334         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82349         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82350         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82351         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82352         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82353         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82354         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82355         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82356         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82357         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82358         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82359         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82360         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82376 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
82378         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82379         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
82380         * string/memmove.c (memmove): Renamed to ...
82381         (MEMMOVE): ...this.  Default to memmove.
82382         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82383         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82384         (END_CHK): Define.
82385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82386         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82387         mempcpy-ssse3-back memmove-ssse3-back.
82388         * sysdeps/x86_64/multiarch/bcopy.S: New file .
82389         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82390         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82391         * sysdeps/x86_64/multiarch/memcpy.S: New file.
82392         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82393         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82394         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82395         * sysdeps/x86_64/multiarch/memmove.c: New file.
82396         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82397         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82398         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82399         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82400         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82401         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82402         Define.
82403         (index_Fast_Copy_Backward): Define.
82404         (HAS_ARCH_FEATURE): Define.
82405         (HAS_FAST_REP_STRING): Define.
82406         (HAS_FAST_COPY_BACKWARD): Define.
82408 2010-06-21  Andreas Schwab  <schwab@redhat.com>
82410         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82411         Restore proper fallback handling.
82413 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
82415         [BZ #11701]
82416         * posix/group_member.c (__group_member): Correct checking loop.
82418         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
82419         OOM in getpwuid_r correctly.  Return error number when the caller
82420         should return, otherwise -1.
82421         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
82422         call returning > 0 value.
82423         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
82425 2010-06-07  Andreas Schwab  <schwab@redhat.com>
82427         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
82428         libc_nonshared.a from targets in modules-names.
82430 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
82432         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
82433         requires it.
82435 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
82437         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
82438         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
82439         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
82440         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
82442 2010-06-02  Andreas Schwab  <schwab@redhat.com>
82444         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
82446 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
82448         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
82449         and F_GETPIPE_SZ.
82450         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82451         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82453         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82454         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82455         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82457 2010-06-14  Roland McGrath  <roland@redhat.com>
82459         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
82461 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
82463         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
82464         __REDIRECT followed by __THROW.
82465         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
82466         * posix/getopt.h (getopt): Likewise.
82468 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82470         * hurd/lookup-at.c (__file_name_lookup_at): Accept
82471         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
82472         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
82473         in AT_FLAGS.
82474         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
82475         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
82477 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
82479         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
82481 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
82483         [BZ #11640]
82484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82485         Properly check family and model.
82487 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
82489         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
82491 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
82493         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
82495 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
82497         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
82498         symbol reference.
82500 2010-05-19  Andreas Schwab  <schwab@redhat.com>
82502         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
82503         symbol reference.
82505 2010-05-21  Andreas Schwab  <schwab@redhat.com>
82507         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
82508         and internal_recvmmsg.
82509         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
82510         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
82511         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
82512         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
82514         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
82515         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
82516         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
82518 2010-05-20  Andreas Schwab  <schwab@redhat.com>
82520         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
82522 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
82524         POWER7 optimizations.
82525         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
82526         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
82528 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
82530         * version.h: Update for 2.13 development version.
82532 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
82534         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
82535         exceptions.  Return 0.
82537 2010-05-07  Roland McGrath  <roland@redhat.com>
82539         * elf/ldconfig.c (main): Add a const.
82541 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
82543         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
82544         (args_options): Add no-idn option.
82545         (ahosts_keys_int): Add idn_flags to ai_flags.
82546         (parse_option): Handle 'i' option to clear idn_flags.
82548         * malloc/malloc.c (_int_free): Possible race in the most recently
82549         added check.  Only act on the data if no current modification
82550         happened.
82552 See ChangeLog.17 for earlier changes.