Make ilogb wrappers type-generic.
[glibc.git] / ChangeLog
blob6b6414505032dcdc9dfc0edf2ff1e6570dc59978
1 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
4         * math/w_ilogb.c: Remove.
5         * math/w_ilogbf.c: Likewise.
6         * math/w_ilogbl.c: Likewise.
7         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
8         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
9         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10         (libm-calls): Remove w_ilogbF.
11         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12         (LDOUBLE_ilogbl_libm_version): New macro.
14         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
16         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
17         [!__STRICT_ANSI__ && !__cplusplus].
19 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
21         [BZ #20750]
22         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
23         of PIC.
25 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26             Yury Norov  <ynorov@caviumnetworks.com>
27             Steve Ellcey  <sellcey@caviumnetworks.com>
29         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
30         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
31         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
32         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
33         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
34         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
35         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
36         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
37         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
38         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
39         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
40         to get correct reg name for ILP32.
41         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
42         (RELA_SIZE): New Macro.
43         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
44         to support ILP32.
45         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
46         cast for ILP32 mode.
47         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
48         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
49         * sysdeps/aarch64/memset.S (__memset): Ditto.
50         * sysdeps/aarch64/strchr.S (strchr): Ditto.
51         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
52         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
53         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
54         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
55         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
56         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
57         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
58         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
59         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
60         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
61         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
62         change PTR_MANGLE call to use register numbers instead of names.
63         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
64         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
65         ILP32 mode, change PTR_MANGLE calls to use register numbers.
66         * sysdeps/aarch64/start.S (_start): Ditto.
67         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
68         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
69         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
70         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
71         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
72         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
73         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
74         Make defined values dependent on __ILP32__.
75         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
76         (sem_t): Change __align type.
77         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
78         PTR_SIZE): New Macros.
79         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
80         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
81         Set when in ILP32 mode.
82         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
83         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
84         Set elf flags for ILP32.
85         (add_system_dir): Set ILP32 library directories.
86         * sysdeps/unix/sysv/linux/aarch64/init-first.c
87         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
88         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
89         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
90         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
91         New Macros.
92         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
94 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
96         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
97         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
98         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
100 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
102         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
103         <asm/cachectl.h>.
105 2016-11-27  Zack Weinberg  <zackw@panix.com>
107         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
108         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
110 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
112         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
113         error_t to fix usage in C++ programs.
115 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
117         * scripts/build-many-glibcs.py: Import datetime module.
118         (Context.__init__): Load JSON build state.  Initialize list of
119         status logs.
120         (Context.run_builds): Update saved build state.
121         (Context.add_makefile_cmdlist): Update list of status logs.
122         (Context.load_build_state_json): New function.
123         (Context.store_build_state_json): Likewise.
124         (Context.clear_last_build_state): Likewise.
125         (Context.update_build_state): Likewise.
126         (CommandList.status_logs): Likewise.
128 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
130         * scripts/build-many-glibcs.py (Context.__init__): Save text of
131         script being executed.
132         (Context.get_script_text): New function.
133         (Context.exec_self): Likewise.
134         (Context.checkout): Re-exec script if changed by checkout process.
136 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
138         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
139         (setpayloadsig): New declaration.
140         * math/Versions (setpayloadsig): New libm symbol at version
141         GLIBC_2.25.
142         (setpayloadsigf): Likewise.
143         (setpayloadsigl): Likewise.
144         * math/Makefile (libm-calls): Add s_setpayloadsigF.
145         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
146         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
147         (setpayloadsig_test_data): New array.
148         (setpayloadsig_test): New function.
149         (main): Call setpayloadsig_test.
150         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
151         setpayloadsigf and setpayloadsigl.
152         * manual/libm-err-tab.pl: Update comment on interfaces without
153         ulps tabulated.
154         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
155         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
156         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
157         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
158         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
159         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
160         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
161         setpayloadsig.
162         (CFLAGS-nldbl-setpayloadsig.c): New variable.
163         * sysdeps/nacl/libm.abilist: Update.
164         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
165         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
166         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
167         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
168         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
169         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
170         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
171         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
172         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
173         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
174         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
175         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
177         Likewise.
178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
179         Likewise.
180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
181         Likewise.
182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
183         Likewise.
184         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
185         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
186         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
187         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
188         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
190         Likewise.
191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
192         Likewise.
193         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
194         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
195         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
197         * scripts/build-many-glibcs.py: Import json module.
198         (Context.__init__): Take replace_sources argument.  Load
199         versions.json.
200         (Context.load_versions_json): New function.
201         (Context.store_json): Likewise.
202         (Context.store_versions_json): Likewise.
203         (Context.set_component_version): Likewise.
204         (Context.checkout): Update versions.json.  Check for and handle
205         changes of version.  Prefer previously explicitly specified
206         version to default version.
207         (Context.checkout_vcs): Return a revision identifier.
208         (Context.git_checkout): Likewise.
209         (Context.gcc_checkout): Likewise.
210         (get_parser): Add --replace-sources option.
211         (main): Pass replace_sources argument to Context call.
213 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
215         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
216         * nptl/allocatestack.c (allocate_stack): Likewise.
217         (__reclaim_stacks): Likewise.
218         (setxid_signal_thread): Obtain pid through syscall.
219         * nptl/nptl-init.c (sigcancel_handler): Likewise.
220         (sighandle_setxid): Likewise.
221         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
222         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
223         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
224         Likewise.
225         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
226         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
227         comment.
228         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
229         * nptl/descr.h (struct pthread): Change comment about pid value.
230         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
231         pid assert.
232         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
233         Do not set pid value.
234         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
235         pid cache check.
236         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
237         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
238         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
239         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
240         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
241         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
242         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
243         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
244         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
245         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
246         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
247         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
248         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
249         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
250         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
251         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
252         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
253         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
254         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
255         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
256         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
257         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
258         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
259         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
260         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
263         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
264         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
265         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
266         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
267         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
268         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
269         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
270         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
271         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
272         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
273         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
274         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
275         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
276         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
277         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
278         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
281         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
282         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
283         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
284         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
285         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
286         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
287         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
288         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
289         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
290         struct access.
291         (clone_test): Remove function.
292         (do_test): Rewrite to take in consideration pid is not cached anymore.
294 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
296         * bits/flt-eval-method.h: New file.
297         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
298         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
299         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
300         * math/Makefile (headers): Add bits/flt-eval-method.h.
301         * math/math.h: Include <bits/flt-eval-method.h>.
302         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
303         [__USE_ISOC99] (double_t): Likewise.
304         * bits/mathdef.h (float_t): Remove.
305         (double_t): Likewise.
306         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
307         (double_t): Likewise.
308         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
309         (double_t): Likewise.
310         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
311         (double_t): Likewise.
312         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
313         (double_t): Likewise.
314         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
315         (double_t): Likewise.
316         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
317         (double_t): Likewise.
318         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
319         (double_t): Likewise.
320         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
321         (double_t): Likewise.
322         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
323         (double_t): Likewise.
324         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
325         (double_t): Likewise.
326         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
327         (double_t): Likewise.
328         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
329         (double_t): Likewise.
330         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
331         (double_t): Likewise.
333 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
335         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
336         instead of PIC.
338 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
340         [BZ #20859]
341         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
342         (-0x7fffffff) instead of 0x80000001.
343         * math/test-fp-ilogb-constants.c: New file.
344         * math/Makefile (tests): Add test-fp-ilogb-constants.
346 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
348         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
349         (_init): Use it in place of hardcoded R_MIPS_JALR.
350         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
351         (_init): Use it in place of hardcoded R_MIPS_JALR.
352         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
353         (_init): Use it in place of hardcoded R_MIPS_JALR.
355 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
357         [BZ #20787]
358         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
359         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
360         (double_t): Do not define to double if [__x86_64__] when
361         __FLT_EVAL_METHOD__ is nonzero.
362         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
363         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
364         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
365         test-flt-eval-method-387 and test-flt-eval-method-sse.
366         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
367         variable.
368         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
370 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
372         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
373         use of -fno-isolate-erroneous-paths options for tilepro.
375 2016-11-23  Florian Weimer  <fweimer@redhat.com>
377         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
378         structure initialization is no longer needed.
380 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
382         [BZ #20855]
383         * bits/mathdef.h (float_t): Define to float.
384         * math/test-flt-eval-method.c: New file.
385         * math/Makefile (tests): Add test-flt-eval-method.
386         (CFLAGS-test-flt-eval-method.c): New variable.
388 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
390         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
391         and __fstatfs.  Make them aliases of __fstatfs64 if
392         STATFS_IS_STATFS64 is set to non-zero.
393         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
394         and __statfs64.
395         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
396         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
397         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
398         for __statfs and statfs.
399         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
400         to 0.
401         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
402         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
403         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
404         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
405         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
406         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
409         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
410         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
411         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
412         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
414 2016-11-22  Andreas Schwab  <schwab@suse.de>
416         * misc/mkstemp.c: Include <fcntl.h>.
417         * misc/mkstemps.c: Likewise.
418         * misc/mkostemp.c: Likewise.
419         * misc/mkostemps.c: Likewise.
421 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
423         [BZ #20847]
424         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
425         array bounds.
426         (__execvpe): Likewise.
428 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
430         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
431         -fno-isolate-erroneous-paths options for tilepro.
433 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
435         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
436         to 0 when in 32 bit mode.
437         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
438         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
439         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
440         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
442         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
443         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
444         XSTAT_IS_XSTAT64 test.
445         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
446         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
447         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
448         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
449         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
450         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
451         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
452         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
453         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
454         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
455         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
457 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
459         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
460         (setpayload): New declaration.
461         * math/Versions (setpayload): New libm symbol at version
462         GLIBC_2.25.
463         (setpayloadf): Likewise.
464         (setpayloadl): Likewise.
465         * math/Makefile (libm-calls): Add s_setpayloadF.
466         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
467         test_Ff_b1_data.
468         (RUN_TEST_Ff_b1): New macro.
469         (RUN_TEST_LOOP_Ff_b1): Likewise.
470         (canonicalize_test_data): Update type.
471         (setpayload_test_data): New array.
472         (setpayload_test): New function.
473         (main): Call setpayload_test.
474         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
475         setpayloadf and setpayloadl.
476         * manual/libm-err-tab.pl: Update comment on interfaces without
477         ulps tabulated.
478         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
479         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
480         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
481         Likewise.
482         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
483         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
484         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
485         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
486         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
487         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
488         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
489         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
490         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
491         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
492         setpayload.
493         (CFLAGS-nldbl-setpayload.c): New variable.
494         * sysdeps/nacl/libm.abilist: Update.
495         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
496         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
497         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
498         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
499         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
500         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
501         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
502         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
503         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
504         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
505         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
506         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
508         Likewise.
509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
510         Likewise.
511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
512         Likewise.
513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
514         Likewise.
515         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
516         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
517         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
518         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
519         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
521         Likewise.
522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
523         Likewise.
524         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
525         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
526         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
528 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
530         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
531         * include/unistd.h: Extend comment about __access_noerrno return
532         semantics.
533         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
534         (access_common): Correct typo for EACCES.
536 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
538         * sysdeps/tile/math-tests.h: New file.
540         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
541         (__old_set_dataplane): Rename from set_dataplane and make a
542         compatibility symbol.
543         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
544         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
545         sys/dataplane.h.
547 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
549         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
550         script quote words in command output to log suitably for input to
551         the shell.
553 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
554             Maciej W. Rozycki  <macro@imgtec.com>
556         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
557         `.Lno_weak_fn' label.
558         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
559         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
561 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
562             Yury Norov  <ynorov@caviumnetworks.com>
564         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
565         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
566         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
567         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
568         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
569         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
570         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
572         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
573         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
574         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
575         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
576         (sysdep_routines): Remove oldgetrlimit64.
577         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
578         (sysdep_routines): Likewise.
579         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
580         (sysdep_routines): Likewise.
581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
582         [$(subdir) = resource] (sysdep_routines): Likewise.
583         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
584         [$(subdir) = resource] (sysdep_routines): Likewise.
585         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
586         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
587         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
588         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
589         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
590         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
591         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
592         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
593         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
594         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
595         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
596         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
597         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
598         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
599         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
600         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
601         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
602         setrlimit and getrlimit.
603         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
604         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
605         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
608         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
609         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
610         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
611         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
612         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
613         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
614         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
615         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
616         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
617         (__old_getrlimit64): Add compatibility symbol.
618         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
620 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
622         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
623         newly built gmp, mpfr and mpc.
625         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
627 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
629         * conform/Makefile (linknamespace-libs): Rename to
630         linknamespace-libs-thr.
631         (linknamespace-libs-posix): New variable.
632         (linknamespace-libs-xsi): Likewise.
633         (linknamespace-libs-XPG3): Include libcrypt.a.
634         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
635         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
636         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
637         (linknamespace-libs-XOPEN2K): Likewise.
638         (linknamespace-libs-XOPEN2K8): Likewise.
639         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
641         [BZ #20829]
642         * stdio-common/Versions (__snprintf): Add to version
643         GLIBC_PRIVATE.
644         * include/stdio.h (__snprintf): Use libc_hidden_proto.
645         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
646         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
647         of snprintf.
648         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
650 2016-11-16  Zack Weinberg  <zackw@panix.com>
652         * string/string.h: Remove obsolete comment stating that
653         strcoll_l and strxfrm_l have not yet been standardized.
655 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
657         * hurd/hurd.h (__hurd_fail_noerrno): New function.
658         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
659         __access_noerrno.
660         * io/access.c (__access_noerrno): New function.
661         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
662         (hurd_fail_seterrno): Likewise.
663         (access_common): Likewise.
664         (__access_noerrno): Likewise.
665         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
666         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
667         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
668         macro.
670 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
672         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
673         Only declare fpregs if [__SH_FPU_ANY__].
675 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
677         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
678         Make code unconditional.
679         [!(__SH4__ || __SH4A__)]: Remove conditional code.
681 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
683         * manual/sysinfo.texi (S_APPEND): Delete.
684         (S_IMMUTABLE): Likewise.
686 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
687             Magnus Granberg  <zorry@gentoo.org>
688             Mike Frysinger  <vapier@gentoo.org>
690         [BZ #20662]
691         * configure.ac (libc_cv_predef_stack_protector): Also check for
692         __stack_chk_fail_local symbols.
693         * configure: Regenerated.
695 2016-11-15  Florian Weimer  <fweimer@redhat.com>
697         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
698         (libc_hidden_def): Remove redefinition.
699         (__sigsetjmp): Add hidden definition.
700         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
701         (libc_hidden_def): Remove redefinition.
702         (__sigsetjmp): Add hidden definition.
704 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
706         * scripts/build-many-glibcs.py (os.path): Do not import.
707         (Context): Inherit explicitly from object.  Remove blank line
708         between class and docstring.
709         (Config): Likewise.
710         (Glibc): Likewise.
711         (Command): Likewise.
712         (CommandList): Likewise.
713         (Context.write_files): Store chmod mode in a variable.
715         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
716         LIBC_SLIBDIR_RTLDDIR for tilegx32.
717         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
719 2016-11-14  Zack Weinberg  <zackw@panix.com>
721         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
722         creating or re-creating it.
724         * string/bits/string2.h: Fix typo in comment.
726 2016-11-14  Zack Weinberg  <zackw@panix.com>
728         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
729         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
730         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
731         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
732         of redirected function names.
734         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
735         as well.  Document that MESSAGE must be a single string literal.
737 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
739         * scripts/build-many-glibcs.py: New file.
741         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
742         (do_test): Disable -Wmaybe-uninitialized around uses of
743         except_mask.
745         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
747 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
749         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
750         (atomic_store_release): Provide tilepro-specific implementations.
752 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
754         * math/math.h (__MATH_TG): New macro.
755         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
756         [__USE_ISOC99] (signbit): Likewise.
757         [__USE_ISOC99] (isfinite): Likewise.
758         [__USE_ISOC99] (isnan): Likewise.
759         [__USE_ISOC99] (isinf): Likewise.
760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
763         __MATH_TG and __MATH_EVAL_FMT2.
764         * sysdeps/generic/math_private.h (fabs_tg): Define using
765         __MATH_TG.
766         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
767         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
768         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
769         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
770         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
771         macro.
772         (__iscanonical): Likewise.
773         (iscanonical): Define using __MATH_TG.
775 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
777         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
778         guards.
780         * sysdeps/unix/sysv/linux/access.c: New file.
781         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
783 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
785         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
786         and __WORDSIZE32_PTRDIFF_LONG.
788 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
790         * sysdeps/aarch64/libm-test-ulps: Regenerated.
792 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
794         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
795         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
796         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
797         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
798         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
800         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
801         * sysdeps/unix/sysv/linux/truncate.c: New file.
802         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
803         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
804         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
805         Remove.
806         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
807         Likewise.
809         * posix/tst-truncate-common.c: New file.
810         * posix/tst-truncate.c: Use tst-truncate-common.c.
811         * posix/tst-truncate64.c: Likewise and add LFS tests.
812         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
813         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
814         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
815         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
816         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
818         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
819         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
820         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
821         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
822         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
823         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
824         Remove.
825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
826         Likewise.
828 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
830         [BZ #20790]
831         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
832         to MAXLINESIZE.
833         * sunrpc/bug20790.x: New file.
834         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
835         variable.
836         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
837         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
839         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
841         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
843         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
844         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
845         calloc, realloc, free, memalign and __libc_memalign rather than
846         making them optional.
848         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
849         for libc.so.
851 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
853         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
854         ptw-lseek64.
855         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
856         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
857         Likewise.
858         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
859         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
860         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
861         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
862         * sysdeps/unix/sysv/linux/lseek.c: New file.
863         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
864         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
865         __libc_lseek64 from auto-generation.
866         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
867         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
869 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
871         * nptl/tst-basic1.c (tf, do_test): Use write_message.
872         * nptl/tst-cleanup1.c (do_test): Likewise.
873         * nptl/tst-cleanup3.c (do_test): Likewise.
874         * nptl/tst-key1.c (do_test): Likewise.
875         * nptl/tst-key2.c (tf, do_test): Likewise.
876         * nptl/tst-key3.c (tf, do_test): Likewise.
877         * nptl/tst-stdio1.c (do_test): Likewise.
878         * nptl/tst-stdio2.c (do_test): Likewise.
880         * nptl/tst-kill3.c (handler): Use write_message in place of write.
881         * nptl/tst-kill6.c (handler): Likewise.
882         * nptl/tst-tls2.c (CB): Likewise.
883         * nptl/tst-tls3.c (CB): Likewise.
885 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
887         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
889 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
890             Steve Ellcey  <sellcey@caviumnetworks.com>
892         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
893           __ASSUME_ST_INO_64_BIT as 0
894         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
895         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
896           over the code where __ASSUME_ST_INO_64_BIT is used.
897         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
898         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
899         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
901 2016-11-07  Florian Weimer  <fweimer@redhat.com>
903         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
904         Document ABI exposure of the __kind offset.
905         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
906         Mention reason for the __kind offset exposure in the ABI.
907         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
908         Likewise.
909         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
910         Likewise.
911         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
912         Likewise.
913         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
914         (struct __pthread_mutex_s): Likewise.
915         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
916         Likewise.
917         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
918         Likewise.
919         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
920         Likewise.
921         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
922         Likewise.
923         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
924         Likewise.
925         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
926         Likewise.
927         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
928         (struct __pthread_mutex_s): Likewise.
929         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
930         (struct __pthread_mutex_s): Likewise.
931         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
932         Likewise.
934 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
936         * test-skeleton.c: Document do_test usage.
938 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
940         * iconv/gconv.h (__gconv_info): Define __data element using a
941         zero-length array.
943 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
945         * math/test-tgmath2.c: Split up test function.
947 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
949         * Rules (tests-expected): New variable, depending on
950         $(run-built-tests).
951         (tests): Pass $(tests-expected) to merge-test-results.sh, not
952         $(tests).
954         * Rules [$(run-built-tests) = no] (tests): Do not depend on
955         $(tests-unsupported).
957 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
959         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
960         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
962 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
964         [BZ #20768]
965         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
966         __fegetenv instead of fegetenv.
968         [BZ #14139]
969         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
970         (find_files): Obtain platform name from libm-test-ulps-name and
971         store in %pplatforms.
972         (canonicalize_platform): Remove.
973         (print_platforms): Use $pplatforms directly.
974         (by_platforms): Do not allow for platforms missing from
975         %pplatforms.
976         * sysdeps/aarch64/libm-test-ulps-name: New file.
977         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
978         * sysdeps/arm/libm-test-ulps-name: Likewise.
979         * sysdeps/generic/libm-test-ulps-name: Likewise.
980         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
981         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
982         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
983         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
984         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
985         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
986         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
987         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
988         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
989         * sysdeps/nios2/libm-test-ulps-name: Likewise.
990         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
991         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
992         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
993         * sysdeps/sh/libm-test-ulps-name: Likewise.
994         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
995         * sysdeps/tile/libm-test-ulps-name: Likewise.
996         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
998         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1000         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1001         (test-xfail-check-execstack): New variable.
1003         * sysdeps/mips/localplt.data: New file.
1005 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1006             Steve Ellcey  <sellcey@caviumnetworks.com>
1008         * bits/wordsize.h: Add documentation.
1009         * sysdeps/aarch64/bits/wordsize.h : New file
1010         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1011         definitions.
1012         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1013         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1014         with #if instead of #ifdef.
1015         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1016         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1017         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1018         Add or change defines.
1019         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1020         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1021         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1022         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1023         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1024         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1025         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1026         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1027         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1028         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1029         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1030         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1031         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1032         * sysdeps/x86/bits/wordsize.h: Likewise.
1034 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1035             Kevin Petit  <kevin.petit@arm.com>
1037         * sysdeps/aarch64/memchr.S (__memchr): New file.
1039 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1041         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1043 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1045         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1046         $(linknamespace-symlists-tests).
1048 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1050         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1052 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1053             Carlos O'Donell  <carlos@redhat.com>
1055         [Bug #20729]
1056         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1057         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1058         for -Os related change.
1060 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1062         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1064 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1066         [BZ #19673]
1067         * manual/math.texi (Exponents and Logarithms): Correct description
1068         of clog10.
1070 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1072         [Bz #20729]
1073         * locale/weight.h: Include libc-internal.h.
1074         * locale/weightwc.h: Likewise.
1075         * nptl/nptl_dbP.h: Likewise.
1077 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1079         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1080         when it is MACH_PORT_NULL.
1082 2016-10-31  Andreas Schwab  <schwab@suse.de>
1084         [BZ #20707]
1085         * posix/glob.c (glob): Initialize pglob before checking for
1086         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1087         valid brace expression despite GLOB_BRACE.
1088         * posix/globtest.sh: Test it.
1090 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1092         [BZ #20729]
1093         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1094         Define.
1095         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1096         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1097         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1098         for seq2.back_us and seq1.back_us only for -Os compiles.
1099         * locale/weightwc.h (findix): Likewise.
1100         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1101         DB_GET_FIELD_ADDRESS only for -Os compiles.
1102         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1103         for slen only for -Os compiles.
1104         * string/strcoll_l.c (get_next_seq): Ignore
1105         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1106         for -Os compiles.
1108         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1109         * include/crypt.h: New file.
1111 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1113         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1114         from test-skeleton.c.
1115         (statclass): Replace calls to write with calls to write_message.
1117 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1119         * math/math.h
1120         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1121         New macro.
1122         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1123         Likewise.
1124         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1125         Likewise.
1126         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1127         SNANL.
1128         * math/test-double.h (snan_value_MACRO): New macro.
1129         * math/test-float.h (snan_value_MACRO): Likewise.
1130         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1131         * math/libm-test.inc (issignaling_test_data): Add tests of
1132         snan_value_MACRO.
1134 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1136         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1137         behavior when eliding a lock not held by the current thread.
1138         * sysdeps/powerpc/nptl/elide.h: Likewise.
1140 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1142         [BZ #20728]
1143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1144         branch to _exit() by a function call.
1146 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1148         * malloc/malloc.c: Update chunk layout comments.
1149         (chunk_main_arena): Update comment.
1151 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1153         * crypt/sha256.c, crypt/sha256-block.c,
1154         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1155         sha256_process_block to __sha256_process_block.
1156         * crypt/sha512.c, crypt/sha512-block.c,
1157         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1158         sha512_process_block to __sha512_process_block.
1160 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1162         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1164         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1166 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1168         [BZ #20019]
1169         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1170         definition in unrelocated shared library.
1171         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1173 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1175         [BZ #20729]
1176         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1177         * sysdeps/unix/sysv/linux/i386/Makefile
1178         (uses-6-syscall-arguments): Define.
1179         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1180         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1181         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1182         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1183         Likewise.
1184         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1185         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1186         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1187         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1188         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1189         (CFLAGS-fallocate64.os): Likewise.
1190         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1191         (CFLAGS-pthread_rwlock_timedrdlock.os)
1192         (CFLAGS-pthread_rwlock_timedwrlock.o)
1193         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1194         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1195         (CFLAGS-sem_timedwait.os): Likewise.
1197 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1199         * elf/tst-linkall-static.c: New file.
1200         * elf/Makefile (tests-static): Add tst-linkall-static.
1201         (tst-linkall-static): Link against static libraries.
1203 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1205         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1206         mmaped chunks.
1208 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1210         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1211         members to mchunk_prev_size, mchunk_size.
1212         (chunk_main_arena): Reverse sense and rename from
1213         chunk_non_main_arena.
1214         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1215         mchunk_size instead of size.
1216         (set_non_main_arena): Define.
1217         (chunksize): Use chunksize_nomask instead of direct member access.
1218         (chunksize_nomask): Define.
1219         (next_chunk): Use chunksize instead of direct member access.
1220         (prev_size, set_prev_size): Define.
1221         (prev_chunk): Use prev_size instead of direct member access.
1222         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1223         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1224         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1225         (mchunk_prev_size, mchunk_size): Poison tokens.
1226         (unlink): Use chunksize_nomask, prev_size accessors.
1227         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1228         (do_check_free_chunk): Use prev_size accessor.
1229         (sysmalloc): Use set_prev_size, set_head accessors.
1230         (munmap_chunk, mremap_chunk): Use prev_size accessor.
1231         (__libc_free): Use chunksize_nomask accessor.
1232         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1233         chunk_main_arena accessors.
1234         (_int_free): Use chunksize_nomask, prev_size accessors.
1235         (malloc_consolidate): Use chunksize, prev_size accessors.
1236         (_int_realloc): Use chunksize_nomask accessor.
1237         (_int_memalign): Use set_prev_size accessor.
1238         (__malloc_info): Use chunksize_nomask accessor.
1239         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
1240         accessors.
1241         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
1242         (heap_trim): Use chunksize_nomask, prev_size accessors.
1244 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1246         [BZ #19380]
1247         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
1248         for inexact results.
1249         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
1250         of inexact result where mpfr_subnormalize is the only inexact
1251         step.
1252         * stdlib/tst-strtod-round-data.h: Regenerated.
1253         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
1254         Define to 0.
1255         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
1257 2016-10-27  David S. Miller  <davem@davemloft.net>
1259         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
1261 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1263         * malloc/malloc.c (do_set_mallopt_check): New function.
1264         (do_set_mmap_threshold): Likewise.
1265         (do_set_mmaps_max): Likewise.
1266         (do_set_top_pad): Likewise.
1267         (do_set_perturb_byte): Likewise.
1268         (do_set_trim_threshold): Likewise.
1269         (do_set_arena_max): Likewise.
1270         (do_set_arena_test): Likewise.
1271         (__libc_mallopt): Use them.
1273 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
1275         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1276         (canonicalize): New declaration.
1277         * math/Versions (canonicalize): New libm symbol at version
1278         GLIBC_2.25.
1279         (canonicalizef): Likewise.
1280         (canonicalizel): Likewise.
1281         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
1282         * math/s_canonicalize_template.c: New file.
1283         * math/libm-test.inc: Update comment on functions tested and
1284         testing of NaN payloads.
1285         (TEST_NAN_PAYLOAD): New macro.
1286         (NO_TEST_INLINE): Update value.
1287         (XFAIL_TEST): Likewise.
1288         (ERRNO_UNCHANGED): Likewise.
1289         (ERRNO_EDOM): Likewise.
1290         (ERRNO_ERANGE): Likewise.
1291         (IGNORE_RESULT): Likewise.
1292         (NON_FINITE): Likewise.
1293         (TEST_SNAN): Likewise.
1294         (NO_TEST_MATHVEC): Likewise.
1295         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
1296         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
1297         (struct test_Ffp_b1_data): New type.
1298         (RUN_TEST_Ffp_b1): New macro.
1299         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1300         (canonicalize_test_data): New array.
1301         (canonicalize_test): New function.
1302         (main): Call canonicalize_test.
1303         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
1304         canonicalizef and canonicalizel.
1305         * manual/libm-err-tab.pl: Update comment on interfaces without
1306         ulps tabulated.
1307         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
1308         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
1309         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1310         canonicalize.
1311         (CFLAGS-nldbl-canonicalize.c): New variable.
1312         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
1313         to ...
1314         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
1315         ... here.
1316         (do_test): Also test canonicalizel.
1317         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
1318         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
1319         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
1320         file.
1321         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
1322         Use libm_hidden_def.
1323         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
1324         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
1325         (do_test): Also test canonicalizel.
1326         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
1327         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
1328         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
1329         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
1330         libm_hidden_def.
1331         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
1332         macro.
1333         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
1334         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
1335         * sysdeps/nacl/libm.abilist: Update.
1336         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1341         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1342         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1343         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1344         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1345         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1346         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1347         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1349         Likewise.
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1351         Likewise.
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1353         Likewise.
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1355         Likewise.
1356         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1359         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1360         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1362         Likewise.
1363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1364         Likewise.
1365         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1366         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1367         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1369         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
1370         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1371         getpayload.
1372         (CFLAGS-nldbl-getpayload.c): New variable.
1374 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1376         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
1377         integer from the format string.
1379 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1381         [BZ #19473]
1382         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
1383         declarations.
1384         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
1385         weak aliases.
1386         * malloc/hooks.c (__malloc_get_state): Remove definition.
1387         (malloc_get_state): New stub implementation as
1388         compatibility symbol.
1389         (malloc_set_state): Rename from __malloc_set_state.  Turn into
1390         compat symbol.
1391         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
1392         malloc_set_state.
1393         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
1395 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1397         * iconvdata/iso646.c (enum variant): Drop illegal_var.
1398         (names): Turn into concatenation of strings.
1399         (gconv_init): Adapt iteration over names.
1401 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1403         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
1404         make const.
1405         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
1406         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
1407         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
1408         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
1409         character in sbconv.
1410         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
1411         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
1412         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1414 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1416         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1418         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1419         (M_TRIM_THRESHOLD): Likewise.
1421         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1422         (M_ARENA_MAX): Likewise.
1423         * malloc/malloc.c: Remove obsolete comment.
1425         * manual/memory.texi: Add environment variable alternatives to
1426         setting mallopt parameters.
1428 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1430         * include/atomic.h
1431         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1432         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1434 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1436         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1437         * stdlib/tst-strfrom.h: New file.
1438         * stdlib/tst-strfrom.c: New file.
1439         * stdlib/tst-strfrom-locale.c: New file.
1441         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1442         * stdlib/bug-strtod2.c: Likewise.
1443         * stdlib/tst-strtod-round-skeleton.c: Likewise.
1444         * stdlib/tst-strtod6.c: Likewise.
1445         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1447 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1449         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1450         * manual/arith.texi: Document strfromd, strfromf, strfroml.
1451         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1452         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1453         * stdlib/stdlib.h (strfromd): New declaration.
1454         (strfromf): Likewise.
1455         (strfroml): Likewise.
1456         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
1457         strfrom.
1458         * stdlib/strfromd.c: New file.
1459         * stdlib/strfromf.c: Likewise.
1460         * stdlib/strfroml.c: Likewise.
1461         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1462         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1463         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1464         * sysdeps/arm/nacl/libc.abilist: Update.
1465         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1466         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1467         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1468         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1469         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1470         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1471         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1472         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1473         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1474         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1475         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1476         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1477         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1478         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1491         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1492         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1494 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
1496         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1497         instead of cmpli.
1498         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1499         instead of cmpli.
1501 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
1503         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1504         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1505         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1506         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1507         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1508         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1510 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1512         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1513         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1514         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1515         SYSCALL_LL64_PRW.
1516         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1517         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
1518         __ASSUME_PRW_DUMMY_ARG.
1519         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
1520         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1521         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1522         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1523         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
1524         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
1526 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1528         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
1530 2016-10-22  Florian Weimer  <fweimer@redhat.com>
1532         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
1533         "C++", to override a potential extern "C" directive around the
1534         header file inclusion.
1536 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
1538         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
1540 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1542         * sysdeps/powerpc/fpu/fenv_private.h:
1543         (_FPU_MASK_ALL): Rename to...
1544         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
1545         XE FPSCR bits.
1547         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
1549         (_FPU_MASK_ROUNDING): Rename to...
1550         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
1551         NI bits.
1553         (_FPU_MASK_EXCEPT_ROUND): Rename to...
1554         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
1555         bits and rounding bits.
1557         (__libc_feholdbits_ppc): New inline function to mask, set,
1558         and pontentially clear FSPCR bits, and change MSR[FE] bits.
1559         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
1560         (libc_feholdexcept_setround_ppc): Likewise.
1562         (__libc_femergeenv_ppc): New function to dynamically mask both
1563         old and new FP environments and merge.
1564         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
1565         (libc_feresetround_ppc): Likewise.
1566         (libc_feupdateenv_test_ppc): Likewise.
1567         (libc_feupdateenv_ppc): Likewise.
1569         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
1570         of ISA RN bits, and update macro names.
1571         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
1572         effectively the same as the previously mentioned function.
1574         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
1575         usage with fe_resetround_ppc.
1577         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
1578         to be used.
1579         (libc_feholdexcept_setround_ctxf): Likewise.
1580         (libc_feholdexcept_setround_ctxl): Likewise.
1582 2016-10-21  Florian Weimer  <fweimer@redhat.com>
1584         [BZ #20715]
1585         * math/math.h [__cplusplus] (iszero): Define as function template.
1586         * math/Makefile [CXX] (tests): Add test-math-iszero.
1587         (CFLAGS-test-math-iszero.cc): Set.
1588         * math/test-math-iszero.cc: New file.
1590 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
1592         [BZ #20660]
1593         * sysdeps/arm/e_sqrt.c: New file.
1594         * sysdeps/arm/e_sqrtf.c: Likewise.
1596 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
1598         [BZ #20718]
1599         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
1600         not use floating-point comparisons to test sign.
1601         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
1602         Likewise.
1604         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1605         (getpayload): New declaration.
1606         * math/Versions (getpayload): New libm symbol at version
1607         GLIBC_2.25.
1608         (getpayloadf): Likewise.
1609         (getpayloadl): Likewise.
1610         * math/Makefile (libm-calls): Add s_getpayloadF.
1611         * math/libm-test.inc: Include <nan-high-order-bit.h>.
1612         (struct test_f_f_data): Add comment.
1613         (RUN_TEST_fp_f): New macro.
1614         (RUN_TEST_LOOP_fp_f): Likewise.
1615         (getpayload_test_data): New array.
1616         (getpayload_test): New function.
1617         (main): Call getpayload_test.
1618         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
1619         descriptor.
1620         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
1621         getpayloadf and getpayloadl.
1622         * manual/libm-err-tab.pl: Update comment on interfaces without
1623         ulps tabulated.
1624         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
1625         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
1626         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
1627         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
1628         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
1629         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
1630         * sysdeps/nacl/libm.abilist: Update.
1631         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1632         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1633         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1634         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1635         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1636         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1637         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1638         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1639         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1640         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1641         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1642         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1644         Likewise.
1645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1646         Likewise.
1647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1648         Likewise.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1650         Likewise.
1651         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1652         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1653         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1654         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1655         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1657         Likewise.
1658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1659         Likewise.
1660         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1661         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1662         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1664 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1666         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
1667         tst-fallocate{64}.
1668         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
1669         on syscall return.
1671 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
1673         [BZ #20689]
1674         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
1675         usable.
1677 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
1679         * sysdeps/generic/nan-high-order-bit.h: New file.
1680         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
1681         * sysdeps/mips/nan-high-order-bit.h: Likewise.
1682         * sysdeps/hppa/math_private.h: Remove file.
1683         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
1684         not define here.
1685         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
1686         <nan-high-order-bit.h>.
1687         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1688         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1689         <nan-high-order-bit.h>.
1690         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1691         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1692         <nan-high-order-bit.h>.
1693         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1694         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
1695         <nan-high-order-bit.h>.
1696         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1697         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1698         <nan-high-order-bit.h>.
1699         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1700         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1701         <nan-high-order-bit.h>.
1702         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1703         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
1704         <nan-high-order-bit.h>.
1705         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1706         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
1707         <nan-high-order-bit.h>.
1708         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1709         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1710         <nan-high-order-bit.h>.
1711         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1712         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
1713         <nan-high-order-bit.h>.
1714         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1715         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1716         <nan-high-order-bit.h>.
1717         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1718         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1719         <nan-high-order-bit.h>.
1720         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1721         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
1722         <nan-high-order-bit.h>.
1723         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1724         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1725         <nan-high-order-bit.h>.
1726         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1727         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1728         <nan-high-order-bit.h>.
1729         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1730         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
1731         <nan-high-order-bit.h>.
1732         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1733         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1734         <nan-high-order-bit.h>.
1735         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1736         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1737         <nan-high-order-bit.h>.
1738         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1740 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1742         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
1744 2016-09-22  John David Anglin  <dave.anglin@bell.net>
1746         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
1747         abort-instr.h.
1748         (EFAULT): Remove conditional define.
1749         (ENOSYS): Likewise.
1750         (atomic_compare_and_exchange_val_acq): Use instruction nullification
1751         instead of conditional branch instructions.
1753 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
1755         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1756         (totalordermag): New declaration.
1757         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
1758         New macro.
1759         * math/Versions (totalordermag): New libm symbol at version
1760         GLIBC_2.25.
1761         (totalordermagf): Likewise.
1762         (totalordermagl): Likewise.
1763         * math/Makefile (libm-calls): Add s_totalordermagF.
1764         * math/libm-test.inc (totalordermag_test_data): New array.
1765         (totalordermag_test): New function.
1766         (main): Call totalordermag_test.
1767         * math/test-tgmath.c (NCALLS): Increase to 125.
1768         (F(compile_test)): Call totalordermag.
1769         (F(totalordermag)): New function.
1770         * manual/arith.texi (FP Comparison Functions): Document
1771         totalordermag, totalordermagf and totalordermagl.
1772         * manual/libm-err-tab.pl: Update comment on interfaces without
1773         ulps tabulated.
1774         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
1775         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
1776         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
1777         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
1778         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
1779         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
1780         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
1781         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1782         totalordermag.
1783         (CFLAGS-nldbl-totalordermag.c): New variable.
1784         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1785         (do_test): Also test totalordermagl.
1786         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1787         Likewise.
1788         * sysdeps/nacl/libm.abilist: Update.
1789         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1790         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1791         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1792         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1793         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1794         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1795         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1796         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1797         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1798         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1799         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1800         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1802         Likewise.
1803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1804         Likewise.
1805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1806         Likewise.
1807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1808         Likewise.
1809         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1810         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1811         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1812         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1813         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1815         Likewise.
1816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1817         Likewise.
1818         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1819         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1820         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1822 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
1824         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
1825         boolean.
1827 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
1829         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
1830         raising FE_INVALID with feraisexcept in case where part of
1831         argument is infinite, subtract that part of argument from itself.
1832         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
1833         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
1834         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1836 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1838         * math/libm-test.inc (totalorder_test_data): Add more tests.
1840 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1842         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
1843         Undefine weak_alias and add a comment why mips64 require
1844         versioning.
1846 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
1848         [BZ #20647]
1849         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
1850         maximum CPUID level is less than 2.
1852 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1854         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1855         (totalorder): New declaration.
1856         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
1857         New macro.
1858         * math/Versions (totalorder): New libm symbol at version
1859         GLIBC_2.25.
1860         (totalorderf): Likewise.
1861         (totalorderl): Likewise.
1862         * math/Makefile (libm-calls): Add s_totalorderF.
1863         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
1864         string.
1865         * math/libm-test.inc (PAYLOAD_DIG): New macro.
1866         (qnan_value_pl): Likewise.
1867         (snan_value_pl): Likewise.
1868         (qnan_value): Define using qnan_value_pl.
1869         (snan_value): Define using snan_value_pl.
1870         (struct test_ff_i_data): Add comment about which tests use this
1871         structure.
1872         (RUN_TEST_ff_b): New macro.
1873         (RUN_TEST_LOOP_ff_b): Likewise.
1874         (totalorder_test_data): New array.
1875         (totalorder_test): New function.
1876         (main): Call totalorder_test.
1877         * math/test-tgmath.c (NCALLS): Increase to 122.
1878         (F(compile_test)): Call totalorder.
1879         (F(totalorder)): New function.
1880         * manual/arith.texi (FP Comparison Functions): Document
1881         totalorder, totalorderf and totalorderl.
1882         * manual/libm-err-tab.pl: Update comment on interfaces without
1883         ulps tabulated.
1884         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1885         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1886         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1887         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1888         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1889         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1890         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1891         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1892         totalorder.
1893         (CFLAGS-nldbl-totalorder.c): New variable.
1894         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1895         file.
1896         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1897         Add test-totalorderl-ldbl-128ibm.
1898         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1899         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1900         test-totalorderl-ldbl-96.
1901         * sysdeps/nacl/libm.abilist: Update.
1902         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1903         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1904         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1905         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1906         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1907         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1908         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1909         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1910         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1911         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1912         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1913         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1915         Likewise.
1916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1917         Likewise.
1918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1919         Likewise.
1920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1921         Likewise.
1922         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1923         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1924         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1925         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1926         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1928         Likewise.
1929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1930         Likewise.
1931         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1932         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1933         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1935 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1937         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1938         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1939         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1940         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1941         remove ENOSYS implementation.
1942         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1943         Consolidate all Linux implementations.
1945 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1947         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1948         * resolv/herror.c (herror): Cast away const-ness.
1949         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1950         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1952 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1954         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1955         instead of M_NAN + M_NAN.
1956         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1958 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1960         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1961         unused variable 'p'.
1963 2016-10-09  Alan Modra  <amodra@gmail.com>
1964             Andreas Schwab  <schwab@linux-m68k.org>
1966         [BZ #20554]
1967         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1968         [PIC && !SHARED]: Set up PIC register for PLT call.
1970 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1972         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1973         conditional on value of [__FLT_EVAL_METHOD__].
1974         * math/test-iseqsig-excess-precision.c: New file.
1975         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1977 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1979         * math/s_iseqsig_template.c: Include math-private.h.
1981         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1982         * posix/tst-posix_fadvise.c: New file.
1983         * posix/tst-posix_fadvise64.c: Likewise.
1984         * posix/tst-posix_fadvise-common.c: Likewise.
1985         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1986         (__ASSUME_FADVISE64_64_6ARG): Define.
1987         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1988         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1989         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1990         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1991         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1992         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1993         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1994         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1995         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1996         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1997         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1998         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2001         Likewise.
2002         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2003         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2004         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2005         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2006         Alias to __posix_fadvise64_l32.
2007         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2008         Add compat definition to posix_fadvise64.
2009         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2010         Add versioned definition to posix_fadvise64.
2011         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2012         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2013         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2014         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2015         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2017         * io/Makefile (tests): Add tst-posix_fallocate and
2018         tst-posix_fallocate64.
2019         * io/tst-posix_fallocate-common.c: New file.
2020         * io/tst-posix_fallocate.c: Likewise.
2021         * io/tst-posix_fallocate64.c: Likewise.
2022         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2023         file.
2024         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2025         Likewise.
2026         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2027         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2028         Likewise.
2029         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2030         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2031         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2032         SYSCALL_LL to pass both offset and len arguments.
2033         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2034         Likewise.
2035         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2036         __libc_pwrite64 alias used by posix_fallocate64.
2038         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2039         tst-fallocate64.
2040         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2041         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2042         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2043         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2044         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2045         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2046         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2047         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2048         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2049         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2050         macro on offset argument.
2051         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2052         SYSCALL_LL64 on offset argument.
2054         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2055         tst-fallocate64.
2056         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2057         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2058         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2059         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2060         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2061         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2062         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2063         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2064         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2065         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2066         macro on offset argument.
2067         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2068         SYSCALL_LL64 on offset argument.
2069         * test-skeleton.c (FAIL_RET): Add macro.
2070         (FAIL_EXIT): Likewise.
2071         (FAIL_EXIT1): Likewise.
2072         (_FAIL): Likewise.
2074 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2076         [BZ #20629]
2077         resolv: Remove RES_USEBSTRING and its implementation.
2078         * resolv/resolv.h (RES_USEBSTRING): Remove.
2079         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2080         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2081         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2082         (labellen): Remove extended label types support.
2083         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2084         * resolv/res_init.c (res_setoptions): Likewise.
2085         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2087 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2089         resolv: Remove RES_NOIP6DOTINT and its implementation.
2090         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2091         (RES_NOIP6DOTINT): Remove.
2092         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2093         handling.
2094         * resolv/res_debug.c (p_option): Likewise.
2095         * resolv/res_init.c (res_setoptions): Likewise.
2096         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2098 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2100         resolv: Deprecate unimplemented flags.
2101         * misc/sys/cdefs.h (__glibc_macro_warning1)
2102         (__glibc_macro_warning): Define.
2103         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2104         (RES_KEEPTSIG): Mark as deprecated.
2105         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2106         RES_NOCHECKNAME, RES_KEEPTSIG.
2107         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2109 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2111         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2112         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2113         Use strong_alias to create symbols for glibc verison 2.19.
2115 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2117         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2119 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2121         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2123 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2125         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2127 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2129         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2130         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2131         in header for using it as type for ifunc function because __GI_* symbols
2132         for ppc32 do not target the ifunc symbols.
2133         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2135 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2137         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2138         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2139         libc_ifunc_hidden_def.
2140         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2141         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2142         Redirect ifunced function in header for using it as type of ifunc'ed
2143         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2144         function for __GI_* symbol.
2145         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2146         * include/libc-symbols.h
2147         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2149 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2151         [BZ #20478]
2152         * sysdeps/s390/multiarch/ifunc-resolve.h
2153         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2154         to create ifunc symbols.
2155         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2156         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2157         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2158         for using it as type for ifunc function.
2159         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2160         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2161         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2162         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2163         * sysdeps/s390/multiarch/strcat.c: Likewise.
2164         * sysdeps/s390/multiarch/strchr.c: Likewise.
2165         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2166         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2167         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2168         * sysdeps/s390/multiarch/strlen.c: Likewise.
2169         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2170         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2171         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2172         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2173         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2174         * sysdeps/s390/multiarch/strspn.c: Likewise.
2175         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2176         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2177         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2178         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2179         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2180         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2181         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2182         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2183         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2184         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2185         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2186         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2188 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2190         * include/libc-symbols.h (__ifunc_resolver):
2191         New macro is used by __ifunc* macros.
2192         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2193         depending on HAVE_GCC_IFUNC.
2194         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2195         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2197         Redirect ifunced function in header for using as type for ifunc function.
2198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2204         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2205         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2206         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2207         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2208         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2209         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2210         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2211         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2217         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2218         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2219         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2220         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2221         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2222         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2223         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2224         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2225         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2226         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2227         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2228         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2229         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2230         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2232         Add libc_hidden_def() and use libc_ifunc_hidden() macro
2233         instead of libc_ifunc() macro.
2234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2235         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2237 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2239         * config.h.in (HAVE_GCC_IFUNC): New undef.
2240         * configure.ac: Add check if gcc supports attribute ifunc feature.
2241         * configure: Regenerated.
2242         * manual/install.texi: Add recommendation for gcc with
2243         indirect-function support.
2244         * INSTALL: Regenerated.
2246 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
2248         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
2249         macro.
2250         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2251         (__iseqsig): New declaration.
2252         * math/s_iseqsig_template.c: New file.
2253         * math/Versions (__iseqsigf): New libm symbol at version
2254         GLIBC_2.25.
2255         (__iseqsig): Likewise.
2256         (__iseqsigl): Likewise.
2257         * math/libm-test.inc (iseqsig_test_data): New array.
2258         (iseqsig_test): New function.
2259         (main): Call iseqsig_test.
2260         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
2261         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
2262         * manual/libm-err-tab.pl: Update comment on interfaces without
2263         ulps tabulated.
2264         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
2265         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
2266         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
2267         * sysdeps/nacl/libm.abilist: Update.
2268         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2269         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2273         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2278         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2279         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2281         Likewise.
2282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2283         Likewise.
2284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2285         Likewise.
2286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2287         Likewise.
2288         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2289         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2290         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2291         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2292         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2294         Likewise.
2295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2296         Likewise.
2297         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2298         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2299         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2301 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2303         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
2304         do_sincos_2, sloww, sloww1): Update comments.
2306         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
2307         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
2309         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
2310         K boolean and rename it.
2311         (__sin): Adjust.
2312         (__cos): Adjust.
2314 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2315             Siddhesh Poyarekar  <siddhesh@sourceware.org>
2317         * manual/nss.texi: Fix typos in the manual.
2319 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2321         * manual/contrib.texi: Fix typos in the manual.
2323         * manual/maint.texi: Fix typos in the manual.
2325         * manual/install.texi: Fix typos in the manual.
2326         * INSTALL: Regenerated.
2328         * manual/lang.texi: Fix typos in the manual.
2330         * manual/probes.texi: Fix typos in the manual.
2332         * manual/threads.texi: Fix typos in the manual.
2334         * manual/debug.texi: Fix typos in the manual.
2336         * manual/crypt.texi: Fix typos in the manual.
2338         * manual/conf.texi: Fix typos in the manual.
2340         * manual/sysinfo.texi: Fix typos in the manual.
2342         * manual/users.texi: Fix typos in the manual.
2344         * manual/job.texi: Fix typos in the manual.
2346         * manual/process.texi: Fix typos in the manual.
2348         * manual/argp.texi: Fix typos in the manual.
2349         * manual/getopt.texi: Likewise.
2350         * manual/startup.texi: Likewise.
2352         * manual/signal.texi: Fix typos in the manual.
2354         * manual/setjmp.texi: Fix typos in the manual.
2356         * manual/resource.texi: Fix typos in the manual.
2358         * manual/time.texi: Fix typos in the manual.
2360         * manual/arith.texi: Fix typos in the manual.
2362         * manual/math.texi: Fix typos in the manual.
2364         * manual/syslog.texi: Fix typos in the manual.
2366         * manual/terminal.texi: Fix typos in the manual.
2368         * manual/socket.texi: Fix typos in the manual.
2370         * manual/filesys.texi: Fix typos in the manual.
2372         * manual/llio.texi: Fix typos in the manual.
2374         * manual/stdio.text: Fix typos in the manual.
2376 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2378         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
2379         instead of K1.
2381         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
2382         SHIFT_QUADRANT and make it bool.
2383         (do_sincos_2): Likewise.
2384         (sloww): Likewise.
2385         (sloww1): Likewise.
2386         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
2387         (__cos): Likewise.
2389 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2391         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2393 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
2395         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
2396         Define to __WORDSIZE, not conditional on [LONG_MAX ==
2397         0x7fffffffL].
2398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2400 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2402         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
2403         inline by __inline__.
2404         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
2405         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
2406         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
2407         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
2408         sigset_t from signal.h.
2409         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
2410         which is already required.
2412 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2414         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2416 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
2418         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2419         (struct tcp_repair_window): New type.
2421 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2423         * libio/tst-memstream3.c: Include string.h.
2425 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2427         [BZ #18241]
2428         [BZ #20181]
2429         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2430         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2431         write position is at the end the buffer.
2432         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2433         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2434         (_IO_str_seekoff): Set correct offset from negative displacement and
2435         set EINVAL for invalid ones.
2436         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2437         buffer length.
2438         (_IO_wstr_switch_to_get_mode): New function.
2439         (_IO_wstr_seekoff): Set correct offset from negative displacement and
2440         set EINVAL for invalid ones.
2441         * libio/tst-memstream3.c: New file.
2442         * libio/tst-wmemstream3.c: Likewise.
2443         * manual/examples/memstrm.c: Remove warning when priting size_t.
2445 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2447         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2448         macro to use __builtin_fma.
2449         * sysdeps/x86_64/fpu/dla.h: Remove file.
2451         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2452         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2453         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2455 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
2457         [BZ #20292]
2458         * elf/Makefile (routines): Add dl-addr-obj.
2459         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2460         tst-_dl_addr_inside_object.
2461         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2462         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2463         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2464         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2465         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2466         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2467         * elf/dl-open.c: Likewise.
2468         * elf/dl-addr-obj.c: New file.
2469         * elf/tst-_dl_addr_inside_object.c: New file.
2471 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2473         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2474         <bits/iscanonical.h>.
2475         * bits/iscanonical.h: New file.
2476         * math/s_iscanonicall.c: Likewise.
2477         * math/Versions (__iscanonicall): New libm symbol at version
2478         GLIBC_2.25.
2479         * math/libm-test.inc (iscanonical_test_data): New array.
2480         (iscanonical_test): New function.
2481         (main): Call iscanonical_test.
2482         * math/Makefile (headers): Add bits/iscanonical.h.
2483         (type-ldouble-routines): Add s_iscanonicall.
2484         * manual/arith.texi (Floating Point Classes): Document
2485         iscanonical.
2486         * manual/libm-err-tab.pl: Update comment on interfaces without
2487         ulps tabulated.
2488         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2489         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2490         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2491         Likewise.
2492         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2493         test-iscanonical-ldbl-128ibm.
2494         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2495         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2496         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2497         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2498         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2499         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2502         Likewise.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2504         Likewise.
2505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2506         Likewise.
2507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2508         Likewise.
2509         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2510         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2512 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2514         * string/bits/string3.h: Remove C++ style comments.
2516 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2518         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
2519         instead of ternary condition.
2520         (do_sincos_2): Likewise.
2521         (__sin): Likewise.
2522         (__cos): Likewise.
2523         (slow): Likewise.
2524         (sloww): Likewise.
2525         (sloww1): Likewise.
2526         (bsloww): Likewise.
2527         (bsloww1): Likewise.
2529         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
2530         instead of ternary condition.
2531         (do_sin_slow): Likewise.
2532         (do_sincos_1): Likewise.
2533         (do_sincos_2): Likewise.
2534         (__cos): Likewise.
2535         (sloww): Likewise.
2536         (sloww1): Likewise.
2537         (sloww2): Likewise.
2538         (bsloww): Likewise.
2539         (bsloww1): Likewise.
2540         (bsloww2): Likewise.
2542         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
2543         check from here...
2544         (slow2): ... and here...
2545         (__sin): ... to here.
2547 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
2549         * math/math.h
2550         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
2551         Cast argument to its own type.
2552         * math/test-iszero-excess-precision.c: New file.
2553         * math/Makefile (tests): Add test-iszero-excess-precision.
2554         (CFLAGS-test-iszero-excess-precision.c): New variable.
2556 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
2558         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
2559         field, add err field.
2560         (__spawni_child): Report error through err member instead of pipe.
2561         (__spawnix): Likewise.
2563 2016-09-28  Zack Weinberg  <zackw@panix.com>
2565         * scripts/check-installed-headers.sh: Generalize treatment of
2566         sys/elf.h to all target architectures.
2568         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
2569         deleted typedef ucontext_t.
2571 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2573         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
2574         (__INTERNAL_SYSCALL1): Likewise.
2575         (__INTERNAL_SYSCALL2): Likewise.
2576         (__INTERNAL_SYSCALL3): Likewise.
2577         (__INTERNAL_SYSCALL4): Likewise.
2578         (__INTERNAL_SYSCALL5): Likewise.
2579         (__INTERNAL_SYSCALL6): Likewise.
2580         (__INTERNAL_SYSCALL7): Likewise.
2581         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
2582         (__INTERNAL_SYSCALL_NARGS): Likewise.
2583         (__INTERNAL_SYSCALL_DISP): Likewise.
2584         (INTERNAL_SYSCALL_CALL): Likewise.
2585         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
2586         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
2587         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
2588         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
2589         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
2590         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
2591         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
2592         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
2593         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
2594         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
2595         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
2596         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
2597         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
2599 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
2601         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
2602         macro.
2603         * math/libm-test.inc (iszero_test_data): New array.
2604         (iszero_test): New function.
2605         (main): Call iszero_test.
2606         * manual/arith.texi (Floating Point Classes): Document iszero.
2607         * manual/libm-err-tab.pl: Update comment on interfaces without
2608         ulps tabulated.
2610 2016-09-23  Zack Weinberg  <zackw@panix.com>
2612         * scripts/check-installed-headers.sh: New script.
2613         * Rules: In each directory that defines header files to be installed,
2614         run check-installed-headers.sh on them as a special test.
2615         * Makefile: Likewise for the headers installed at top level.
2617         * include/aliases.h, include/alloca.h, include/argz.h
2618         * include/arpa/nameser.h, include/arpa/nameser_compat.h
2619         * include/elf.h, include/envz.h, include/err.h
2620         * include/execinfo.h, include/fpu_control.h, include/getopt.h
2621         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
2622         * include/link.h, include/malloc.h, include/mcheck.h
2623         * include/mntent.h, include/netinet/ether.h
2624         * include/nss.h, include/obstack.h, include/printf.h
2625         * include/pty.h, include/resolv.h, include/rpc/auth.h
2626         * include/rpc/auth_des.h, include/rpc/auth_unix.h
2627         * include/rpc/clnt.h, include/rpc/des_crypt.h
2628         * include/rpc/key_prot.h, include/rpc/netdb.h
2629         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
2630         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
2631         * include/rpc/rpc_msg.h, include/rpc/svc.h
2632         * include/rpc/svc_auth.h, include/rpc/xdr.h
2633         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
2634         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
2635         * include/rpcsvc/ypupd.h, include/shadow.h
2636         * include/stdio_ext.h, include/sys/epoll.h
2637         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
2638         * include/sys/prctl.h, include/sys/profil.h
2639         * include/sys/statfs.h, include/sys/sysctl.h
2640         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
2641         * sysdeps/arm/nacl/include/bits/setjmp.h
2642         * sysdeps/mips/include/sys/asm.h
2643         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
2644         * sysdeps/unix/sysv/linux/include/sys/timex.h
2645         * sysdeps/x86/fpu/include/bits/fenv.h:
2646         Add #ifndef _ISOMAC guard around internal declarations.
2647         Add multiple-inclusion guard if not already present.
2649 2016-09-23  Zack Weinberg  <zackw@panix.com>
2651         * sysdeps/generic/sys/ucontext.h
2652         * sysdeps/arm/sys/ucontext.h
2653         * sysdeps/i386/sys/ucontext.h
2654         * sysdeps/m68k/sys/ucontext.h
2655         * sysdeps/mips/sys/ucontext.h
2656         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
2657         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
2658         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
2659         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2660         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
2661         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2662         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2663         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2664         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2665         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2666         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2667         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2668         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2669         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2670         Include both bits/sigcontext.h and bits/sigstack.h.
2671         Fix grammar error in comment, if present.
2673         * bits/sigstack.h
2674         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2675         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
2676         * sysdeps/unix/sysv/linux/bits/sigstack.h
2677         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
2678         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
2679         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2680         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
2681         * bits/sigcontext.h
2682         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2683         * sysdeps/unix/sysv/linux/bits/sigcontext.h
2684         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
2685         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
2686         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
2687         as well as signal.h, if this was not already allowed.  Request
2688         definition of size_t if necessary.  Minimize semantically-null
2689         differences across files.
2691 2016-09-23  Zack Weinberg  <zackw@panix.com>
2693         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
2694         Remove all logic conditional on __need macros.  Move all the
2695         conditionally defined types to their own headers...
2696         * time/bits/types/clock_t.h: Define clock_t here.
2697         * time/bits/types/clockid_t.h: Define clockid_t here.
2698         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
2699         * time/bits/types/struct_timespec.h: Define struct timespec here.
2700         * time/bits/types/struct_timeval.h: Define struct timeval here.
2701         * time/bits/types/struct_tm.h: Define struct tm here.
2702         * time/bits/types/time_t.h: Define time_t here.
2703         * time/bits/types/timer_t.h: Define timer_t here.
2704         * time/Makefile: Install the new headers.
2706         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
2707         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
2708         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
2709         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
2710         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
2711         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
2712         * sysdeps/unix/sysv/linux/bits/resource.h
2713         * sysdeps/unix/sysv/linux/bits/timex.h
2714         * sysdeps/unix/sysv/linux/mips/bits/resource.h
2715         * sysdeps/unix/sysv/linux/net/ppp_defs.h
2716         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
2717         * sysdeps/unix/sysv/linux/sys/acct.h
2718         * sysdeps/unix/sysv/linux/sys/timerfd.h
2719         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
2720         * time/sys/time.h, time/sys/timeb.h
2721         Use the new bits/types headers.
2723         * include/time.h: Remove __need logic.
2724         * include/bits/time.h
2725         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
2726         * include/bits/types/time_t.h, include/bits/types/timer_t.h
2727         * include/bits/types/struct_itimerspec.h
2728         * include/bits/types/struct_timespec.h
2729         * include/bits/types/struct_timeval.h
2730         * include/bits/types/struct_tm.h:
2731         New wrapper headers.
2733 2016-09-23  Zack Weinberg  <zackw@panix.com>
2735         * sysdeps/mach/hurd/net/if_ppp.h
2736         * sysdeps/unix/sysv/linux/net/if_ppp.h:
2737         Only define struct ifpppstatsreq and struct ifpppcstatsreq
2738         if __USE_MISC is defined, to ensure struct ifreq is declared.
2740         * inet/netinet/ether.h: Condition all function prototypes
2741         on __USE_MISC, to ensure struct ether_addr is declared.
2743         * socket/bits/types/struct_osockaddr.h: New header.
2744         * include/bits/types/struct_osockaddr.h: New wrapper.
2745         * socket/Makefile: Install the new header.
2746         * socket/sys/socket.h, inet/protocols/talkd.h:
2747         Refer to bits/types/struct_osockaddr.h for the definition of
2748         struct osockaddr.
2750 2016-09-23  Zack Weinberg  <zackw@panix.com>
2752         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
2753         * inet/protocols/routed.h, inet/protocols/talkd.h
2754         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
2755         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
2756         * sysdeps/generic/netinet/if_ether.h
2757         * sysdeps/generic/netinet/in_systm.h
2758         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
2759         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2760         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
2761         * sysdeps/mach/hurd/net/if_arp.h
2762         * sysdeps/mach/hurd/net/if_ppp.h
2763         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
2764         * sysdeps/unix/sysv/linux/bits/in.h
2765         * sysdeps/unix/sysv/linux/net/ethernet.h
2766         * sysdeps/unix/sysv/linux/net/if_arp.h
2767         * sysdeps/unix/sysv/linux/net/if_ppp.h
2768         * sysdeps/unix/sysv/linux/net/if_shaper.h
2769         * sysdeps/unix/sysv/linux/net/route.h
2770         * sysdeps/unix/sysv/linux/netinet/if_ether.h
2771         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2772         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2773         * sysdeps/unix/sysv/linux/netipx/ipx.h
2774         * sysdeps/unix/sysv/linux/sys/acct.h
2775         * include/arpa/nameser.h, include/resolv.h:
2776         Change all uses of u_char to unsigned char,
2777         u_short and ushort to unsigned short, u_int and uint to unsigned int,
2778         u_long and ulong to unsigned long, u_int8_t to uint8_t,
2779         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
2780         and u_int64_t and u_quad_t to uint64_t.
2782         * mach/sys/reboot.h: Remove two casts of integer literals
2783         to the types they already have.
2785         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
2786         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2787         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
2788         from referring to 'unsigned char' to 'uint8_t' for consistency with
2789         the macro definition below.
2791         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
2792         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
2793         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
2794         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
2795         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
2796         * sysdeps/unix/sysv/linux/sys/acct.h
2797         * include/arpa/nameser.h, include/resolv.h:
2798         Fix indentation disrupted by mechanical edits.
2800         * inet/protocols/talkd.h, resolv/arpa/nameser.h
2801         * sysdeps/generic/netinet/in_systm.h
2802         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2803         * sysdeps/gnu/netinet/udp.h
2804         * sysdeps/unix/sysv/linux/net/ethernet.h
2805         * sysdeps/unix/sysv/linux/net/if_arp.h
2806         * sysdeps/unix/sysv/linux/net/if_ppp.h
2807         * sysdeps/unix/sysv/linux/net/if_shaper.h
2808         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2809         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2810         * sysdeps/unix/sysv/linux/netipx/ipx.h
2811         * sysdeps/unix/sysv/linux/sys/acct.h
2812         Include stdint.h for uintNN_t definitions.
2813         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
2815 2016-09-23  Zack Weinberg  <zackw@panix.com>
2817         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
2818         * sysdeps/unix/sysv/linux/netrose/rose.h:
2819         Include sys/socket.h and netax25/ax25.h.
2821         * inet/netinet/icmp6.h, inet/netinet/ip6.h
2822         * resolv/arpa/nameser_compat.h:
2823         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
2825         * sysdeps/unix/sysv/linux/sys/quota.h:
2826         Use __caddr_t instead of caddr_t.
2827         * sysdeps/unix/sysv/linux/sys/timerfd.h:
2828         Use __clockid_t instead of clockid_t.
2830         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
2832         * argp/argp.h: Check whether _LIBC is defined before expanding it.
2833         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
2834         expanding it.
2836         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
2837         Define __glibc_c99_flexarr_available to 1 when the compiler
2838         supports C99-compatible flexible array members, 0 otherwise.
2839         * sysdeps/unix/sysv/linux/bits/socket.h
2840         * sysdeps/mach/hurd/bits/socket.h
2841         * bits/socket.h: Use __glibc_c99_flexarr_available in
2842         definitions of struct cmsghdr and CMSG_DATA.
2844 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2846         * manual/nss.texi (NSS Modules Interface): Adjust function return
2847         type to enum nss_status.  Document errnop argument.  Clarify
2848         h_errnop semantics.  Fix cross-reference formatting.
2849         (NSS Module Function Internals): Mention that *errnop needs to be
2850         set on failure, but not to zero.
2852 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2854         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
2855         (get_random_name): New functions.
2856         (check_wrapper_flags_mode): Use linkat to give the new file a name
2857         determined by get_random_name.
2858         (do_test): Add calls to test open64 and openat64.
2860 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2862         * test-skeleton.c: Remove #include <stdarg.h>.
2864 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
2866         [BZ #19826]
2867         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
2868         initialization of static TLS entries.
2869         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
2870         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2872 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2874         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
2875         _hurd_malloc_fork_prepare.
2876         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
2877         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
2878         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
2879         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
2880         (_hurd_fork_child_hook): Drop malloc_fork_child.
2881         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
2882         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
2883         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2884         after locking locks (notably hurd_dtable_lock). Call
2885         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2886         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2887         __malloc_fork_unlock_child.
2888         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2890 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2892         * soft-fp/extendhftf2.c: New.
2893         * soft-fp/fixhfti.c: Likewise.
2894         * soft-fp/fixunshfti.c: Likewise.
2895         * soft-fp/floattihf.c: Likewise.
2896         * soft-fp/floatuntihf.c: Likewise.
2897         * soft-fp/half.h: Likewise.
2898         * soft-fp/trunctfhf2.c: Likewise.
2900 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2902         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2903         macro.
2904         * math/libm-test.inc (issubnormal_test_data): New array.
2905         (issubnormal_test): New function.
2906         * manual/arith.texi (Floating Point Classes): Document
2907         issubnormal.
2908         * manual/libm-err-tab.pl: Update comment on interfaces without
2909         ulps tabulated.
2911         * sysdeps/generic/stdint.h: Define
2912         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2913         <bits/libc-header-start.h> instead of including <features.h>.
2914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2915         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2916         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2917         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2918         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2919         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2920         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2921         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2924         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2925         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2928         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2943         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2947         * manual/arith.texi (Integers): Document these macros for types
2948         specified by width properties.
2949         * manual/lang.texi (Width of Type): Document these macros for
2950         other standard typedefs.
2951         * stdlib/tst-width-stdint.c: New file.
2952         * stdlib/Makefile (tests): Add tst-width-stdint.
2954 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2956         [BZ #20016]
2957         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2958         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2959         Move ...
2960         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2961         ... here, as compatibility symbols in a new file.
2962         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2963         * resolv/res_init.c (__res_vinit): Adjust member names.
2964         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2965         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2966         (res_send_rhook): Remove.
2967         (struct __res_state): Rename qhook, rhook members.
2969 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2971         malloc: Use __libc_lock wrappers.
2972         * malloc/arena.c (list_lock, free_list_lock): Define using
2973         __libc_lock_define_initialized.
2974         (arena_lock): Adjust formatting.
2975         * malloc/malloc.c (struct malloc_state): Define mutex using
2976         __libc_lock_define.
2977         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2978         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2979         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2980         (mutex_unlock, mutex_trylock): Remove.
2981         (__pthread_initialize): Remove unused macro.
2982         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2983         (mutex_unlock, mutex_trylock): Remove.
2985 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2987         [BZ #20592]
2988         Remove RR type classification macros.
2989         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2990         (ns_t_udp_p, ns_t_xfr_p): Remove.
2992 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2994         Remove misleading version information.
2995         * resolv/arpa/nameser.h (__NAMESER): Remove.
2996         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2998 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3000         Remove the always-defined BIND_4_COMPAT macro.
3001         * resolv/arpa/nameser.h: Unconditionally include
3002         <arpa/nameser_compat.h>.
3003         (BIND_4_COMPAT): Remove.
3004         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3006 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3008         [BZ #20591]
3009         Remove obsolete DNSSEC support.
3010         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3011         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3012         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3013         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3014         (ns_cert_types): Add comment.
3015         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3016         separately.
3017         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3018         (dst_s_dns_key_id): Remove.
3019         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3020         variables.
3022 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3024         [BZ #20524]
3025         * manual/string.texi (String/Array Comparison): Clarify the
3026         strverscmp behavior.
3028 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3030         * test-skeleton.c (xasprintf): Add function.
3031         * io/tst-open-tmpfile.c: New test.
3032         * io/Makefile (tests): Add it.
3034 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3036         Avoid running $(CXX) during build to obtain header file paths.
3037         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3038         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3039         * Makerules (cstdlib, cmath): Remove variables.  Use
3040         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3041         * configure: Regenerate.
3043 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3045         * Makeconfig (all-object-suffixes): Include .op only if
3046         $(build-profile).
3048 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3050         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3051         conditionals.  Do not define PATH_MAX.
3053 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3055         * posix/Makefile (tests): Add tst-spawn3.
3056         * posix/tst-spawn3.c: New file.
3057         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3058         if it is already opened for open action.
3060         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3061         all signals when executing the clone vfork child.
3062         (SIGALL_SET): Remove macro.
3064         * nptl/Makefile (tests): Add tst-exec5.
3065         * nptl/tst-exec5.c: New file.
3066         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3067         asynchronous cancellation.
3069 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3071         * hurd/exc2signal.c: #include <hurd/signal.h>
3072         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3073         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3074         accordingly.
3075         * mach/mach_error.c (mach_error): Fix old-style function definition.
3076         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3078 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3080         * math/Makefile (libm-calls): Remove s_nanF.
3081         (gen-libm-calls): Add s_nanF.
3083         * math/s_nan.c: Refactor into ...
3084         * math/s_nan_template.c: New file.
3086         * math/s_nanf.c: Removed.
3087         * math/s_nanl.c: Removed.
3088         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3089         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3091         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3092         (LDOUBLE_nanl_libm_version): New macro.
3094         * sysdeps/generic/math-type-macros-double.h:
3095         (M_STRTO_NAN): New macro.
3096         * sysdeps/generic/math-type-macros-float.h: Likewise.
3097         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3099         * sysdeps/generic/math-type-macros.h: Document
3100         M_STRTO_NAN.
3102 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3104         * math/s_nanf.c: Remove __nanf undef.
3105         * math/s_nan.c: Remove __nan undef.
3106         * math/s_nanl.c: Remove __nanl undef.
3108         * sysdeps/generic/math_private.h (__nan): Remove macro
3109         override.
3110         (__nanf): Likewise.
3111         (__nanl): Likewise.
3113 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3115         * math/Makefile (gen-all-calls): New variable.
3116         (generated): Replace gen-libm-calls with gen-all-calls.
3117         (gen-libm-templates.stmp): Likewise.  Also, ensure
3118         the output directory exists or is created and add
3119         dependency on the Makefile.
3120         (calls): Move s_ldexpF into gen-calls.
3121         (gen-calls): New variable.
3123         * math/s_ldexpf.c: Removed.
3124         * math/s_ldexpl.c: Removed.
3125         * math/s_ldexp.c: Refactored into ...
3126         * math/s_ldexp_template.c: New file.
3128         * sysdeps/generic/math-type-macros-double.h: Remove
3129         redundant fall-through definition of declare_mgen_alias.
3130         (declare_mgen_alias_2): New macro.
3132         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3133         New macro for function aliased to two exported symbols.
3135         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3136         new template file.
3137         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3139 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3141         * Makeconfig (all-object-suffixes): Remove .og.
3142         * Makerules (elide-routines.og): Remove.
3143         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3144         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3145         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3147 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3149         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3150         .os objects.
3152 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3154         [BZ #20615]
3155         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3156         fpu directory by non-fpu.
3157         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3158         on non-fpu directory from a fpu directory.
3160 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3162         * include/limits.h: Define
3163         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3164         <bits/libc-header-start.h> instead of including <features.h>.
3165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3176         * manual/lang.texi (Width of Type): Document these macros.
3177         * stdlib/tst-width.c: New file.
3178         * stdlib/Makefile (tests): Add tst-width.
3180 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3182         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3183         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3185 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3187         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3188         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3189         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3191 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3193         [BZ #18243]
3194         * rt/Makefile (test): Add tst-shm-cancel.
3195         * rt/tst-shm-cancel.c: New file.
3196         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3198         [BZ #18243]
3199         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3200         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3201         definition.
3202         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3203         uncontended case.
3204         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3205         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3206         (tf): Fix check for uncontended case.
3207         (do_test): Likewise.
3208         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3209         (tf): Fix check for uncontended case.
3210         (do_test): Likewise.
3211         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3212         (tf): Fix check for uncontended case.
3213         (do_test): Likewise.
3214         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3215         (tf): Fix check for uncontended case.
3216         (do_test): Likewise.
3218         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3219         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3221         [BZ #15765]
3222         * nptl/Makefile (tests): Add tst-sem16.
3223         * nptl/tst-sem16.c: New file.
3224         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3226         * nptl/sem_open.c (sem_open): Init pad value to 0.
3227         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3228         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3230 2016-09-15  Florian Weimer  <fweimer@redhat.com>
3232         [BZ #20611]
3233         * inet/Makefile (routines): Add inet6_scopeid_pton.
3234         (tests): Add tst-inet6_scopeid_pton.
3235         * inet/inet6_scopeid_pton.c: New file.
3236         * inet/net-internal.h: Likewise.
3237         * inet/tst-inet6_scopeid_pton.c: New test.
3238         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
3239         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
3240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3242 2016-09-14  Florian Weimer  <fweimer@redhat.com>
3244         Remove support for compiling wrappers with PTW.
3245         * sysdeps/nptl/Makeconfig: Drop ptw- support.
3246         * nptl/Makefile (pthread-compat-wrappers): Define.
3247         (libpthread-routines): Use pthread-compat-wrappers.
3248         * sysdeps/unix/sysv/linux/alpha/Makefile
3249         (libpthread-routines, libpthread-shared-only-routines): Remove
3250         ptw- prefix.
3251         * sysdeps/s390/nptl/Makefile
3252         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3253         * sysdeps/ia64/nptl/Makefile
3254         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3255         * sysdeps/nacl/Makefile (libpthread-routines): Use
3256         pthread-compat-wrappers to filter the routines list instead of the
3257         ptw- prefix.
3259 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3261         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
3262         with L() and remove explicit suffix, convert real literals
3263         which can be equivalentally substituted with integers, and
3264         transform -L(x) to L(-x).
3266         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3267         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3268         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3269         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3270         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3271         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3272         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3273         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3274         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3275         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3276         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3277         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3278         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3279         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3280         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3281         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3282         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3283         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3284         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3285         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3286         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3287         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3288         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3289         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3290         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3291         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3292         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3293         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3294         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3295         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3296         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3297         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3298         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3299         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3300         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3301         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3302         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3303         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3304         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3305         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3306         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3307         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3308         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3309         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3310         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3311         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3312         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3313         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3314         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3315         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3317 2016-09-13  Florian Weimer  <fweimer@redhat.com>
3319         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
3321 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3323         * malloc/Makefile (tests): Remove individual static test names
3324         and just add all of tests-static.
3326         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
3328 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3330         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
3331         file.
3333         * sysdeps/sparc/fpu/fegetmode.c: New file.
3334         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
3336         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
3337         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
3339         * sysdeps/s390/fpu/fegetmode.c: New file.
3340         * sysdeps/s390/fpu/fesetmode.c: Likewise.
3342         * sysdeps/powerpc/fpu/fegetmode.c: New file.
3343         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
3344         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
3345         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
3346         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
3347         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
3349         * sysdeps/mips/fpu/fegetmode.c: New file.
3350         * sysdeps/mips/fpu/fesetmode.c: Likewise.
3352         * sysdeps/m68k/fpu/fegetmode.c: New file.
3353         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
3355         * sysdeps/ia64/fpu/fegetmode.c: New file.
3356         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
3358         * sysdeps/hppa/fpu/fegetmode.c: New file.
3359         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
3361         * sysdeps/arm/fegetmode.c: New file.
3362         * sysdeps/arm/fesetmode.c: Likewise.
3364         * sysdeps/alpha/fpu/fegetmode.c: New file.
3365         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
3367         * sysdeps/aarch64/fpu/fegetmode.c: New file.
3368         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
3370         * math/fegetmode.c: New file.
3371         * math/fesetmode.c: Likewise.
3372         * sysdeps/i386/fpu/fegetmode.c: Likewise.
3373         * sysdeps/i386/fpu/fesetmode.c: Likewise.
3374         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
3375         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
3376         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
3377         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
3378         declaration.
3379         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
3380         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
3381         typedef.
3382         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3383         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3384         (femode_t): New typedef.
3385         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3386         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3387         (femode_t): New typedef.
3388         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3389         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3390         (femode_t): New typedef.
3391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3392         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3393         (femode_t): New typedef.
3394         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3395         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3396         (femode_t): New typedef.
3397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3398         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3399         (femode_t): New typedef.
3400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3401         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3402         (femode_t): New typedef.
3403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3404         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3405         (femode_t): New typedef.
3406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3407         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3408         (femode_t): New typedef.
3409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3410         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3411         (femode_t): New typedef.
3412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3413         declaration.
3414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3415         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3416         (femode_t): New typedef.
3417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3418         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3419         (femode_t): New typedef.
3420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3421         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3422         (femode_t): New typedef.
3423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3424         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3425         (femode_t): New typedef.
3426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3427         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3428         (femode_t): New typedef.
3429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3430         * manual/arith.texi (FE_DFL_MODE): Document macro.
3431         (fegetmode): Document function.
3432         (fesetmode): Likewise.
3433         * math/Versions (fegetmode): New libm symbol at version
3434         GLIBC_2.25.
3435         (fesetmode): Likewise.
3436         * math/Makefile (libm-support): Add fegetmode and fesetmode.
3437         (tests): Add test-femode and test-femode-traps.
3438         * math/test-femode-traps.c: New file.
3439         * math/test-femode.c: Likewise.
3440         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3441         alias for __fe_dfl_env.
3442         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3443         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3444         (__fe_dfl_mode): Likewise.
3445         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3446         version GLIBC_2.25.
3447         * sysdeps/nacl/libm.abilist: Update.
3448         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3449         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3450         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3451         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3452         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3453         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3454         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3455         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3456         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3457         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3458         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3459         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3461         Likewise.
3462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3463         Likewise.
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3465         Likewise.
3466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3467         Likewise.
3468         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3469         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3470         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3471         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3472         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3474         Likewise.
3475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3476         Likewise.
3477         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3478         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3479         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3481 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3483         [BZ #20495]
3484         [BZ #20508]
3485         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3486         processors, set Use_dl_runtime_resolve_slow and set
3487         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3488         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3489         New.
3490         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3491         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3492         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3493         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3494         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3495         if Use_dl_runtime_resolve_opt is set.  Use
3496         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3497         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3498         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
3499         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3500         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3501         New.
3502         (_dl_runtime_resolve_opt): Likewise.
3503         (_dl_runtime_profile): Define only if _dl_runtime_profile is
3504         defined.
3506 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3508         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3509         __libc_memalign with "+ RELA R_390_GLOB_DAT".
3511 2016-09-06  Florian Weimer  <fweimer@redhat.com>
3513         Convert malloc to __libc_lock.  Automated part, using this Perl
3514         s/// command:
3515           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3516             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3517         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
3518         conversion.
3520 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
3522         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
3523         (linknamespace-symlists-tests): Likewise.
3524         (linknamespace-header-tests): Likewise.
3526 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
3528         [BZ #19810]
3529         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
3530         * elf/tst-noload.c: New test case.
3531         * elf/Makefile (tests): Add tst-noload.
3533 2016-09-02  Roland McGrath  <roland@hack.frob.com>
3535         * sysdeps/nacl/dup.c: Add libc_hidden_def.
3537         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
3538         not any more.
3540         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
3542 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3544         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
3545         (do_cos_slow): Likewise.
3546         (do_sin): Likewise.
3547         (do_sin_slow): Likewise.
3548         (slow): Likewise.
3549         (slow1): Likewise.
3550         (slow2): Likewise.
3551         (sloww): Likewise.
3552         (sloww1): Likewise.
3553         (sloww2): Likewise.
3554         (bsloww): Likewise.
3555         (bsloww1): Likewise.
3556         (bsloww2): Likewise.
3557         (cslow2): Likewise.
3559         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
3561         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
3562         arguments.  Consolidate input partitioning from callers here.
3563         (do_cos_slow): Likewise.
3564         (do_sin): Likewise.
3565         (do_sin_slow): Likewise.
3566         (do_sincos_1): Remove the no longer necessary input partitioning.
3567         (do_sincos_2): Likewise.
3568         (__sin): Likewise.
3569         (__cos): Likewise.
3570         (slow1): Likewise.
3571         (slow2): Likewise.
3572         (sloww1): Likewise.
3573         (sloww2): Likewise.
3574         (bsloww1): Likewise.
3575         (bsloww2): Likewise.
3576         (cslow2): Likewise.
3578 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3580         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
3581         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
3582         outside of allocated array.
3584 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3586         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
3587         instead of MB_CUR_MAX to avoid variable-length array.
3589 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3591         * math/Makefile (libm-calls): Remove k_rem_pio2F.
3592         (type-double-routines): Add k_rem_pio2.
3593         (type-float-routines): Add k_rem_pio2f.
3595         * sysdeps/generic/math_private.h:
3596         (__kernel_rem_pio2l): Removed.
3598         * math/k_rem_pio2l.c: Removed.
3599         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
3600         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
3601         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
3602         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
3604 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3606         * math/Makefile (gen-libm-calls): Add s_fmin
3607         (libm-calls): Remove above.
3609         * math/s_fmin.c: Refactor into ...
3610         * math/s_fmin_template.c: New file.
3612         * math/s_fminf.c: Removed.
3613         * math/s_fminl.c: Removed.
3614         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3615         (LDOUBLE_fmin_libm_version): New macro.
3617         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
3618         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
3620 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3622         * math/Makefile: (gen-libm-calls): Add s_fmax.
3623         (libm-calls): Remove above.
3625         * math/s_fmax.c: Refactor into ...
3626         * math/s_fmax_template.c: New file.
3627         * math/s_fmaxf.c: Removed.
3628         * math/s_fmaxl.c: Removed.
3630         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3631         (LDOUBLE_fmaxl_libm_version): New macro.
3633         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
3634         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
3636         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
3637         s_fmin.c to pick the aarch64 version of the file.
3638         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
3639         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
3641 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3643         * math/Makefile: (gen-libm-calls): Add s_nextdown.
3644         (libm-calls): Remove above.
3646         * math/s_nextdown.c: Refactor into ...
3647         * math/s_nextdown_template.c: New file.
3648         * math/s_nextdownf.c: Removed.
3649         * math/s_nextdownl.c: Removed.
3651         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
3653 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3655         * math/Makefile (gen-libm-calls): Add s_fdim.
3656         (libm-calls): Move to above.
3658         * math/s_fdim.c: Renamed and refactored into to ...
3659         * math/s_fdim_template.c: New file.
3660         * math/s_fdiml.c: Removed.
3661         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
3662         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
3664         * sysdeps/generic/math-type-macros-double.h:
3665         (declare_mgen_alias): Don't declare if already declared.
3666         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
3667         Likewise.
3669         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3670         (declare_mgen_alias): Don't declare if already declared.
3671         (M_LIBM_NEED_COMPAT): Likewise.
3672         (declare_mgen_libm_compat): Likewise.
3673         (LDOUBLE_fdiml_libm_version): New macro.
3675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3676         Include math/s_fdim.c now that ldbl-opt version is not needed.
3677         (declare_mgen_alias): New macro to disable aliasing.
3679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
3680         (declare_mgen_alias): Likewise.
3681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
3682         (declare_mgen_alias): Likewise.
3683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
3684         (declare_mgen_alias): Likewise.
3685         (M_LIBM_NEED_COMPAT): Likewise.
3687 2016-09-01  Florian Weimer  <fweimer@redhat.com>
3689         [BZ #20525]
3690         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
3691         Include <linux/quota.h>.
3692         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
3693         and btodb.
3694         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
3695         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
3696         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
3697         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
3698         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
3699         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
3700         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
3701         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
3702         types.
3703         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
3704         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
3706 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3708         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
3709         (gammal_positive): Fix spacing.
3710         (__ieee754_gammal_r): Likewise.
3712 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3714         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
3715         (_Float128): Define as long double, always.
3716         (L): Apply long double type suffix, always.
3718         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
3719         _Float128, excepting comments.
3721         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3722         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3723         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3724         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3725         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3726         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3727         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3728         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3729         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3730         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
3731         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3732         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3733         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3734         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3735         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3736         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3737         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3738         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3739         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3740         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3741         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3742         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3743         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3744         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3745         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3746         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3747         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3748         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3749         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3750         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3751         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3752         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3753         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3754         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3755         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3756         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3757         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3758         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3759         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3760         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3761         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3762         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3763         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3764         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3765         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3766         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3767         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3768         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3769         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3770         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3771         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3772         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3773         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3774         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3775         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3776         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3777         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3778         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3779         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3780         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3781         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3782         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3783         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3784         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3785         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3786         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3787         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3788         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3790         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
3791         _Float128, and include math_private.h.
3792         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3794         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
3795         long double semantics.
3796         (_Float128): Likewise.
3797         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
3798         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3799         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3800         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3802 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3804         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
3805         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
3806         * sysdeps/s390/configure: Regenerated.
3807         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
3808         instruction for raising over-/underflow if z196 zarch is supported
3809         by default.
3810         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
3812 2016-08-30  Svante Signell  <svante.signell@gmail.com>
3814         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
3815         it point to a dumb buffer for RPC to fill it.
3817 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3819         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
3820         instead of if/else.
3821         (do_sin_slow): Likewise.
3822         (do_sincos_1): Use fabs instead of if/else.
3823         (do_sincos_2): Likewise.
3824         (__sin): Likewise.
3825         (__cos): Likewise.
3826         (slow2): Likewise.
3827         (sloww): Likewise.
3828         (sloww1): Likewise.  Drop argument M.
3829         (sloww2): Use fabs instead of if/else.
3830         (bsloww): Likewise.
3831         (bsloww1): Likewise.
3832         (bsloww2): Likewise.
3834         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
3835         fall through comment.
3836         (do_sincos_1): Likewise.
3838         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
3839         Consolidate switch cases 0 and 2.
3841 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3843         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
3844         (libm-calls): Remove the above.
3846         * math/s_cexp_template.c: Update using type-generic macros.
3847         * math/s_clog10_template.c: Likewise.
3848         * math/s_cpow_template.c: Likewise.
3849         * math/s_clog_template.c: Likewise.
3850         * math/s_cproj_template.c: Likewise.
3851         * math/s_csqrt_template.c: Likewise.
3853         * math/s_cexp.c: Removed.
3854         * math/s_cexpf.c: Removed.
3855         * math/s_cexpl.c: Removed.
3856         * math/s_clog10.c: Removed.
3857         * math/s_clog10f.c: Removed.
3858         * math/s_clog10l.c: Removed.
3859         * math/s_cpow.c: Removed.
3860         * math/s_cpowf.c: Removed.
3861         * math/s_cpowl.c: Removed.
3862         * math/s_clog.c: Removed.
3863         * math/s_clogf.c: Removed.
3864         * math/s_clogl.c: Removed.
3865         * math/s_cproj.c: Removed.
3866         * math/s_cprojf.c: Removed.
3867         * math/s_cprojl.c: Removed.
3868         * math/s_csqrt.c: Removed.
3869         * math/s_csqrtf.c: Removed.
3870         * math/s_csqrtl.c: Removed.
3872         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
3873         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
3874         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
3875         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
3876         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
3877         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
3879         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
3880         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
3881         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
3882         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
3883         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3884         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3885         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3886         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3887         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3888         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3889         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3891         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3892         version.
3894         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3895         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3896         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3897         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3899 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3901         * s_cexp_template.c: Copy of s_cexp.c.
3902         * s_clog_template.c: Copy of s_clog.c.
3903         * s_clog10_template.c: Copy of s_clog10.c.
3904         * s_cpow_template.c: Copy of s_cpow.c.
3905         * s_cproj_template.c: Copy of s_cproj.c.
3906         * s_csqrt_template.c: Copy of s_csqrt.c.
3908 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3910         [BZ #20517]
3911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3912         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3913         exported.
3915 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3917         * math/fetestexceptflag.c: New file.
3918         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3919         Stefan Liebler.
3920         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3921         (fetestexceptflag): New function declaration.
3922         * manual/arith.texi (fetestexceptflag): Document function.
3923         * math/Versions (fetestexceptflag): New libm symbol at version
3924         GLIBC_2.25.
3925         * math/Makefile (libm-support): Add fetestexceptflag.
3926         (tests): Add test-fetestexceptflag.
3927         * math/test-fetestexceptflag.c: New file.
3928         * sysdeps/nacl/libm.abilist: Update.
3929         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3930         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3931         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3932         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3933         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3934         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3935         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3936         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3937         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3939         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3940         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3942         Likewise.
3943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3944         Likewise.
3945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3946         Likewise.
3947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3948         Likewise.
3949         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3950         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3951         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3952         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3953         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3955         Likewise.
3956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3957         Likewise.
3958         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3959         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3960         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3962 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3964         [BZ #20432]
3965         Avoid strong references to malloc-internal symbols when linking
3966         statically, to support statically interposed mallocs.
3967         * include/libc-symbols.h (call_function_static_weak): New macro.
3968         * malloc/Makefile (tests): Add tst-interpose-nothread,
3969         tst-interpose-thread, tst-interpose-static-nothread,
3970         tst-interpose-static-thread.
3971         (tests-static): Add tst-interpose-static-nothread,
3972         tst-interpose-static-thread.
3973         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3974         tst-interpose-aux-thread.o.
3975         (test-extras): Add tst-interpose-aux-nothread,
3976         tst-interpose-aux-thread.
3977         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3978         tst-interpose-aux-nothread.o.
3979         (tst-interpose-thread, tst-interpose-static-thread): Link with
3980         tst-interpose-aux-thread.o and libthread.
3981         * malloc/tst-interpose-aux-nothread.c: New file.
3982         * malloc/tst-interpose-aux-thread.c: Likewise.
3983         * malloc/tst-interpose-aux.c: Likewise.
3984         * malloc/tst-interpose-aux.h: Likewise.
3985         * malloc/tst-interpose-nothread.c: Likewise.
3986         * malloc/tst-interpose-skeleton.c: Likewise.
3987         * malloc/tst-interpose-static-nothread.c: Likewise.
3988         * malloc/tst-interpose-static-thread.c: Likewise.
3989         * malloc/tst-interpose-thread.c: Likewise.
3990         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3991         * sysdeps/mach/hurd/fork.c (__fork): Only call
3992         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3993         __malloc_fork_unlock_child if defined.
3994         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3996 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3998         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3999         timespec C99 designated initialization.
4001 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4003         [BZ #19946]
4004         Avoid expected SIGALRM signals.
4005         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4006         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4007         (xpthread_create, xpthread_detach, xpthread_join)
4008         (delayed_exit_thread, delayed_exit): New functions.
4009         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4010         (tf): Use xpthread_cond_wait.
4011         (do_test): Likewise.  Replace alarm with delayed_exit.
4012         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4013         (do_test): Call delayed_exit.  Report failure.
4014         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4015         (do_test): Call delayed_exit.
4016         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4017         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4018         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4019         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4020         error.
4021         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4022         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4023         error.
4024         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4025         (do_test): Call delayed_exit.
4026         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4027         (do_test): Call delayed_exit.
4028         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4029         (do_test): Call delayed_exit instead of alarm.  Use
4030         xpthread_mutex_lock.
4031         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4032         (do_test): Call delayed_exit instead of alarm.  Use
4033         xpthread_mutex_lock.
4034         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4035         (do_test): Call delayed_exit instead of alarm.
4036         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4037         (do_test): Call delayed_exit instead of alarm.  Use
4038         xpthread_spin_lock.
4039         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4040         (do_test): Call delayed_exit instead of alarm.  Use
4041         xpthread_join.
4043 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4045         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4046         adjust CFA when allocating register save area on re-aligned
4047         stack.
4049 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4051         * string/tst-cmp.c: New test.
4052         * string/Makefile (tests): Add it.
4054 2016-08-25  Mark Wielaard  <mark@klomp.org>
4056         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4057         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4058         (check_tree_recurse): Use newly defined accessors.
4059         (check_tree): Likewise.
4060         (maybe_split_for_insert): Likewise.
4061         (__tfind): Likewise.
4062         (__tdelete): Likewise.
4063         (trecurse): Likewise.
4064         (tdestroy_recurse): Likewise.
4065         (__tsearch): Likewise. And add asserts for malloc alignment.
4066         (__twalk): Cast root to node in case CHECK_TREE is defined.
4068 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4070         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4072 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4074         * math/Makefile (libm-gen-calls): Add
4075         catan, catanh, ctan, ctanh.
4076         (libm-calls): Remove the above.
4078         * math/s_catan_template.c: Update using type-generic macros.
4079         * math/s_catanh_template.c: Likewise.
4080         * math/s_ctan_template.c: Likewise.
4081         * math/s_ctanh_template.c: Likewise.
4083         * math/s_catanf.c: Removed.
4084         * math/s_catan.c: Removed.
4085         * math/s_catanl.c: Removed.
4086         * math/s_catanhf.c: Removed.
4087         * math/s_catanh.c: Removed.
4088         * math/s_catanhl.c: Removed.
4089         * math/s_ctanf.c: Removed.
4090         * math/s_ctan.c: Removed.
4091         * math/s_ctanl.c: Removed.
4092         * math/s_ctanhf.c: Removed.
4093         * math/s_ctanh.c: Removed.
4094         * math/s_ctanhl.c: Removed.
4096         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4097         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4098         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4099         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4100         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4101         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4103         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4104         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4105         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4106         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4108 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4110         * s_catan_template.c: Copy of s_catan.c.
4111         * s_catanh_template.c: Copy of s_catanh.c.
4112         * s_ctan_template.c: Copy of s_ctan.c.
4113         * s_ctanh_template.c: Copy of s_ctanh.c.
4115 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4117         * math/Makefile (gen-libm-calls): Move
4118         casin, casinh, csin, csinh here.
4119         (libm-calls): Remove the above.
4121         * math/s_casin_template.c: Update using type-generic macros.
4122         * math/s_casinh_template.c: Likewise.
4123         * math/s_csin_template.c: Likewise.
4124         * math/s_csinh_template.c: Likewise.
4125         * math/k_casinh_template.c: Likewise.
4127         * math/s_casinf.c: Removed.
4128         * math/s_casin.c: Removed.
4129         * math/s_casinl.c: Removed.
4130         * math/s_casinh.c: Removed.
4131         * math/s_casinhf.c: Removed.
4132         * math/s_casinhl.c: Removed.
4133         * math/s_csin.c: Removed.
4134         * math/s_csinf.c: Removed.
4135         * math/s_csinl.c: Removed.
4136         * math/s_csinh.c: Removed.
4137         * math/s_csinhf.c: Removed.
4138         * math/s_csinhl.c: Removed.
4139         * math/k_casinh.c: Removed.
4140         * math/k_casinhf.c: Removed.
4141         * math/k_casinhl.c: Removed.
4143         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4144         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4145         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4146         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4148         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4149         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4150         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4151         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4152         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4153         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4154         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4155         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4157         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4158         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4159         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4160         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4162         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4163         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4164         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4165         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4167 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4169         * s_casin_template.c: Copy of s_casin.c.
4170         * s_casinh_template.c: Copy of s_casinh.c.
4171         * s_csin_template.c: Copy of s_csin.c.
4172         * s_csinh_template.c: Copy of s_csinh.c.
4173         * k_casinh_template.c: Copy of k_casinh.c.
4175 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4177         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4179 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4181         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4182         (mul_split) Remove, rename as mul_splitl, remove
4183         redundant float.h include, and include via mul_splitl.h
4185         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4186         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4187         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4188         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4189         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4191         * math/mul_splitl.h: New file.
4193         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4194         Move into mul_split.h, and remove redundant float.h include.
4196         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4197         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4198         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4199         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4201         * math/mul_split.h: New file.
4203 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4205         * math/Makefile (libm-gen-calls): Move
4206         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4207         (libm-calls): Remove above.
4209         * math/s_cacos_template.c: Update using type-generic macros.
4210         * math/s_cacosh_template.c: Likewise.
4211         * math/s_ccos_template.c: Likewise.
4212         * math/s_ccosh_template.c: Likwise.
4214         * math/s_cacosf.c: Removed.
4215         * math/s_cacos.c: Removed.
4216         * math/s_cacosl.c: Removed.
4217         * math/s_cacoshf.c: Removed.
4218         * math/s_cacosh.c: Removed.
4219         * math/s_cacoshl.c: Removed.
4220         * math/s_ccosf.c: Removed.
4221         * math/s_ccos.c: Removed.
4222         * math/s_ccosl.c: Removed.
4223         * math/s_ccoshf.c: Removed.
4224         * math/s_ccosh.c: Removed.
4225         * math/s_ccoshl.c: Removed.
4227         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4228         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4229         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4230         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4231         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4232         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
4234         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
4235         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
4236         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
4237         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
4239         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
4240         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4241         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4242         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4244 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4246         * s_cacos_template.c: Copy of s_cacos.c.
4247         * s_cacosh_template.c: Copy of s_cacosh.c.
4248         * s_ccos_template.c: Copy of s_ccos.c.
4249         * s_ccosh_template.c: Copy of s_ccosh.c.
4251 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4253         * stdlib/tst-strtod-round-skeleton.c:
4254         Refactored from tst-strtod-round.c.
4256         (L_): New macro to apply literal modifier.
4257         (FNPFX): New macro to select str or wcs prefix.
4258         (CHAR): New macro to choose wchar_t or char.
4259         (STRM): New macro to choose printf for tested character type.
4261         (STRTO): New macro to choose appropriate string -> real function.
4262         (FNPFXS): Stringitized version of FNPFX.
4263         (STR): Support for above macro.
4264         (STRX): Likewise.
4266         (TEST): Update with above macros.
4267         (test): Likewise.
4268         (GEN_ONE_TEST): Likewise.
4269         (test_in_one_mode): Likewise.
4271         * stdlib/tst-strtod-round.c: New file.
4272         * wcsmbs/tst-wcstod-round.c: New file.
4274         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
4275         (tst-wcstod-round): Add libm depencency for fesetround.
4277 2016-08-19  Zack Weinberg  <zackw@panix.com>
4279         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
4281 2016-08-18  Torvald Riegel  <triegel@redhat.com>
4283         [BZ #20477]
4284         * resolv/res_hconf.c (do_init): Use atomic access.
4285         * resolv/res_hconf.h: Add comments.
4286         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
4287         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
4288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4290 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4292         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4293         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
4294         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4295         Likewise.
4297 2016-08-18  Florian Weimer  <fweimer@redhat.com>
4299         [BZ #16907]
4300         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
4301         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
4302         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
4303         (__attribute__): Remove definition.
4305 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4307         * sysdeps/ieee754/ldbl-128/e_asinl.c:
4308         Remove unused sqrtl declaration.
4310 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4312         * math/Makefile: (gen-libm-templates.stmp): New rule.
4313         (libm-calls): Move carg conj cimag and cabs into ...
4314         (gen-libm-calls): New variable.
4315         (generated): Inform Make objects from gen-libm-calls
4316         may be generated.
4318         * sysdeps/generic/math-type-macros.h: New file.
4319         * sysdeps/generic/math-type-macros-float.h: Likewise.
4320         * sysdeps/generic/math-type-macros-double.h: Likewise.
4321         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4322         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
4323         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
4325         * math/cabs.c: Refactor into
4326         * math/cabs_template.c: new file.
4327         * math/cabsf.c: Removed.
4328         * math/cabsl.c: Removed.
4329         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
4330         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
4332         * math/carg.c: Refactor into
4333         * math/carg_template.c: new file.
4334         * math/cargf.c: Removed.
4335         * math/cargl.c: Removed.
4336         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
4337         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
4339         * math/conj.c: Refactor into
4340         * math/conj_template.c: new file.
4341         * math/conjf.c: Removed.
4342         * math/conjl.c: Removed.
4343         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
4344         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
4346         * math/cimag.c: Refactor into
4347         * math/cimag_template.c: new file.
4348         * math/cimagf.c: Removed.
4349         * math/cimagl.c: Removed.
4350         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4351         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4353         * math/cimag.c: Refactor into
4354         * math/cimag_template.c: new file.
4355         * math/cimagf.c: Removed.
4356         * math/cimagl.c: Removed.
4357         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4358         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4360 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4362         Reduce time to expected nptl/tst-once5 failure.
4363         * nptl/tst-once5.cc (TIMEOUT): Define.
4365 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4367         [BZ #20452]
4368         Avoid additional copies of objects in libc.a in static libraries.
4369         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
4370         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
4371         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
4372         rt-sysdep.
4373         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
4374         Add nptl-sysdep.
4375         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
4376         Add ptw-sysdep.
4377         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
4378         rt-sysdep.
4379         * sysdeps/unix/sysv/linux/alpha/Makefile
4380         (libpthread-shared-only-routines): Add ptw-sysdep,
4381         ptw-sigprocmask, ptw-rt_sigaction.
4382         * sysdeps/unix/sysv/linux/ia64/Makefile
4383         (librt-shared-only-routines): Add rt-sysdep.
4384         * sysdeps/unix/sysv/linux/i386/Makefile
4385         (libpthread-shared-only-routines): Add libc-do-syscall.
4386         * sysdeps/unix/sysv/linux/microblaze/Makefile
4387         (libpthread-shared-only-routines): Add sysdep.
4388         * sysdeps/unix/sysv/linux/powerpc/Makefile
4389         (librt-shared-only-routines): Add rt-sysdep.
4390         (libpthread-shared-only-routines): Add sysdep.
4391         * sysdeps/unix/sysv/linux/s390/Makefile
4392         (librt-shared-only-routines): Add rt-sysdep.
4393         * sysdeps/unix/sysv/linux/sparc/Makefile
4394         (librt-shared-only-routines): Add rt-sysdep.
4395         (libpthread-shared-only-routines): Add sysdep.
4396         * sysdeps/unix/sysv/linux/tile/Makefile
4397         (libpthread-shared-only-routines): Likewise.
4399 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4401         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
4402         Mask implicit bit out of unpacked value.
4403         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
4404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
4405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
4407         * sysdeps/sparc/fpu/fesetexcept.c: New file.
4409         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
4411         * sysdeps/s390/fpu/fesetexcept.c: New file.
4413         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4414         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4415         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4417         * sysdeps/mips/fpu/fesetexcept.c: New file.
4419         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4421         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4423         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4425         * sysdeps/arm/fesetexcept.c: New file.
4427         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4429         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4431         * math/fesetexcept.c: New file.
4432         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4433         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4434         * math/fenv.h: Define
4435         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4436         <bits/libc-header-start.h> instead of including <features.h>.
4437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4438         declaration.
4439         * manual/arith.texi (fesetexcept): Document function.
4440         * math/Versions (fesetexcept): New libm symbol at version
4441         GLIBC_2.25.
4442         * math/Makefile (libm-support): Add fesetexcept.
4443         (tests): Add test-fesetexcept and test-fesetexcept-traps.
4444         * math/test-fesetexcept.c: New file.
4445         * math/test-fesetexcept-traps.c: Likewise.
4446         * sysdeps/nacl/libm.abilist: Update.
4447         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4448         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4449         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4450         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4451         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4452         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4453         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4454         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4455         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4456         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4457         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4458         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4460         Likewise.
4461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4462         Likewise.
4463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4464         Likewise.
4465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4466         Likewise.
4467         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4468         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4469         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4470         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4471         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4473         Likewise.
4474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4475         Likewise.
4476         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4477         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4478         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4480 2016-08-16  Florian Weimer  <fweimer@redhat.com>
4482         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4483         New.
4484         (do_test): Apply default_stack_size_in_mb if not set.
4485         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4487 2016-08-15  Andreas Schwab  <schwab@suse.de>
4489         [BZ #20435]
4490         CVE-2016-6323
4491         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4492         as .cantunwind.
4494 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
4496         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4497         comment from fraiseexcpt.c.
4499         * math/test-fexcept.c (feraiseexcept_exact): New function.
4500         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4501         (test_except): Likewise.
4503 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
4505         [BZ #20455]
4506         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4507         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4508         to be restored.
4510         * math/test-fexcept-traps.c: New file.
4511         * math/test-fexcept.c: Likewise.
4512         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4513         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4514         macro.
4515         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4516         (EXCEPTION_SET_FORCES_TRAP): Likewise.
4518 2016-08-09  Torvald Riegel  <triegel@redhat.com>
4520         * include/atomic.h (atomic_fetch_and_relaxed,
4521         atomic_fetch_and_release, atomic_fetch_or_release,
4522         atomic_fetch_xor_release): New.
4524 2016-08-06  Christian Seiler  <christian@iwakd.de>
4526         [BZ #20444]
4527         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
4528         MACH_PORT_NULL.
4530 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4532         * math/s_fdim.c: Avoid alias renamed.
4533         * math/s_fdimf.c: Likewise.
4534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4535         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4536         Add s_fdimf-vis3, s_fdim-vis3.
4537         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4538         (CFLAGS-s_fdim-vis3.c): Likewise.
4539         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
4540         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4542 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4545         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4546         Remove s_fdimf-vis3, s_fdim-vis3.
4547         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
4548         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
4549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
4550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
4551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
4552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
4553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
4554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
4555         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
4556         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
4558 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4560         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
4561         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
4562         -Wa,-Av9a -mvis.
4564 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4566         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
4567         LIT() to individual constants in simple expressions
4568         after splitting on spaces.
4569         (_apply_lit): Rename replaced version, and use it to
4570         apply to what appears to be a token.
4572         * math/libm-test.inc: Fix many, many issues with
4573         spacing.
4575 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
4577         * math/math.h: Move comment about <bits/mathdef.h> definitions
4578         above inclusion of <bits/mathdef.h>.  Do not mention
4579         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
4581 2016-08-05  Torvald Riegel  <triegel@redhat.com>
4583         * include/atomic.h (atomic_exchange_relaxed): New.
4585 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
4587         * math/e_scalb.c: Do not include <fenv.h>.
4588         (invalid_fn): Do calculation resulting in NaN instead of raising
4589         FE_INVALID and returning a NaN explicitly.
4590         * math/e_scalbf.c: Do not include <fenv.h>.
4591         (invalid_fn): Do calculation resulting in NaN instead of raising
4592         FE_INVALID and returning a NaN explicitly.
4593         * math/e_scalbl.c: Do not include <fenv.h>.
4594         (invalid_fn): Do calculation resulting in NaN instead of raising
4595         FE_INVALID and returning a NaN explicitly.
4597 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
4599         * po/de.po: Updated from Translation Project.
4600         * po/fi.po: Likewise.
4601         * po/sv.po: Likewise.
4603 2016-08-04  Florian Weimer  <fweimer@redhat.com>
4605         [BZ #20452]
4606         Use sysdep.o from libc.a in static libraries.
4607         * sysdeps/unix/sysv/linux/i386/Makefile
4608         (libpthread-shared-only-routines): Add sysdep.
4609         (librt-shared-only-routines): Likewise.
4611 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4613         * math/tgmath.h (nextdown): Define if
4614         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
4615         (nextup): Likewise.
4617         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4618         macro.
4619         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4620         Document.
4621         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4622         Document macro.
4623         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
4624         (exp10f): Likewise.
4625         (exp10l): Likewise.
4626         * math/bits/mathcalls.h (exp10): Declare if
4627         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4629         * manual/arith.texi (nextup): Fix typo in last change.
4631 2016-08-03  Zack Weinberg  <zackw@panix.com>
4633         [BZ #19239]
4634         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
4635         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
4636         define major, minor, and makedev to issue deprecation warnings on use.
4637         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
4638         previously-activated deprecation warnings for these macros and prevent
4639         subsequent inclusions of this header from having any effect.
4640         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
4641         including <sys/sysmacros.h>, and undefine it again afterward.
4643 2016-08-03  Zack Weinberg  <zackw@panix.com>
4645         * sysdeps/generic/sys/sysmacros.h: Delete file.
4646         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
4647         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
4648         * bits/sysmacros.h: ... here; this encoding is now the generic
4649         encoding.  Now defines only the following macros:
4650         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
4651         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
4652         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
4654         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
4655         bits/sysmacros.h and the above new macros to generate the
4656         public implementations of major, minor, and makedev.
4657         * misc/tst-makedev.c: New test.
4658         * include/sys/sysmacros.h: New wrapper.
4660         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
4661         (routines): Add makedev.
4662         (tests): Add tst-makedev.
4663         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
4664         gnu_dev_makedev.
4665         * posix/Makefile (headers): Remove sys/sysmacros.h.
4666         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
4668         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
4669         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
4670         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4671         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4672         * sysdeps/unix/sysv/linux/arm/libc.abilist
4673         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4674         * sysdeps/unix/sysv/linux/i386/libc.abilist
4675         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4676         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4677         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4678         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4679         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4680         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4681         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4682         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4683         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4688         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4689         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4690         * sysdeps/unix/sysv/linux/sh/libc.abilist
4691         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4692         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4695         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4696         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4697         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4698         Add GLIBC_2.25.
4700         * include/features.h (__glibc_clang_prereq): New macro.
4701         * misc/sys/cdefs.h (__glibc_clang_has_extension)
4702         (__attribute_deprecated_msg__): New macros.
4704 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4706         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
4707         macro.
4708         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
4709         * manual/arith.texi (issignaling): Document as ISO from TS
4710         18661-1:2014.
4711         (nextup): Likewise.
4712         (nextupf): Likewise.
4713         (nextupl): Likewise.
4714         (nextdown): Likewise.
4715         (nextdownf): Likewise.
4716         (nextdownl): Likewise.
4717         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
4718         macro.
4719         * math/math.h: Define
4720         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4721         <bits/libc-header-start.h> instead of including <features.h>.
4722         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
4723         [__USE_GNU].
4724         * math/bits/mathcalls.h (nextdown): Declare if
4725         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
4726         (nextup): Likewise.
4727         (__issignaling): Likewise.
4729 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4731         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
4732         check, and remove __glibc_likely hint
4733         from FP_INFINITE check.
4734         * s_csinhf.c (__csinhf): Likewise.
4736         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
4737         hint from FP_INFINITE check.
4738         * s_csinhl.c (__csinhl): Likewise.
4740 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4742         * math/Makefile (libm-calls): Insert F placeholder into
4743         object names.  Move w_lgamma_compat* routines into
4744         (libm-compat-calls): New variable.
4745         (libm-compat-calls-ldouble-yes): New variable.
4746         (calls): Insert F placeholder.
4747         (generated): Redefine using new type-foreach macro call.
4748         (routines): Likewise.
4750         (types): New variable to hold a list of symbolic names
4751         for each type supported by the target machine.
4752         (libm-routines): Redefine using new types variable.
4753         (type-foreach): macro to replace fooF with the
4754         appropriately suffixed foo for each types.
4756         (type-ldouble-suffix): New variable.
4757         (type-ldouble-routines): Likewise.
4758         (type-ldouble-yes): Likewise.
4759         (type-double-suffix): Likewise.
4760         (type-double-routines): Likewise.
4761         (type-float-suffix): Likewise.
4762         (type-float-routines): Likewise.
4764         (dbl-only-routines): Remove.
4765         (long-c-yes): Likewise.
4766         (long-m-routines): Likewise.
4767         (long-m-support): Likewise.
4768         (long-m-yes): Likewise.
4769         (test-longdouble-yes): Likewise.
4771         (test-float.o): Simplify by increasing the scope of the
4772         recipe which adds libm-test.stmp to the vector types.
4773         (test-ifloat.o): Likewise.
4774         (test-float-finite.o): Likewise.
4775         (test-double.o): Likewise
4776         (test-idouble.o): Likewise.
4777         (test-double-finite.o): Likewise.
4778         (test-ldouble.o): Likewise
4779         (test-ildoubl.o): Likewise.
4780         (test-ldouble-finite.o): Likewise.
4782         (libm-tests): Redefine type tests using foreach and the
4783         list of types in types.
4785         (CPPFLAGS-test-ildoubl.c): Rename to
4786         (CPPFLAGS-test-ildouble.c): New variable
4788         * math/test-ildoubl.c: Rename to
4789         * math/test-ildouble.c: New file.
4791 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4793         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
4794         Use fabsl instead of fabs.
4795         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
4796         Likewise.
4797         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
4798         Add long double suffix to constant to ensure proper
4799         promotion to long double.
4801 2016-08-03  Tom Tromey  <tom@tromey.com>
4803         [BZ #20311]
4804         * nptl_db/Makefile (headers): Add proc_service.h.
4805         * nptl_db/proc_service.h: Add include guard.  Use
4806         __BEGIN/__END_DECLS.
4807         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
4808         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
4809         arguments.
4812 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4814         [BZ #17730]
4815         Avoid using memalign for TCB allocations.
4816         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
4817         (_dl_allocate_tls_storage): Use malloc and manual alignment.
4818         Avoid alignment gap in the TLS_DTV_AT_TP case.
4819         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
4820         determine the pointer to free.
4821         * nptl/tst-tls3-malloc.c: New test.
4822         * nptl/Makefile (tests): Add it.
4823         (tst-tls3-malloc): Link with libdl, libpthread.
4824         (LDFLAGS-tst-tls3-malloc): Set.
4825         (tst-tls3-malloc.out): Depend on DSO used in test.
4827 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4829         [BZ #17730]
4830         Avoid using memalign for TLS allocations.
4831         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
4832         is_static member with to_free member.
4833         (union dtv): Use struct dtv_pointer.
4834         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
4835         dtv_pointer instead of is_static.
4836         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
4837         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
4838         instead of val.
4839         (allocate_dtv_entry): New function.
4840         (allocate_and_init): Return struct dtv_pointer.  Call
4841         allocate_dtv_entry instead of __libc_memalign.
4842         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
4843         instead of val.
4844         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
4845         instead of is_static.  Adjust call to allocate_and_init.
4846         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
4847         struct dtv_pointer instead of val.
4849 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4851         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
4852         (MALLOC_ALIGN_MASK): Move ...
4853         * malloc/malloc-internal.h: ... to here.
4854         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
4856 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4858         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4859         (UDP_ENCAP_GTP1U): Likewise.
4861         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
4862         (PF_MAX): Update value.
4863         (AF_QIPCRTR): New macro.
4865 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4867         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
4868         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4869         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4871         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4872         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4873         s_truncf-vis3, s_trunc-vis3.
4874         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4875         (CFLAGS-s_ceil-vis3.c): Likewise.
4876         (CFLAGS-s_floorf-vis3.c): Likewise.
4877         (CFLAGS-s_floor-vis3.c): Likewise.
4878         (CFLAGS-s_truncf-vis3.c): Likewise.
4879         (CFLAGS-s_trunc-vis3.c): Likewise.
4880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
4881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
4883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4887         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4888         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4889         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4890         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4891         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4893 2016-08-02  David S. Miller  <davem@davemloft.net>
4895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4896         (__nearbyint_vis3): Don't check for sNaN before float register is
4897         loaded with the incoming argument.
4898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4899         (__nearbyintf_vis3): Likewise.
4900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4901         Likewise.
4902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4903         Likewise.
4905         * string/test-strncmp.c (do_test_limit): Make sure the test data
4906         stream is aligned as required for the type "CHAR".
4907         (do_test): Likewise.
4909 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4911         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4912         by beq instructions jumping to the end of the function.
4913         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4914         clobber list. Use "i" constraint instead of "X".
4915         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4916         of "X".
4918 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4920         * bits/libc-header-start.h: New file.
4921         * Makefile (headers): Add bits/libc-header-start.h.
4922         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4923         (__GLIBC_USE): New macro.
4924         * libio/stdio.h: Define
4925         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4926         <bits/libc-header-start.h> instead of including <features.h>.
4927         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4928         (open_memstream): Likewise.
4929         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4930         (__asprintf): Likewise.
4931         (asprintf): Likewise.
4932         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4933         (getdelim): Likewise.
4934         (getline): Likewise.
4935         * string/string.h: Define
4936         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4937         <bits/libc-header-start.h> instead of including <features.h>.
4938         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4939         (strndup): Likewise.
4940         * wcsmbs/wchar.h: Define
4941         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4942         <bits/libc-header-start.h> instead of including <features.h>.
4943         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4944         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4946 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4948         Support linking against compatibility symbols, for use in tests.
4949         * include/libc-symbols.h (symbol_version_reference): New macro.
4950         (symbol_version): Use it.
4951         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4952         (compat_symbol): Use compat_symbol_reference.
4953         (compat_symbol_1, compat_symbol_2): Remove.
4954         (compat_symbol_reference, compat_symbol_reference_1)
4955         (compat_symbol_reference_2): New macro.  Use
4956         symbol_version_reference.
4958 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4960         [BZ #19469]
4961         * malloc/Makefile (CPPFLAGS): Compile tests with
4962         -DTEST_NO_MALLOPT.
4963         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4965 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4967         [BZ #20033]
4968         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4969         finite version.
4970         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4971         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4972         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4973         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4974         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4975         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4976         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4977         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4978         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4979         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4980         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4981         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4982         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4983         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4984         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4985         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4986         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4987         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4988         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4989         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4990         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4991         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4992         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4993         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4994         in zero power.
4996 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4998         [BZ #20370]
4999         * malloc/arena.c (get_free_list): Update comment.  Assert that
5000         arenas on the free list have no attached threads.
5001         (remove_from_free_list): New function.
5002         (reused_arena): Call it.
5004 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5006         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5007         when it is a NaN.
5008         [_IEEE_FP_INEXACT] Remove.
5009         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5010         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5011         when it is a NaN.
5012         [_IEEE_FP_INEXACT] Remove.
5013         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5014         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5015         when it is a NaN.
5016         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5017         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5018         when its absolute value is greater than 0x1.0p52.
5019         [_IEEE_FP_INEXACT] Remove.
5020         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5021         when its absolute value is greater than 0x1.0p23.
5022         [_IEEE_FP_INEXACT] Remove.
5024 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5026         * version.h (RELEASE): Set to "development"
5027         (VERSION): Set to 2.24.90.
5028         * NEWS: Add 2.25 section.
5030         * version.h (RELEASE): Set to "stable"
5031         (VERSION): Set to 2.24.
5032         * include/features.h (__GLIBC_MINOR__): Set to 24.
5034         * NEWS: Add 2.24 fixed bugs.
5035         * po/libc.pot: Regenerate.
5037 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5040         [$(subdir) = math] (libm-sysdep_routines): Remove.
5041         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5042         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5043         s_truncf-vis3, s_trunc-vis3.
5044         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5046         file.
5047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5070         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5072         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5073         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5074         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5075         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5076         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5080         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5081         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5082         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5083         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5084         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5085         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5086         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5087         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5088         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5089         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5091 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5093         [BZ #20384]
5094         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5095         test-double-libmvec-sincos-avx-main.o,
5096         test-double-libmvec-sincos-avx2-main.o,
5097         test-double-libmvec-sincos-main.o,
5098         test-float-libmvec-sincosf-avx-main.o,
5099         test-float-libmvec-sincosf-avx2-main.o and
5100         test-float-libmvec-sincosf-main.o.
5101         test-float-libmvec-sincosf-avx512-main.o.
5102         ($(objpfx)test-double-libmvec-sincos): Also link with
5103         $(objpfx)test-double-libmvec-sincos-main.o.
5104         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5105         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5106         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5107         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5108         ($(objpfx)test-float-libmvec-sincosf): Also link with
5109         $(objpfx)test-float-libmvec-sincosf-main.o.
5110         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5111         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5112         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5113         test-double-libmvec-sincos-avx512-main.o and
5114         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5115         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5116         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5117         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5118         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5119         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5120         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5121         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5122         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5123         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5124         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5125         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5126         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5127         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5128         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5129         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5130         -DREQUIRE_AVX2.
5131         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5132         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5133         -DREQUIRE_AVX512F.
5134         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5135         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5136         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5137         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5138         file.
5139         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5140         Likewise.
5141         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5142         Likewise.
5143         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5144         Likewise.
5145         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5146         Likewise.
5147         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5148         Likewise.
5149         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5150         Likewise.
5151         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5152         Likewise.
5154 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5156         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5158 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5160         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5161         and typo in a comment about AT_HWCAP entry.
5163 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5165         * sysdeps/aarch64/libm-test-ulps: Updated.
5167 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5169         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5170         of r13 as it is not restored in mvcle case.
5172 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5174         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5175         Rename "ret" to "__ret".
5176         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5177         inline_syscall5, inline_syscall6): Likewise.
5179 2016-07-19   Will Newton  <will.newton@gmail.com>
5181         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5182         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5183         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5184         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5185         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5187 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5189         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5190         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5191         -mfpmath=387 with $(rtld-CFLAGS).
5192         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5193         $(rtld-CFLAGS).
5195 2016-07-18   Ross Burton  <ross.burton@intel.com>
5196              Khem Raj  <raj.khem@gmail.com>
5198         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5199         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5200         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5201         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5202         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5203         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5204         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5205         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5206         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5207         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5208         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5209         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5210         R_METAG_TLS_DTPOFF): New.
5212 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5213             Matt Clay  <mclay@lycos.com>
5215         [BZ #20357]
5216         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5217         to call __mpsin/__mpcos and to negate values.
5218         * math/auto-libm-test-in: Add test.
5219         * math/auto-libm-test-out: Regenerate.
5221 2016-07-18  Zack Weinberg  <zackw@panix.com>
5223         * grp/Makefile: Don't install the internal header grp-merge.h.
5225 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5227         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5229 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5231         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5233 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5235         [BZ #15368]
5236         * sysdeps/unix/sysv/linux/nptl-signals.h
5237         (__nptl_clear_internal_signals): New function.
5238         (__libc_signal_block_all): Likewise.
5239         (__libc_signal_block_app): Likewise.
5240         (__libc_signal_restore_set): Likewise.
5241         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
5242         implementation.
5243         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
5244         the cached pid/tid value in pthread structure.
5246 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
5248         [BZ #20347]
5249         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5251 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5253         [BZ #20348]
5254         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
5255         preadv64, pwrite64 and pwritev64.
5257 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5259         [BZ #20350]
5260         * posix/tst-preadwrite.c: Renamed to ...
5261         * posix/tst-preadwrite-common.c: This.
5262         (PREAD): Removed.
5263         (PWRITE): Likewise.
5264         (STRINGIFY): Likewise.
5265         (STRINGIFY2): Likewise.
5266         (do_prepare): Make it static and remove function arguments.
5267         (do_test): Likewise.
5268         (PREPARE): Updated.
5269         (TEST_FUNCTION): New.
5270         (name): Make it static.
5271         (fd): Likewise.
5272         (do_prepare): Use create_temp_file.
5273         (do_test): Renamed to ...
5274         (do_test_with_offset): This.  Make it static and accept offset.
5275         Properly check return value of PWRITE and PREAD.  Return bytes
5276         read.  Don't close fd nor unlink name.
5277         * posix/tst-preadwrite.c: Rewrite.
5278         * posix/tst-preadwrite64.c: Likewise.
5280 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5282         [BZ #20309]
5283         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
5284         -mtls-dialect=gnu2 works.
5285         * configure: Regenerated.
5286         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
5287         (tests): Add tst-gnu2-tls1.
5288         (modules-names): Add tst-gnu2-tls1mod.
5289         ($(objpfx)tst-gnu2-tls1): New.
5290         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
5291         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
5292         * elf/tst-gnu2-tls1.c: New file.
5293         * elf/tst-gnu2-tls1mod.c: Likewise.
5294         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
5295         bytes for push in the PLT entry to align the stack.
5297 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5299         [BZ #20349]
5300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
5302 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5304         [BZ #18707]
5305         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5306         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
5308 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5310         * sysdeps/unix/sysv/linux/sysdep.h
5311         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5312         guards.
5313         * misc/tst-preadvwritev-common.c: New file.
5314         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
5315         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
5316         a check for files larger than 2GB.
5318         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5319         (__ASSUME_OFF_DIFF_OFF64): Remove define.
5320         * sysdeps/unix/sysv/linux/pread.c
5321         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
5322         __OFF_T_MATCHES_OFF64_T.
5323         * sysdeps/unix/sysv/linux/pread64.c
5324         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
5325         * sysdeps/unix/sysv/linux/preadv.c
5326         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
5327         * sysdeps/unix/sysv/linux/preadv64.c
5328         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
5329         * sysdeps/unix/sysv/linux/pwrite.c
5330         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
5331         * sysdeps/unix/sysv/linux/pwrite64.c
5332         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
5333         * sysdeps/unix/sysv/linux/pwritev.c
5334         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
5335         * sysdeps/unix/sysv/linux/pwritev64.c
5336         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
5338 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
5340         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5341         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
5343 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5345         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
5347 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5349         [BZ #20240]
5350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5351         (CFLAGS-s_modf-ppc32.c): New variable.
5352         (CFLAGS-s_modff-ppc32.c): Likewise.
5353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5354         (CFLAGS-s_modf-ppc64.c): Likewise.
5355         (CFLAGS-s_modff-ppc64.c): Likewise.
5357 2016-07-07  Andreas Schwab  <schwab@suse.de>
5359         [BZ #20263]
5360         * nptl/tst-robust10.c: New test.
5361         * nptl/Makefile (tests): Add tst-robust10.
5363 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
5365         [BZ #20263]
5366         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
5368 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5370         * sysdeps/s390/linkmap.h (struct link_map_machine):
5371         Remove member gotplt and add member jmprel.
5372         * sysdeps/s390/s390-32/dl-machine.h
5373         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
5374         instead of gotplt with &got[3].
5375         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
5376         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5378 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
5380         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
5382 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5384         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
5385         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
5386         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5387         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
5388         * libio/vtables.c (_IO_vtable_check)
5389         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5390         * libio/libioP.h (IO_set_accept_foreign_vtables)
5391         [!PTR_MANGLE]: Do not call PTR_MANGLE.
5393 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
5395         [BZ #20314]
5396         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
5397         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
5398         $(common-objpfx)cmath.
5399         ($(common-objpfx)cstdlib): New target.
5400         ($(common-objpfx)cmath): Likewise.
5402 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
5404         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
5406 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5408         [BZ #20327]
5409         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
5410         are not part of the string.
5412 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5414         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5415         * nptl/tst-cancel4-common.h (fifoname): New variable.
5416         (fifofd): Likewise.
5417         (cl_fifo): New function.
5418         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5419         SIGINT.
5420         (tf_open): Add early cancel test.
5422 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5424         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5426 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5428         * sysdeps/generic/ldsodefs.h
5429         (dl_symbol_visibility_binds_local_p): New inline function.
5430         * elf/dl-addr.c (determine_info): Treat hidden and internal
5431         symbols as local.
5432         * elf/dl-lookup.c (do_lookup_x): Likewise.
5433         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5435 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
5437         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5438         invalid exception for a sNaN input.
5439         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5440         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5441         (__nearbyint_vis3): Likewise
5442         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5443         (__nearbyintf_vis3): Likewise
5444         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5445         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5446         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5447         Likewise.
5448         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5449         Likewise.
5451 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
5453         [BZ #20139]
5454         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5455         (HAVE_AVX512DQ_ASM_SUPPORT): This.
5456         * sysdeps/x86_64/configure.ac: Require assembler from binutils
5457         2.24 or above.
5458         (HAVE_AVX512_ASM_SUPPORT): Removed.
5459         (HAVE_AVX512DQ_ASM_SUPPORT): New.
5460         * sysdeps/x86_64/configure: Regenerated.
5461         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5462         check unconditional.
5463         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5464         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5465         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5466         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5467         Likewise.
5468         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5469         Likewise.
5470         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5471         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5472         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5473         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5474         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5475         Likewise.
5476         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5477         Likewise.
5478         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5479         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5480         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5481         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5482         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5483         Likewise.
5484         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5485         Likewise.
5486         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5487         Likewise.
5488         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5489         Likewise.
5490         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5491         Likewise.
5492         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5493         Likewise.
5494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5495         Likewise.
5496         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5497         Likewise.
5498         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5499         Likewise.
5500         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5501         Likewise.
5502         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5503         Likewise.
5505 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
5507         [BZ #20024]
5508         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5509         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5510         of this implementation of vector function.
5511         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5512         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5514         Likewise.
5515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5517         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
5518         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
5519         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
5520         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
5521         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5522         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
5523         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
5524         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
5525         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
5526         for testing vector sincos with fixed ABI.
5527         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5528         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5529         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5530         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5531         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5532         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5533         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5534         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
5535         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
5536         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
5537         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
5538         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
5539         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
5540         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
5541         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5542         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5544 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5546         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5548 2016-06-30  Anton Blanchard  <anton@samba.org>
5550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5551         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
5552         s_sinf-ppc64.
5553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
5554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5556         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5558 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5561         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5562         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
5563         e_expf-ppc64.
5564         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
5565         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
5566         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
5567         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
5569 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
5571         [BZ #20277]
5572         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
5573         when SHARED is defined.
5575 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5577         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
5578         (index_arch_Prefer_ERMS): Likewise.
5579         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
5580         __memcpy_erms for Prefer_ERMS.
5581         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5582         (__memmove_erms): Enabled for libc.a.
5583         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
5584         __memmove_erms or Prefer_ERMS.
5585         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
5586         __mempcpy_erms for Prefer_ERMS.
5587         * sysdeps/x86_64/multiarch/memset.S (memset): Return
5588         __memset_erms for Prefer_ERMS.
5590 2016-06-30  Andreas Schwab  <schwab@suse.de>
5592         [BZ #20262]
5593         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
5594         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
5595         of memory.
5597 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
5599         [BZ #18645]
5600         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
5601         (test-extras): Add tst-cleanupx4aux.
5602         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
5603         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
5604         tst-cleanupx4aux.o.
5605         * nptl/tst-cleanupx4aux.c: New file.
5607 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5609         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5611 2016-06-29  Andreas Schwab  <schwab@suse.de>
5613         [BZ #20260]
5614         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
5615         address before the beginning of the string as an integer to avoid
5616         array-bounds warning.
5618 2016-06-28  Richard Henderson  <rth@redhat.com>
5620         * elf/elf.h (EM_BPF): New.
5621         (EM_NUM): Update.
5622         (R_BPF_NONE, R_BPF_MAP_FD): New.
5624         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
5625         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
5626         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
5627         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
5628         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
5629         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
5630         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
5631         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
5632         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
5633         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
5634         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
5635         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
5636         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
5637         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
5638         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
5639         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
5640         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
5641         (EM_NUM): Update.
5643 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
5645         [BZ #18960]
5646         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
5647         Set _nl_current_LC_CATEGORY_used to two instead of one.
5649 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
5651         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
5652         (do_test): ... this.
5653         (TEST_FUNCTION): New macro.
5654          Include test-skeleton.c.
5655         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
5656         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
5658 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
5660         [BZ #15479]
5661         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
5662         floating-point environment rather than just control word.
5663         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5664         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
5665         floating-point environment, with "invalid" exceptions merged in,
5666         rather than just control word.
5667         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
5668         * math/libm-test.inc (trunc_test_data): Do not allow spurious
5669         "inexact" exceptions.
5671         [BZ #15479]
5672         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
5673         floating-point environment rather than just control word.
5674         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5675         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
5676         floating-point environment, with "invalid" exceptions merged in,
5677         rather than just control word.
5678         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
5679         * math/libm-test.inc (floor_test_data): Do not allow spurious
5680         "inexact" exceptions.
5682         [BZ #15479]
5683         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
5684         floating-point environment rather than just control word.
5685         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5686         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
5687         floating-point environment, with "invalid" exceptions merged in,
5688         rather than just control word.
5689         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
5690         * math/libm-test.inc (ceil_test_data): Do not allow spurious
5691         "inexact" exceptions.
5693 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
5695         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
5696         __libc_vfork.
5697         (__vfork) [IS_IN (libc)]: Remove alias.
5698         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
5699         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5700         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5702 2016-06-24  Torvald Riegel  <triegel@redhat.com>
5704         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
5705         of atomic_compare_and_exchange_bool_rel.
5706         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5707         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
5708         catomic_compare_and_exchange_bool_rel): Remove.
5709         * sysdeps/aarch64/atomic-machine.h
5710         (atomic_compare_and_exchange_bool_rel): Likewise.
5711         * sysdeps/alpha/atomic-machine.h
5712         (atomic_compare_and_exchange_bool_rel): Likewise.
5713         * sysdeps/arm/atomic-machine.h
5714         (atomic_compare_and_exchange_bool_rel): Likewise.
5715         * sysdeps/mips/atomic-machine.h
5716         (atomic_compare_and_exchange_bool_rel): Likewise.
5717         * sysdeps/microblaze/atomic-machine.h
5718         ( __arch_compare_and_exchange_bool_8_rel,
5719         __arch_compare_and_exchange_bool_16_rel): Likewise.
5720         * sysdeps/powerpc/atomic-machine.h
5721         ( __arch_compare_and_exchange_bool_8_rel,
5722         __arch_compare_and_exchange_bool_16_rel): Likewise.
5723         * sysdeps/powerpc/powerpc32/atomic-machine.h
5724         ( __arch_compare_and_exchange_bool_32_rel,
5725         __arch_compare_and_exchange_bool_64_rel): Likewise.
5726         * sysdeps/powerpc/powerpc64/atomic-machine.h
5727         ( __arch_compare_and_exchange_bool_32_rel,
5728         __arch_compare_and_exchange_bool_64_rel): Likewise.
5729         * sysdeps/tile/atomic-machine.h
5730         (atomic_compare_and_exchange_bool_rel): Likewise.
5732 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
5734         [BZ #20296]
5735         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
5736         when either argument is a NaN.
5737         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5738         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
5740         * math/libm-test.inc (snan_value_ld): New macro.
5741         (isgreater_test_data): Add sNaN tests.
5742         (isgreaterequal_test_data): Likewise.
5743         (isless_test_data): Likewise.
5744         (islessequal_test_data): Likewise.
5745         (islessgreater_test_data): Likewise.
5746         (isunordered_test_data): Likewise.
5747         (nextafter_test_data): Likewise.
5748         (nexttoward_test_data): Likewise.
5749         (remainder_test_data): Likewise.
5750         (remquo_test_data): Likewise.
5751         (significand_test_data): Likewise.
5752         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
5754 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5756         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
5757         environment macros are defined.
5758         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
5760 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5762         [BZ #20191]
5763         Implement vtable verification in libio.
5764         * Makerules (shlib.lds): Place __libc_IO_vtables section.
5765         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
5766         * debug/vdprintf_chk.c (__vdprintf_chk): Call
5767         _IO_new_file_init_internal instead of _IO_file_init.
5768         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
5769         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
5770         * libio/Makefile (routines): Add vtables.
5771         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
5772         (_IO_init): Remove, not for internal use.
5773         (_IO_init_internal): Declare, internal replacement for _IO_init.
5774         (_IO_file_init): Remove, not for internal use.
5775         (_IO_new_file_init): Remove, not for internal use.
5776         (_IO_new_file_init_internal): Declare, internal replacement for
5777         _IO_new_file_init.
5778         (_IO_old_file_init): Remove, not for internal use.
5779         (_IO_old_file_init_internal): Declare, internal replacement for
5780         _IO_old_file_init.
5781         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
5782         internal use.
5783         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
5784         Declare.
5785         (libio_vtable): New macro.
5786         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
5787         functions.
5788         * libio/fileops.c (_IO_new_file_init_internal): Rename from
5789         _IO_new_file_init.
5790         (_IO_new_file_init): New externally visible wrapper which disables
5791         vtable verification.
5792         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
5793         Define as vtables.
5794         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
5795         (_IO_init): New externally visible wrapper which disables
5796         vtable verification.
5797         * libio/iofdopen.c (_IO_new_fdopen): Call
5798         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
5799         comment.
5800         * libio/iofopen.c (__fopen_internal): Call
5801         _IO_new_file_init_internal instead of _IO_file_init.
5802         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
5803         Define as vtables.
5804         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
5805         _IO_new_file_init_internal instead of _IO_file_init.
5806         * libio/iopopen.c (_IO_new_popen): Likewise.
5807         (_IO_proc_jumps): Define as vtable.
5808         * libio/iovdprintf.c (_IO_vdprintf): Call
5809         _IO_new_file_init_internal instead of _IO_file_init.
5810         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
5811         (__open_memstream): Call _IO_init_internal instead of _IO_init.
5812         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
5813         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
5814         _IO_old_file_init.
5815         (_IO_old_file_init): New externally visible wrapper which disables
5816         vtable verification.
5817         (_IO_old_file_jumps): Define as vtable.
5818         * libio/oldiofdopen.c (_IO_old_fdopen): Call
5819         _IO_old_file_init_internal instead of _IO_old_file_init.
5820         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5821         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5822         (_IO_old_proc_jumps): Define as vtable.
5823         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
5824         Define as vtables.
5825         * libio/vtables.c: New file.
5826         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
5827         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
5828         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
5829         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
5830         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
5831         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
5832         instead of _IO_init.
5834 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5836         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
5838 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5840         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
5841         potentially unused.
5843 2016-06-22  Florian Weimer  <fweimer@redhat.com>
5845         * test-skeleton.c (write_message): New function.
5846         * malloc/tst-mallocfork2.c (write_message): Remove.
5847         * debug/tst-longjmp_chk2.c (write_indented): New function.
5848         (write_message): Remove.
5849         (stackoverflow_handler): Call write_indented.
5851 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
5853         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
5854         "inexact" exceptions after fnstenv.
5855         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5856         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5857         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5859 2015-06-22  Zack Weinberg  <zackw@panix.com>
5861         * sysdeps/generic/bits/hwcap.h: Moved to ...
5862         * bits/hwcap.h: Here.
5864 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
5866         * sysdeps/aarch64/memcpy.S (memcpy):
5867         Further tuning for performance.
5869 2016-06-21  Florian Weimer  <fweimer@redhat.com>
5871         [BZ #20284]
5872         * malloc/arena.c (reused_arena): Do not return NULL if we start
5873         out with a non-corrupted arena.
5875 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5877         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
5878         * misc/tst-preadvwritev.c: New file.
5879         * misc/tst-preadvwritev64.c: Likewise.
5880         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
5881         usage.
5882         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
5883         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5884         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5885         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5887 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5889         [BZ #19654]
5890         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5891         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5892         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5893         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5894         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5895         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5896         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5897         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5898         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5899         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5900         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5901         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5902         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5903         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5904         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5905         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5906         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5907         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5908         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5909         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5910         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5911         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5912         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5913         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5914         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5915         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5917 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5919         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5920         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5922 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5924         * sysdeps/aarch64/memcpy.S (memcpy):
5925         Rewrite of optimized memcpy and memmove.
5926         * sysdeps/aarch64/memmove.S (memmove): Remove
5927         memmove code (merged into memcpy.S).
5929 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5931         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5932         * sysdeps/generic/dl-dtv.h: New file.
5933         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5934         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5935         (dtv_t): Remove.
5936         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5937         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5938         (dtv_t): Remove.
5939         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5940         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5941         (dtv_t): Remove.
5942         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5943         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5944         (dtv_t): Remove.
5945         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5946         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5947         (dtv_t): Remove.
5948         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5949         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5950         (dtv_t): Remove.
5951         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5952         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5953         (dtv_t): Remove.
5954         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5955         (dtv_t): Remove.
5956         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5957         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5958         (dtv_t): Remove.
5959         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5960         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5961         (dtv_t): Remove.
5962         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5963         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5964         (dtv_t): Remove.
5965         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5966         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5967         (dtv_t): Remove.
5968         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5969         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5970         (dtv_t): Remove.
5971         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5972         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5973         (dtv_t): Remove.
5974         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5975         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5976         (dtv_t): Remove.
5977         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5978         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5979         (dtv_t): Remove.
5981 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5983         Revert symbol poisoning of  __malloc_initialize_hook.
5984         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5985         poisoning.
5986         * malloc/Makefile: Remove un-poisoning.
5987         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5988         instead of old__malloc_initialize_hook.
5989         * malloc/malloc-hooks.h: Likewise.
5990         * malloc/malloc.c: Likewise.
5991         * malloc/mcheck-init.c: Likewise.
5993 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5995         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5997 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5999         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6000         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6001         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6002         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6004 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6006         * NEWS: Mention addition of nextup and nextdown.
6007         * manual/arith.texi: Document nextup and nextdown.
6008         * manual/libm-err-tab.pl: Add nextup and nextdown.
6009         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6010         * math/Versions (libm): Add GLIBC_2.24.
6011         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6012         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6013         Add new test.
6014         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6015         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6016         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6017         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6018         (nextup_test_data): Likewise.
6019         (nextdown_test_data): Likewise.
6020         * math/s_nextdown.c: New file.
6021         * math/s_nextdownf.c: Likewise.
6022         * math/s_nextdownl.c: Likewise.
6023         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6024         F(nextup): New function.
6025         F(nextdown): Likewise.
6026         * math/tgmath.h: Add nextup and nextdown.
6027         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6028         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6029         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6030         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6031         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6032         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6033         Add nextup and nextdown.
6034         (CFLAGS-nldbl-nextup.c): New variable.
6035         (CFLAGS-nldbl-nextdown.c): Likewise.
6036         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6037         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6038         * sysdeps/nacl/libm.abilist: Update.
6039         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6040         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6041         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6042         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6043         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6044         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6045         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6046         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6047         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6048         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6049         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6050         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6053         Likewise.
6054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6056         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6057         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6058         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6063         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6064         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6065         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6068 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6070         * manual/pattern.texi: Fix typos & grammar errors.
6072 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6074         * manual/search.texi: Fix typos & grammar errors.
6076 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6078         * manual/message.texi: Fix typos & grammar errors.
6080 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6082         * manual/contrib.texi: Fix spelling typos.
6083         * manual/crypt.texi: Likewise.
6084         * manual/filesys.texi: Likewise.
6085         * manual/locale.texi: Likewise.
6086         * manual/message.texi: Likewise.
6087         * manual/nss.texi: Likewise.
6088         * manual/string.texi: Likewise.
6090 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6092         * manual/locale.texi: Fix typos & grammar errors.
6094 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6096         * manual/charset.texi: Fix typos & grammar errors.
6098 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6100         * manual/string.texi: Fix typos.
6102 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6104         * manual/ctype.texi: Fix typos.
6106 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6108         * manual/memory.texi: Fix various typos & grammar errors.
6110 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6112         [BZ #20255]
6113         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6114         * math/libm-test.inc (fdim_test_data): Add another test.
6116         [BZ #6796]
6117         [BZ #20255]
6118         [BZ #20256]
6119         * math/s_fdim.c: Include <math_private.h>.
6120         (__fdim): Use math_narrow_eval on result.
6121         * math/s_fdimf.c: Include <math_private.h>.
6122         (__fdimf): Use math_narrow_eval on result.
6123         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6124         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6125         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6126         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6127         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6128         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6129         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6130         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6131         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6132         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6133         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6134         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6135         overflow.  Add sNaN tests.
6137         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6138         fpclassify.
6139         * math/s_fdimf.c (__fdimf): Likewise.
6140         * math/s_fdiml.c (__fdiml): Likewise.
6142 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6144         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6145         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6147         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6148         ifunc'ed strcasecmp/strncasecmp.
6149         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6150         [EALIGN]: Removed.
6151         [END]: Likewise.
6152         [__strcasecmp]: Define instead of the above to control symbol name.
6153         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6154         for __strcasecmp_power8.
6155         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6156         for __strncasecmp_power8.
6157         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6158         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6159         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6160         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6161         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6162         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6164 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6166         [BZ #20252]
6167         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6168         arguments when second argument is a NaN.
6169         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6170         qNaN tests.
6172         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6173         (conj_test_data): Likewise.
6174         (copysign_test_data): Likewise.
6175         (creal_test_data): Likewise.
6176         (fma_test_data): Likewise.
6177         (fmod_test_data): Likewise.
6179         [BZ #20250]
6180         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6181         itself.
6182         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6183         zero input to itself.
6184         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6185         Likewise.
6186         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6187         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6188         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6189         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6190         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6192 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6194         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6195         * nptl/tst-cancel4-common.c: New file.
6196         * nptl/tst-cancel4-common.h: Likewise.
6197         * nptl/tst-cancel4.c: Move common definitions to
6198         tst-cancel4-common.{c,h} file.
6199         * nptl/tst-cancel4_1.c: New test.
6200         * nptl/tst-cancel4_2.c: New test.
6202 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6204         [BZ #20248]
6205         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6206         (write_message): New function.
6207         (stackoverflow_handler): Call it instead of printf, to avoid
6208         excessive stack usage by printf.
6209         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6211 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6213         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6214         (prio_inherit_missing): Remove define.
6215         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6216         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6218         Likewise.
6219         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6220         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6221         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6222         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6223         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6224         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6226 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6228         [BZ #19670]
6229         [BZ #19672]
6231         * io/test-lfs.c (do_prepare): Use xmalloc.
6232         * io/tst-fcntl.c (do_prepare): Likewise.
6233         * libio/tst-fopenloc.c (do_bz17916): Likewise.
6234         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
6235         * login/tst-utmp.c (do_prepare): Likewise.
6236         * posix/tst-exec.c (do_prepare): Likewise.
6237         * posix/tst-pathconf.c (prepare): Likewise.
6238         * posix/tst-spawn.c (do_prepare): Likewise.
6239         * posix/tst-truncate.c (do_prepare): Likewise.
6240         * rt/tst-aio.c (do_prepare): Likewise.
6241         * rt/tst-aio64.c (do_prepare): Likewise.
6243 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6245         [BZ #20237]
6246         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
6247         (get*ent): Set entidx to NULL during initialization.  If entidx is
6248         NULL, start iteration from the beginning.
6250 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6252         * malloc/malloc.c (musable): Return correct size for dumped fake
6253         mmapped chunk.
6255 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6257         [BZ #20222]
6258         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
6259         (_IO_cookie_write): Likewise.
6260         (_IO_cookie_seek): Likewise.
6261         (_IO_cookie_close): Likewise.
6262         (_IO_old_cookie_seek): Likewise.
6263         (set_callbacks): New function.
6264         (_IO_cookie_init): Call set_callbacks to copy callbacks.
6266 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
6268         * locale/programs/localedef.c (oldstyle_tables): Remove.
6269         * locale/programs/localedef.h (oldstyle_tables): Likewise.
6271 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
6273         [BZ #20240]
6274         * math/Makefile (CFLAGS-s_modf.c): New variable.
6275         (CFLAGS-s_modff.c): Likewise.
6276         (CFLAGS-s_modfl.c): Likewise.
6277         * math/libm-test.inc (modf_test_data): Add sNaN tests.
6279 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
6281         [BZ #20215]
6282         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
6283         [!__GNUC_PREREQ (3,2)]: Likewise.
6285 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6287         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
6288         (msghdr.msg_controllen): Likewise.
6289         (cmsghdr.cmsg_len): Likewise.
6290         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
6291         ptw-oldsendmsg.
6292         (CFLAGS-oldrecvmsg.c): Remove rule.
6293         (CFLAGS-oldsendmsg.c): Likewise.
6294         (CFLAGS-recvmsg.c): Add rule.
6295         (CFLAGS-sendmsg.c): Likewise.
6296         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6297         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
6298         (CFLAGS-recvmsg.c): Remove rule.
6299         (CFLAGS-sendmsg.c): Likewise.
6300         (CFLAGS-oldrecvmsg.c): Likewise.
6301         (CFLAGS-oldsendmsg.c): Likewise.
6302         (CFLAGS-recvmmsg.c): Likewise.
6303         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
6304         to kernel defined interfaces.
6305         (msghdr.msg_controllen): Likewise.
6306         (cmsghdr.cmsg_len): Likewise.
6307         (msghdr.__glibc_reserved1): Remove member.
6308         (msghdr.__glibc_reserved2): Likewise.
6309         (cmsghdr.__glibc_reserved1): Likewise.
6310         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
6311         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
6312         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6313         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6314         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
6315         version.
6316         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6317         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
6318         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6319         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
6320         Remove recvmsg and sendmsg.
6321         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
6322         Likewise.
6323         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6324         Likewise.
6325         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6326         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6327         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6328         Likewise.
6329         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6330         Likewise.
6331         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
6332         [libc] (GLIBC_2.24): Likewise.
6333         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6334         Likewise.
6335         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6336         Likewise.
6337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6338         [libc] (GLIBC_2.24): Likewise.
6339         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6340         Likewise.
6341         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6342         Likewise.
6343         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6344         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6345         Likewise.
6346         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6347         Likewise.
6348         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6349         Likewise.
6350         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
6351         Likewise.
6352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
6353         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
6354         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
6355         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
6356         version for {recv,send,recm,sendm}msg.
6357         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6358         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6359         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6360         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6361         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6362         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6363         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6364         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6365         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6366         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6367         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6368         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6370         Likewise.
6371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6372         Likewise.
6373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6375         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6376         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6377         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6378         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6379         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6380         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6383         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6384         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6385         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6387 2016-06-10  Florian Weimer  <fweimer@redhat.com>
6389         [BZ #19564]
6390         Remove __malloc_initialize_hook from the API.
6391         * malloc/malloc.h (__malloc_initialize_hook): Remove.
6392         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
6393         #pragma GCC poison.
6394         * malloc/malloc-hooks.h: New file.
6395         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
6396         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
6397         (old__malloc_initialize_hook): Rename from
6398         __malloc_initialize_hook to evade poisoning.  Turn into compat
6399         symbol.
6400         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
6401         __malloc_initialize_hook.
6402         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
6403         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
6404         * manual/memory.texi (Hooks for Malloc): Remove
6405         __malloc_initialize_hook.  Adjust hook example.
6407 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
6409         [BZ #20235]
6410         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
6411         itself.
6412         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6413         * math/libm-test.inc (log2_test_data): Add sNaN tests.
6415         [BZ #20234]
6416         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6417         infinity or NaN input to itself.
6419         [BZ #20233]
6420         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6421         to itself.
6423         [BZ #20232]
6424         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6425         itself.
6427 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6429         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6430         __libc_start_main via GOT.
6432 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6434         * sysdeps/x86_64/memcopy.h: New file.
6435         * sysdeps/x86_64/wordcopy.c: Likewise.
6437 2016-06-09  Florian Weimer  <fweimer@redhat.com>
6439         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6440         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6441         <cstdlib>.
6442         (optimization_barrier): New.
6443         (do_test): Use it.  Call quick_exit in the global namespace.
6444         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6445         instead of <cstdlib>, <thread>.
6446         (optimization_barrier): New.
6447         (non_main_thread): Adjust declaration.  Call optimization_barrier.
6448         Call quick_exit in the global namespace.
6449         (do_test): Call optimization_barrier.  Use pthread_create,
6450         pthread_join instead of std::thread.
6452 2016-06-09  Andreas Schwab  <schwab@suse.de>
6454         [BZ #19755]
6455         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6456         new entries in auto-propagate mode.
6457         * nscd/grpcache.c (cache_addgr): Likewise.
6459 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6461         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6462         New functions.
6463         (add_temp_file): Use them.
6465 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
6467         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6469 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
6471         [BZ #20229]
6472         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6473         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6474         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6476         [BZ #20228]
6477         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6478         itself.
6479         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6480         * math/libm-test.inc (log10_test_data): Add sNaN tests.
6482         [BZ #20227]
6483         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6484         itself.
6485         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6486         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6487         * math/libm-test.inc (log_test_data): Add sNaN tests.
6489         [BZ #20226]
6490         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6491         itself.
6492         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6493         * math/libm-test.inc (exp_test_data): Add sNaN tests.
6494         (exp10_test_data): Likewise.
6495         (expm1_test_data): Likewise.
6497         [BZ #20225]
6498         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6499         itself.
6500         * math/s_ldexpf.c (__ldexpf): Likewise.
6501         * math/s_ldexpl.c (__ldexpl): Likewise.
6502         * math/w_scalbln.c (__w_scalbln): Likewise.
6503         * math/w_scalblnf.c (__w_scalblnf): Likewise.
6504         * math/w_scalblnl.c (__w_scalblnl): Likewise.
6505         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6506         (scalbln_test_data): Likewise.
6508         [BZ #20224]
6509         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6510         argument to itself.
6511         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6513 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6515         [BZ #19776]
6516         * sysdeps/x86_64/memcpy.S: Make it dummy.
6517         * sysdeps/x86_64/mempcpy.S: Likewise.
6518         * sysdeps/x86_64/memmove.S: New file.
6519         * sysdeps/x86_64/memmove_chk.S: Likewise.
6520         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6521         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6522         * sysdeps/x86_64/memmove.c: Removed.
6523         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6524         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6525         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
6526         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6527         Likewise.
6528         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6529         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6531         memcpy-sse2-unaligned, memmove-avx-unaligned,
6532         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
6533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6534         (__libc_ifunc_impl_list): Replace
6535         __memmove_chk_avx512_unaligned_2 with
6536         __memmove_chk_avx512_unaligned.  Remove
6537         __memmove_chk_avx_unaligned_2.  Replace
6538         __memmove_chk_sse2_unaligned_2 with
6539         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
6540         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
6541         with __memmove_avx512_unaligned.  Replace
6542         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
6543         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
6544         with __memcpy_chk_avx512_unaligned.  Remove
6545         __memcpy_chk_avx_unaligned_2.  Replace
6546         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
6547         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
6548         Replace __memcpy_avx512_unaligned_2 with
6549         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
6550         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
6551         with __mempcpy_chk_avx512_unaligned.  Remove
6552         __mempcpy_chk_avx_unaligned_2.  Replace
6553         __mempcpy_chk_sse2_unaligned_2 with
6554         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
6555         Replace __mempcpy_avx512_unaligned_2 with
6556         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
6557         Replace __mempcpy_sse2_unaligned_2 with
6558         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
6559         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
6560         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
6561         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
6562         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
6563         (ENTRY): Removed.
6564         (END): Likewise.
6565         (ENTRY_CHK): Likewise.
6566         (libc_hidden_builtin_def): Likewise.
6567         Don't include ../memcpy.S.
6568         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
6569         __memcpy_chk_avx512_unaligned_erms and
6570         __memcpy_chk_avx512_unaligned.  Use
6571         __memcpy_chk_avx_unaligned_erms and
6572         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6573         Default to __memcpy_chk_sse2_unaligned.
6574         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6575         Change function suffix from unaligned_2 to unaligned.
6576         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
6577         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
6578         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
6579         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
6580         (ENTRY): Removed.
6581         (END): Likewise.
6582         (ENTRY_CHK): Likewise.
6583         (libc_hidden_builtin_def): Likewise.
6584         Don't include ../mempcpy.S.
6585         (mempcpy): New.  Add a weak alias.
6586         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
6587         __mempcpy_chk_avx512_unaligned_erms and
6588         __mempcpy_chk_avx512_unaligned.  Use
6589         __mempcpy_chk_avx_unaligned_erms and
6590         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6591         Default to __mempcpy_chk_sse2_unaligned.
6593 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6595         [BZ #19881]
6596         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
6597         into ...
6598         * sysdeps/x86_64/memset.S: This.
6599         (__bzero): Removed.
6600         (__memset_tail): Likewise.
6601         (__memset_chk): Likewise.
6602         (memset): Likewise.
6603         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
6604         defined.
6605         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
6606         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
6607         (__memset_zero_constant_len_parameter): Check SHARED instead of
6608         PIC.
6609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6610         memset-avx2 and memset-sse2-unaligned-erms.
6611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6612         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
6613         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
6614         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6615         (__bzero): Enabled.
6616         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
6617         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
6618         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
6619         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
6620         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6621         (memset): Removed.
6622         (__memset_chk): Likewise.
6623         (MEMSET_SYMBOL): New.
6624         (libc_hidden_builtin_def): Replace __memset_sse2 with
6625         __memset_sse2_unaligned.
6626         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
6627         __memset_chk_sse2 and __memset_chk_avx2 with
6628         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
6629         Use __memset_chk_sse2_unaligned_erms or
6630         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
6631         __memset_chk_avx512_unaligned_erms and
6632         __memset_chk_avx512_unaligned.
6634 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6636         * math/gen-auto-libm-test.c (fp_format_desc): remove
6637         suffix member.
6638         (output_generic_value): Remove usage of suffix member,
6639         and the resulting unuse of the fp_format argument.
6640         (output_for_one_input_case): Remove unused fp_format
6641         parameter.
6643         * math/auto-libm-test-out: Regenerate.
6645         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
6646         usage with TEST_COND_ibm128.
6647         (TEST_COND_flt_32): Remove.
6648         (TEST_COND_dbl_64): Remove.
6649         (TEST_COND_ldbl_96_intel): Remove.
6650         (TEST_COND_ldbl_96_m68k): Remove.
6651         (TEST_COND_ldbl_128): Remove.
6653 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6655         * auto-libm-test-in:
6656         Replace flt-32 usage with binary32.
6657         Replace dbl-64 usage with binary64.
6658         Replace ldbl-intel-96 usage with intel96.
6659         Replace ldbl-m68k-96 usage with m68k96.
6660         Replace ldbl-128ibm usage with ibm128.
6661         Replace ldbl-128 usage with binary128.
6663         * auto-libm-test-out: Regenerate.
6665 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6667         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
6668         (parse_ulps): Dynamically generate type name matching
6669         string from all_floats.
6670         (get_ulps): Generate the ulps as an array instead.
6671         (output_ulps): Dynamically compose the type based
6672         on the number of supported formats, and print
6673         the indices as type specific helper macros.
6675         * math/libm-test.inc: Remove comment about CHOOSE.
6676         (ulp_data): Generate the type in libm-test-ulps.h.
6677         (ULP_IDX): New macro.
6678         (find_ulps): Update usage of max_ulp.
6680         * math/test-double-vlen2.h (CHOOSE): Remove.
6681         * math/test-double-vlen4.h (CHOOSE): Likewise.
6682         * math/test-double-vlen8.h (CHOOSE): Likewise.
6683         * math/test-float.c (CHOOSE): Likewise.
6684         * math/test-float-finite.c (CHOOSE): Likewise.
6685         * math/test-double.c (CHOOSE): Likewise.
6686         * math/test-double-finite.c (CHOOSE): Likewise.
6687         * math/test-idouble.c (CHOOSE): Likewise.
6688         * math/test-ifloat.c (CHOOSE): Likewise.
6689         * math/test-ildoubl.c (CHOOSE): Likewise.
6690         * math/test-ldouble-finite.c (CHOOSE): Likewise.
6691         * math/test-ldouble.c (CHOOSE): Likewise.
6693         * math/test-float.h (TEST_FLOAT): Remove.
6694         * math/test-double.h (TEST_DOUBLE): Likewise.
6695         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
6697 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6699         * math/gen-libm-test.pl: (apply_lit): New subroutine.
6700         (parse_args): Strip C suffix from floating point literals
6701         typed with 'f' and wrap them with LIT().
6703         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
6704         (test_ff_f_data_nexttoward): Rename to
6705         (test_fj_f_data): New struct.
6706         (nexttoward_test_data): Relabel tests as
6707         TEST_fj_f instead of TEST_ff_f.
6709 2016-06-08  Florian Weimer  <fweimer@redhat.com>
6711         Emacs bug 23726.
6712         * malloc/malloc.c (dumped_main_arena_start): Update comment.
6713         (__libc_realloc): Correct size computation for dumped fake mmapped
6714         chunks.
6716 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
6718         [BZ #20219]
6719         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
6720         to itself.
6721         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
6723         [BZ #20218]
6724         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
6725         to itself.
6726         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
6728 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
6730         [BZ #20195]
6731         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
6732         check to ...
6733         (init_cpu_features): Here.
6735 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
6737         [BZ #20214]
6738         * sysdeps/unix/sysv/linux/bits/in.h
6739         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6740          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
6741         Define to 1.
6742         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6743          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
6744         Define to 0.
6745         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
6746         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
6748 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
6750         [BZ #20198]
6751         * stdlib/Makefile (tests): Add tst-quick_exit, and
6752         tst-thread-quick_exit.
6753         [ifeq ($(have-cxx-thread_local),yes)]
6754         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
6755         (CFLAGS-tst-thread-quick_exit.o): Likewise.
6756         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
6757         (LDLIBS-tst-thread-quick_exit): Likewise.
6758         [ifneq ($(have-cxx-thread_local),yes)]
6759         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
6760         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
6761         If run_dtors is true call __call_tls_dtors.
6762         (exit): Call __run_exit_handlers with run_dtors set to true.
6763         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
6764         definition.
6765         * stdlib/quick_exit.c (quick_exit): Remove function.
6766         (__new_quick_exit): New function.
6767         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
6768         function.
6769         * stdlib/tst-quick_exit.cc: New file.
6770         * stdlib/tst-thread-quick_exit.cc: New file.
6771         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
6772         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
6773         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
6774         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
6775         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
6776         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
6777         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
6778         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
6779         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
6780         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
6781         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
6782         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
6783         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
6784         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
6785         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
6786         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
6788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
6789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
6790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
6791         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
6792         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
6793         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
6794         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
6795         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
6796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
6797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
6798         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
6799         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
6800         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
6802 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6804         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
6805         a typo in comments.
6807 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6809         [BZ #20213]
6810         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
6811         argument to itself.
6812         * math/libm-test.inc (asin_test_data): Add sNaN tests.
6814 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6816         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
6817         required flags.
6818         (CFLAGS-pwritev64.c): Likewise.
6819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
6820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6821         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
6822         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6823         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
6824         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
6825         syscall from auto-generation.
6826         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
6827         [WORDSIZE == 64] (pwritev64): Remove macro.
6828         [!PWRITEV] (PWRITEV): Likewise.
6829         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6830         [!PWRITEV] (PWRITE): Likewise.
6831         [!PWRITEV] (OFF_T): Likewise.
6832         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6833         (LO_HI_LONG): Remove macro.
6834         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
6835         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
6836         (PWRITEV): Remove macro.
6837         (PWRITEV_REPLACEMENTE): Likewise.
6838         (PWRITE): Likewise.
6839         (OFF_T): Likewise.
6840         (pwritev64): New function.
6841         * nptl/tst-cancel4.c (tf_writev): Add test.
6843         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
6844         required flags.
6845         (CFLAGS-preadv64.c): Likewise.
6846         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
6847         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6848         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
6849         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
6850         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
6851         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
6852         syscall from auto-generation.
6853         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
6854         [WORDSIZE == 64] (preadv64): Remove macro.
6855         [!PREADV] (PREADV): Likewise.
6856         [!PREADV] (PREADV_REPLACEMENT): Likewise.
6857         [!PREADV] (PREAD): Likewise.
6858         [!PREADV] (OFF_T): Likewise.
6859         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
6860         (LO_HI_LONG): Remove macro.
6861         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
6862         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
6863         (PREADV): Remove macro.
6864         (PREADV_REPLACEMENTE): Likewise.
6865         (PREAD): Likewise.
6866         (OFF_T): Likewise.
6867         (preadv64): New function.
6868         * nptl/tst-cancel4.c (tf_preadv): Add test.
6870 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6872         [BZ #20212]
6873         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
6874         argument to itself.
6875         * math/libm-test.inc (acos_test_data): Add sNaN tests.
6877 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6879         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
6880         New symbol defined as libc_hidden_def.
6881         (strcasestr): Became a weak alias to __strcasestr.
6882         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
6883         according to multi-arch support.  Move __stpncpy hidden
6884         definition from here to...
6885         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
6886         symbol stpncpy.
6887         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6888         libc_hidden_builtin_def.
6889         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6890         memset symbol to use when multi-arch support is available.
6892 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6894         * dlfcn/tst-rec-dlopen.c: Include string.h.
6896 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6898         * manual/install.texi: Remove mention of --without-tls
6899         * INSTALL: Regenerate.
6901 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6903         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6904         Remove.
6905         (call_function, interposed_malloc_called): New variables.
6906         (malloc): New function.
6907         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6908         and clear call_function as needed.
6910 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6912         * include/wchar.h (__wmemset): Use __typeof.
6914 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6916         * include/wchar.h (__wmemset): Declare function without typeof.
6918 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6920         [BZ #20205]
6921         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6922         exponent when incrementing negative subnormal with low mantissa
6923         word zero.
6924         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6925         Add another test.
6927 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6929         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6930         __wmemset instead of wmemset.
6932 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6934         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6935         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6936         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6937         __USE_KERNEL_IPV6_DEFS to 0.
6938         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6939         Update comment.
6941 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6943         [BZ #19861]
6944         Do not use IFUNC resolver with potentially unrelocated symbol.
6945         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6946         (DEFINE_FORK): Remove macro and inline definition.
6947         (fork_alias): Renamed from fork_ifunc.
6948         (__fork_alias): Renamed from __fork_ifunc.
6950 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6952         [BZ 19653]
6953         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6954         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6956 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6958         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6959         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6960         i386-linux-gnu).
6961         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6962         Set to no.
6963         * sysdeps/mach/hurd/configure: Refresh.
6965 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6967         [BZ #20178]
6968         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6969         on failure instead of exit.
6971 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6973         [BZ #3629]
6974         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6975         of POSIX.1-2008.
6977 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6979         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6980           Use PLT entry for calling _hurd_self_sigstate.
6982 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6984         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6985         available logical processors with SMT level type sharing L2
6986         cache for Intel processors.
6988 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6990         [BZ #20160]
6991         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6992         argument to itself before returning the result.
6993         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6994         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6995         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6996         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6997         Likewise.
6998         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6999         Likewise.
7000         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7001         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7002         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7003         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7004         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7005         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7007         [BZ #20160]
7008         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7009         argument to itself before returning the result.
7010         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7011         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7012         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7013         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7014         Likewise.
7015         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7016         Likewise.
7017         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7018         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7019         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7020         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7021         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7022         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7024 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7026         * libm-test.inc: Replace usage of M_El with
7027         (lit_e): New macro.
7029 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7031         * libm-test.inc: Replace usage of M_PI_4l with
7032         (lit_pi_4_d): New macro.
7034 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7036         * libm-test.inc: Replace usage of M_PIl with
7037         (lit_pi): New macro.
7039 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7041         * libm-test.inc: Replace usage of M_PI2l with
7042         (lit_pi_2_d): New macro.
7044         * math/test-double.h (LITM): New macro.
7045         * math/test-float.h (LITM): Likewise.
7046         * math/test-ldouble.h (LITM): Likewise.
7048 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7050         * libm-test.inc (M_PI_34l): Rename to
7051         (lit_pi_3_m_4_d): New Macro.
7052         (M_PI_34_LOG10El): Rename to
7053         (lit_pi_3_m_4_ln10_m_d): New Macro.
7054         (M_PI2_LOG10El): Rename to
7055         (lit_pi_2_ln10_m_d):  New Macro.
7056         (M_PI4_LOG10El): Rename to
7057         (lit_pi_4_ln10_m_d):  New Macro.
7058         (M_PI_LOG10El): Rename to
7059         (lit_pi_ln10_d):  New Macro.
7061 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7063         [BZ #20157]
7064         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7065         determine whether to negate low half if [_ARCH_PPCGR], and integer
7066         comparison otherwise.
7067         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7068         determine whether to negate low half.
7070         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7071         (NO_TEST_INLINE_DOUBLE): Likewise.
7072         (TEST_COND_x86_64): Likewise.
7073         (TEST_COND_x86): Likewise.
7074         (M_PI_6l): Likewise.
7076 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7078         * math/libm-test.inc:
7079         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7080         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7081         (TEST_LDOUBLE): Update usage to evaluate as true if
7082         the guarded tests match the property being tested.
7083         (LDBL_MAX_EXP): Change to MAX_EXP.
7084         (LDBL_MIN_EXP): Change to MIN_EXP.
7085         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7086         nexttoward tests.
7088 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7090         * math/libm-test.inc:
7091         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7092         (TYPE_MIN): Likewise.
7093         (TYPE_TRUE_MIN): Likewise.
7094         (TYPE_MAX): Likewise.
7095         (MIN_EXP): Likewise.
7096         (MAX_EXP): Likewise.
7097         (MANT_DIG): Likewise.
7099         (FSTR_MAX): New macro.
7100         (__CONCATX): Likewise.
7101         (QTYPE_STR): Likewise.
7102         (TEST_COND_binary32): Likewise.
7103         (TEST_COND_binary64): Likewise.
7104         (TEST_COND_binary128): Likewise.
7105         (TEST_COND_ibm128): Likewise.
7106         (TEST_COND_intel96): Likewise.
7107         (TEST_COND_m68k96): Likewise.
7109         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7110         (TEST_COND_dbl_64): Likewise.
7111         (TEST_COND_ldbl_96_intel): Likewise.
7112         (TEST_COND_ldbl_96_m68k): Likewise.
7113         (TEST_COND_ldbl_128): Likewise.
7114         (TEST_COND_ldbl_128ibm): Likewise.
7116         (plus_zero): Redefine using LIT macro.
7117         (minus_zero): Likewise.
7118         (plus_infty): Redefine as (INF).
7119         (minux_infty): Redefine as (-INF).
7120         (max_value): Redefine as TYPE_MAX.
7121         (min_value): Redefine as TYPE_MIN.
7122         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7124         (print_float): Refactor to use snprintf to convert FLOAT values
7125         to string. This brings it closer to dropin replacement of strtof
7126         for the TS 18661 defined types.
7127         (update_stats): Likewise.
7128         (print_complex_function_ulps): Likewise.
7129         (print_max_error): Likewise.
7130         (print_complex_max_error): Likewise.
7131         (check_float_internal): Likewise.
7133         * math/test-float.h (PREFIX): New macro.
7134         (LIT): Likewise.
7135         (TYPE_STR): Likewise.
7136         (FTOSTR): Likewise.
7138         * math/test-double.h (PREFIX): New macro.
7139         (LIT): Likewise.
7140         (TYPE_STR): Likewise.
7141         (FTOSTR): Likewise.
7143         * math/test-ldouble.h (PREFIX): New macro.
7144         (LIT): Likewise.
7145         (TYPE_STR): Likewise.
7146         (FTOSTR): Likewise.
7148 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7150         [BZ #20156]
7151         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7152         to itself when zero or not finite.
7153         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7154         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7155         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7156         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7158 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7160         [BZ #20153]
7161         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7162         x * x + x for infinities and NaNs.
7164         [BZ #20151]
7165         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7166         argument to itself before returning result.
7167         (__ieee754_y0l): Likewise.
7168         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7169         (__ieee754_y1l).
7171         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7172         (atan_test_data): Likewise.
7173         (ceil_test_data): Likewise.
7174         (cos_test_data): Likewise.
7175         (cosh_test_data): Likewise.
7176         (erf_test_data): Likewise.
7177         (exp2_test_data): Likewise.
7178         (fabs_test_data): Likewise.
7179         (floor_test_data): Likewise.
7180         (ilogb_test_data): Likewise.
7181         (j0_test_data): Likewise.
7182         (j1_test_data): Likewise.
7183         (jn_test_data): Likewise.
7184         (lgamma_test_data): Likewise.
7185         (lrint_test_data): Likewise.
7186         (llrint_test_data): Likewise.
7187         (logb_test_data): Likewise.
7188         (lround_test_data): Likewise.
7189         (llround_test_data): Likewise.
7190         (nearbyint_test_data): Likewise.
7191         (rint_test_data): Likewise.
7192         (round_test_data): Likewise.
7193         (sin_test_data): Likewise.
7194         (sincos_test_data): Likewise.
7195         (sinh_test_data): Likewise.
7196         (sqrt_test_data): Likewise.
7197         (tan_test_data): Likewise.
7198         (tanh_test_data): Likewise.
7199         (tgamma_test_data): Likewise.
7200         (trunc_test_data): Likewise.
7201         (y0_test_data): Likewise.
7202         (y1_test_data): Likewise.
7203         (yn_test_data): Likewise.
7205         * math/libm-test.inc: Update comment about NaN testing.
7206         (TEST_SNAN): New macro.
7207         (snan_value): Likewise.
7208         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7209         (fpclassify_test_data): Add sNaN tests.
7210         (isfinite_test_data): Likewise.
7211         (isinf_test_data): Likewise.
7212         (isnan_test_data): Likewise.
7213         (isnormal_test_data): Likewise.
7214         (issignaling_test_data): Likewise.
7215         (signbit_test_data): Likewise.
7216         * math/gen-libm-test.pl (%beautify): Add snan_value.
7217         (show_exceptions): Add argument $test_snan.
7218         (parse_args): Handle snan_value as non-finite.  Update call to
7219         show_exceptions.
7220         * math/Makefile (libm-test-no-inline-cflags): Add
7221         -fsignaling-nans.
7223 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7225         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7226         (CFLAGS-oldsendmsg.c): Add rule.
7227         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7228         Correct recvmsg symbol name.
7229         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7230         Likewise.
7232 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7234         * sysdeps/unix/sysv/linux/Makefile
7235         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
7236         oldsendmmsg.
7237         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
7238         sendmmsg.
7239         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7240         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7241         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7242         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7244         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7245         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7247         Likewise.
7248         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7249         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
7250         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7251         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
7252         iovlen and controllen fields to adjust to POSIX specification.
7253         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7255         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
7256         and change to correct expected type.
7257         (msghdr.msg_controllen): Likewise.
7258         (cmsghdr.cmsg_len): Likewise.
7259         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
7260         expected POSIX assumption about the size.
7261         (msghdr.msg_controllen): Likewise.
7262         (msghdr.__glibc_reserved1): Likewise.
7263         (msghdr.__glibc_reserved2): Likewise.
7264         (cmsghdr.cmsg_len): Likewise.
7265         (cmsghdr.__glibc_reserved1): Likewise.
7266         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
7267         Add ptw-oldrecvmsg and ptw-oldsendmsg.
7268         (CFLAGS-sendmsg.c): Remove rule.
7269         (CFLAGS-recvmsg.c): Likewise.
7270         (CFLAGS-oldsendmsg.c): Add rule.
7271         (CFLAGS-oldrecvmsg.c): Likewise.
7272         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
7273         recvmsg and sendmsg.
7274         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
7275         Likewise.
7276         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
7277         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
7278         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7279         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
7280         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7281         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7282         Likewise.
7283         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7284         Likewise.
7285         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
7286         Likewise.
7287         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
7288         Likewise.
7289         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7290         Likewise.
7291         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7292         Likewise.
7293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
7294         (GLIBC_2.24): Likewise.
7295         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7296         Likewise.
7297         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7298         Likewise.
7299         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7300         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7301         Likewise.
7302         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7303         Likewise.
7304         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7305         Likewise.
7306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
7307         (GLIBC_2.24): Likewise.
7308         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
7309         Likewise.
7310         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
7311         Likewise.
7312         * sysdeps/unix/sysv/linux/Makefile
7313         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
7314         (CFLAGS-sendmsg.c): Add rule.
7315         (CFLAGS-recvmsg.c): Likewise.
7316         (CFLAGS-oldsendmsg.c): Likewise.
7317         (CFLAGS-oldrecvmsg.c): Likewise.
7318         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
7319         initialization.
7320         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7321         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7322         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
7323         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7324         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
7325         iovlen and controllen fields to adjust to POSIX specification.
7326         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
7327         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
7328         added recvmsg and sendmsg.
7329         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7330         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7331         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7332         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7333         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7334         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7335         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7336         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7337         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7338         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7339         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7340         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7342         Likewise.
7343         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7345         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7346         Likewise.
7347         Likewise.
7348         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7349         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7350         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7351         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7352         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7353         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7355         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7357         Likewise.
7358         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7359         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7361         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
7362         from auto-generation.
7363         (sendmsg): Likewise.
7364         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
7365         (sendmsg): Likewise.
7366         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
7367         (sendmsg): Likewise.
7368         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
7369         (sendmsg): Likewise.
7370         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
7371         (sendmsg): Likewise.
7372         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
7373         (sendmsg): Likewise.
7374         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
7375         Likewise.
7376         (sendmsg): Likewise.
7377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
7378         (sendmsg): Likewise.
7379         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7381         Remove.
7382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7383         Likewise.
7384         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7385         Undefine.
7386         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7387         Likewise.
7388         * sysdeps/unix/sysv/linux/kernel-features.h
7389         (__ASSUME_SENDMSG_SYSCALL): Define.
7390         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7391         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7393         Remove.
7394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7395         Likewise.
7396         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7397         Undefine.
7398         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7399         Likewise.
7400         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7401         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7402         Remove.
7403         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7404         Likewise.
7405         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7406         Undefine.
7407         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7408         Likewise.
7409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7410         (__ASSUME_SENDMSG_SYSCALL): Undefine.
7411         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7412         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7413         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7414         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7415         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7416         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7417         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7419 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7421         * stdlib/gen-tst-strtod-round.c: Add backslash to
7422         compile command in comment.
7423         (printfp): Remove the literal suffix, and define an infinite
7424         value as INF to avoid expansion clash with INFINITY.
7425         (round_str): Remove the literal suffix.
7426         (round_for_all): Likewise, remove the now duplicate ldbl-64
7427         entry, and remove some magic constants.
7429         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7430         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7431         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7432         (_CONCAT): New macro.
7433         (CONCAT): Likewise.
7434         (CHOOSE_ld): Likewise.
7435         (CHOOSE_f): Likewise.
7436         (CHOOSE_d): Likewise.
7437         (FTYPE_MEMBER): Likewise.
7438         (BOOL_MEMBER): Likewise.
7439         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7440         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7441         (_XNTRY): Likewise.
7442         (XNTRY): Likewise.
7443         (_ENTRY): Likewise.
7444         (ENTRY): Likewise.
7445         (test_exactness): Generate members via macro.
7446         (test_results): Likewise.
7447         (test): Update members.
7448         (TEST): Redefine using new macros.
7449         (INF): New macro.
7450         (fetestmodes): New structure.
7451         (do_test): Refactor to be type generic.
7452         (test_in_one_mode): Refactor duplicate code into
7453         (GEN_ONE_TEST): New macro.
7455         * stdlib/tst-strtod-round-data.h: Regenerate.
7457         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7458         Extend to pass additional arbitrary parameters to
7459         generators.
7461 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
7463         [BZ #15479]
7464         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7465         floating-point state after first floating-point operation on
7466         input.  Restore full floating-point state instead of just rounding
7467         mode.
7468         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7469         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7470         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7471         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7472         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7474         [BZ #15479]
7475         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7476         floating-point state after first floating-point operation on
7477         input.  Restore full floating-point state instead of just rounding
7478         mode.
7479         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7480         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7481         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7482         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7483         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7485 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7487         [BZ #19727]
7488         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7489         valid high surrogate.
7490         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7491         of an utf16 surrogate.
7492         * iconv/gconv_simple.c (BODY): Likewise.
7493         * iconvdata/bug-iconv12.c: New file.
7494         * iconvdata/Makefile (tests): Add bug-iconv12.
7496 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7498         [BZ #19726]
7499         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7500         outptrp in case of an illegal input.
7501         * iconv/tst-iconv6.c: New file.
7502         * iconv/Makefile (tests): Add tst-iconv6.
7504 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7506         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7507         an error in case of a value in range of an utf16 low surrogate.
7509 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7511         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
7512         an error in case of a value in range of an utf16 low surrogate.
7514 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7516         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
7517         Move to ...
7518         * sysdeps/s390/Makefile: ... here.
7519         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7520         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
7521         (BRANCH_ON_COUNT): New define.
7522         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
7523         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
7524         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
7525         run on s390-32, too.
7526         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
7527         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
7528         run on s390-32, too.
7529         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
7530         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
7531         run on s390-32, too.
7533 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7535         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
7536         etf3eh or new vector loop-variant.
7538 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7540         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
7541         etf3eh or new vector loop-variant.
7543 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7545         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
7546         or new vector loop-variant.
7548 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7550         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
7551         Rename to TR_LOOP and usage of tr instead of troo instruction.
7553 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7555         * sysdeps/s390/multiarch/gconv_simple.c: New File.
7556         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
7558 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7560         * sysdeps/s390/multiarch/8bit-generic.c: New File.
7561         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
7562         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
7563         New override define.
7564         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
7566 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7568         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
7569         * sysdeps/s390/configure.ac: Add test for S390 vector register
7570         support in gcc.
7571         * sysdeps/s390/configure: Regenerated.
7573 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7575         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
7576         Install file from $(objpfx)gconv-modules.
7577         ($(objpfx)gconv-modules): Concatenate architecture specific file
7578         in variable sysdeps-gconv-modules and gconv-modules in src dir.
7579         * sysdeps/s390/gconv-modules: New file.
7580         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
7581         Deleted.
7582         ($(objpfx)gconv-modules-s390): Deleted.
7583         (sysdeps-gconv-modules): New variable.
7585 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7587         [BZ #15479]
7588         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
7589         of immediate operand to rounding instruction.
7590         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
7591         Likewise.
7592         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
7593         Likewise.
7594         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
7595         Likewise.
7597 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7599         * math/libm-test.inc (MIN_EXP): Directly define as
7600         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
7602 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7604         * math/libm-test.inc (MANT_DIG): Directly define as
7605         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
7607 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7609         * stdlib/gen-tst-strtod-round.c (main):
7610           Change usage to more closely match the generated
7611           output.  Add usage and compilation instructions.
7612           (string_to_fp): Add and use FILE* parameter as
7613           output target.
7614           (print_fp): Likewise.
7615           (round_str): Likewise.
7616           (round_for_all): Likewise.
7617         * stdlib/tst-strtod-round.c (tests): Move into
7618         * stdlib/tst-strtod-round-data.h: New file.
7620 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7622         [BZ #15479]
7623         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
7624         (__round): Do not force "inexact" exception.
7625         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7626         variable.
7627         (__round): Do not force "inexact" exception.
7628         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
7629         (__roundf): Do not force "inexact" exception.
7630         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
7631         (__roundl): Do not force "inexact" exception.
7632         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
7633         (__roundl): Do not force "inexact" exception.
7634         * math/libm-test.inc (round_test_data): Do not allow spurious
7635         "inexact" exceptions.
7637         [BZ #15479]
7638         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
7639         exception in comment.
7640         (huge): Remove variable.
7641         (__floor): Do not force "inexact" exception.
7642         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
7643         "inexact" exception in comment.
7644         (huge): Remove variable.
7645         (__floor): Do not force "inexact" exception.
7646         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
7647         exception in comment.
7648         (huge): Remove variable.
7649         (__floorf): Do not force "inexact" exception.
7650         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
7651         exception in comment.
7652         (huge): Remove variable.
7653         (__floorl): Do not force "inexact" exception.
7655         [BZ #15479]
7656         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
7657         exception in comment.
7658         (huge): Remove variable.
7659         (__ceil): Do not force "inexact" exception.
7660         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
7661         "inexact" exception in comment.
7662         (huge): Remove variable.
7663         (__ceil): Do not force "inexact" exception.
7664         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
7665         (__ceilf): Do not force "inexact" exception.
7666         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
7667         exception in comment.
7668         (huge): Remove variable.
7669         (__ceill): Do not force "inexact" exception.
7671 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7673         * config.h.in (BIND_NOW): New.
7674         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
7675         * configure: Regenerated.
7676         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
7677         indirect branch via the GOT slot.
7679 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7681         [BZ #19765]
7682         * sysdeps/s390/mempcpy.S: New File.
7683         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7684         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
7685         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7686         Add mempcpy variants.
7687         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
7688         (memcpy): Adjust to be usable from mempcpy entry point.
7689         (__memcpy_mvcle): Likewise.
7690         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7691         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
7692         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
7693         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
7694         (__memcpy_z10): Likewise.
7695         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7697 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7699         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
7700         Remove __GI_ symbol.
7701         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
7702         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
7703         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
7704         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7705         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
7706         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
7708 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7710         * sysdeps/s390/s390-64/memcpy.S (memcpy):
7711         Use cghi instead of chi to compare 64bit value.
7713 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7715         * sysdeps/s390/s390-32/memcpy.S (memcpy):
7716         Jump to 1MB check before executing mvc-loop.
7718 2016-05-24  Florian Weimer  <fweimer@redhat.com>
7720         [BZ #6527]
7721         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
7722         unconditionally.
7723         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
7725 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7727         * stdlib/tst-strtod6.c (do_test): Use new type generic
7728         invocation of the test function.
7729         (test): Refactor into ...
7730         (TEST_STRTOD): New macro base function.
7732 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7734         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
7735         (TEST_STRTOD): New macro.
7736         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
7738 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7740         * stdlib/tst-strtod6.c (do_test): Use new type generic
7741         invocation of the test function.
7742         (test): Refactor into ...
7743         (TEST_STRTOD): New macro base function.
7745 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7747         CVE-2016-4429
7748         [BZ #20112]
7749         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
7750         payload.
7752 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7754         [BZ #20111]
7755         * bits/sockaddr.h (_SS_SIZE): Define.
7756         * bits/socket.h (_SS_SIZE): Remove.
7757         (_SS_PADSIZE): Adjust to account for all padding.
7758         (struct sockaddr_storage): Update comment.  Avoid implicit
7759         padding.
7760         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
7761         (_SS_PADSIZE): Adjust to account for all padding.
7762         (struct sockaddr_storage): Update comment.  Avoid implicit
7763         padding.
7764         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
7765         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
7766         (_SS_PADSIZE): Adjust to account for all padding.
7767         (struct sockaddr_storage): Update comment.  Avoid implicit
7768         padding.
7769         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
7770         __SS_SIZE is 126 in this version.
7771         * inet/tst-sockaddr.c: New file.
7772         * inet/Makefile (tests): Add tst-sockaddr.c
7773         (tst-sockaddr.c): Compile with non-strict aliasing.
7775 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
7777         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
7778         [XPG3 || XPG4].
7779         (NL_ARGMAX): Also expect for [XPG3].
7780         (NL_LANGMAX): Likewise.
7781         (NL_MSGMAX): Likewise.
7782         (NL_NMAX): Likewise.
7783         (NL_SETMAX): Likewise.
7784         (NL_TEXTMAX): Likewise.
7785         (NZERO): Likewise.
7786         (TMP_MAX): Likewise.
7787         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
7788         variable.
7790         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
7791         (PF_MAX): Update value.
7792         (AF_KCM): New macro.
7793         (SOL_NETBEUI): Likewise.
7794         (SOL_LLC): Likewise.
7795         (SOL_DCCP): Likewise.
7796         (SOL_NETLINK): Likewise.
7797         (SOL_TIPC): Likewise.
7798         (SOL_RXRPC): Likewise.
7799         (SOL_PPPOL2TP): Likewise.
7800         (SOL_BLUETOOTH): Likewise.
7801         (SOL_PNPIPE): Likewise.
7802         (SOL_RDS): Likewise.
7803         (SOL_IUCV): Likewise.
7804         (SOL_CAIF): Likewise.
7805         (SOL_ALG): Likewise.
7806         (SOL_NFC): Likewise.
7807         (SOL_KCM): Likewise.
7808         (MSG_BATCH): New enum value and macro.
7810 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
7812         [BZ #18185]
7813         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
7814         sharing L2 cache to 2 for Knights Landing.
7816 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
7818         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
7819         (FTW_DP): Do not expect for [XPG3 || XPG4].
7820         (FTW_SL): Do not expect for [XPG3].
7821         (FTW_SLN): Likewise.
7822         (FTW_PHYS): Likewise.
7823         (FTW_MOUNT): Likewise.
7824         (FTW_DEPTH): Likewise.
7825         (FTW_CHDIR): Likewise.
7826         (nftw): Likewise.
7827         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
7828         variable.
7830 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7832         * manual/errno.texi: Fix various typos & grammar errors.
7834 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7836         * manual/intro.texi: Fix duplicated typo.
7838 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7840         [BZ #13304]
7841         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
7842         <float.h>, <math_private.h> and <stdlib.h>.
7843         (add_split): New function.
7844         (mul_split): Likewise.
7845         (ext_val): New typedef.
7846         (store_ext_val): New function.
7847         (mul_ext_val): New function.
7848         (compare): New function.
7849         (add_split_ext): New function.
7850         (__fmal): After checking for Inf, NaN and zero, compute result as
7851         an exact sum of scaled double values in round-to-nearest before
7852         adding those up and adjusting for other rounding modes.
7853         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
7854         tests of fma.
7855         * math/auto-libm-test-out: Regenerated.
7857 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7859         [BZ #20119]
7860         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
7861         processor level type mask for CPUID with EAX == 11.
7863 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7865         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
7866         logical threads if the HTT bit is 0.
7867         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
7868         (index_cpu_HTT): Likewise.
7869         (reg_HTT): Likewise.
7871 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7873         [BZ #20115]
7874         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
7875         Remove alignments on jump targets.
7877 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7879         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
7880         (getpwent): Likewise.
7881         (setpwent): Likewise.
7882         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
7883         variable.
7885         * conform/data/search.h-data (insque): Do not expect for [XPG3].
7886         (remque): Likewise.
7887         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7888         variable.
7890 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7892         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7893         not being tested.
7895 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7898         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7899         call.
7900         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7901         (__condvar_cleanup1): Likewise.
7903 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7905         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7906         New
7907         (__pthread_unwind): Renamed to ...
7908         (PTHREAD_UNWIND): This.
7909         (__pthread_enable_asynccancel): Replace
7910         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7912 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7914         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7915         (CLONE_NEWCGROUP): New macro.
7917         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7918         (Q_GETNEXTQUOTA): New macro.
7920 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7922         [BZ #19907]
7923         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7924         buffer updated by the previous run.
7925         * string/test-memcpy.c (do_one_test): Likewise.
7926         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7927         * string/test-memmove.c (do_one_test): Likewise.
7929 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7931         [BZ #20094]
7932         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7933         not [__USE_XOPEN].
7934         (unlockpt): Likewise.
7935         (ptsname): Likewise.
7936         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7937         variable.
7939         [BZ #20076]
7940         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7941         instead of [__USE_UNIX98].
7942         (S_ISSOCK): Likewise.
7943         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7944         variable.
7946         [BZ #20074]
7947         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7948         [__USE_POSIX].
7949         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7950         variable.
7952         [BZ #20051]
7953         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7954         (ttyslot): Do not declare.
7955         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7956         (ttyslot): New prototype.
7957         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7958         variable.
7959         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7961 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7963         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7965 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7967         Fix race condition in tst-mallocfork2, use fewer resources.
7968         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7969         to current process group.
7970         (signal_sender): Yield in the non-sleeping case.
7972 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7974         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7975         (ecvt): Likewise.
7976         (fcvt): Likewise.
7977         (gcvt): Likewise.
7978         (getsubopt): Likewise.
7979         (grantpt): Likewise.
7980         (initstate): Likewise.
7981         (l64a): Likewise.
7982         (mktemp): Likewise.
7983         (mkstemp): Likewise.
7984         (ptsname): Likewise.
7985         (random): Likewise.
7986         (realpath): Likewise.
7987         (setstate): Likewise.
7988         (srandom): Likewise.
7989         (ttyslot): Likewise.
7990         (unlockpt): Likewise.
7991         (valloc): Likewise.
7993         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7994         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7995         variable.
7997 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7999         [BZ #20072]
8000         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8001         init_cpu_features only if SHARED is defined.
8002         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8004 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8006         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8007         non-inclusive caches on Intel processors.
8009 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8011         * malloc/malloc.c (dumped_main_arena_start)
8012         (dumped_main_arena_end): New variables.
8013         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8014         (do_check_chunk): Skip dumped fake mmapped chunks.
8015         (munmap_chunk): Likewise.
8016         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8017         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8018         mmapped chunks.
8019         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8020         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8021         and dumped_main_arena_end to cover the dumped heap.
8023 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8025         * conform/data/time.h-data (getdate_err): Do not expect for
8026         [XPG3].
8027         (getdate): Likewise.
8028         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8029         variable.
8031         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8032         (F_ULOCK): Likewise.
8033         (F_TEST): Likewise.
8034         (F_TLOCK): Likewise.
8035         (useconds_t): Likewise.
8036         (intptr_t): Do not expect for [XPG3] or [XPG4].
8037         (brk): Do not expect for [XPG3]
8038         (fchown): Likewise.
8039         (fchdir): Likewise.
8040         (ftruncate): Likewise.
8041         (getdtablesize): Likewise.
8042         (gethostid): Likewise.
8043         (getpagesize): Likewise.
8044         (getpgid): Likewise.
8045         (getsid): Likewise.
8046         (getwd): Likewise.
8047         (lchown): Likewise.
8048         (lockf): Likewise.
8049         (readlink): Likewise.
8050         (sbrk): Likewise.
8051         (setpgrp): Likewise.
8052         (setregid): Likewise.
8053         (setreuid): Likewise.
8054         (symlink): Likewise.
8055         (sync): Likewise.
8056         (truncate): Likewise.
8057         (ualarm): Likewise.
8058         (usleep): Likewise.
8059         (vfork): Likewise.
8060         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8061         variable.
8063         [BZ #20054]
8064         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8065         not [__USE_UNIX98].
8066         * conform/data/unistd.h-data (gethostname): Do not expect for
8067         [XPG3].
8069         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8070         [!POSIX] (S_IFBLK): Likewise.
8071         [!POSIX] (S_IFCHR): Likewise.
8072         [!POSIX] (S_IFIFO): Likewise.
8073         [!POSIX] (S_IFREG): Likewise.
8074         [!POSIX] (S_IFDIR): Likewise.
8075         [!POSIX] (S_IFLNK): Likewise.
8076         [!POSIX] (S_IFSOCK): Likewise.
8077         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8078         variable.
8079         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8081 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8083         * sysdeps/aarch64/memset.S (__memset):
8084         Rewrite of optimized memset.
8086 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8088         [BZ #19703]
8089         Partially async-signal-safe fork for single-threaded processes.
8090         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8091         variable.  Do not acquire and reset/release malloc and libio locks
8092         in single-threaded processes.
8093         * malloc/tst-mallocfork2.c: New file.
8094         * malloc/Makefile (tests): Add it.
8096 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8098         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8099         argument.  Use scratch buffer instead of extend_alloca.
8100         (gethosts): Use scratch buffer instead of extend_alloca.
8101         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8102         extend_alloca.
8103         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8105 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8107         [BZ #20055]
8108         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8109         instead of [__USE_UNIX98].
8110         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8111         [__USE_UNIX98].
8112         * conform/data/termios.h-data (tcgetsid): Do not expect for
8113         [XPG3].
8114         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8115         variable.
8116         (test-xfail-XPG4/termios.h/conform): Likewise.
8118 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8120         Do not use mcheck in localedef.
8121         * locale/programs/localedef.c (turn_on_mcheck)
8122         (__malloc_initialize_hook): Remove.
8124 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8126         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8127         * sysdeps/s390/s390-64/Makefile: Likewise.
8129 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8131         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8132         Remove ifunc-defines.sym.
8133         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8134         Likewise.
8135         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8136         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8137         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8138         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8139         rtld-global-offsets.sym.
8140         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8141         * sysdeps/x86/cpu-features-offsets.sym: This.
8142         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8143         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8145 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8147         [BZ #20073]
8148         * io/sys/stat.h (fchmod): Declare for
8149         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8150         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8151         variable.
8153         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8154         [XPG3] (S_IFSOCK): Likewise.
8155         [XPG3] (S_ISVTX): Likewise.
8156         [XPG3] (S_ISLNK): Likewise.
8157         [XPG3] (S_ISSOCK): Likewise.
8158         [XPG3] (fchmod): Likewise.
8159         [XPG3] (lstat): Likewise.
8160         [XPG3] (mknod): Likewise.
8162         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8163         [XPG3].  Expect type long and XFAIL for [XPG4].
8164         (st_blocks): Likewise.
8166         [BZ #20044]
8167         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8168         (pthread_atfork): New prototype.
8169         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8170         variable.
8172         [BZ #20043]
8173         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8174         prototype.
8176 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8178         [BZ #20017]
8179         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8180         gmtime.
8182 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8184         [BZ #19994]
8185         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8186         flag in _res.options.
8188 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8190         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8191         [XPG3 || XPG4].
8192         (blksize_t): Likewise.
8193         (clockid_t): Likewise.
8194         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8195         variable.
8196         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8198 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8200         * sysdeps/unix/sysv/linux/s390/init-first.c:
8201         Add VDSO_SYMBOL(getcpu).
8202         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8203         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8204         Add VDSO_SYMBOL(getcpu).
8205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8206         New define HAVE_GETCPU_VSYSCALL.
8207         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8209 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8211         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8212         instead of <sysdeps/x86_64/cacheinfo.c>.
8213         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8214         * sysdeps/x86/cacheinfo.c: Here.
8216 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8218         * malloc/malloc-internal.h: Adjust header file guard.
8220 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8222         [BZ #19787]
8223         * inet/getnameinfo.c (check_sprintf_result): New function.
8224         (CHECKED_SNPRINTF): New macro.
8225         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8226         to the host buffer.
8227         (gni_host_local): Use checked_copy to copy the host name.
8228         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8229         (gni_serv_local): Use checked_copy to copy the service name.
8230         (getnameinfo): Remove unnecessary truncation of result buffers.
8232 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8234         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
8235         in case of inet_ntop failure.
8237 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8239         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
8240         avoid long lines.
8241         (gni_host_inet_numeric): Likewise.  Reduce scope of local
8242         variables.
8243         (gni_host_inet, gni_host_local): Add comment.
8244         (gni_host): Add comment.  Use temporary to avoid long lines.
8246 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8248         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
8249         registers specifiers where general purpose registers specifiers should
8250         have been used.
8252 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8254         [BZ #19779]
8255         CVE-2016-1234
8256         Avoid copying names of directory entries.
8257         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
8258         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
8259         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
8260         (struct readdir_result): New type.
8261         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
8262         (GL_READDIR): New macros.
8263         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
8264         (convert_dirent, convert_dirent64): New functions.
8265         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
8266         convert_dirent64.  Adjust references to the readdir result.
8267         * sysdeps/unix/sysv/linux/i386/glob64.c:
8268         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
8269         * posix/bug-glob2.c (LONG_NAME): Define.
8270         (filesystem): Add LONG_NAME.
8271         (my_DIR): Increase the size of room_for_dirent.
8273 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
8275         [BZ #20041]
8276         * misc/sys/select.h (__need_timespec): Only define if
8277         [__USE_XOPEN2K].
8278         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
8279         variable.
8280         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8281         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8282         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8284 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8285             Segher Boessenkool  <segher@gcc.gnu.org>
8287         [BZ #20004]
8288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
8289         (__novec_swapcontext): Add missing load.
8291 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
8293         [BZ #20023]
8294         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
8295         <time.h>.
8296         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
8297         variable.
8298         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8300 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
8303         flags CLONE_VM compare.
8305 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8307         [BZ #20031]
8308         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
8309         completely empty.
8311 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8313         [BZ #19573]
8314         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
8315         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
8316         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
8317         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
8318         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
8319         (hesiod_free_list): Mark as hidden.
8320         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
8321         res_set, res_get.
8322         * hesiod/hesiod.c: Remove unnecessary forward declarations.
8323         (init, __hesiod_res_get, __hesiod_res_set): Remove.
8324         (hesiod_init): Remove obsolete res_ninit call.
8325         (hesiod_end): Do not free resolver state.  Do not invoke callback.
8326         (hesiod_bind): Do not call init.
8327         (get_txt_records): Use res_mkquery, res_send instead of
8328         res_nmkquery, res_nsend.
8329         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
8330         instead of _nss_hesiod_init.
8331         (_nss_hesiod_initgroups_dyn): Likewise.
8332         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
8333         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
8334         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
8336 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8338         * hesiod/hesiod_p.h (DEF_RHS): Remove.
8339         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
8341 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8343         * hesiod/hesiod.h: Remove RCS keyword.
8344         * hesiod/hesiod_p.h: Likewise.
8346         * hesiod/hesiod.c: Likewise.
8348 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
8350         [BZ #12450]
8351         * locale/iso-639.def: Add Samogitian/sgs.
8353 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
8355         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
8357         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
8359 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
8360             Carlos O'Donell  <carlos@redhat.com>
8362         [BZ #19072]
8363         * grp/Makefile (headers): Add grp-merge.h
8364         (routines): Add grp-merge.
8365         * grp/getgrgid_r.c: Include grp-merge.h.
8366         (DEEPCOPY_FN): Define.
8367         (MERGE_FN): Define.
8368         * grp/getgrname_r.c: Include grp-merge.h.
8369         (DEEPCOPY_FN): Define.
8370         (MERGE_FN): Define.
8371         * grp/grp-merge.c: New file.
8372         * grp/grp-merge.h: New file.
8373         * include/grp-merge.h: New file.
8374         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
8375         __copy_grp@GLIBC_PRIVATE.
8376         * manual/nss.texi (Actions in the NSS configuration): Describe
8377         return, continue, and merge.
8378         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
8379         (DEEPCOPY_FN): Define.
8380         (MERGE_FN): Define.
8381         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
8382         (DEEPCOPY_FN): Define.
8383         (MERGE_FN): Define.
8384         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
8385         [!MERGE_FN]: Define __merge_einval.
8386         (CHECK_MERGE): Define.
8387         (REENTRANT_NAME): Process merge if do_merge is true.
8388         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
8389         (__nss_getent_r): Likewise.
8390         * nss/nsswitch.c (nss_parse_service_list): Likewise.
8391         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
8393 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8395         [BZ #20012]
8396         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
8397         length to calculate the buffer to read.
8398         (fmemopen_write): Set the buffer position based on bytes written.
8399         (fmemopen_seek): Return EINVAL for invalid whence modes.
8401         [BZ #19957]
8402         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
8403         tst-getpid2.
8404         (test): Add tst-clone2.
8405         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
8406         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
8407         pid/tid fields for CLONE_VM.
8408         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8409         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8410         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8411         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
8412         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8413         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8414         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8415         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8417         Likewise.
8418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8419         Likewise.
8420         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8421         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8422         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8423         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8424         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8425         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8426         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8427         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8429 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8431         [BZ #19642]
8432         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8433         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8434         (gni_serv_local, gni_serv): New functions extracted from
8435         getnameinfo.
8436         (getnameinfo): Call gni_host and gni_serv to perform the
8437         processing.  Always free scratch buffer.
8439 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8441         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8442         remaining bytes in the dest string, with zeros.
8444 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8446         [BZ #20010]
8447         CVE-2016-3706
8448         * sysdeps/posix/getaddrinfo.c
8449         (convert_hostent_to_gaih_addrtuple): New function.
8450         (gethosts): Call convert_hostent_to_gaih_addrtuple.
8451         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8452         AF_INET data.
8454 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8456         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8457         callback function gl_readdir.
8458         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8459         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8460         (glob_in_dir): Remove len.  Use strdup instead of malloc and
8461         memcpy to copy the name.
8462         * manual/pattern.texi (Calling Glob): Document requirements for
8463         implementations of the gl_readdir callback function.
8464         * manual/examples/mkdirent.c: New example.
8465         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8466         per the manual guidance.
8467         * posix/tst-gnuglob.c (my_readdir): Likewise.
8469 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
8471         [BZ #20014]
8472         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8473         not [__USE_POSIX].
8474         (getchar_unlocked): Likewise.
8475         (putc_unlocked): Likewise.
8476         (putchar_unlocked): Likewise.
8477         (flockfile): Likewise.
8478         (ftrylockfile): Likewise.
8479         (funlockfile): Likewise.
8480         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8481         variable.
8482         (test-xfail-XPG4/stdio.h/conform): Likewise.
8484         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8485         Expect constant.
8486         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8487         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8488         variable.
8489         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8490         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8492         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8493         [__USE_LARGEFILE64] (off64_t): Likewise.
8494         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8495         variable.
8497 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8499         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8501 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8503         * resolv/inet_addr.c: Reindent preprocessor conditionals.
8504         * resolv/res_init.c: Likewise.
8505         * resolv/res_mkquery.c: Likewise.
8507 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8509         * resolv/res_init.c (isascii): Do not define.  Use definition in
8510         <ctype.h>.
8511         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8512         (LOG_AUTH): Remove.
8513         (SPRINTF): Remove, adjust caller.
8514         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8516 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8518         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
8519         SUNSECURITY conditional.
8520         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
8522 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8524         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
8525         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
8526         Remove BSD-related preprocessor conditionals.
8527         * conf/portability.h: Remove.
8529 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8531         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
8532         * resolv/res_data.c: Likewise.
8534 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8536         * resolv/res_comp.c: Remove code conditional on __ultrix__.
8537         * resolv/res_data.c: Remove code conditional on ultrix.
8539 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8541         * resolv/res_init.c (RFC1535): Do not define.  Remove
8542         RFC1535 preprocessor conditionals.
8543         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
8544         because there configuration options which make the resolver
8545         behavior different.
8547 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8549         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
8550         RESOLVSORT preprocessor conditionals.
8551         * resolv/nss_dns/dns-host.c: Likewise.
8552         * resolv/res_init.c: Likewise.
8554 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8556         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
8557         is never defined.
8559 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8561         * inet/inet_lnaof.c: Remove SCSS keyword.
8562         * inet/inet_mkadr.c: Likewise.
8563         * inet/inet_net.c: Likewise.
8564         * inet/inet_netof.c: Likewise.
8565         * inet/rcmd.c: Likewise.
8566         * inet/rexec.c: Likewise.
8567         * inet/ruserpass.c: Likewise.
8569 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8571         * resolv/inet_addr.c: Remove _LIBC conditionals.
8572         * resolv/res_data.c: Likewise.
8573         * resolv/res_init.c: Likewise.
8574         * resolv/res_mkquery.c: Likewise.
8575         * resolv/res_libc.c: Update comment.
8576         * resolv/README: Update.
8578 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8580         * resolv/gethnamaddr.c: Remove SCSS keyword.
8581         * resolv/herror.c: Likewise.
8582         * resolv/inet_addr.c: Likewise.
8583         * resolv/inet_net_ntop.c: Likewise.
8584         * resolv/inet_net_pton.c: Likewise.
8585         * resolv/inet_neta.c: Likewise.
8586         * resolv/inet_ntop.c: Likewise.
8587         * resolv/inet_pton.c: Likewise.
8588         * resolv/ns_date.c: Remove RCS keyword.
8589         * resolv/ns_name.c: Likewise.
8590         * resolv/ns_netint.c: Likewise.
8591         * resolv/ns_parse.c: Likewise.
8592         * resolv/ns_print.c: Likewise.
8593         * resolv/ns_samedomain.c: Likewise.
8594         * resolv/ns_ttl.c: Likewise.
8595         * resolv/nsap_addr.c: Likewise.
8596         * resolv/res_comp.c: Remove SCSS and RCS keyword.
8597         * resolv/res_data.c: Remove RCS keyword.
8598         * resolv/res_debug.c: Remove SCSS and RCS keyword.
8599         * resolv/res_init.c: Likewise.
8600         * resolv/res_mkquery.c: Likewise.
8601         * resolv/res_query.c: Likewise.
8602         * resolv/res_send.c: Likewise.
8604 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8606         * conform/data/stdio.h-data (fdopen): Expect also for
8607         [XPG3 || XPG4].
8609         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
8610         (fseeko): Likewise.
8611         (ftello): Likewise.
8612         (ftrylockfile): Likewise.
8613         (funlockfile): Likewise.
8614         (getc_unlocked): Likewise.
8615         (getchar_unlocked): Likewise.
8616         (putc_unlocked): Likewise.
8617         (putchar_unlocked): Likewise.
8619 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8621         [BZ #19868]
8622         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
8623         DNS packet syntax checks (which were not needed before).  Skip
8624         over non-PTR records.
8626 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8628         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
8629         definition.  Include <stddef.h> instead.
8631 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8633         [BZ #19831]
8634         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
8635         function.
8636         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
8637         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
8639 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8641         [BZ #19862]
8642         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
8643         (getanswer_r): Do not call syslog.
8644         (gaih_getanswer_slice): Likewise.
8645         * resolv/gethnamaddr.c (AskedForGot): Remove.
8646         (getanswer): Do not call syslog.
8647         (gethostbyaddr): Likewise.
8649 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8651         * conform/data/signal.h-data (union sigval): Expect also if
8652         [XOPEN2K].
8653         (struct sigevent): Likewise.
8654         (SIGEV_NONE): Likewise.
8655         (SIGEV_SIGNAL): Likewise.
8656         (SIGEV_THREAD): Likewise.
8657         (SIGRTMIN): Likewise.
8658         (SIGRTMAX): Likewise.
8659         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
8660         variable.
8661         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8663 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8665         [BZ #19830]
8666         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
8667         (gaih_getanswer_slice): Likewise.
8668         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
8669         Also check for availability of RR metadata.
8671 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8673         [BZ #19825]
8674         * resolv/res_send.c (send_vc): Remove early *resplen2
8675         initialization.  Set *resplen2 on socket error.  Call
8676         close_and_return_error for other errors.
8678 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8680         * sysdeps/unix/sysv/linux/netiucv/iucv.h
8681         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
8682         (SCM_IUCV_TRGCLS): New define.
8684 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8686         [BZ #20005]
8687         * libio/fmemopen.c (fmemopen_write): Update internal position after
8688         write.
8689         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
8690         * stdio-common/tst-fmemopen4.c: New file..
8692 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
8694         [BZ #19996]
8695         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
8696         not [__USE_XOPEN2K].
8697         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
8698         variable.
8700         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
8701         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
8702         variable.
8704         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
8705         [__USE_XOPEN2K8].
8706         [__USE_LARGEFILE64] (off64_t): Likewise.
8707         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
8708         variable.
8710 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
8712         [BZ #19989]
8713         * libio/stdio.h (cuserid): Do not declare if
8714         [__USE_XOPEN2K && !__USE_GNU].
8715         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
8716         variable.
8718 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8720         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8721         (sysdep_routines): Add P8 and PPC64 strcspn targets.
8722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8723         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8724         ifunc'ed strcspn.
8725         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8726         [EALIGN]: Removed.
8727         [END]: Likewise
8728         [STRSPN]: Define instead of the above to control symbol name.
8729         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
8730         New file.
8731         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
8732         Likewise.
8733         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
8734         Likewise.
8735         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
8736         Likewise.
8737         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8738         [INITIAL_MASK]: New macro.
8739         [STRCSPN]: Likewise.
8740         [UPDATE_MASK]: Likewise.
8741         [USE_AS_STRCSPN]: Lisewise.
8743 2016-04-25  Florian Weimer  <fweimer@redhat.com>
8745         [BZ #19931]
8746         * stdio-common/tst-vfprintf-width-prec.c: New file.
8747         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
8748         (tests-special): Add tst-vfprintf-width-prec-mem.out.
8749         (generated): Add mtrace-related files.
8750         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
8751         (tst-%-mem.out): New pattern rule, replaces
8752         tst-printf-bz18872-mem.out.
8753         * stdio-common/vfprintf.c (vfprintf): When handling a precision
8754         specifier, deallocate any previously allocated work buffer.
8756 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
8758         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
8759         Add nop before __startcontext, add explaining comments.
8761 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
8763         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
8764         any more. Notably since IPV6_PKTINFO has been reintroduced with a
8765         completely different API.
8767         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
8768         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
8769         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
8770         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
8771         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
8772         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
8773         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
8774         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
8775         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
8776         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
8778 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
8780         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
8782 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
8784         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
8785         when it is the default of 0.
8787 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8789         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
8790         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8791         (sysdep_routines): Add new strcasestr targets.
8792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8793         (__libc_ifunc_impl_list): Likewise.
8794         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
8795         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
8796         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
8797         * sysdeps/powerpc/powerpc64/power8/Makefile:
8798         New file to add strcasestr-ppc64 to sysdep_routines.
8799         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
8800         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
8802 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
8804         * benchtests/Makefile (wcsmbs-benchset): Include only for
8805         native builds and runs.
8806         (LOCALES): Likewise.
8807         (bench-build): Build timing-type here instead of the bench
8808         target.  Generate locale only for native builds.
8809         * benchtests/README: Add note for cross-building.
8811         * benchtests/Makefile (bench-clean): Clean up extra-objs.
8813         * benchtests/README: Update README to include instructions on
8814         using bench-build.
8816         * Makefile.in (bench-build): New target.
8817         * Rules (PHONY): Add bench-build target.
8818         * benchtests/Makefile (bench): Depend on bench-build.
8819         (bench-build): New target.
8821 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8823         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
8824         profil_reply_port.
8825         (profile_waiter): Do not initialize profil_reply_port.
8826         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
8827         frequency instead of tick length in us.
8829 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
8831         [BZ #18712]
8832         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
8833         (__old_mempcpy_small): Likewise.
8834         (__old_strcpy_small): Likewise.
8835         (__old_stpcpy_small): Likewise.
8836         (__old_strpbrk_c2): Fix compat symbol name.
8837         (__old_strpbrk_c3): Likewise.
8838         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
8839         (__mempcpy_small): Remove.
8840         (__strcpy_small): Remove.
8841         (__stpcpy_small): Remove.
8843 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
8845         [BZ #19400]
8846         * locale/iso-639.def: Add the Talossan/tzl language.
8848 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8850         [BZ #16983]
8851         * locale/programs/ld-address.c (address_finish): Update postal_fmt
8852         comment.  Add "ln" to strchr check on postal_fmt.
8854 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8856         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
8857         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
8858         tel_dom_fmt.
8860 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8862         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8863         (sysdep_routines): Added __strlen_power8.
8864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
8865         __strlen_power8 entry.
8866         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
8867         Implementation for POWER8.
8868         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
8869         for __strlen_power8.
8870         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
8871         Implementation for POWER8.
8873 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
8875         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
8877 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
8879         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
8880         Goldmont and Airmont processors.
8882 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
8884         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8885         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8886         (__STRING2_SMALL_GET32): Remove.
8887         (memset): Remove.
8888         (__memset_1): Remove.
8889         (__memset_gc): Remove.
8890         (__mempcpy): Remove.
8891         (mempcpy): Remove.
8892         (__mempcpy_args): Remove.
8893         (strchr): Remove.
8894         (strcpy): Remove.
8895         (strcpy_args): Remove.
8896         (__stpcpy_args): Remove.
8897         (__strcmp_cc): Remove.
8898         (__strcmp_gc): Remove.
8899         (strstr): Remove.
8901 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8903         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8904         * nis/nis_call.c (nis_server_cache_add): Likewise.
8906 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8908         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8910 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8912         * malloc/arena.c (__malloc_fork_lock_parent)
8913         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8914         internal_function attribute.
8916 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8918         * stdio-common/printf_fp.c (__printf_fp_l):
8919         Rename ___printf_fp_l to __printf_fp_l and
8920         remove strong alias. Use libc_hidden_def instead
8921         of ldbl_hidden_def macro.
8923 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8925         Remove malloc hooks from fork handler.  They are no longer needed
8926         because malloc runs right before fork, and no malloc calls from
8927         other fork handlers are not possible anymore.
8928         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8929         declarations.
8930         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8931         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8932         (atfork_recursive_cntr): Remove.
8933         (__malloc_fork_lock_parent): Do not override malloc hooks and
8934         thread_arena.
8935         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8936         thread_arena.
8937         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8938         thread_arena instead of save_arena.
8940 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8942         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8943         (thread_atfork, thread_atfork_static): Remove.
8944         * sysdeps/mach/hurd/malloc-machine.h:
8945         (thread_atfork, thread_atfork_static): Remove.
8947 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8949         [BZ #19431]
8950         Run the malloc fork handler as late as possible to avoid deadlocks.
8951         * malloc/malloc-internal.h: New file.
8952         * malloc/malloc.c: Include it.
8953         * malloc/arena.c (ATFORK_MEM): Remove.
8954         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8955         Update comment.
8956         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8957         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8958         Remove outdated comment.
8959         (ptmalloc_init): Do not call thread_atfork.  Remove
8960         thread_atfork_static.
8961         * malloc/tst-malloc-fork-deadlock.c: New file.
8962         * Makefile (tests): Add tst-malloc-fork-deadlock.
8963         (tst-malloc-fork-deadlock): Link against libpthread.
8964         * manual/memory.texi (Aligned Memory Blocks): Update safety
8965         annotation comments.
8966         * sysdeps/nptl/fork.c (__libc_fork): Call
8967         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8968         __malloc_fork_unlock_child.
8969         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8971 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8973         [BZ #19613]
8974         Remove union wait.
8975         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8976         (w_stopsig, w_stopval): Remove.
8977         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8978         stat_loc argument.
8979         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8980         (__WAIT_STATUS_DEFN): Remove.
8981         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8982         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8983         (wait, wait3, wait4): Use int * for the stat_loc argument.
8984         * posix/wait.c (__wait): Likewise.
8985         * posix/wait3.c (__wait3): Likewise.
8986         * posix/wait4.c (__wait4): Likewise.
8987         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8988         (__WAIT_STATUS_DEFN): Remove.
8989         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8990         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8991         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8992         argument.
8993         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8994         * sysdeps/posix/wait3.c (__wait3): Likewise.
8995         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8996         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8997         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8998         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8999         stat_loc argument.
9000         * manual/process.texi (BSD Wait Functions): Remove union wait.
9002 2016-04-13  Andreas Schwab  <schwab@suse.de>
9004         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9005         (test-extras): Add tst-tlsalign-vars.
9006         * math/Makefile: Wrap long lines.
9007         (libm-vec-test-wrappers): Define.
9008         (test-extras): Add $(libm-vec-test-wrappers).
9009         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9010         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9011         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9012         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9013         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9014         (extra-test-objs): Add corresponding objects.
9016 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9018         [BZ #19928]
9019         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9020         New.
9021         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9022         times of shared cache size.
9023         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9024         (VMOVNT): New.
9025         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9026         (VMOVNT): Likewise.
9027         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9028         (VMOVNT): Likewise.
9029         (VMOVU): Changed to movups for smaller code sizes.
9030         (VMOVA): Changed to movaps for smaller code sizes.
9031         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9032         comments.
9033         (PREFETCH): New.
9034         (PREFETCH_SIZE): Likewise.
9035         (PREFETCHED_LOAD_SIZE): Likewise.
9036         (PREFETCH_ONE_SET): Likewise.
9037         Rewrite to use forward and backward loops, which move 4 vector
9038         registers at a time, to support overlapping addresses and use
9039         non temporal store if size is above the threshold and there is
9040         no overlap between destination and source.
9042 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9044         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9045         Include dl-vdso.
9046         * sysdeps/unix/sysv/linux/mips/Versions: Add
9047         __vdso_clock_gettime.
9048         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9049         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9050         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9051         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9052         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9053         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9054         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9055         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9056         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9058 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9060         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9061         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9064         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9065         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9068         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9069         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9070         syscalls generation.
9071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9072         [__NR_pwrite64] (__NR_write): Remove define.
9073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9074         [__NR_pwrite64] (__NR_write): Remove define.
9075         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9076         Remove define.
9077         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9078         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9079         Remove define.
9080         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9081         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9082         Linux implementation as base.
9083         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9085         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9086         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9088         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9091         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9092         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9093         syscall generation.
9094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9095         [__NR_pread64] (__NR_pread): Remove define.
9096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9097         [__NR_pread64] (__NR_pread): Likewise.
9098         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9099         define.
9100         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9101         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9102         Remove define.
9103         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9104         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9105         Linux implementation as base.
9106         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9107         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9108         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9110         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9111         definition.
9112         (__ALIGNMENT_COUNT): Likewise.
9113         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9114         (__ALIGNMENT_COUNT): Likewise.
9115         (SYSCALL_LL): New define.
9116         (SYSCALL_LL64): Likewise.
9117         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9118         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9119         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9120         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9122         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9123         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9124         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9125         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9126         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9127         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9129 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9131         [BZ #19865]
9132         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9133         original buffer before retry.
9135 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9137         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9138         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9139         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9140         GLRO(dl_auxv) list.
9141         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9142         including <ldsodefs.h>.
9143         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9145 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9147         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9148         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9149         $(CPPFLAGS).
9151 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9153         [BZ #17950]
9154         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9155         Add -mfpmath=387.
9157 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9159         * sysdeps/i386/configure.ac: Change == to = when calling test.
9160         * sysdeps/x86_64/configure.ac: Likewise.
9161         * sysdeps/i386/configure: Regenerated.
9162         * sysdeps/x86_64/configure: Likewise.
9164 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9166         [BZ #16137]
9167         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9168         * benchtests/bench-strcoll.c (input_files): Likewise.
9169         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9170         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9171         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9173 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9175         [BZ #19929]
9176         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9177         [__USE_XOPEN2K8 && !__USE_GNU].
9178         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9179         variable.
9181         [BZ #19925]
9182         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9183         define if [!__USE_MISC && __USE_XOPEN2K].
9184         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9185         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9186         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9187         Likewise.
9188         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9189         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9190         variable.
9191         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9193 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9195         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9196         (sysdep_routines): Add new strspn targets.
9197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9198         (__libc_ifunc_impl_list): Add strspn.
9199         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9200         New file.
9201         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9202         Likewise.
9203         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9204         Likewise.
9205         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9206         Likewise.
9208 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9210         * misc/hsearch_r.c: Include <limits.h>.
9212 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9214         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9216 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9218         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9219         (MEMCPY_SYMBOL): New.
9220         (MEMPCPY_SYMBOL): Likewise.
9221         (MEMMOVE_CHK_SYMBOL): Likewise.
9222         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9223         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9224         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9225         Provide alias for memcpy in libc.a and ld.so.
9227 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9229         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9230         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
9231         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9232         Disabled fro now.
9233         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
9234         symbols.  Properly check USE_MULTIARCH on __memset symbols.
9236 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9238         * benchtests/Makefile (string-benchset): Add memcpy-large,
9239         memmove-large and memset-large.
9240         * benchtests/bench-memcpy-large.c: New file.
9241         * benchtests/bench-memmove-large.c: Likewise.
9242         * benchtests/bench-memmove-large.c: Likewise.
9243         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
9245 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9247         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
9248         32-bit displacement to avoid long nop between instructions.
9250 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9252         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9253         a comment on VMOVU and VMOVA.
9255 2016-04-04  Florian Weimer  <fweimer@redhat.com>
9257         [BZ #19633]
9258         Use specified locale for number formatting in strfmon_l.
9259         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
9260         (__nl_lookup_word): New inline functions.
9261         * include/printf.h (__print_fp_l): Declare.
9262         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
9263         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
9264         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
9265         (___printf_fp): New function.
9266         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
9267         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
9268         * stdlib/tst-strfmon_l.c (do_test): New test.
9269         * stdlib/Makefile (tests): Add kt.
9270         (LOCALES): Build additional locales.
9271         (tst-strfmon_l.out): Require locales.
9273 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9275         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
9276         if not in libc.
9277         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9278         Likewise.
9279         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
9280         Likewise.
9281         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9282         Likewise.
9284 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9286         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9287         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
9288         with unaligned_erms.
9289         (__memmove_erms): Skip if source == destination.
9290         (__memmove_unaligned_erms): Don't check source == destination
9291         first.
9293 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9295         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9296         bit_arch_Fast_Copy_Backward for Intel Core proessors.
9298 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9300         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
9301         * string/strspn.c (strspn): Likewise.
9303 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9305         * benchtests/bench-memset.c (do_test): Support 64-byte
9306         alignment.
9307         (test_main): Test 64-byte alignment.
9309 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9311         * benchtests/bench-memmove.c (test_main): Test 64-byte
9312         alignment.
9314 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9316         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
9318 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9320         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
9321         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
9322         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
9324         * string/strpbrk.c (strpbrk): Rewrite function.
9325         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9326         (__strpbrk_c2): Likewise.
9327         (__strpbrk_c3): Likewise.
9328         * string/string-inlines.c
9329         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
9330         Likewise.
9331         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
9332         Likewise.
9334         * string/strspn.c (strcspn): Rewrite function.
9335         * string/bits/string2.h (strspn): Use __builtin_strcspn.
9336         (__strspn_c1): Remove inline function.
9337         (__strspn_c2): Likewise.
9338         (__strspn_c3): Likewise.
9339         * string/string-inlines.c
9340         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
9341         compatibility symbol.
9342         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
9343         Likewise.
9344         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
9345         Likewise.
9346         * string/string-inlines.c: Include generic version.
9348 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
9349             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9351         * string/Version (libc): Add GLIBC_2.24.
9352         * string/strcspn.c (strcspn): Rewrite function.
9353         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
9354         (__strcspn_c1): Remove inline function.
9355         (__strcspn_c2): Likewise.
9356         (__strcspn_c3): Likewise.
9357         * string/string-inline.c
9358         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
9359         compatibility symbol.
9360         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
9361         Likewise.
9362         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
9363         Likewise.
9364         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
9366 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9368         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9369         Use ahi instead of aghi to adjust stack pointer.
9371 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9373         [BZ #19853]
9374         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
9375         TEST to take significant digits as second parameter.
9376         [TEST]: Redefine in terms of TEST_N taking 30
9377         significant digits.
9378         (do_test): Add test case to demonstrate precision
9379         failure in the ldbl-128ibm printf.
9380         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
9381         (__mpn_extract_long_double): Carry 7 extra intermediate
9382         bits of precision to aide computing difference when
9383         signs differ.
9385 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9387         [BZ #19881]
9388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9389         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
9390         memset-avx512-unaligned-erms.
9391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9392         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
9393         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
9394         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
9395         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
9396         __memset_sse2_unaligned_erms, __memset_erms,
9397         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
9398         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9399         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
9400         file.
9401         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9402         Likewise.
9403         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
9404         Likewise.
9405         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
9406         Likewise.
9408 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9410         [BZ #19776]
9411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9412         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9413         memmove-avx512-unaligned-erms.
9414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9415         (__libc_ifunc_impl_list): Test
9416         __memmove_chk_avx512_unaligned_2,
9417         __memmove_chk_avx512_unaligned_erms,
9418         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9419         __memmove_chk_sse2_unaligned_2,
9420         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9421         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9422         __memmove_avx512_unaligned_erms, __memmove_erms,
9423         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9424         __memcpy_chk_avx512_unaligned_2,
9425         __memcpy_chk_avx512_unaligned_erms,
9426         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9427         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9428         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9429         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9430         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9431         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9432         __mempcpy_chk_avx512_unaligned_erms,
9433         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9434         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9435         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9436         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9437         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9438         __mempcpy_erms.
9439         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9440         file.
9441         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9442         Likwise.
9443         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9444         Likwise.
9445         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9446         Likwise.
9448 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9450         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9451         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9452         (La_s390_64_regs): Likewise.
9453         (La_s390_32_retval): Append vector register lrv_v24.
9454         (La_s390_64_retval): Likeweise.
9455         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9456         Handle extended structs La_s390_32_regs and La_s390_32_retval.
9457         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9458         Handle extended structs La_s390_64_regs and La_s390_64_retval.
9460 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9462         [BZ #19916]
9463         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
9464         to create a non-vector/vector version for _dl_runtime_resolve and
9465         _dl_runtime_profile. Move implementation to ...
9466         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
9467         (_dl_runtime_resolve) Save and restore fpr/vrs.
9468         (_dl_runtime_profile) Save and restore vrs and fix some issues
9469         if _dl_call_pltexit is called.
9470         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9471         Choose the correct resolver function if running on a machine with vx.
9472         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9473         to create a non-vector/vector version for _dl_runtime_resolve and
9474         _dl_runtime_profile. Move implementation to ...
9475         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9476         (_dl_runtime_resolve) Save and restore fpr/vrs.
9477         (_dl_runtime_profile) Save and restore vrs and fix some issues
9478         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9479         Choose the correct resolver function if running on a machine with vx.
9481 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9483         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9485 2016-03-31  Florian Weimer  <fweimer@redhat.com>
9487         [BZ #19509]
9488         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9489         skip_map != NULL.
9490         * elf/tst-dlsym-error.c: New file.
9491         * elf/Makefile (tests): Add tst-dlsym-error.
9492         (tst-dlsym-error): Link against libdl.
9494 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
9496         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9497         (__ASSUME_FUTIMESAT): Remove macro.
9498         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9500 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9502         [BZ #19879]
9503         CVE-2016-3075
9504         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9505         copy name.
9507 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9509         [BZ #19837]
9510         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9511         error if parse_line fails.
9513 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9515         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9516         (index_cpu_ERMS): Likewise.
9517         (reg_ERMS): Likewise.
9519 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
9521         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
9522         PER_LINUX_FDPIC): Add.
9524 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9527         memcpy-avx512-no-vzeroupper.
9528         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
9529         to ...
9530         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
9531         (MEMCPY): Don't define.
9532         (MEMCPY_CHK): Likewise.
9533         (MEMPCPY): Likewise.
9534         (MEMPCPY_CHK): Likewise.
9535         (MEMPCPY_CHK): Renamed to ...
9536         (__mempcpy_chk_avx512_no_vzeroupper): This.
9537         (MEMPCPY_CHK): Renamed to ...
9538         (__mempcpy_chk_avx512_no_vzeroupper): This.
9539         (MEMCPY_CHK): Renamed to ...
9540         (__memmove_chk_avx512_no_vzeroupper): This.
9541         (MEMCPY): Renamed to ...
9542         (__memmove_avx512_no_vzeroupper): This.
9543         (__memcpy_avx512_no_vzeroupper): New alias.
9544         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
9546 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9548         [BZ #18858]
9549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9550         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
9551         and mempcpy-avx512-no-vzeroupper.
9552         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
9553         New.
9554         (MEMPCPY): Likewise.
9555         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
9556         (MEMPCPY_CHK): New.
9557         (MEMPCPY): Likewise.
9558         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
9559         (MEMPCPY): Likewise.
9560         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
9561         (MEMPCPY): Likewise.
9562         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
9563         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
9564         Likewise.
9565         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
9566         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
9568 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9569              Amit Pawar  <Amit.Pawar@amd.com>
9571         [BZ #19583]
9572         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9573         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
9574         processors.  Set Fast_Copy_Backward for AMD Excavator
9575         processors.
9576         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
9577         New.
9578         (index_arch_Fast_Unaligned_Copy): Likewise.
9579         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
9580         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
9582 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9584         [BZ #19791]
9585         * resolv/res_send.c (close_and_return_error): New function.
9586         (send_dg): Initialize *resplen2 after reopen failure.  Call
9587         close_and_return_error for error returns.  On error paths without
9588         __res_iclose, initialze *resplen2 explicitly.  Update comment for
9589         successful return.
9591 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9593         [BZ# 19860]
9594         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
9595         zero if the compiler does not provide the AVX512F bit.
9597 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
9599         [BZ #19848]
9600         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
9601         from 8 to 4.
9602         (__ieee754_powl): Compare integer exponent against 4 not 8.
9603         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
9604         from 8 to 4.
9605         (__ieee754_powl): Compare integer exponent against 4 not 8.
9606         * math/auto-libm-test-in: Add more tests of pow.
9607         * math/auto-libm-test-out: Regenerated.
9608         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9611 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9613         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
9614         Make code unconditional.
9615         [!__NR_utimensat]: Remove conditional code.
9616         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
9617         Make code unconditional.
9618         [!__NR_utimensat]: Remove conditional code.
9619         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
9620         Make code unconditional.
9621         [!__NR_utimensat]: Remove conditional code.
9623 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9625         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
9626         Make code unconditional.
9628 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
9630         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
9631         call-clobbered %eax on retry path.
9632         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9634 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9636         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
9637         Don't set %rcx twice before "rep movsb".
9639 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9641         [BZ #19583]
9642         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
9643         inline.  Check family before setting family, model and
9644         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
9645         bits here.
9646         (init_cpu_features): Replace HAS_CPU_FEATURE and
9647         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
9648         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
9649         for Intel processors with usable AVX2.  Call get_common_indeces
9650         for other processors with family == NULL.
9651         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
9652         (CPU_FEATURES_ARCH_P): Likewise.
9653         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
9654         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
9656 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9658         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
9659         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
9660         $(shared-thread-library) instead of hardcoding the path to libpthread.
9662 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
9664         * sysdeps/unix/sysv/linux/kernel-features.h
9665         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
9666         * sysdeps/unix/sysv/linux/getdents.c
9667         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
9668         [!have_no_getdents64_defined]: Likewise.
9669         (__GETDENTS): Remove __have_no_getdents64 conditional.
9671 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
9673         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
9674         Remove macro.
9675         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
9676         <kernel-features.h>.
9677         (signalfd) [__NR_signalfd4]: Make code unconditional.
9678         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
9680 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9682         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
9683         style.
9685 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
9687         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
9688         (__pthread_enable_asynccancel): Use JUMPTARGET to call
9689         __pthread_unwind.
9690         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9691         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
9692         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9693         (__condvar_cleanup1): Likewise.
9695 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
9697         [BZ #19822]
9698         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
9699         move it to the final $@ location.
9701 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9703         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
9704         access where posix_spawn success and pid argument is null.
9705         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
9706         success case.
9708 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
9710         * sysdeps/mach/hurd/i386/c++-types.data: New file.
9712         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
9714         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
9715         and __fcntl.
9716         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
9717         __fcntl only.
9718         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
9719         adding attribute_hidden to __open and __fcntl.
9721         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
9722         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
9723         depend on libc-modules.h,
9724         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
9726 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
9728         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
9729         Remove macro.
9730         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
9731         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
9732         entry.
9734         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
9735         Remove macro.
9736         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
9737         include <kernel-features.h>.
9738         [!__ASSUME_FALLOCATE]: Remove conditional code.
9739         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
9741 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9743         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
9744         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
9745         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
9746         (_ZGVdN4v_cos_avx2): Likewise.
9747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
9748         (_ZGVdN4v_cos): Likewise.
9749         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
9750         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
9751         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
9752         (_ZGVdN4v_exp_avx2): Likewise.
9753         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
9754         (_ZGVdN4v_exp): Likewise.
9755         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
9756         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
9757         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
9758         (_ZGVdN4v_log_avx2): Likewise.
9759         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
9760         (_ZGVdN4v_log): Likewise.
9761         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
9762         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
9763         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
9764         (_ZGVdN4vv_pow_avx2): Likewise.
9765         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
9766         (_ZGVdN4vv_pow): Likewise.
9767         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
9768         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
9769         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
9770         (_ZGVdN4v_sin_avx2): Likewise.
9771         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
9772         (_ZGVdN4v_sin): Likewise.
9773         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
9774         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
9775         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
9776         (_ZGVdN4vvv_sincos_avx2): Likewise.
9777         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
9778         (_ZGVdN4vvv_sincos): Likewise.
9779         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
9780         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
9781         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
9782         (_ZGVbN4v_cosf_sse4): Likewise.
9783         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
9784         (_ZGVdN8v_cosf_avx2): Likewise.
9785         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
9786         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
9787         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
9788         (_ZGVbN4v_expf_sse4): Likewise.
9789         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
9790         (_ZGVdN8v_expf_avx2): Likewise.
9791         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
9792         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
9793         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
9794         (_ZGVbN4v_logf_sse4): Likewise.
9795         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
9796         (_ZGVdN8v_logf_avx2): Likewise.
9797         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
9798         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
9799         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
9800         (_ZGVbN4vv_powf_sse4): Likewise.
9801         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
9802         (_ZGVdN8vv_powf_avx2): Likewise.
9803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9804         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
9805         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9806         (_ZGVbN4vvv_sincosf_sse4): Likewise.
9807         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9808         (_ZGVdN8vvv_sincosf_avx2): Likewise.
9809         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
9810         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
9811         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
9812         (_ZGVbN4v_sinf_sse4): Likewise.
9813         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
9814         (_ZGVdN8v_sinf_avx2): Likewise.
9815         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9816         Use JUMPTARGET to call callee.
9817         (WRAPPER_IMPL_SSE2_ff): Likewise.
9818         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9819         (WRAPPER_IMPL_AVX): Likewise.
9820         (WRAPPER_IMPL_AVX_ff): Likewise.
9821         (WRAPPER_IMPL_AVX_fFF): Likewise.
9822         (WRAPPER_IMPL_AVX512): Likewise.
9823         (WRAPPER_IMPL_AVX512_ff): Likewise.
9824         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9825         Likewise.
9826         (WRAPPER_IMPL_SSE2_ff): Likewise.
9827         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9828         (WRAPPER_IMPL_AVX): Likewise.
9829         (WRAPPER_IMPL_AVX_ff): Likewise.
9830         (WRAPPER_IMPL_AVX_fFF): Likewise.
9831         (WRAPPER_IMPL_AVX512): Likewise.
9832         (WRAPPER_IMPL_AVX512_ff): Likewise.
9833         (WRAPPER_IMPL_AVX512_fFF): Likewise.
9835 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9837         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
9838         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
9839         qualifier.
9840         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
9841         internal_function qualifiers.
9843 2016-03-15  Carlos O'Donell <carlos@redhat.com>
9845         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
9846         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
9847         * math/atest-exp.c (exp_mpn): Mark chk unused.
9848         * math/atest-exp2.c (exp_mpn): Likwise.
9849         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
9850         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
9852 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
9854         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
9855         Remove macro.
9856         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
9857         <kernel-features.h>.
9858         [__NR_ppoll]: Make code unconditional.
9859         [!__ASSUME_PPOLL]: Remove conditional code.
9861         * sysdeps/unix/sysv/linux/kernel-features.h
9862         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
9863         (__ASSUME_ACCEPT4): Likewise.
9864         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9865         Define.
9866         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9867         Likewise.
9868         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9869         Likewise.
9870         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
9871         Likewise.
9872         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
9873         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
9874         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9875         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9876         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9877         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9878         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9879         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9880         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9881         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9882         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9883         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9884         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9885         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9886         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9887         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9888         Likewise.
9889         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9890         Likewise.
9891         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9892         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9893         0x040300].
9894         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9895         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9896         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9897         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9898         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9899         0x030300].
9900         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9901         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9902         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9903         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9904         0x040300].
9905         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9906         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9908         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9909         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9910         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9911         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9912         0x030300].
9913         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9914         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9915         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9917         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9918         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9919         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9920         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9921         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9922         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9923         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9924         0x040300].
9925         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9926         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9927         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9928         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9929         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9930         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9931         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9932         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9934         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9935         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9936         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9937         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9938         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9939         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9940         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9941         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9942         Likewise.
9943         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9944         Likewise.
9946 2016-03-15  Andreas Schwab  <schwab@suse.de>
9948         [BZ #19257]
9949         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9950         statp->_u._ext.nscount as loop count.
9952 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9954         * math/test-signgam-finite-c99.c: Also #undef
9955         __LIBC_INTERNAL_MATH_INLINES.
9956         * math/test-signgam-main.c: Likewise.
9958 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9960         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9961         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9962         (MADV_FREE): Likewise.
9963         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9964         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9965         EPOLLEXCLUSIVE.
9967 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9969         * timezone/README: Remove mention of checktab.awk. Mention wiki
9970         SharedSourceFiles.
9972 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9974         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9975         WUNTRACED.
9977 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9979         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9980         order to match the type of p when calling atomic_exchange_acq().
9982 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9984         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9985         cfi_offset calls.
9986         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9987         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9988         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9989         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9990         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9992 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9994         * timezone/checktab.awk: Removed.
9996 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9998         * manual/math.texi (Errors in Math Functions): Document relaxed
9999         accuracy goals for IBM long double.
10000         * math/libm-test.inc (test_exceptions): Always allow spurious
10001         "underflow" and "inexact" exceptions for IBM long double.
10003 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10005         [BZ #19762]
10006         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10007         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10008         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10009         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10010         (bit_arch_*): This for feature array.
10011         (bit_*): Renamed to ...
10012         (bit_cpu_*): This for cpu array.
10013         (index_*): Renamed to ...
10014         (index_arch_*): This for feature array.
10015         (index_*): Renamed to ...
10016         (index_cpu_*): This for cpu array.
10017         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10018         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10019         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10020         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10021         bit_##name with index_cpu_##name and bit_cpu_##name.
10022         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10023         bit_##name with index_arch_##name and bit_arch_##name.
10025 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10027         [BZ #19792]
10028         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10029         Terminate FDE before return label.
10031 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10033         [BZ #19790]
10034         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10035         (rintl): Define as macro.
10036         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10037         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10038         of fesetround.  Ensure results are evaluated before end of scope.
10039         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10040         USE_AS_NEARBYINTL and include s_rintl.c.
10041         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10042         Disable exception traps in new environment.
10043         (libc_feholdsetround_ppc_ctx): Likewise.
10045 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10047         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10048         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10049         (tst_audit10_aux) [__AVX512F__]: ... here.
10051 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10053         * include/sys/auxv.h: New file.
10055 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10057         [BZ #19759]
10058         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10060 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10062         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10063         operand modifier.
10064         (feclearexcept): Likewise.
10066 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10068         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10069         to reflect the entire 32-bit HWCAP.
10070         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10071         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10073 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10075         [BZ #19783]
10076         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10077         $(test-via-rtld-prefix).
10078         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10080 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10082         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10083         union wait.  Report any non-zero exit status as error.
10085 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10087         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10088         configured with --enable-hardcoded-path-in-tests.
10090 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10092         [BZ #19677]
10093         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10094         (__ieee754_remainderl): Put zero low parts in canonical form.
10095         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10096         file.  Based on
10097         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10098         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10099         with wrapper round test-fmodrem-ldbl-128ibm.c.
10100         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10101         file.
10102         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10103         Likewise.
10104         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10105         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10107 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10109         [BZ #19610]
10110         * elf/ldconfig.c (opt_link): Update comment.
10111         (options): Update help string for option -X.
10112         (search_dir): Unlink stale symbolic link only if updating symbolic
10113         links.
10114         * elf/tst-ldconfig-X.sh: New file.
10115         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10116         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10118 2016-03-07  Andreas Schwab  <schwab@suse.de>
10120         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10121         needed arguments.
10123 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10125         [BZ #15333]
10126         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10127         to lstat64.
10129 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10131         * libio/filedoalloc.c (isatty): Remove.
10132         (local_isatty): Add comment.  Call __isatty directly.
10133         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10134         * libio/wfiledoalloc.c (isatty): Remove.
10135         (_IO_wfile_doallocate): Update comment.
10137 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10139         [BZ #19269]
10140         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10141         tst-audit4-aux.o.
10142         (tst-audit10): Depend on tst-audit10-aux.o.
10143         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10144         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10145         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10146         instead of inline AVX code.
10147         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10148         instead of inline AVX512 code.
10149         * sysdeps/x86_64/tst-audit4-aux.c: New file
10150         * sysdeps/x86_64/tst-audit10-aux.c: New file
10152         [BZ #19648]
10153         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10155 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10157         [BZ #14750]
10158         [BZ #10354]
10159         [BZ #18433]
10160         * include/sched.h (__clone): Add hidden prototype.
10161         (__clone2): Likewise.
10162         * include/unistd.h (__dup): Likewise.
10163         * posix/Makefile (tests): Add tst-spawn2.
10164         * posix/tst-spawn2.c: New file.
10165         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10166         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10167         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10168         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10169         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10170         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10171         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10172         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10173         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10174         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10175         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10177         Likewise.
10178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10179         Likewise.
10180         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10181         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10182         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10183         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10184         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10185         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10186         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10187         * sysdeps/unix/sysv/linux/nptl-signals.h
10188         (____nptl_is_internal_signal): New function.
10189         * sysdeps/unix/sysv/linux/spawni.c: New file.
10191         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10192         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10193         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10194         * posix/tst-execvp2.c (do_test): Likewise.
10195         * posix/tst-execvp3.c (do_test): Likewise.
10196         * posix/tst-execvp4.c (do_test): Likewise.
10197         * posix/tst-execvpe1.c: New file.
10198         * posix/tst-execvpe2.c: Likewise.
10199         * posix/tst-execvpe3.c: Likewise.
10200         * posix/tst-execvpe4.c: Likewise.
10201         * posix/tst-execvpe5.c: Likewise.
10202         * posix/tst-execvpe6.c: Likewise.
10204         [BZ #19534]
10205         * posix/execl.c (execl): Remove dynamic memory allocation.
10206         * posix/execle.c (execle): Likewise.
10207         * posix/execlp.c (execlp): Likewise.
10209 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10211         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10212         Replace .text with .text.avx512.
10213         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10214         Likewise.
10216 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10218         * sysdeps/generic/libnsl.abilist: New file.
10219         * sysdeps/generic/libutil.abilist: New file.
10221 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10223         [BZ #19762]
10224         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10225         HAS_ARCH_FEATURE with Fast_Rep_String.
10226         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10227         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10228         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10229         Likewise.
10230         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10231         Likewise.
10232         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10233         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
10234         Likewise.
10235         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
10236         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
10237         Likewise.
10239 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10241         [BZ #19745]
10242         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10243         with *%rax in call.
10245 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10247         [BZ #19745]
10248         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
10249         with *__libc_start_main@GOTPCREL(%rip) in call.
10251 2016-03-04  Roland McGrath  <roland@hack.frob.com>
10253         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
10254         inside conditional for nonempty $(CXX).
10256         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
10257         nonempty.
10259         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
10260         to test for empty $(CXX) rather than $(CXX) of "no".
10262 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10264         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
10266 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
10267             H.J. Lu  <hongjiu.lu@intel.com>
10269         [BZ #18880]
10270         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
10271         instead of Slow_BSF, and also check for Fast_Copy_Backward to
10272         enable __memcpy_ssse3_back.
10274 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10276         [BZ #19758]
10277         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10278         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
10280 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10282         [BZ #19490]
10283         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
10284         (__fentry__): Likewise.
10286 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10288         * gmon/Makefile (noprof): Add $(sysdep_noprof).
10289         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
10291 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10293         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
10294         __mcount_internal directly.
10295         (C_LABEL(__fentry__)): Likewise.
10296         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
10297         directly.
10299 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10301         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10302         (__start_context): Call __setcontext directly.
10304 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
10306         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10307         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10308         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
10309         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10310         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10311         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10312         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
10313         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10314         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10315         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
10316         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10317         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10318         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10319         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10320         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10321         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10322         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
10323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10324         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10325         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10326         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
10327         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10328         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10329         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10330         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
10331         Remove conditional code.
10332         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10333         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
10334         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10335         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10336         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
10337         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10338         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10339         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10340         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10341         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10342         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10343         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10345 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
10347         * NEWS (2.23): Fix typo in bug 19048 text.
10349 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
10351         [BZ #14259]
10352         * Makeconfig: Rename msgcatdir to localedir.
10353         Rename inst_msgcatdir to inst_localedir.
10354         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
10355         * config.make.in: Add localedir.
10356         * elf/Makefile ($(objpfx)sotruss): Use localedir.
10357         (ldd-rewrite): Likewise.
10358         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
10359         (install-others): Use inst_localedir.
10360         (CPPFLAGS): Use localedir.
10361         * locale/Makefile (locale-CPPFLAGS): Likewise.
10362         * po/Makefile (mo-installed): Use inst_localedir.
10364         [BZ #19575]
10365         * localedata/charmaps/GB18030: Update comments regarding PAU to
10366         non-PUA mappings.
10368 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
10370         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
10371         test for header.
10372         * sysdeps/unix/sysv/linux/configure: Regenerated.
10373         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
10374         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
10375         Remove conditional code.
10376         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
10378         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10379         Define to 3.2.0.
10380         (arch_minimum_kernel): Likewise.
10381         * sysdeps/unix/sysv/linux/configure: Regenerated.
10382         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10383         Define to 2.6.32.
10384         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
10385         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
10386         (arch_minimum_kernel): Define to 2.6.32.
10387         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
10388         * README: Document Linux 3.2 requirement.
10389         * manual/install.texi (Linux): Document Linux 3.2 headers
10390         requirement.
10391         * INSTALL: Regenerated.
10393 2016-02-24  Andreas Schwab  <schwab@suse.de>
10395         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
10396         if !NO_LONG_DOUBLE.
10398 2016-02-22  Roland McGrath  <roland@hack.frob.com>
10400         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
10401         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
10403 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
10405         [BZ #19512]
10406         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
10408 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10410         * posix/tst-dir.c: Include libc-internal.h.
10412 2016-02-20  Florian Weimer  <fweimer@redhat.com>
10414         [BZ #19056]
10415         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10416         * manual/filesys.texi (Reading/Closing Directory): Mention
10417         deprecaion.
10418         * posix/tst-dir.c (main): Disable deprecation warning in test.
10420 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10422         [BZ #19679]
10423         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10424         Renamed to ...
10425         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10426         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10427         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10428         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10429         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10430         * sysdeps/x86_64/dl-trampoline.h
10431         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10432         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10434 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10436         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10438 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10440         * elf/elf.h (R_386_GOT32X): New.
10441         (R_386_NUM): Update.
10442         (R_X86_64_GOTPCRELX: New.
10443         (R_X86_64_REX_GOTPCRELX): New.
10444         (R_X86_64_NUM): Update.
10446 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
10448         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10450 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
10452         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10453         assign attr->stackaddr to it, and adjust it down when
10454         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
10455         [_STACK_GROWS_UP]: Delete assert.
10456         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10457         Implement stack grows up logic.
10458         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10459         stack grows up logic.
10461 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10463         * NEWS: Update with 2.24 template.
10465 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10467         [BZ #19678]
10468         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10469         Ensure +0.0 is returned when taking the next value below the least
10470         positive value.
10472 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10474         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10475         available.  Do not define NO_THREADS.
10476         * malloc/malloc.c: Do not check NO_THREADS.
10477         * malloc/arena.c: Likewise.
10479 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10481         * malloc/malloc.c (__libc_mallinfo): Update comment.
10482         (struct malloc_par): Remove max_total_mem member, it was always 0.
10483         (int_mallinfo): Store 0 into usmblks (no functional change).
10484         * malloc/hooks.c (struct malloc_state): Document that
10485         max_total_mem is always 0.
10486         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10487         always 0.
10488         * manual/memory.texi (Statistics of Malloc): Likewise.
10490 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10492         * malloc/malloc.c (sysmalloc): Do not update arena_max.
10493         * malloc/arena.c (arena_max): Remove.
10494         (heap_trim, _int_new_arena): Do not update arena_max.
10496 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10498         * resolv/res_init.c (res_ninit): Update comment.
10500 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10502         [BZ #19505]
10503         * posix/spawn_int.h: Add headers and include guard.
10504         (__spawn_valid_fd): New function.
10505         * posix/spawn_faction_addopen.c
10506         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10507         * posix/spawn_faction_addclose.c
10508         (posix_spawn_file_actions_addclose): Likewise.
10509         * posix/spawn_faction_adddup2.c
10510         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
10511         second file descriptor.
10512         * posix/spawn_valid_fd.c: New file.
10513         * posix/tst-posix_spawn-fd.c: New file.
10514         * posix/Makefile (routines): Add spawn_valid_fd.
10515         (tests): Add tst-posix_spawn-fd.
10517 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10519         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
10520         (do_test): Limit the number of arenas, so that we can use fewer
10521         outer threads.  Limit timeout to 3 seconds, in preparation for a
10522         larger TIMEOUT value.
10524 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10526         [BZ #19674]
10527         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
10528         sign in overflowing and underflowing results when overflow or
10529         underflow is detected early.  Include sign in result before rather
10530         than after scaling.
10532         [BZ #19603]
10533         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10534         (__ieee754_remainderl): Adjust sign of integer version of low part
10535         when taking absolute value of high part.
10536         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10537         * math/libm-test.inc (remainder_test_data): Add another test.
10538         (remquo_test_data): Likewise.
10540 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
10542         [BZ #19602]
10543         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
10544         equal high parts and both low parts zero specially.
10545         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
10546         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10547         Add test-fmodl-ldbl-128ibm.
10549         [BZ #19595]
10550         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
10551         common logic for all cases of shifting subnormal results.  Do not
10552         insert sign bit in shifted mantissa.  Always pass -1023 as biased
10553         exponent to ldbl_insert_mantissa in subnormal case.
10555         [BZ #19594]
10556         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
10557         on high and low parts then adjust result and use
10558         ldbl_canonicalize_int if needed.
10560         [BZ #19593]
10561         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
10562         on high part and __floor or __ceil on low part then use
10563         ldbl_canonicalize_int if needed.
10565         [BZ #19592]
10566         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
10567         high and low parts then use ldbl_canonicalize_int if needed.
10569         [BZ #17899]
10570         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
10571         New function.
10572         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
10573         on high and low parts then use ldbl_canonicalize_int if needed.
10575 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10577         * configure: Regenerated.
10579         * po/libc.pot: Regenerated.
10581         * po/be.po: Updated translation.
10582         * po/bg.po: Likewise.
10583         * po/ca.po: Likewise.
10584         * po/cs.po: Likewise.
10585         * po/da.po: Likewise.
10586         * po/el.po: Likewise.
10587         * po/eo.po: Likewise.
10588         * po/es.po: Likewise.
10589         * po/fi.po: Likewise.
10590         * po/fr.po: Likewise.
10591         * po/gl.po: Likewise.
10592         * po/hr.po: Likewise.
10593         * po/hu.po: Likewise.
10594         * po/ia.po: Likewise.
10595         * po/id.po: Likewise.
10596         * po/it.po: Likewise.
10597         * po/ja.po: Likewise.
10598         * po/lt.po: Likewise.
10599         * po/nb.po: Likewise.
10600         * po/nl.po: Likewise.
10601         * po/pt_BR.po: Likewise.
10602         * po/rw.po: Likewise.
10603         * po/sk.po: Likewise.
10604         * po/sl.po: Likewise.
10605         * po/sv.po: Likewise.
10606         * po/tr.po: Likewise.
10607         * po/zh_CN.po: Likewise.
10608         * po/zh_TW.po: Likewise.
10610         * version.h (RELEAES): Set to "development".
10611         (VERSION): Set to 2.23.90.
10613         * version.h (RELEASE): Set to "stable".
10614         (VERSION): Set to 2.23.
10615         * include/feature.h (__GLIBC_MINOR__): Set to 23.
10617         * NEWS: Updated fixed bugs.
10619 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
10620             Wilco Dijkstra  <wdijkstr@arm.com>
10622         [BZ #19462]
10623         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
10624         (_STRING_INLINE_unaligned): This.
10625         * include/string.h: Include <string_private.h>.
10626         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
10627         _STRING_INLINE_unaligned.
10628         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
10629         (_STRING_INLINE_unaligned): New.
10630         * sysdeps/aarch64/string_private.h: New file.
10631         * sysdeps/generic/string_private.h: Likewise.
10632         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
10633         * sysdeps/s390/string_private.h: Likewise.
10634         * sysdeps/x86/string_private.h: Likewise.
10635         * sysdeps/m68k/m680x0/m68020/bits/string.h
10636         (_STRING_ARCH_unaligned): Renamed to ...
10637         (_STRING_INLINE_unaligned): This.
10638         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
10639         to ...
10640         (_STRING_INLINE_unaligned): This.
10641         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
10642         to ...
10643         (_STRING_INLINE_unaligned): This.
10644         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
10645         to ...
10646         (_STRING_INLINE_unaligned): This.
10648 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10649             H.J. Lu  <hongjiu.lu@intel.com>
10651         [BZ #19590]
10652         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
10653         relocation.
10655 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
10657         [BZ #18665]
10658         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
10659         *herrno_p.
10660         (gaih_getanswer): Document functional behviour. Return tryagain
10661         if any result is tryagain.
10662         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
10663         when freed.
10664         * resolv/res_send.c: Add copyright text.
10665         (__libc_res_nsend): Document that MAXPACKET is expected.
10666         (send_vc): Document. Remove buffer reuse.
10667         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
10668         size of the buffer. Add Dprint for truncated UDP buffer.
10670 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
10672         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
10673         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
10674         * INSTALL: Regenerate.
10676 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
10677             Jonathan Wakely  <jwakely@redhat.com>
10678             Carlos O'Donell  <carlos@redhat.com>
10680         [BZ 19439]
10681         * math/Makefile (tests): Add test-math-isinff.
10682         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
10683         * math/bits/mathcalls.h [__USE_MISC]: Use
10684         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
10685         functions not in C++11 and which don't conflict e.g. isinff,
10686         isinfl etc.
10687         * math/test-math-isinff.cc: New file.
10689 2016-02-12  Florian Weimer  <fweimer@redhat.com>
10691         * misc/bug18240.c (do_test): Set RLIMIT_AS.
10693 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10695         [BZ #19529]
10696         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
10698 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10700         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10702 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
10704         [BZ #19550]
10705         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
10706         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
10707         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
10708         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
10709         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
10710         New syscall entry.
10711         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
10712         New syscall entry.
10713         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
10714         syscall entry.
10716 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
10718         [BZ #18240]
10719         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
10720         unsigned int wraparound.
10722 2016-01-27  Florian Weimer  <fweimer@redhat.com>
10724         [BZ #18240]
10725         * misc/bug18240.c: New test.
10726         * misc/Makefile (tests): Add it.
10728 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
10729             Joseph Myers  <joseph@codesourcery.com>
10731         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
10732         load in branch delay slot when less than a word of input left.
10734 2016-01-27  Andreas Schwab  <schwab@suse.de>
10736         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
10737         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
10738         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
10739         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
10741 2016-01-26  David S. Miller  <davem@davemloft.net>
10743         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
10745 2016-01-25  David S. Miller  <davem@davemloft.net>
10747         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
10748         __sqrtl_finite.
10749         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
10750         instead using versioned_symbol.
10751         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
10752         of entries.
10754         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
10755         __sqrtl_finite to GLIBC_2.23
10757 2016-01-25  Ricchard Henderson  <rth@redhat.com>
10759         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10761 2016-01-25  Andreas Schwab  <schwab@suse.de>
10763         [BZ #17514]
10764         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
10765         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
10766         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
10767         * nptl/tst-mutex-errorcheck.c: New file.
10769 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10771         [BZ #18560]
10772         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
10773         (IPCOP_semop): Likewise.
10774         (IPCOP_semget): Likewise.
10775         (IPCOP_semctl): Likewise.
10776         (IPCOP_msgsnd): Likewise.
10777         (IPCOP_msgrcv): Likewise.
10778         (IPCOP_msgget): Likewise.
10779         (IPCOP_msgctl): Likewise.
10780         (IPCOP_shmat): Likewise.
10781         (IPCOP_shmdt): Likewise.
10782         (IPCOP_shmget): Likewise.
10783         (IPCOP_shmctl): Likewise.
10785 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10787         * string/tst-endian.c: Include <libc-internal.h>.
10788         (do_test): Ignore tautological-compare warnings around
10789         "htobeXX (beXXtoh (i)) != i" and
10790         "htoleXX (leXXtoh (i)) != i" if-statements.
10792 2016-01-24  David S. Miller  <davem@davemloft.net>
10794         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
10795         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
10796         alias.
10797         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10798         __sqrtl_finite.
10800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10802 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
10804         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
10805         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
10806         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10808 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10810         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
10811         (thread_func): Use new function to simplify barrier check.
10812         (do_test): Use new function to simplify checking barrier exit
10813         code, and actually join the child thread.
10815 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10817         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
10818         semicolon.
10819         (__libc_tend): Likewise.
10820         (__libc_tabort): Likewise.
10822 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
10824         * sysdeps/nios2/libm-test-ulps: Update.
10825         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
10826         (__gtsf2): Likewise.
10827         (__unorddf2): Likewise.
10828         (__unordsf2): Likewise.
10829         (__ledf2): Likewise.
10831 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
10833         * nis/nis_table.c (__follow_path): Disable diagnostic for
10834         uninitialized variable that is a false positive for gcc 4.7.
10835         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
10837 2016-01-20  Roland McGrath  <roland@hack.frob.com>
10839         * sysdeps/nacl/lowlevellock-futex.h
10840         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
10841         Always evaluate PRIVATE argument.
10843 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
10845         [BZ #19490]
10846         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
10847         (pthread_cond_broadcast): Use ENTRY/END
10848         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
10849         (pthread_cond_signal): Likewise.
10850         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
10851         Likewise.
10852         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
10853         Likewise.
10854         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
10855         Likewise.
10857 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
10859         * sysdeps/ieee754/dbl-64/s_finite.c
10860         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
10861         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
10862         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
10863         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
10864         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
10866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10867         (__gtsf2): Add as optional for libc.so.
10868         (__unordsf2): Likewise.
10869         (__signbit): Remove for libc.so.
10870         (__signbitl): Likewise.
10872 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10874         * iconvdata/bug-iconv11.c (test_ibm93x):
10875         Use %zu printf format specifier for size_t argument.
10877 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
10879         * math/gen-libm-test.pl (parse_ulps): Do not reduce
10880         already-recorded ulps.
10881         * sysdeps/arm/libm-test-ulps: Regenerated.
10882         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10883         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10884         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10886 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10887             Paul Pluzhnikov  <ppluzhnikov@google.com>
10889         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10890         assembler not supporting AVX-512.
10892 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10894         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10896 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10898         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10899         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10901         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10903         * sysdeps/arm/libm-test-ulps: Regenerated.
10905 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10907         [BZ #19451]
10908         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10910 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10912         [BZ #19486]
10913         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10914         * sysdeps/generic/fix-fp-int-convert-overflow.h
10915         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10916         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10917         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10918         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10919         Likewise.
10920         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10921         Avoid conversions to long int where inexact exceptions
10922         could be raised.
10923         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10924         Likewise.
10925         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10926         Avoid conversions to long long int where inexact exceptions
10927         could be raised.
10928         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10929         Likewise.
10931 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10933         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10934         * configure: Regenerated.
10936 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10938         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10940 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10942         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10943         outside of comment.
10945 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10947         * nptl/tst-barrier1.c: Add description on first line.
10948         * nptl/tst-barrier2.c: Likewise.
10949         * nptl/tst-barrier3.c: Likewise.
10950         * nptl/tst-barrier4.c: Likewise.
10951         * nptl/tst-barrier5.c: Likewise.
10953 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10955         [BZ #18868]
10956         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10958 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10962         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10963         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10964         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10965         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10966         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10967         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10968         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10969         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10970         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10972 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10974         [BZ #13065]
10975         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10976         new implementation.
10977         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10978         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10979         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10980         (BARRIER_IN_THRESHOLD): New macro.
10981         * nptl/pthread_barrierattr_setpshared.c
10982         (pthread_barrierattr_setpshared): Clean up.
10983         * nptl/tst-barrier4.c: Correct comment.
10984         * nptl/tst-barrier5.c: New file.
10985         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10986         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10987         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10988         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10989         * nptl/lowlevelbarrier.sym: Remove.
10990         * nptl/DESIGN-barrier.txt: Remove.
10991         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10992         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10993         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10994         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10995         error.
10996         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10997         implementation.
10999 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11001         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11002         (do_child): Mask SIGRTMIN while thr is running.
11004 2016-01-15  Martin Sebor  <msebor@redhat.com>
11006         [BZ #19432]
11007         * iconvdata/Makefile: Add bug-iconv11.
11008         * iconvdata/bug-iconv11.c: New test.
11009         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11010         * iconvdata/ibm933.c: Same.
11011         * iconvdata/ibm935.c: Same.
11012         * iconvdata/ibm937.c: Same.
11013         * iconvdata/ibm939.c: Same.
11015 2016-01-15  Martin Sebor  <msebor@redhat.com>
11017         [BZ #19443]
11018         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11019         [DEBUG] (_ufc_set_bits): Declare used.
11020         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11021         [DEBUG] (print_all): Declare used.
11022         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11023         operands of the ternary ?: expression to target type.
11024         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11025         calling the undeclared abort.
11026         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11028 2016-01-15  Martin Sebor  <msebor@redhat.com>
11030         [BZ #18755]
11031         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11032         warnings.
11033         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11034         (__gai_create_helper_thread): Same.
11035         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11036         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11037         to suppress -Wmaybe-uninitialized warnings.
11039 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11041         [BZ #19465]
11042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11043         inside if.
11044         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11045         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11046         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11048 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11050         [BZ #19466]
11051         * time/tst-mktime2.c (time_t_max): Removed.
11052         (time_t_min): Likewise.
11053         (TYPE_SIGNED): New.
11054         (TYPE_MINIMUM): Likewise.
11055         (TYPE_MAXIMUM): Likewise.
11056         (TIME_T_MIN): Likewise.
11057         (TIME_T_MAX): Likewise.
11058         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11059         and TIME_T_MIN.
11060         (do_test): Likewise.
11062 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11064         [BZ #19467]
11065         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11066         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11068 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11070         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11072 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11074         * benchtests/Makefile (PYTHON): Define.
11075         (bench-func): Use $(PYTHON) to run python scripts.
11076         ($(objpfx)bench-%.c): Likewise.
11078 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11080         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11081         leading slash when `file_name' is "/".
11083 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11085         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11086         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11087         Likewise.
11088         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11089         Likewise.
11090         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11091         Likewise.
11092         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11093         enum constant and macro.
11094         (PTRACE_SETSIGMASK): Likewise.
11095         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11096         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11097         (PTRACE_GETSIGMASK): Likewise.
11098         (PTRACE_SETSIGMASK): Likewise.
11099         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11100         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11101         Likewise.
11102         (PTRACE_SETSIGMASK): Likewise.
11103         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11104         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11105         (PTRACE_GETSIGMASK): Likewise.
11106         (PTRACE_SETSIGMASK): Likewise.
11107         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11108         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11109         Likewise.
11110         (PTRACE_SETSIGMASK): Likewise.
11111         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11112         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11113         Likewise.
11114         (PTRACE_SETSIGMASK): Likewise.
11115         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11116         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11117         Likewise.
11118         (PTRACE_SETSIGMASK): Likewise.
11119         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11121 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11122             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11124         [BZ #19439]
11125         * math/bits/mathcalls.h
11126         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11127         prototype.
11128         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11130 2016-01-11  Andreas Schwab  <schwab@suse.de>
11132         [BZ #19253]
11133         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11134         cache when TZDEFRULES was used.
11135         * time/tst-tzname.c: New file.
11136         * time/Makefile (test): Add tst-tzname.
11137         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11138         * timezone/Makefile (test-zones): Add $(posixrules-file).
11139         ($(testdata)/$(posixrules-file)): New rule.
11141 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11143         Fix doc quoting problems with Texinfo 5
11144         Without this change, in the info file output, Texinfo 5 quotes code
11145         in text with undirected single quotes 'like this' and generates
11146         code examples that with many PDF readers cannot be cut out of PDFs
11147         and pasted into code.
11148         * manual/libc.texinfo: Configure the libc manual like the GNU
11149         Emacs manual, by using @documentencoding and setting
11150         txicodequoteundirected and txicodequotebacktick.  This way,
11151         Texinfo 5 quotes code in text with directed single quotes ‘like
11152         this’ and produces examples that can be cut out of PDFs.  This
11153         change causes Texinfo 5 to generate info files that contain UTF-8
11154         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11155         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11157 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11159         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11160         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11161         barriers to their respective compiler built-ins.
11162         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11163         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11164         * sysdeps/powerpc/sysdep.h: Likewise.
11165         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11166         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11167         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11169 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11171         * scripts/config.guess: Revert previous shebang change.
11172         * scripts/config.sub: Likewise.
11173         * scripts/mkinstalldirs: Likewise.
11175 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11177         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11178         PPC_FEATURE2_HAS_IEEE128.
11179         * sysdeps/powerpc/dl-procinfo.c:
11180         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11182 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11184         [BZ #19415]
11185         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11186         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11187         (_dl_lookup_address): Rewrite using function resolver trampoline.
11188         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11189         two bits in address.
11191 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11193         * longlong.h: Change !__SHMEDIA__ to
11194         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11195         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11197 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11198             Joseph Myers  <joseph@codesourcery.com>
11199             Mark Shinwell  <shinwell@codesourcery.com>
11200             Andrew Stubbs  <ams@codesourcery.com>
11201             Rich Felker <dalias@libc.org>
11203         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11205 2016-01-07  Richard Henderson  <rth@redhat.com>
11207         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11209 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11211         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11212         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11213         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11214         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11215         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11217 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11218             Joseph Myers  <joseph@codesourcery.com>
11220         * timezone/private.h: Update from tzcode 2015g.
11221         * timezone/tzfile.h: Likewise.
11222         * timezone/tzselect.ksh: Likewise.
11223         * timezone/zdump.c: Likewise.
11224         * timezone/zic.c: Likewise.
11225         * timezone/ialloc.c: Remove file.
11226         * timezone/scheck.c: Likewise.
11227         * timezone/Makefile (extra-objs): Remove variable.
11228         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11229         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11230         -Wno-maybe-uninitialized.
11231         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11232         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11233         (CFLAGS-ialloc.c): Remove variable.
11234         (CFLAGS-scheck.c): Likewise.
11235         * timezone/README: Update list of files from tzcode.
11237 2016-01-07  Khem Raj  <raj.khem@gmail.com>
11239         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
11240         instead of __fxprintf when _LIBC is undefined.
11242 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
11244         * catgets/test-gencat.sh: Remove space after shebang.
11245         * conform/GlibcConform.pm: Likewise.
11246         * conform/check-header-lists.sh: Likewise.
11247         * conform/conformtest.pl: Likewise.
11248         * conform/linknamespace.pl: Likewise.
11249         * conform/list-header-symbols.pl: Likewise.
11250         * debug/catchsegv.sh: Likewise.
11251         * elf/genrtldtbl.awk: Likewise.
11252         * elf/tst-pathopt.sh: Likewise.
11253         * elf/tst-rtld-load-self.sh: Likewise.
11254         * grp/tst_fgetgrent.sh: Likewise.
11255         * iconvdata/gen-8bit-gap-1.sh: Likewise.
11256         * iconvdata/gen-8bit-gap.sh: Likewise.
11257         * iconvdata/gen-8bit.sh: Likewise.
11258         * iconvdata/run-iconv-test.sh: Likewise.
11259         * intl/tst-gettext.sh: Likewise.
11260         * intl/tst-gettext2.sh: Likewise.
11261         * intl/tst-gettext4.sh: Likewise.
11262         * intl/tst-gettext6.sh: Likewise.
11263         * intl/tst-translit.sh: Likewise.
11264         * io/ftwtest-sh: Likewise.
11265         * libio/test-freopen.sh: Likewise.
11266         * locale/gen-translit.pl: Likewise.
11267         * malloc/tst-mtrace.sh: Likewise.
11268         * manual/check-safety.sh: Likewise.
11269         * manual/libc-texinfo.sh: Likewise.
11270         * manual/tsort.awk: Likewise.
11271         * manual/xtract-typefun.awk: Likewise.
11272         * nptl/tst-cancel-wrappers.sh: Likewise.
11273         * nptl/tst-tls6.sh: Likewise.
11274         * posix/globtest.sh: Likewise.
11275         * posix/tst-getconf.sh: Likewise.
11276         * posix/wordexp-tst.sh: Likewise.
11277         * scripts/check-c++-types.sh: Likewise.
11278         * scripts/check-local-headers.sh: Likewise.
11279         * scripts/config.guess: Likewise.
11280         * scripts/config.sub: Likewise.
11281         * scripts/cpp: Likewise.
11282         * scripts/cross-test-ssh.sh: Likewise.
11283         * scripts/documented.sh: Likewise.
11284         * scripts/evaluate-test.sh: Likewise.
11285         * scripts/gen-libc-abis: Likewise.
11286         * scripts/gen-sorted.awk: Likewise.
11287         * scripts/list-fixed-bugs.py: Likewise.
11288         * scripts/merge-test-results.sh: Likewise.
11289         * scripts/mkinstalldirs: Likewise.
11290         * scripts/rellns-sh: Likewise.
11291         * scripts/test-installation.pl: Likewise.
11292         * scripts/update-copyrights: Likewise.
11293         * stdio-common/tst-printf.sh: Likewise.
11294         * stdio-common/tst-unbputc.sh: Likewise.
11295         * stdlib/tst-fmtmsg.sh: Likewise.
11296         * stdlib/tst-setcontext3.sh: Likewise.
11297         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
11298         * sysdeps/unix/make-syscalls.sh: Likewise.
11300 2016-01-06  John David Anglin  <dave.anglin@bell.net>
11302         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
11303         asm stw with atomic_exchange_rel.  Add explanatory comment.
11304         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
11305         Likewise.
11307 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11309         [BZ #19122]
11310         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
11311         * sysdeps/generic/dl-unistd.h: New file.
11312         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
11314 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11316          [BZ #19122]
11317          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
11318          * sysdeps/generic/dl-mman.h: New file.
11319          * sysdeps/mach/hurd/dl-mman.h: Likewise.
11321 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
11323         * manual/texinfo.tex: Update to version 2016-01-04.21 with
11324         trailing whitespace removed.
11325         * scripts/config.guess: Update to version 2016-01-01.
11326         * scripts/config.sub: Update to version 2016-01-01.
11327         * scripts/move-if-change: Update from gnulib.
11329 2016-01-04  Anton Blanchard  <anton@samba.org>
11331         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
11332         for array indices.
11333         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
11335 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
11337         * NEWS: Update copyright dates.
11338         * catgets/gencat.c (print_version): Likewise.
11339         * csu/version.c (banner): Likewise.
11340         * debug/catchsegv.sh: Likewise.
11341         * debug/pcprofiledump.c (print_version): Likewise.
11342         * debug/xtrace.sh (do_version): Likewise.
11343         * elf/ldconfig.c (print_version): Likewise.
11344         * elf/ldd.bash.in: Likewise.
11345         * elf/pldd.c (print_version): Likewise.
11346         * elf/sotruss.sh: Likewise.
11347         * elf/sprof.c (print_version): Likewise.
11348         * iconv/iconv_prog.c (print_version): Likewise.
11349         * iconv/iconvconfig.c (print_version): Likewise.
11350         * locale/programs/locale.c (print_version): Likewise.
11351         * locale/programs/localedef.c (print_version): Likewise.
11352         * login/programs/pt_chown.c (print_version): Likewise.
11353         * malloc/memusage.sh (do_version): Likewise.
11354         * malloc/memusagestat.c (print_version): Likewise.
11355         * malloc/mtrace.pl: Likewise.
11356         * manual/libc.texinfo: Likewise.
11357         * nptl/version.c (banner): Likewise.
11358         * nscd/nscd.c (print_version): Likewise.
11359         * nss/getent.c (print_version): Likewise.
11360         * nss/makedb.c (print_version): Likewise.
11361         * posix/getconf.c (main): Likewise.
11362         * scripts/test-installation.pl: Likewise.
11363         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11365         * All files with FSF copyright notices: Update copyright dates
11366         using scripts/update-copyrights.
11367         * intl/plural.c: Regenerated.
11368         * locale/programs/charmap-kw.h: Likewise.
11369         * locale/programs/locfile-kw.h: Likewise.
11371 2016-01-02  Helge Deller  <deller@gmx.de>
11373         [BZ #19285]
11374         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
11375         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
11376         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
11377         (MADV_xxK_PAGES): Remove.
11379 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
11381         [BZ #15421]
11382         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
11383         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
11384         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
11385         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
11387 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
11389         [BZ #19408]
11390         * sysdeps/unix/sysv/linux/personality.c: New file.
11391         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
11392         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
11393         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
11394         (sysdep_routines): Add personality.
11395         (tests): Add tst-personality.
11396         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
11398         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
11399         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
11400         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
11401         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
11402         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
11403         Likewise.
11404         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
11405         Likewise.
11406         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
11407         Likewise.
11408         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
11409         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
11410         Likewise.
11412 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
11414         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11415         (PATH_ARM_SYSTYPE): Remove.
11416         (PATH_CPUINFO): Likewise.
11417         (IO_BASE_FOOTBRIDGE): Likewise.
11418         (IO_SHIFT_FOOTBRIDGE): Likewise.
11419         (struct platform): Likewise.
11420         (init_iosys): Remove compatibility code for 2.4 kernels.
11421         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11423 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11425         * malloc/tst-malloc-thread-fail.c: New file.
11426         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11427         (tst-malloc-thread-fail): Link against libpthread.
11429 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11431         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11432         (get_parser): New function.
11433         (main): New function.
11435 2015-12-29  Rob Wu  <rob@robwu.nl>
11437         [BZ #19369]
11438         * resolv/res_init.c (__res_vinit): Reset defdname before use.
11440 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
11442         [BZ #19270]
11443         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11445 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
11447         [BZ #15421]
11448         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11450 2015-12-23  Torvald Riegel  <triegel@redhat.com>
11452         [BZ #13690]
11453         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11454         after releasing it.
11455         (__lll_robust_unlock): Likewise.
11456         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11457         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11458         (lll_robust_unlock): Likewise.
11459         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11460         Prevent warnings in callers.
11462 2015-12-23  Florian Weimer  <fweimer@redhat.com>
11464         * malloc/arena.c (list_lock): Update comment.
11466 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11468         * sysdeps/powerpc/hwcapinfo.c: Export symbol
11469         __parse_hwcap_and_convert_at_platform to libc.a.
11471 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11473         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11474         platform and feature support for POWER9.
11475         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11476         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11477         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11478         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11479         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11480         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11481         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11482         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11484 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11486         Harmonize generic stdio-lock support with nptl
11488         This fixes build when _IO_funlockfile is a macro, fixes build where
11489         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11490         stack unwind.
11492         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11493         _IO_release_lock ): Use cleanup attribute on new
11494         _IO_acquire_lock_file variable instead of assuming that
11495         _IO_release_lock will be called.
11496         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11497         _IO_acquire_lock_needs_exceptions_enabled.
11498         (_IO_acquire_lock_clear_flags2): New macro.
11500 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11502         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11504 2015-12-21  Florian Weimer  <fweimer@redhat.com>
11506         [BZ #19182]
11507         * malloc/arena.c (list_lock): Document lock ordering requirements.
11508         (free_list_lock): New lock.
11509         (ptmalloc_lock_all): Comment on free_list_lock.
11510         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11511         (detach_arena): Update comment.  free_list_lock is now needed.
11512         (_int_new_arena): Use free_list_lock around detach_arena call.
11513         Acquire arena lock after list_lock.  Add comment, including FIXME
11514         about incorrect synchronization.
11515         (get_free_list): Switch to free_list_lock.
11516         (reused_arena): Acquire free_list_lock around detach_arena call
11517         and attached threads counter update.  Add two FIXMEs about
11518         incorrect synchronization.
11519         (arena_thread_freeres): Switch to free_list_lock.
11520         * malloc/malloc.c (struct malloc_state): Update comments to
11521         mention free_list_lock.
11523 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11525         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
11526         Remove functions.
11527         (sloww, sloww1): Accept argument to offset quadrant.
11528         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
11529         quadrant.
11530         (__sin, __cos): Consolidate common code into new functions.
11531         (reduce_sincos_1, do_sincos_1): New functions.
11532         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11534         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
11535         code to new functions.
11536         (reduce_sincos_2, do_sincos_2): New functions.
11537         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11539         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
11540         common code for sincos.
11541         (__cos) [!IN_SINCOS]: Likewise.
11542         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
11543         New function.
11544         (__sincos): Use it.
11546 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
11548         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
11549         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
11550         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11552 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11554         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
11555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11557         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
11558         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11559         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
11560         index_Prefer_No_VZEROUPPER): New feature.
11561         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
11562         Prefer_No_VZEROUPPER for Knights Landing.
11564 015-12-18  Torvald Riegel  <triegel@redhat.com>
11566         * math/atest-exp2.c (mp_exp_m1): Remove.
11568 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11570         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
11571         syscalls.
11572         (__SYSCALL0): New macro.
11573         (__SYSCALL1): Likewise.
11574         (__SYSCALL2): Likewise.
11575         (__SYSCALL3): Likewise.
11576         (__SYSCALL4): Likewise.
11577         (__SYSCALL5): Likewise.
11578         (__SYSCALL6): Likewise.
11579         (__SYSCALL_CONCAT_X): Likewise.
11580         (__SYSCALL_CONCAT): Likewise.
11581         (__SYSCALL_DIST): Likewise.
11582         (__SYSCALL_CALL): Likewise.
11584 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
11586         [BZ #19363]
11587         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
11589 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11591         [BZ #19375]
11592         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
11593         negative subnormals.
11595 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
11597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11598         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
11599         (INTERNAL_SYSCALL_NCS): Use it.
11600         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11602 2015-12-16  Florian Weimer  <fweimer@redhat.com>
11604         [BZ #19243]
11605         * malloc/arena.c (get_free_list): Remove assert and adjust
11606         reference count handling.  Add comment about reused_arena
11607         interaction.
11608         (reused_arena): Add comments abount get_free_list interaction.
11609         * malloc/tst-malloc-thread-exit.c: New file.
11610         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
11611         (tst-malloc-thread-exit): Link against libpthread.
11613 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11615         [BZ #19367]
11616         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
11617         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
11618         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
11619         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
11620         (index_Prefer_MAP_32BIT_EXEC): Likewise.
11622 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11624         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
11625         Silvermont optimizations for Knights Landing.
11627 2015-12-15  Andreas Schwab  <schwab@suse.de>
11629         [BZ #17197]
11630         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
11631         immediately after emitting SI.
11632         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
11633         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
11634         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
11635         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
11636         * iconvdata/bug-iconv10.c: New file.
11637         * iconvdata/Makefile (tests): Add bug-iconv10.
11638         ($(objpfx)bug-iconv10.out): New rule.
11640 2015-12-15  Florian Weimer  <fweimer@redhat.com>
11642         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
11643         aliasing violation.
11645 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
11647         [BZ #18472]
11648         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
11649         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
11650         conditionals for them.
11651         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
11652         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
11653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
11654         sys/kdaemon.h.
11655         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
11656         compat-only syscall, obsoleted in glibc 2.23.
11657         (create_module): Likewise.
11658         (get_kernel_syms): Likewise.
11659         (query_module): Likewise.
11660         (uselib): Likewise.
11661         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
11663 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
11665         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
11666         <linux/version.h>.
11667         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
11668         conditional code.
11669         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
11670         and ioshift_name initialization.
11672 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11674         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11675         Fix indentation.
11677 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11679         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
11681 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11683         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
11685 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
11686             Jakub Wilk  <jwilk@debian.org>
11688         [BZ #19347]
11689         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
11690         to change the group of the device to the tty group.
11692 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
11694         Split large string section; add truncation advice
11695         * manual/examples/strncat.c: Remove.
11696         This example was misleading, as the code would have undefined
11697         behavior if "hello" was longer than SIZE.  Anyway, the manual
11698         shouldn't encourage strncpy+strncat for this sort of thing.
11699         * manual/string.texi (Copying Strings and Arrays): Split into
11700         three sections Copying Strings and Arrays, Concatenating Strings,
11701         and Truncating Strings, as this section was way too long.  All
11702         cross-referenced changed.  Add advice about string-truncation
11703         functions.  Remove misleading strncat example.
11705 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
11707         * manual/nss.texi (NSS Modules Interface): Document
11708         NSS_STATUS_NOTFOUND and SUCCESS.
11710 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11712         [BZ 18568]
11713         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11714         201505L, for Unicode 8.
11716 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
11718         * locale/C-translit.h: Regenerate.
11720 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11722         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
11723         and U+0153.
11725 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
11727         [BZ #19351]
11728         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
11729         expanding log(1+z), compare z rather than its square with epsilon
11730         to determine when to avoid evaluating the expansion.
11732         [BZ #19350]
11733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11734         Increase overflow threshold.
11736         [BZ #19349]
11737         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
11738         when small.
11740         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11741         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11742         New macro.
11743         [__LINUX_KERNEL_VERSION >= 0x040300]
11744         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11745         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11746         Likewise.
11747         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11748         Likewise.
11749         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11750         Likewise.
11751         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11752         Likewise.
11753         [__LINUX_KERNEL_VERSION >= 0x040300]
11754         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11755         [__LINUX_KERNEL_VERSION >= 0x040300]
11756         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11757         [__LINUX_KERNEL_VERSION >= 0x040300]
11758         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11759         [__LINUX_KERNEL_VERSION >= 0x040300]
11760         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11761         [__LINUX_KERNEL_VERSION >= 0x040300]
11762         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11764         Likewise.
11765         [__LINUX_KERNEL_VERSION >= 0x040300]
11766         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11767         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11768         Likewise.
11769         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11770         Likewise.
11771         [__LINUX_KERNEL_VERSION >= 0x040300]
11772         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11773         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11774         Likewise.
11775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11776         Likewise.
11777         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11778         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
11779         Likewise.
11780         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
11781         Likewise.
11782         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11783         Likewise.
11784         [__LINUX_KERNEL_VERSION >= 0x040300]
11785         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11786         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11787         Likewise.
11788         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11789         Likewise.
11790         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11791         Likewise.
11792         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11793         Likewise.
11794         [__LINUX_KERNEL_VERSION >= 0x040300]
11795         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11796         [__LINUX_KERNEL_VERSION >= 0x040300]
11797         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11798         [__LINUX_KERNEL_VERSION >= 0x040300]
11799         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11800         [__LINUX_KERNEL_VERSION >= 0x040300]
11801         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11802         [__LINUX_KERNEL_VERSION >= 0x040300]
11803         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11804         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11805         Likewise.
11806         [__LINUX_KERNEL_VERSION >= 0x040300]
11807         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11808         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11809         Likewise.
11810         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11811         Likewise.
11812         [__LINUX_KERNEL_VERSION >= 0x040300]
11813         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11814         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11815         Likewise.
11816         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11817         Likewise.
11818         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11819         (__ASSUME_SOCKET_SYSCALL): Likewise.
11820         (__ASSUME_BIND_SYSCALL): Likewise.
11821         (__ASSUME_CONNECT_SYSCALL): Likewise.
11822         (__ASSUME_LISTEN_SYSCALL): Likewise.
11823         (__ASSUME_ACCEPT_SYSCALL): Likewise.
11824         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11825         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11826         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11827         (__ASSUME_SEND_SYSCALL): Likewise.
11828         (__ASSUME_SENDTO_SYSCALL): Likewise.
11829         (__ASSUME_RECV_SYSCALL): Likewise.
11830         (__ASSUME_RECVFROM_SYSCALL): Likewise.
11831         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
11832         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11833         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11834         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11835         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11836         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11837         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
11838         Likewise.
11839         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
11840         Likewise.
11841         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
11842         Likewise.
11843         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
11844         Likewise.
11845         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
11846         Likewise.
11847         [__LINUX_KERNEL_VERSION >= 0x020625]
11848         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11849         [__LINUX_KERNEL_VERSION >= 0x020625]
11850         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11851         [__LINUX_KERNEL_VERSION >= 0x020625]
11852         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11853         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
11854         Likewise.
11855         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
11856         Likewise.
11857         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
11858         Likewise.
11859         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
11860         Likewise.
11861         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
11862         Likewise.
11863         [__LINUX_KERNEL_VERSION >= 0x020625]
11864         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11865         [__LINUX_KERNEL_VERSION >= 0x020625]
11866         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11867         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
11868         Likewise.
11869         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
11870         Likewise.
11872 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11874         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
11875         record the current if the current ABI and CPU support the FP64
11876         extension.
11877         (has-modd-spreg): Define to record the current if the current ABI and
11878         CPU support 32-bit floating point values in odd FPU registers.
11879         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11880         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
11881         $(has-modd-spreg) equals yes.
11882         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
11883         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11884         $(has-modd-spreg) equal yes.
11886 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11888         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11889         basename.
11891 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11893         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11894         (bench-string): ... here.
11895         (bench): Add bench-string.
11896         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11897         to *-benchset to reflect what they are.
11898         (benchset): Adjust.
11900         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11901         cos-inputs.
11903 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11905         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11906         __attribute__ ((__simd__)) for vector math function declarations.
11908 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11910         Fix typo in strncat, wcsncat manual entries
11911         * manual/string.texi (Copying and Concatenation): Fix typos in
11912         sample implementations of strncat and wcsncat, by having them use
11913         the old value of the destination length, not the new one.
11915 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11917         [BZ #16961]
11918         [BZ #16962]
11919         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11920         string on the stack for strtod.
11921         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11922         a string on the stack for strtof.
11923         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11924         constructing a string on the stack for strtold.
11925         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11926         __strtold_nan to GLIBC_PRIVATE.
11927         * math/test-nan-overflow.c: New file.
11928         * math/test-nan-payload.c: Likewise.
11929         * math/Makefile (tests): Add test-nan-overflow and
11930         test-nan-payload.
11932 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11934         Consistency about byte vs character in string.texi
11935         * manual/string.texi (String and Array Utilities):
11936         Distinguish more carefully among bytes, multibyte characters,
11937         and wide characters.  Use "byte" when talking about C 'char',
11938         to distinguish it more clearly from multibyte characters.
11939         Say "wide character" or "multibyte character" instead of
11940         "character", when a wide or multibyte character is intended.
11941         Similarly for "multibyte string" versus "string".
11942         Define these terms more carefully.
11944 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11946         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11947         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11948         Likewise.
11949         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11950         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11951         * sysdeps/sh/math_private.h: New file.
11952         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11953         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11954         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11955         long double function name.
11956         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11957         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11958         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11959         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11960         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11962         Remove __finitel, __isinfl, and __isnanl.
11963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11964         Likewise.
11965         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11967         Remove __finitel.
11968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11969         Likewise.
11970         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11972 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11974         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11975         installed libmvec_nonshared.a.
11977 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11979         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11980         (sysdep_routines): Likewise.
11981         (sysdep-rtld-routines): Likewise.
11982         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11983         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11984         * sysdeps/powerpc/Versions: Added new
11985         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11986         * sysdeps/powerpc/hwcapinfo.c: New file.
11987         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11988         and parse hwcap, hwcap2 and platform number information.
11989         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11990         to store HWCAP+HWCAP2 and platform number.
11991         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11992         for HWCAP+HWCAP2 and platform number in the TCB.
11993         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11994         the HWCAP, HWCAP2 and platform number in the TCB.
11995         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11996         (TLS_INIT_TP): Included calls to add the hwcap and
11997         at_platform values in the TCB in TP initialization.
11998         (TLS_DEFINE_INIT_TP): Likewise.
11999         (THREAD_GET_HWCAP): New macro.
12000         (THREAD_SET_HWCAP): Likewise.
12001         (THREAD_GET_AT_PLATFORM): Likewise.
12002         (THREAD_SET_AT_PLATFORM): Likewise.
12003         * sysdeps/powerpc/powerpc32/dl-machine.h:
12004         (dl_platform_init): New function that calls
12005         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12006         powerpc32.
12007         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12008         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12009         this functionality, static linking case.
12010         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12011         linking case.
12012         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12013         __parse_hwcap_and_convert_at_platform for the static linking case.
12014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12015         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12016         ABI list for GLIBC 2.23.
12017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12018         Likewise.
12019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12020         Likewise.
12022 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12024         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12025         * configure: Regenerate.
12026         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12027         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12029 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12031         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12032         * iconvdata/ibm933.c: Likewise.
12033         * iconvdata/ibm935.c: Likewise.
12034         * iconvdata/ibm937.c: Likewise.
12035         * iconvdata/ibm939.c: Likewise.
12037 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12039         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12040         pthread_join.
12041         * nptl/tst-cancel21.c (tf): Likewise.
12043 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12045         [BZ #19313]
12046         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12047         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12048         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12049         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12050         Likewise.
12051         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12052         Likewise.
12053         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12054         Likewise.
12055         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12056         Likewise.
12057         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12058         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12059         unsigned long int with __CPU_MASK_TYPE.
12061 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12063         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12065 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12067         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12068         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12069         t512.x.
12070         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12072 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12074         [BZ #19214]
12075         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12076         argument to return extended model.  Update family and model
12077         with extended family and model when family == 0x0f.
12078         (init_cpu_features): Updated.
12080 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12082         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12083         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12085         * sysdeps/mach/hurd/mmap64.c: New file.
12087 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12089         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12090         rights for its main user thread in NEWTASK.
12092 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12094         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12095         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12097 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12099         [BZ #14259]
12100         * Makeconfig: Rename localedir to complocaledir.
12101         Rename inst_localedir to inst_complocaledir.
12102         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12103         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12104         * configure.ac: Use libc_cv_complocaledir.
12105         * configure: Regenerate.
12106         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12107         -DCOMPLOCALEDIR.
12108         * locale/findlocale.c: Use COMPLOCALEDIR.
12109         * locale/loadarchive.c: Likewise.
12110         * locale/programs/locale.c: Likewise.
12111         * locale/programs/localedef.c: Likewise.
12112         * locale/programs/locarchive.c: Likewise.
12113         * localedata/Makefile: Use inst_complocaledir.
12114         * sysdeps/gnu/configure: Regenerate.
12115         * sysdeps/hppa/configure: Regenerate.
12116         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12117         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12119         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12120         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12121         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12122         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12124 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12126         [BZ #19058]
12127         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12128         AS_NEEDED.
12129         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12130         workaround.
12131         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12132         libmvec-static-only-routines): Added new file.
12133         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12135 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12137         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12138         of interrupted RPC instead of restoring it.
12140         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12141         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12142         libc_hidden_def.
12143         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12144         into initialized data instead of common. Define rtld_hidden_data_def.
12145         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12146         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12147         libc_hidden_def.
12148         (if_freenameindex): Add libc_hidden_weak.
12149         (if_nameindex): Add libc_hidden_weak.
12150         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12151         __open64.
12152         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12153         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12154         * sysdeps/mach/nanosleep.c: Include <time.h>
12155         (__nanosleep): Rename to __libc_nanosleep.
12156         (__nanosleep): Add weak_alias.
12157         (nanosleep): Update alias.
12159 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12161         * stdlib/strtod_nan.c: New file.
12162         * stdlib/strtod_nan_double.h: Likewise.
12163         * stdlib/strtod_nan_float.h: Likewise.
12164         * stdlib/strtod_nan_main.c: Likewise.
12165         * stdlib/strtod_nan_narrow.h: Likewise.
12166         * stdlib/strtod_nan_wide.h: Likewise.
12167         * stdlib/strtof_nan.c: Likewise.
12168         * stdlib/strtold_nan.c: Likewise.
12169         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12170         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12171         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12172         * wcsmbs/wcstod_nan.c: Likewise.
12173         * wcsmbs/wcstof_nan.c: Likewise.
12174         * wcsmbs/wcstold_nan.c: Likewise.
12175         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12176         strtold_nan.
12177         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12178         wcstof_nan.
12179         * include/stdlib.h (__strtof_nan): Declare and use
12180         libc_hidden_proto.
12181         (__strtod_nan): Likewise.
12182         (__strtold_nan): Likewise.
12183         (__wcstof_nan): Likewise.
12184         (__wcstod_nan): Likewise.
12185         (__wcstold_nan): Likewise.
12186         * include/wchar.h (____wcstoull_l_internal): Declare.
12187         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12188         (____strtoull_l_internal): Remove declaration.
12189         (STRTOF_NAN): Define macro.
12190         (SET_MANTISSA): Remove macro.
12191         (STRTOULL): Likewise.
12192         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12193         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12194         (STRTOF_NAN): Define macro.
12195         (SET_MANTISSA): Remove macro.
12196         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12197         (SET_MANTISSA): Remove macro.
12198         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12199         macro.
12200         (SET_MANTISSA): Remove macro.
12201         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12202         macro.
12203         (SET_MANTISSA): Remove macro.
12204         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12205         (SET_MANTISSA): Remove macro.
12206         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12207         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12208         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12210         [BZ #19266]
12211         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12212         upper case and lower case letters inside NAN(), not using TOLOWER.
12213         * stdlib/tst-strtod-nan-locale-main.c: New file.
12214         * stdlib/tst-strtod-nan-locale.c: Likewise.
12215         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12216         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12217         Depend on $(gen-locales).
12218         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12219         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12220         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12221         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12222         Depend on $(gen-locales).
12223         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12225 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12227         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12229         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12231         __finitel, __isinfl, and __isnanl.
12232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12233         Likewise.
12234         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
12236         __finitel.
12237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12238         Likewise.
12239         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12241 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12243         * malloc/memusage.c (me): Remove redundant getenv call.
12245 2015-10-24  Florian Weimer  <fweimer@redhat.com>
12247         [BZ #19143]
12248         [BZ #19164]
12249         * nptl/check-cpuset.h: Remove.
12250         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
12251         Remove CPU set size check.
12252         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
12253         Likewise.
12254         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
12255         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12256         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
12257         (__pthread_setaffinity_new): Remove CPU set size check.
12258         * sysdeps/unix/sysv/linux/sched_setaffinity.c
12259         (__kernel_cpumask_size): Remove.
12260         (__sched_setaffinity_new): Remove CPU set size check.
12261         * manual/threads.texi (Default Thread Attributes): Remove stale
12262         reference to check_cpuset_attr, determine_cpumask_size in comment.
12263         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
12264         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
12265         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
12266         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
12267         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
12268         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
12269         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
12270         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
12271         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
12272         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
12273         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
12274         skeleton test file.
12275         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
12276         tst-affinity-pid.
12278 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12280         * scripts/update-abilist.sh: New file.
12281         * Makefile (+subdir_targets): Add subdir_update-all-abi.
12282         * Makerules (update-all-abi-%, update-all-abi)
12283         (subdir_update-all-abi): New targets.
12284         * elf/Makefile (update-all-abi): New target.
12286 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12288         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
12289         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
12290         (__libc_lock_define_initialized): Use it.
12291         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
12292         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
12293         * malloc/malloc.c (main_arena): Likewise.
12294         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12295         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12297 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
12299         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12300         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
12301         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12302         (PTRACE_O_MASK): Update value.
12303         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
12304         New value in enum __ptrace_setoptions.
12305         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12306         (PTRACE_O_MASK): Update value.
12307         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12308         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12309         (PTRACE_O_MASK): Update value.
12310         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12311         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12312         (PTRACE_O_MASK): Update value.
12313         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12314         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12315         (PTRACE_O_MASK): Update value.
12316         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
12317         New value in enum __ptrace_setoptions.
12318         (PTRACE_O_MASK): Update value.
12319         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
12320         New value in enum __ptrace_setoptions.
12321         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12322         (PTRACE_O_MASK): Update value.
12324         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
12325         New macro.
12326         (PACKET_AUXDATA): Likewise.
12327         (PACKET_ORIGDEV): Likewise.
12328         (PACKET_VERSION): Likewise.
12329         (PACKET_HDRLEN): Likewise.
12330         (PACKET_RESERVE): Likewise.
12331         (PACKET_TX_RING): Likewise.
12332         (PACKET_LOSS): Likewise.
12333         (PACKET_VNET_HDR): Likewise.
12334         (PACKET_TX_TIMESTAMP): Likewise.
12335         (PACKET_TIMESTAMP): Likewise.
12336         (PACKET_FANOUT): Likewise.
12337         (PACKET_TX_HAS_OFF): Likewise.
12338         (PACKET_QDISC_BYPASS): Likewise.
12339         (PACKET_ROLLOVER_STATS): Likewise.
12340         (PACKET_FANOUT_DATA): Likewise.
12341         (PACKET_MR_UNICAST): Likewise.
12343         [BZ #19242]
12344         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
12345         (TOUPPER): Likewise.
12346         * stdlib/tst-strtol-locale-main.c: New file.
12347         * stdlib/tst-strtol-locale.c: Likewise.
12348         * stdlib/Makefile (tests): Add tst-strtol-locale.
12349         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
12350         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
12351         Depend on $(gen-locales).
12352         * wcsmbs/tst-wcstol-locale.c: New file.
12353         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
12354         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
12355         tr_TR.ISO-8859-9.
12356         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
12357         Depend on $(gen-locales).
12359 2015-11-20  Roland McGrath  <roland@hack.frob.com>
12361         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
12362         __glibc_likely instead of __builtin_expect.  After falling back to
12363         dyncode_create in a non-ET_DYN case, use the allocate_code_data
12364         system interface to register the code pages as occupied.
12366 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
12368         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12369         [!ARM_MATH_PRIVATE_H].
12370         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
12371         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12372         [!HPPA_MATH_PRIVATE_H].
12373         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
12374         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
12375         to [!I386_MATH_PRIVATE_H].
12376         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
12377         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
12378         Change guard to [!M68K_MATH_PRIVATE_H].
12379         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
12380         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
12381         guard to [!MICROBLAZE_MATH_PRIVATE_H].
12382         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
12383         macro.
12384         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12385         [!MIPS_MATH_PRIVATE_H].
12386         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
12387         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12388         [!NIO2_MATH_PRIVATE_H].
12389         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
12390         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12391         [!TILE_MATH_PRIVATE_H].
12392         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
12394         [BZ #15421]
12395         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
12396         initialize with 0 and define as weak alias of __signgam.
12397         * include/math.h [!_ISOMAC] (__signgam): Declare.
12398         * math/Makefile (libm-calls): Add w_lgamma_compat.
12399         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
12400         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
12401         test-signgam-ullong-init.
12402         (tests-static): Add test-signgam-uchar-static,
12403         test-signgam-uchar-init-static, test-signgam-uint-static,
12404         test-signgam-uint-init-static, test-signgam-ullong-static and
12405         test-signgam-ullong-init-static.
12406         (CFLAGS-test-signgam-uchar.c): New variable.
12407         (CFLAGS-test-signgam-uchar-init.c): Likewise.
12408         (CFLAGS-test-signgam-uchar-static.c): Likewise.
12409         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
12410         (CFLAGS-test-signgam-uint.c): Likewise.
12411         (CFLAGS-test-signgam-uint-init.c): Likewise.
12412         (CFLAGS-test-signgam-uint-static.c): Likewise.
12413         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12414         (CFLAGS-test-signgam-ullong.c): Likewise.
12415         (CFLAGS-test-signgam-ullong-init.c): Likewise.
12416         (CFLAGS-test-signgam-ullong-static.c): Likewise.
12417         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12418         * math/Versions (libm): Add GLIBC_2.23.
12419         * math/lgamma-compat.h: New file.
12420         * math/test-signgam-main.c: Likewise.
12421         * math/test-signgam-uchar-init-static.c: Likewise.
12422         * math/test-signgam-uchar-init.c: Likewise.
12423         * math/test-signgam-uchar-static.c: Likewise.
12424         * math/test-signgam-uchar.c: Likewise.
12425         * math/test-signgam-uint-init-static.c: Likewise.
12426         * math/test-signgam-uint-init.c: Likewise.
12427         * math/test-signgam-uint-static.c: Likewise.
12428         * math/test-signgam-uint.c: Likewise.
12429         * math/test-signgam-ullong-init-static.c: Likewise.
12430         * math/test-signgam-ullong-init.c: Likewise.
12431         * math/test-signgam-ullong-static.c: Likewise.
12432         * math/test-signgam-ullong.c: Likewise.
12433         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12434         wrapper of w_lgamma_main.c.
12435         * math/w_lgamma_compat.c: New file.
12436         * math/w_lgamma_compatf.c: Likewise.
12437         * math/w_lgamma_compatl.c: Likewise.
12438         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
12439         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12440         defining compatibility symbols.
12441         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
12442         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12443         wrapper of w_lgammaf_main.c.
12444         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
12445         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12446         defining compatibility symbols.
12447         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
12448         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12449         wrapper of w_lgammal_main.c.
12450         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
12451         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12452         defining compatibility symbols.
12453         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
12454         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12455         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12456         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
12457         <lgamma-compat.h>.
12458         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
12459         (__ieee754_gamma): Define as alias.
12460         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12461         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
12462         <lgamma-compat.h>.
12463         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
12464         (__ieee754_gammaf): Define as alias.
12465         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12466         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
12467         <lgamma-compat.h>.
12468         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
12469         (__ieee754_gammal): Define as alias.
12470         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12471         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
12472         <math/w_lgamma_compat.c>.
12473         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12474         Define as alias of __lgamma_compat and use in defining lgammal.
12475         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12476         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
12477         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12478         (USE_AS_COMPAT): New macro.
12479         (LGAMMA_OLD_VER): Undefine and redefine.
12480         (lgammal): Do not define here.
12481         (gammal): Only define here if [GAMMA_ALIAS].
12482         * conform/linknamespace.pl (@whitelist): Remove signgam.
12483         * sysdeps/nacl/libm.abilist: Update.
12484         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12485         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12486         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12487         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12488         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12489         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12490         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12491         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12492         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12493         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12494         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12495         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12497         Likewise.
12498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12499         Likewise.
12500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12501         Likewise.
12502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12503         Likewise.
12504         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12505         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12506         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12508         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12510         Likewise.
12511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12512         Likewise.
12513         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12514         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12515         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12517 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12519         [BZ #16364]
12520         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
12521         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
12523 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12525         * sysdeps/s390/fpu/bits/mathinline.h:
12526         Use __asm__ [__volatile__] instead of asm [volatile].
12527         * sysdeps/s390/abort-instr.h: Likewise.
12528         * sysdeps/s390/atomic-machine.h: Likewise.
12529         * sysdeps/s390/bits/string.h: Likewise.
12530         * sysdeps/s390/dl-tls.h: Likewise.
12531         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12532         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12533         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12534         * sysdeps/s390/fpu/fesetround.c: Likewise.
12535         * sysdeps/s390/fpu/fpu_control.h: Likewise.
12536         * sysdeps/s390/fpu/s_fma.c: Likewise.
12537         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
12538         * sysdeps/s390/memusage.h: Likewise.
12539         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
12540         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
12541         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
12542         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
12543         * sysdeps/s390/nptl/tls.h: Likewise.
12544         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
12545         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12546         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12547         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12548         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12549         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12550         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
12551         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12552         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12553         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
12554         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12555         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12556         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12557         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
12558         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12559         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12560         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
12561         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12562         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
12563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12564         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
12565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12566         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
12568 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12569             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12571         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12572         Add lwarx hint, and use macro for acquire instruction.
12573         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12574         Likewise.
12575         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
12576         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
12577         update to use new atomic macros.
12579 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12581         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12582         (__lll_trylock_elision): Fix setting of adapt_count.
12583         * sysdeps/unix/sysv/linux/powerpc/htm.h
12584         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
12585         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
12586         (_ABORT_SYSCALL): Renumber, and clarify definition.
12587         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
12589 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12591         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
12592         after system headers to prevent MIN/MAX redefinition.  Define
12593         HAVE_ALLOCA to preserve builtin alloca usage.
12595 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
12598         static and don't set or restore rounding.
12599         (__cos)[IN_SINCOS]: Likewise.
12600         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
12601         (__sincos): Set and restore rounding mode.  Remove check for infinite
12602         or NaN input.
12604         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
12606         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
12607         as used.
12609 2015-11-16  Florian Weimer  <fweimer@redhat.com>
12611         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
12613 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12615         * config.make.in (have-glob-dat-reloc): New.
12616         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
12617         target supports GLOB_DAT relocaton. AC_SUBST.
12618         * configure: Regenerated.
12619         * elf/Makefile (tests): Add tst-prelink.
12620         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12621         (tst-prelink-ENV): New.
12622         ($(objpfx)tst-prelink-conflict.out): Likewise.
12623         ($(objpfx)tst-prelink-cmp.out): Likewise.
12624         * sysdeps/x86/tst-prelink.c: Moved to ...
12625         * elf/tst-prelink.c: Here.
12626         * sysdeps/x86/tst-prelink.exp: Moved to ...
12627         * elf/tst-prelink.exp: Here.
12628         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
12629         (tst-prelink-ENV): Removed.
12630         ($(objpfx)tst-prelink-conflict.out): Likewise.
12631         ($(objpfx)tst-prelink-cmp.out): Likewise.
12632         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
12634 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
12636         [BZ #14551]
12637         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
12638         (__mpn_construct_long_double): If high part overflows to infinity,
12639         set errno and recompute overflowed result of the correct sign.
12640         * sysdeps/ieee754/ldbl-128ibm/Makefile
12641         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
12642         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
12643         $(libm).
12644         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
12646 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
12648         [BZ #15479]
12649         [BZ #19238]
12650         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
12651         floating-point state after first operation on input.  Restore full
12652         state rather than just rounding mode.
12653         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12654         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12655         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12657         [BZ #19235]
12658         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
12659         add 0.5 to integer arguments.
12660         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
12661         Likewise.
12662         (.LC2): New object.
12664 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
12666         * scripts/pylintrc (reports): Set to no.
12668 2015-11-10  Roland McGrath  <roland@hack.frob.com>
12670         * elf/dl-load.c (open_verify): Take new argument FD.
12671         Skip __open call if passed FD is not -1.
12672         (_dl_map_object, open_path): Update callers.
12673         * elf/dl-sysdep-open.h: New file.
12674         * elf/dl-load.c: Include it.
12675         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
12676         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
12677         * sysdeps/nacl/dl-sysdep-open.h: New file.
12678         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
12679         from libc to rtld.
12681 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12683         [BZ #19228]
12684         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
12685         and restore full floating-point state.
12686         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12687         Likewise.
12688         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12689         Likewise.
12690         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12691         Likewise.
12692         * math/test-nearbyint-except-2.c: New file.
12693         * math/Makefile (tests): Add test-nearbyint-except-2.
12695 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
12697         [BZ #19178]
12698         * sysdeps/x86/Makefile (tests): Add tst-prelink.
12699         (tst-prelink-ENV): New.
12700         ($(objpfx)tst-prelink-conflict.out): Likewise.
12701         ($(objpfx)tst-prelink-cmp.out): Likewise.
12702         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12703         * sysdeps/x86/tst-prelink.c: New file.
12704         * sysdeps/x86/tst-prelink.exp: Likewise.
12706 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12708         * math/auto-libm-test-in: Add another test of pow.
12709         * math/auto-libm-test-out: Regenerated.
12710         * math/libm-test.inc (pow_test_data): Add another test.
12712 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12714         [BZ #19219]
12715         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
12716         weak_alias to nearbyintl.
12718 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12720         * sysdeps/aarch64/bits/string.h: New file.
12721         (_STRING_ARCH_unaligned): Define.
12723 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12725         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
12726         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12727         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12728         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
12729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
12731 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
12733         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
12734         for original name of the DSO.  Add it to the name list of the DSO
12735         if it is actually given.
12736         (_dl_map_object): Keep track of whether an audit module rewrote
12737         the file name.  If yes, pass the original name to
12738         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
12739         debugging is enabled, log the change of the file name.
12740         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
12741         _dl_map_object_from_fd.
12742         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
12743         * elf/tst-audit11.c: New file
12744         * elf/tst-auditmod11.c: New file.
12745         * elf/tst-audit11mod1.c: New file.
12746         * elf/tst-audit11mod2.c: New file.
12747         * elf/tst-audit11mod2.map: New file.
12748         * elf/tst-audit12.c: New file
12749         * elf/tst-auditmod12.c: New file.
12750         * elf/tst-audit12mod1.c: New file.
12751         * elf/tst-audit12mod2.c: New file.
12752         * elf/tst-audit12mod2.map: New file.
12753         * elf/tst-audit12mod3.c: New file.
12755 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12757         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
12758         Don't create weak aliases,
12759         because versioned symbols are created later.
12760         * sysdeps/s390/s390-32/setjmp.S
12761         (setjmp, _setjmp): Remove weak and rename to an unique name
12762         in SHARED case due to existing versioned symbols.
12763         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12764         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
12765         (getcontext): Create weak alias only in non SHARED case.
12766         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12768 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12770         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
12771         (__ASSUME_*_SYSCALL) Define new macros.
12772         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
12773         Remove socketcall syscalls.
12774         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
12775         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
12776         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
12777         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
12778         * sysdeps/unix/sysv/linux/send.c (__libc_send):
12779         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
12781 2015-11-09  Florian Weimer  <fweimer@redhat.com>
12783         [BZ #12926]
12784         Terminate process on invalid netlink response.
12785         * sysdeps/unix/sysv/linux/netlinkaccess.h
12786         (__netlink_assert_response): Declare.
12787         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
12788         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
12789         (sysdep_routines): Add netlink_assert_response.
12790         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
12791         __netlink_assert_response.
12792         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12793         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12794         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
12795         __netlink_assert_response.
12797 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12799         [BZ #19178]
12800         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
12801         (RTYPE_CLASS_PLT): Likewise.
12802         (RTYPE_CLASS_COPY): Likewise.
12803         (RTYPE_CLASS_TLS): Likewise.
12804         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
12805         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
12806         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
12807         DL_DEBUG_PRELINK.
12809 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
12811         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
12812         calls with argument -0.5.
12813         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
12815         * configure.ac (libc_cv_z_nodelete): Remove configure test.
12816         (libc_cv_z_nodlopen): Likewise.
12817         (libc_cv_z_initfirst): Likewise.
12818         * configure: Regenerated.
12820 2015-11-06  Florian Weimer  <fweimer@redhat.com>
12822         Simplify abilist format to be line-based.
12823         * scripts/abilist.awk: Collect descriptors in the descs variable.
12824         (emit): Write descs variable and sort it
12825         externally, with sort.
12826         * sysdeps/**/*.abilist: Convert to new format.
12828 2015-11-06  Mark Wielaard  <mjw@redhat.com>
12830         [BZ #11460]
12831         * io/Makefile (routines): Add fts64.
12832         (tests): Add tst-fts and tst-fts-lfs.
12833         (CFLAGS-fts64.c): New.
12834         * io/Versions (GLIBC_2.23): New.
12835         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
12836         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
12837         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
12838         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
12839         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
12840         (FTSENT64): Likewise.
12841         (fts64_children): Likewise.
12842         (fts64_close): Likewise.
12843         (fts64_open): Likewise.
12844         (fts64_read): Likewise.
12845         (fts64_set): Likewise.
12846         * io/fts64.c: New file.
12847         * io/tst-fts.c: New test.
12848         * io/tst-fts-lfs.c: Likewise.
12849         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
12850         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
12851         fts64_set.
12852         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12853         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12854         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12855         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12856         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12857         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12858         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12859         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12860         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12861         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12862         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12863         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12864         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12866         Likewise.
12867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12868         Likewise.
12869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12871         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12872         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12873         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12874         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12875         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12878         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12879         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12880         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12881         * sysdeps/wordsize-64/fts.c: New file.
12882         * sysdeps/wordsize-64/fts64.c: Likewise.
12883         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12884         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12885         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12886         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12888 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12890         * math/libm-test.inc (NON_FINITE): New macro.
12891         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12892         * math/gen-libm-test.pl (show_exceptions): Add argument
12893         $non_finite.
12894         (parse_args): Update call to show_exceptions.
12895         * math/test-math-finite.h: New file.
12896         * math/test-math-no-finite.h: Likewise.
12897         * math/test-double-finite.c: Likewise.
12898         * math/test-float-finite.c: Likewise.
12899         * math/test-ldouble-finite.c: Likewise.
12900         * math/test-double.c: Include "test-math-no-finite.h".
12901         * math/test-float.c: Include "test-math-no-finite.h".
12902         * math/test-ldouble.c: Include "test-math-no-finite.h".
12903         * math/test-math-inline.h (TEST_FINITE): New macro.
12904         * math/test-math-vector.h (TEST_FINITE): Likewise.
12905         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12906         (libm-tests): Add test-float-finite and test-double-finite.
12907         ($(objpfx)test-float-finite.o): New dependency on
12908         $(objpfx)libm-test.stmp.
12909         ($(objpfx)test-double-finite.o): Likewise.
12910         ($(objpfx)test-ldouble-finite.o): Likewise.
12911         (libm-test-no-inline-cflags): New variable.
12912         (libm-test-finite-cflags): Likewise.
12913         (CFLAGS-test-float-finite.c): Likewise.
12914         (CFLAGS-test-double-finite.c): Likewise.
12915         (CFLAGS-test-ldouble-finite.c): Likewise.
12916         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12917         (CFLAGS-test-double.c): Likewise.
12918         (CFLAGS-test-ldouble.c): Likewise.
12920 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12922         * io/fcntl.c (__fcntl): Add ... to prototype.
12923         * misc/ioctl.c (__ioctl): Likewise.
12924         * misc/syscall.c (syscall): Likewise.
12926 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12928         * scripts/list-fixed-bugs.py: New file.
12930         [BZ #19213]
12931         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12932         returned for argument 1.
12933         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12934         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12935         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12936         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12937         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12938         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12940         [BZ #19211]
12941         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12942         __USE_XOPEN], not if [!__USE_ISOC99].
12943         (lgammaf): Likewise.
12944         (lgammal): Likewise.
12945         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12946         (gammaf): Likewise.
12947         (gammal): Likewise.
12948         * math/test-signgam-finite-c11.c: New file.
12949         * math/test-signgam-finite-c99.c: Likewise.
12950         * math/test-signgam-finite.c: Likewise.
12951         * math/Makefile (tests): Add test-signgam-finite,
12952         test-signgam-finite-c99 and test-signgam-finite-c11.
12953         (CFLAGS-test-signgam-finite.c): New variable.
12954         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12955         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12957         [BZ #19212]
12958         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12959         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12960         500].
12961         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12962         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12963         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12964         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12965         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12966         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12967         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12968         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12969         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12970         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12972         [BZ #19209]
12973         * math/bits/math-finite.h (ldexp): Remove declaration.
12974         (ldexpf): Likewise.
12975         (ldexpl): Likewise.
12977         [BZ #19205]
12978         * math/bits/math-finite.h (acosf): Condition declaration on
12979         [__USE_ISOC99].
12980         (acosl): Likewise.
12981         (acoshf): Likewise.
12982         (acoshl): Likewise.
12983         (asinf): Likewise.
12984         (asinl): Likewise.
12985         (atan2f): Likewise.
12986         (atan2l): Likewise.
12987         (atanhf): Likewise.
12988         (atanhl): Likewise.
12989         (coshf): Likewise.
12990         (coshl): Likewise.
12991         (expf): Likewise.
12992         (expl): Likewise.
12993         (fmodf): Likewise.
12994         (fmodl): Likewise.
12995         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12996         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12997         (j0l): Likewise.
12998         (y0f): Likewise.
12999         (y0l): Likewise.
13000         (j1f): Likewise.
13001         (j1l): Likewise.
13002         (y1f): Likewise.
13003         (y1l): Likewise.
13004         (jnf): Likewise.
13005         (jnl): Likewise.
13006         (ynf): Likewise.
13007         (ynl): Likewise.
13008         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13009         (lgammal_r): Likewise.
13010         (__lgamma_r_finite): New declaration.
13011         (__lgammaf_r_finite): Likewise.
13012         (__lgammal_r_finite): Likewise.
13013         (lgamma): Use __lgamma_r_finite.
13014         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13015         __lgammaf_r_finite.
13016         (lgammal): Condition definition on [__USE_ISOC99].  Use
13017         __lgammal_r_finite.
13018         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13019         __lgamma_r_finite.
13020         (gammaf): Condition definition on [__USE_ISOC99].  Use
13021         __lgammaf_r_finite.
13022         (gammal): Condition definition on [__USE_ISOC99].  Use
13023         __lgammal_r_finite.
13024         (logf): Condition declaration on [__USE_ISOC99].
13025         (logl): Likewise.
13026         (log10f): Likewise.
13027         (log10l): Likewise.
13028         (ldexpf): Likewise.
13029         (ldexpl): Likewise.
13030         (powf): Likewise.
13031         (powl): Likewise.
13032         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13033         __USE_ISOC99].
13034         (remainderf): Condition declaration on [__USE_ISOC99].
13035         (remainderl): Likewise.
13036         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13037         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13038         (scalbl): Likewise.
13039         (sinhf): Condition declaration on [__USE_ISOC99].
13040         (sinhl): Likewise.
13041         (sqrtf): Likewise.
13042         (sqrtl): Likewise.
13044 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13046         * sysdeps/arm/atomic-machine.h
13047         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13048         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13049         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13050         Remove conditional code.
13051         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13052         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13053         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13054         Change conditional to [__ASSEMBLER__].
13055         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13056         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13057         [!__ASSEMBLER__].
13058         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13059         code.
13060         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13061         conditional macro definitions.
13062         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13063         (__arch_compare_and_exchange_val_16_acq): Likewise.
13064         (__arch_compare_and_exchange_val_32_acq): Likewise.
13065         (atomic_exchange_and_add): Likewise.
13066         (atomic_add): Likewise.
13067         (atomic_add_negative): Likewise.
13068         (atomic_add_zero): Likewise.
13069         (atomic_bit_set): Likewise.
13070         (atomic_bit_test_set): Likewise.
13071         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13072         code unconditional.
13073         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13075         * math/test-math-errno.h: New file.
13076         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13077         empty.
13078         (TEST_ERRNO): New macro.
13079         (TEST_EXCEPTIONS): Likewise.
13080         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13081         (TEST_EXCEPTIONS): Likewise.
13082         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13083         * math/test-double.c: Include "test-math-errno.h".
13084         * math/test-float.c: Likewise.
13085         * math/test-ldouble.c: Likewise.
13086         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13087         code unconditional.
13088         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13089         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13090         unconditional.
13091         (test_errno): Only run code if TEST_ERRNO.
13092         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13094 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13096         * nptl/tst-once5.cc: Remove attribution.
13098 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13100         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13101         sqrt, tan, tanh, y0, y1 and yn.
13102         * math/auto-libm-test-out: Regenerated.
13103         * math/libm-test.inc (scalb_test_data): Add more tests.
13104         (scalbn_test_data): Likewise.
13105         (scalbln_test_data): Likewise.
13106         (signbit_test_data): Likewise.
13107         (sin_test_data): Likewise.
13108         (sincos_test_data): Likewise.
13109         (sinh_test_data): Likewise.
13110         (sqrt_test_data): Likewise.
13111         (tan_test_data): Likewise.
13112         (tanh_test_data): Likewise.
13113         (tgamma_test_data): Likewise.
13114         (y0_test_data): Likewise.
13115         (y1_test_data): Likewise.
13116         (yn_test_data): Likewise.
13117         (significand_test_data): Likewise.
13118         * sysdeps/i386/fpu/libm-test-ulps: Update.
13120 2015-11-03  David Kastrup  <dak@gnu.org>
13122         [BZ #18604]
13123         * assert/assert.h (assert): Don't macro-expand failed assertion
13124         expression in error message.
13125         * malloc/malloc.c (assert): Likewise.
13127 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13129         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13130         test.
13131         * configure: Regenerated.
13133 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13135         * math/libm-test.inc (modf_test_data): Add more tests.
13136         (nearbyint_test_data): Likewise.
13137         (nextafter_test_data): Likewise.
13138         (nexttoward_test_data): Likewise.
13139         (pow_test_data): Likewise.
13140         (remainder_test_data): Likewise.
13141         (remquo_test_data): Likewise.
13142         (rint_test_data): Likewise.
13144         [BZ #19201]
13145         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13146         Check for zero remainder in case of large exponents and ensure
13147         correct sign of result in that case.
13148         * math/libm-test.inc (remainder_test_data): Add more tests.
13150         [BZ #6799]
13151         * math/s_nextafter.c: Include <errno.h>.
13152         (__nextafter): Set errno on overflow and underflow.
13153         * math/s_nexttowardf.c: Include <errno.h>.
13154         (__nexttowardf): Set errno on overflow and underflow.
13155         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13156         (__nextafterl): Set errno on overflow and underflow.
13157         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13158         (__nexttoward): Set errno on overflow and underflow.
13159         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13160         (__nexttowardf): Set errno on overflow and underflow.
13161         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13162         (__nextafterf): Set errno on overflow and underflow.
13163         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13164         (__nextafterl): Set errno on overflow and underflow.
13165         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13166         (__nexttoward): Set errno on overflow and underflow.
13167         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13168         (__nexttowardf): Set errno on overflow and underflow.
13169         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13170         (__nextafterl): Set errno on overflow and underflow.
13171         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13172         (__nexttoward): Set errno on overflow and underflow.
13173         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13174         (__nexttowardf): Set errno on overflow and underflow.
13175         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13176         (__nexttoward): Set errno on overflow and underflow.
13177         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13178         (__nexttowardf): Set errno on overflow and underflow.
13179         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13180         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13181         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13182         (__nextafterl): Set errno on overflow and underflow.
13183         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13184         setting to be missing on overflow.  Add more tests.
13185         (nexttoward_test_data): Likewise.
13187         * configure.ac (libc_cv_initfini_array): Remove configure test.
13188         * configure: Regenerated.
13190 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13192         [BZ #19189]
13193         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13194         non-finite argument handle arguments with negative sign.
13196         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13197         result from infinite argument.
13198         (j1_test_data): Likewise.
13199         (jn_test_data): Likewise.
13200         (y0_test_data): Likewise.
13201         (y1_test_data): Likewise.
13202         (yn_test_data): Likewise.
13204         [BZ #16171]
13205         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13206         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13207         * math/w_remainderf.c (dremf): Define as weak alias of
13208         __remainderf.
13209         * math/w_remainderl.c (dreml): Define as weak alias of
13210         __remainderl.
13211         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13212         __remainder.
13213         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13214         __remainderf.
13215         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13216         __remainderl.
13217         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13218         weak alias of remainderl.
13219         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13220         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13221         alias of __remainder.
13222         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13223         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13224         strong alias of __remainderl.
13225         (dreml): Use long_double_symbol.
13226         * math/Makefile (libm-calls): Remove w_drem.
13227         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13228         (CFLAGS-nldbl-drem.c): Remove variable.
13229         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13230         * math/w_drem.c: Remove file.
13231         * math/w_dremf.c: Likewise.
13232         * math/w_dreml.c: Likewise.
13233         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
13234         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
13235         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
13237         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
13238         * sysdeps/i386/configure: Regenerated.
13239         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
13240         * sysdeps/x86_64/configure: Regenerated.
13242         * configure.ac (libc_cv_asm_protected_directive): Remove configure
13243         test.
13244         (libc_cv_visibility_attribute): Likewise.
13245         (libc_cv_protected_data): Test unconditionally.
13246         (libc_cv_broken_visibility_attribute): Remove configure test.
13247         (libc_cv_have_sdata_section): Test unconditionally.
13248         * configure: Regenerated.
13250         * include/libc-internal.h (libc_max_align_t): Remove typedef.
13251         * include/scratch_buffer.h: Include <stddef.h> instead of
13252         <libc-internal.h>.
13253         (struct scratch_buffer): Use max_align_t instead of
13254         libc_max_align_t.
13256 2015-10-29  Florian Weimer  <fweimer@redhat.com>
13258         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
13259         instead of extend_alloca.  Change control flow to avoid a goto.
13260         Remove assert which is trivially always true.
13262 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13264         [BZ #16068]
13265         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
13266         (FE_ALL_EXCEPT_X86): New macro.
13267         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13268         FE_ALL_EXCEPT.  Ensure precision control is included in
13269         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13270         handle "denormal operand exception" and clear FZ and DAZ bits.
13271         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
13272         (FE_ALL_EXCEPT_X86): New macro.
13273         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13274         FE_ALL_EXCEPT.  Ensure precision control is included in
13275         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13276         handle "denormal operand exception" and clear FZ and DAZ bits.
13277         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
13278         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
13279         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13280         test-fenv-x87 and test-fenv-sse-2.
13281         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
13283         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
13284         * math/test-double.h (BUILD_COMPLEX): New macro.
13285         * math/test-float.h (BUILD_COMPLEX): Likewise.
13286         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
13288         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
13289         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
13290         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
13291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
13292         instead of DBL_DENORM_MIN in comment.
13293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
13294         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13295         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
13296         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
13297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
13298         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13300 2015-10-28  Florian Weimer  <fweimer@redhat.com>
13302         [BZ# 19048]
13303         * malloc/malloc.c (struct malloc_state): Update comment.  Add
13304         attached_threads member.
13305         (main_arena): Initialize attached_threads.
13306         * malloc/arena.c (list_lock): Update comment.
13307         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
13308         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
13309         (deattach_arena): New function.
13310         (_int_new_arena): Initialize arena reference count and deattach
13311         replaced arena.
13312         (get_free_list, reused_arena): Update reference count and deattach
13313         replaced arena.
13314         (arena_thread_freeres): Update arena reference count and only put
13315         unreferenced arenas on the free list.
13317 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13319         [BZ #19181]
13320         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
13321         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
13322         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
13323         * math/test-fenv-clear-main.c: New file.
13324         * math/test-fenv-clear.c: Likewise.
13325         * math/Makefile (tests): Add test-fenv-clear.
13326         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
13327         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13328         test-fenv-clear-sse.
13329         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
13331         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
13332         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
13333         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
13335 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13337         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
13338         static libc.
13340 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13342         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
13343         test.
13344         * sysdeps/i386/configure: Regenerated.
13345         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
13346         test.
13347         * sysdeps/x86_64/configure: Regenerated.
13348         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
13349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13350         memset-avx2 unconditionally instead of conditionally on
13351         [$(config-cflags-avx2) = yes].
13352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13353         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
13354         unconditional.
13355         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
13356         * sysdeps/x86_64/multiarch/memset_chk.S
13357         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
13358         to [IS_IN (libc) && SHARED].
13360 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13362         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
13363         configure test.
13364         * sysdeps/arm/configure: Regenerated.
13365         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
13366         Define variable if not already defined.
13368         [BZ #17404]
13369         * sysdeps/mips/atomic-machine.h
13370         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
13371         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
13372         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13374         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
13375         unconditional.
13376         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
13377         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13378         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
13379         unconditional.
13380         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13381         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
13382         unconditional.
13383         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13384         * stdlib/setenv.c
13385         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
13386         code unconditional.
13387         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
13388         Remove conditional code.
13389         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13390         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
13391         unconditional.
13392         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13393         code.
13394         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13395         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
13396         unconditional.
13397         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13398         code.
13399         * sysdeps/ieee754/ldbl-128/k_tanl.c
13400         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13401         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13402         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
13403         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13404         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13405         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
13406         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
13407         unconditional.
13408         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13409         code.
13410         * sysdeps/ieee754/ldbl-96/k_tanl.c
13411         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13412         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13414         * nptl/tst-initializers1-c11.c: New file.
13415         * nptl/tst-initializers1-gnu11.c: Likewise.
13416         * nptl/Makefile (tests): Add these new tests.
13417         (CFLAGS-tst-initializers1-c11.c): New variable.
13418         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13420         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13421         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13422         instead of -std=gnu99.
13423         * configure.ac (systemtap): Test with -std=gnu11 instead of
13424         -std=gnu99.
13425         * configure: Regenerated.
13426         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13427         in compilation command in comment.
13429         * sysdeps/nptl/configure.ac: Remove file.
13430         * sysdeps/nptl/configure: Remove generated file.
13431         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13432         * configure: Regenerated.
13433         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13434         * config.make.in (have-forced-unwind): Remove variable.
13435         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13436         unconditional.
13437         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13438         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13439         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13440         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13441         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13442         unconditional.
13444 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13446         [BZ #19174]
13447         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13448         .skip_lock_out_of_tbegin_retries.
13449         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13450         (__lll_lock_elision): Likewise, and respect a value of
13451         try_tbegin <= 0.
13453 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13455         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13456         statement.
13458 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13460         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13461         variable.
13462         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13463         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13465         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13466         of -std=c1x -D_ISOC11_SOURCE.
13468         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13469         * configure: Regenerated.
13470         * manual/install.texi (Tools for Compilation): Document
13471         requirement for GCC 4.7 or later.
13472         * INSTALL: Regenerated.
13474 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
13476         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13477         on CNT to a conditional jump to 'puntdata'.
13479 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13481         * configure.ac (libc_cv_gcc___thread): Remove configure test.
13482         (libc_cv_gcc_tls_model_attr): Likewise.
13483         * configure: Regenerated.
13485         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13486         * configure: Regenerated.
13487         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13489 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
13491         * configure.ac (old_glibc_headers): Remove configure test.
13492         * configure: Regenerated.
13493         * config.make.in (old-glibc-headers): Remove variable.
13494         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13495         (install): Remove dependency on remove-old-headers.
13496         (headers2_0): Remove variable.
13497         (remove-old-headers): Remove rule.
13499         * configure.ac (libc_cv_dot_text): Remove configure test.
13500         (libc_cv_asm_set_directive): Use .text instead of
13501         ${libc_cv_dot_text} in configure test.
13502         * configure: Regenerated.
13504 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13506         [BZ #19168]
13507         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13509 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13511         * configure.ac (CXX): Clear the variable if the C++ toolchain does
13512         not support static linking.
13513         * configure: Regenerate.
13515 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
13517         * math/libm-test.inc (check_float_internal): Do not special-case
13518         errors up to 0.5 ulp.
13520         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13521         log2.
13522         * math/auto-libm-test-out: Regenerated.
13523         * math/libm-test.inc (MAX_EXP): New macro.
13524         (ilogb_test_data): Add more tests.
13525         (isfinite_test_data): Likewise.
13526         (isgreater_test_data): Likewise.
13527         (isgreaterequal_test_data): Likewise.
13528         (isinf_test_data): Likewise.
13529         (isless_test_data): Likewise.
13530         (islessequal_test_data): Likewise.
13531         (islessgreater_test_data): Likewise.
13532         (isnan_test_data): Likewise.
13533         (isnormal_test_data): Likewise.
13534         (issignaling_test_data): Likewise.
13535         (isunordered_test_data): Likewise.
13536         (j0_test_data): Likewise.
13537         (j1_test_data): Likewise.
13538         (jn_test_data): Likewise.
13539         (lgamma_test_data): Likewise.
13540         (log_test_data): Likewise.
13541         (log10_test_data): Likewise.
13542         (log1p_test_data): Likewise.
13543         (log2_test_data): Likewise.
13544         (logb_test_data): Likewise.
13545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13547         [BZ #18611]
13548         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
13549         avoid excess range and precision on underflow.
13550         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13551         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13552         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13553         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
13554         underflow.
13555         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13556         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13557         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13558         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13559         * math/auto-libm-test-in: Do not allow missing errno setting for
13560         tests of j1 and jn.
13561         * math/auto-libm-test-out: Regenerated.
13563 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
13565         [BZ #15491]
13566         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
13567         floating-point environment instead of clearing all exceptions.
13568         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13569         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
13570         merging in "invalid" exceptions from frndint.
13571         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13572         * math/test-nearbyint-except.c: New file.
13573         * math/Makefile (tests): Add test-nearbyint-except.
13575 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
13577         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
13579         * sysdeps/tile/libm-test-ulps: Regenerated.
13581 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
13584         (__NR_sync_file_range2): Assume it is always defined.
13585         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13586         (__NR_sync_file_range): Assume it is always defined.
13588 2015-10-22  Andreas Schwab  <schwab@suse.de>
13590         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13591         INTERNAL_SYSCALL_ERRNO.
13592         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13593         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13594         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13595         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13596         Likewise.
13597         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13599 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13601         * io/tst-fcntl.c (fd): New static variable.
13602         (do_prepare): Open temporary file here....
13603         (do_test): ...not here.
13605         * io/ftwtest-sh: Also trap on exit to remove temporary files.
13607 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13609         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
13610         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13611         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13612         Moved before "#ifdef __ASSEMBLER__".
13614 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13616         [BZ #19156]
13617         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
13618         arguments very close to 0.
13620 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
13622         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
13623         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
13625 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13627         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13628         New.  Defined for GCC 5 and above when not compiling for
13629         profiling.
13630         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13632         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13633         Renamed to ...
13634         (CFLAGS-epoll_pwait.o): This.
13635         (CFLAGS-mmap.c): Renamed to ...
13636         (CFLAGS-mmap.o): This.
13637         (CFLAGS-mmap64.c): Renamed to ...
13638         (CFLAGS-mmap64.o): This.
13639         (CFLAGS-epoll_pwait.os): New.
13640         (CFLAGS-mmap.os): Likewise.
13641         (CFLAGS-mmap64.os): Likewise.
13642         (CFLAGS-semtimedop.os): Likewise.
13643         (CFLAGS-semtimedop.c): Renamed to ...
13644         (CFLAGS-semtimedop.o): This.
13646 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13648         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
13649         warning message.
13651 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13653         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
13654         * Makefile ($(objpfx)c++-types-check.out): Filter out
13655         $(+gccwarn-c) instead of -Wstrict-prototypes.
13657         * io/fts.c (fts_open): Convert to prototype-style function
13658         definition.
13659         * malloc/mcheck.c (mcheck): Likewise.
13660         (mcheck_pedantic): Likewise.
13661         * posix/regexec.c (re_search_2_stub): Likewise.  Use
13662         internal_function.
13663         (re_search_internal): Likewise.
13664         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
13665         prototype-style function definition.
13666         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13667         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13668         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
13669         (xdr_utmpptr): Likewise.
13670         (xdr_utmparr): Likewise.
13671         (xdr_utmpidle): Likewise.
13672         (xdr_utmpidleptr): Likewise.
13673         (xdr_utmpidlearr): Likewise.
13675         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
13676         log, log10 and log2.
13677         * math/auto-libm-test-out: Regenerated.
13678         * math/libm-test.inc (fmod_test_data): Add more tests.
13679         (fpclassify_test_data): Likewise.
13680         (frexp_test_data): Likewise.
13681         (hypot_test_data): Likewise.
13682         (ilogb_test_data): Likewise.
13684 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
13686         * debug/fortify_fail.c (__fortify_fail): Convert to
13687         prototype-style function definition.  Use internal_function.
13688         * libio/genops.c (save_for_backup): Convert to prototype-style
13689         function definition.
13690         * libio/wgenops.c (save_for_wbackup): Likewise.
13691         * login/grantpt.c (grantpt): Likewise.
13692         * login/ptsname.c (ptsname): Likewise.
13693         (__ptsname_r): Likewise.
13694         * login/unlockpt.c (unlockpt): Likewise.
13695         * mach/msgserver.c (__mach_msg_server): Likewise.
13696         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
13697         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
13698         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
13699         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
13700         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
13701         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
13702         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
13703         Likewise.
13704         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
13705         internal_function.
13706         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
13707         prototype-style function definition.
13708         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
13709         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
13710         (__pthread_create_2_0): Likewise.
13711         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
13712         * nptl/register-atfork.c (__register_atfork): Likewise.
13713         * posix/glob.c (glob): Likewise.
13714         * posix/regcomp.c (re_comp): Likewise.
13715         * posix/regexec.c (re_exec): Likewise.
13716         * stdlib/add_n.c [__STDC__]: Make code unconditional.
13717         [!__STDC__]: Remove conditional code.
13718         * stdlib/cmp.c [__STDC__]: Make code unconditional.
13719         [!__STDC__]: Remove conditional code.
13720         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
13721         [!__STDC__]: Remove conditional code.
13722         * stdlib/divrem.c [__STDC__]: Make code unconditional.
13723         [!__STDC__]: Remove conditional code.
13724         * stdlib/lshift.c [__STDC__]: Make code unconditional.
13725         [!__STDC__]: Remove conditional code.
13726         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
13727         [!__STDC__]: Remove conditional code.
13728         * stdlib/mul.c [__STDC__]: Make code unconditional.
13729         [!__STDC__]: Remove conditional code.
13730         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
13731         [!__STDC__]: Remove conditional code.
13732         * stdlib/rshift.c [__STDC__]: Make code unconditional.
13733         [!__STDC__]: Remove conditional code.
13734         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
13735         function definition.
13736         (STRTOF): Likewise.
13737         * stdlib/strtod_l.c (__STRTOF): Likewise.
13738         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
13739         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
13740         (__strtol_l): Likewise.
13741         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
13742         [!__STDC__]: Remove conditional code.
13743         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
13744         definition.
13745         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13746         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13747         type.
13748         (__strcasecmp): Convert to prototype-style function definition.
13749         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
13750         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13751         type.
13752         (__strncasecmp): Convert to prototype-style function definition.
13753         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
13754         * sunrpc/xdr.c (xdr_union): Likewise.
13755         * sunrpc/xdr_array.c (xdr_array): Likewise.
13756         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
13757         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
13758         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
13759         Likewise.
13760         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
13761         Likewise.
13762         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
13763         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13764         Likewise.
13765         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
13766         (LOCALE_PARAM_PROTO): Likewise.
13767         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
13768         argument type.
13769         (ut_argument_spec): Remove macro.
13770         (ut_argument_spec_iso): Rename to ut_argument_spec.
13771         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
13772         prototype-style function definition.
13773         (memcpy_uppcase): Likewise.
13774         (__strftime_internal): Likewise.
13775         (my_strftime): Likewise.
13776         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
13777         (LOCALE_PARAM_DECL): Likewise.
13778         [_LIBC] (LOCALE_PARAM): Include argument type.
13779         (__strptime_internal): Convert to prototype-style function
13780         definition.
13781         (strptime): Likewise.
13782         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13783         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13784         type.
13785         (__wcscasecmp): Convert to prototype-style function definition.
13786         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
13787         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13788         type.
13789         (__wcsncasecmp): Convert to prototype-style function definition.
13791         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
13792         function definition.
13793         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13794         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13795         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
13796         * elf/dl-minimal.c (_itoa): Likewise.
13797         * hurd/hurdmalloc.c (malloc): Likewise.
13798         (free): Likewise.
13799         (realloc): Likewise.
13800         * inet/inet6_option.c (inet6_option_space): Likewise.
13801         (inet6_option_init): Likewise.
13802         (inet6_option_append): Likewise.
13803         (inet6_option_alloc): Likewise.
13804         (inet6_option_next): Likewise.
13805         (inet6_option_find): Likewise.
13806         * io/ftw.c (FTW_NAME): Likewise.
13807         (NFTW_NAME): Likewise.
13808         (NFTW_NEW_NAME): Likewise.
13809         (NFTW_OLD_NAME): Likewise.
13810         * libio/iofwide.c (_IO_fwide): Likewise.
13811         * libio/strops.c (_IO_str_init_static_internal): Likewise.
13812         (_IO_str_init_static): Likewise.
13813         (_IO_str_init_readonly): Likewise.
13814         (_IO_str_overflow): Likewise.
13815         (_IO_str_underflow): Likewise.
13816         (_IO_str_count): Likewise.
13817         (_IO_str_seekoff): Likewise.
13818         (_IO_str_pbackfail): Likewise.
13819         (_IO_str_finish): Likewise.
13820         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
13821         (_IO_wstr_overflow): Likewise.
13822         (_IO_wstr_underflow): Likewise.
13823         (_IO_wstr_count): Likewise.
13824         (_IO_wstr_seekoff): Likewise.
13825         (_IO_wstr_pbackfail): Likewise.
13826         (_IO_wstr_finish): Likewise.
13827         * locale/programs/localedef.c (normalize_codeset): Likewise.
13828         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13829         (add_locales_to_archive): Likewise.
13830         (delete_locales_from_archive): Likewise.
13831         * malloc/malloc.c (__libc_mallinfo): Likewise.
13832         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
13833         * misc/tsearch.c (__tfind): Likewise.
13834         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
13835         * nptl/pthread_attr_getdetachstate.c
13836         (__pthread_attr_getdetachstate): Likewise.
13837         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
13838         Likewise.
13839         * nptl/pthread_attr_getinheritsched.c
13840         (__pthread_attr_getinheritsched): Likewise.
13841         * nptl/pthread_attr_getschedparam.c
13842         (__pthread_attr_getschedparam): Likewise.
13843         * nptl/pthread_attr_getschedpolicy.c
13844         (__pthread_attr_getschedpolicy): Likewise.
13845         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
13846         Likewise.
13847         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
13848         Likewise.
13849         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13850         Likewise.
13851         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13852         Likewise.
13853         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
13854         (__pthread_attr_init_2_0): Likewise.
13855         * nptl/pthread_attr_setdetachstate.c
13856         (__pthread_attr_setdetachstate): Likewise.
13857         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13858         Likewise.
13859         * nptl/pthread_attr_setinheritsched.c
13860         (__pthread_attr_setinheritsched): Likewise.
13861         * nptl/pthread_attr_setschedparam.c
13862         (__pthread_attr_setschedparam): Likewise.
13863         * nptl/pthread_attr_setschedpolicy.c
13864         (__pthread_attr_setschedpolicy): Likewise.
13865         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
13866         Likewise.
13867         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
13868         Likewise.
13869         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13870         Likewise.
13871         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13872         Likewise.
13873         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
13874         Likewise.
13875         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
13876         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13877         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
13878         use internal_function.
13879         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
13880         prototype-style function definition.
13881         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13882         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
13883         internal_function.
13884         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13885         Convert to prototype-style function definition.
13886         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13887         Likewise.
13888         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13889         Likewise.
13890         (__pthread_mutex_unlock): Likewise.
13891         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13892         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13893         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13894         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13895         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13896         * nss/makedb.c (process_input): Likewise.
13897         * posix/fnmatch.c (__strchrnul): Likewise.
13898         (__wcschrnul): Likewise.
13899         (fnmatch): Likewise.
13900         * posix/fnmatch_loop.c (FCT): Likewise.
13901         * posix/glob.c (globfree): Likewise.
13902         (__glob_pattern_type): Likewise.
13903         (__glob_pattern_p): Likewise.
13904         * posix/regcomp.c (re_compile_pattern): Likewise.
13905         (re_set_syntax): Likewise.
13906         (re_compile_fastmap): Likewise.
13907         (regcomp): Likewise.
13908         (regerror): Likewise.
13909         (regfree): Likewise.
13910         * posix/regexec.c (regexec): Likewise.
13911         (re_match): Likewise.
13912         (re_search): Likewise.
13913         (re_match_2): Likewise.
13914         (re_search_2): Likewise.
13915         (re_search_stub): Likewise.  Use internal_function
13916         (re_copy_regs): Likewise.
13917         (re_set_registers): Convert to prototype-style function
13918         definition.
13919         (prune_impossible_nodes): Likewise.  Use internal_function.
13920         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13921         prototype-style function definition.
13922         (inet_net_pton_ipv4): Likewise.
13923         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13924         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13925         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13926         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13927         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13928         Make variadic.
13929         * time/strptime_l.c (localtime_r): Convert to prototype-style
13930         function definition.
13931         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13932         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13933         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13934         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13936         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13937         definition.
13938         (_ufc_doit_r): Likewise.
13939         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13940         (_ufc_output_conversion_r): Likewise.
13941         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13942         * inet/rcmd.c (rcmd_af): Likewise.
13943         (rcmd): Likewise.
13944         (ruserok_af): Likewise.
13945         (ruserok): Likewise.
13946         (ruserok2_sa): Likewise.
13947         (ruserok_sa): Likewise.
13948         (iruserok_af): Likewise.
13949         (iruserok): Likewise.
13950         (__ivaliduser): Likewise.
13951         (__validuser2_sa): Likewise.
13952         * inet/rexec.c (rexec_af): Likewise.
13953         (rexec): Likewise.
13954         * inet/ruserpass.c (ruserpass): Likewise.
13955         * locale/programs/xmalloc.c (xcalloc): Likewise.
13956         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13957         * math/w_drem.c (__drem): Likewise.
13958         * math/w_dremf.c (__dremf): Likewise.
13959         * math/w_dreml.c (__dreml): Likewise.
13960         * misc/daemon.c (daemon): Likewise.
13961         * resolv/res_debug.c (p_fqnname): Likewise.
13962         * stdlib/div.c (div): Likewise.
13963         * string/memcmp.c (memcmp_bytes): Likewise.
13964         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13965         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13967         * crypt/cert.c (main): Convert to prototype-style function
13968         definition.
13969         * io/pipe.c (__pipe): Likewise.
13970         * io/pipe2.c (__pipe2): Likewise.
13971         * misc/futimesat.c (futimesat): Likewise.
13972         * misc/utimes.c (__utimes): Likewise.
13973         * posix/execve.c (__execve): Likewise.
13974         * posix/execvp.c (execvp): Likewise.
13975         * posix/execvpe.c (__execvpe): Likewise.
13976         * posix/fexecve.c (fexecve): Likewise.
13977         * socket/socketpair.c (socketpair): Likewise.
13978         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13979         * stdlib/erand48.c (erand48): Likewise.
13980         * stdlib/erand48_r.c (__erand48_r): Likewise.
13981         * stdlib/jrand48.c (jrand48): Likewise.
13982         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13983         * stdlib/lcong48.c (lcong48): Likewise.
13984         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13985         * stdlib/nrand48.c (nrand48): Likewise.
13986         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13987         * stdlib/seed48.c (seed48): Likewise.
13988         * stdlib/seed48_r.c (__seed48_r): Likewise.
13989         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13990         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13991         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13993 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13995         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13996         * configure: Regenerated.
13997         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13998         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13999         unconditional.
14000         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14001         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14002         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14003         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14004         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14005         unconditional.
14006         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14008         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14009         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14011         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14012         function definition.
14013         * crypt/crypt_util.c (__encrypt_r): Likewise.
14014         * libio/genops.c (_IO_no_init): Likewise.
14015         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14016         (_IO_old_fopencookie): Likewise.
14017         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14018         * libio/iogetline.c (_IO_getline): Likewise.
14019         (_IO_getline_info): Likewise.
14020         * libio/iogetwline.c (_IO_getwline): Likewise.
14021         (_IO_getwline_info): Likewise.
14022         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14023         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14024         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14025         (find_entry): Likewise.
14026         (iterate_table): Likewise.
14027         (lookup): Likewise.
14028         * login/forkpty.c (forkpty): Likewise.
14029         * misc/hsearch_r.c (__hsearch_r): Likewise.
14030         * misc/select.c (__select): Likewise.
14031         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14032         Likewise.
14033         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14034         Likewise.
14035         * nptl/old_pthread_cond_timedwait.c
14036         (__pthread_cond_timedwait_2_0): Likewise.
14037         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14038         * nptl/pthread_barrierattr_getpshared.c
14039         (pthread_barrierattr_getpshared): Likewise.
14040         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14041         Likewise.
14042         * nptl/pthread_mutex_setprioceiling.c
14043         (pthread_mutex_setprioceiling): Likewise.
14044         * nptl/pthread_mutexattr_getprioceiling.c
14045         (pthread_mutexattr_getprioceiling): Likewise.
14046         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14047         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14048         Likewise.
14049         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14050         Likewise.
14051         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14052         Likewise.
14053         * socket/recvfrom.c (__recvfrom): Likewise.
14054         * socket/sendto.c (__sendto): Likewise.
14055         * socket/setsockopt.c (__setsockopt): Likewise.
14056         * stdio-common/_itoa.c (_itoa): Likewise.
14057         * stdio-common/_itowa.c (_itowa): Likewise.
14058         * stdio-common/reg-printf.c (__register_printf_specifier):
14059         Likewise.
14060         (__register_printf_function): Likewise.
14061         * stdio-common/tempname.c (__path_search): Likewise.
14062         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14063         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14064         * stdlib/random_r.c (__initstate_r): Likewise.
14065         * stdlib/setenv.c (__add_to_environ): Likewise.
14066         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14067         * streams/getpmsg.c (getpmsg): Likewise.
14068         * streams/putmsg.c (putmsg): Likewise.
14069         * streams/putpmsg.c (putpmsg): Likewise.
14070         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14071         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14072         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14073         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14074         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14075         * sunrpc/svc_udp.c (cache_get): Likewise.
14076         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14077         * sysdeps/mach/hurd/getcwd.c
14078         (__canonicalize_directory_name_internal): Likewise.
14079         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14080         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14081         * sysdeps/mach/hurd/select.c (__select): Likewise.
14082         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14083         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14084         * sysdeps/sparc/nptl/pthread_barrier_init.c
14085         (__pthread_barrier_init): Likewise.
14086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14087         (__pthread_cond_timedwait): Likewise.
14088         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14089         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14090         Likewise.
14091         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14092         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14093         Likewise.
14094         * sysvipc/semtimedop.c (semtimedop): Likewise.
14095         * time/setitimer.c (__setitimer): Likewise.
14096         * time/strftime_l.c (emacs_strftime): Likewise.
14098 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14100         * config.make.in (have-ssp): Delete.
14101         (stack-protector): New variable.
14102         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14103         cache test for -fstack-protector-strong.  Export stack_protector to
14104         the best ssp flag.
14105         * configure: Regenerated.
14106         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14107         * nscd/Makefile (CFLAGS-nscd): Likewise.
14108         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14110 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14112         [BZ #19122]
14113         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14114         attribute_hidden.
14116 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14118         [BZ #18743]
14119         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14120         code to...
14121         (ELIDE_LOCK): ...here.
14122         (__get_new_count): New function with part of the code from
14123         __elide_lock that updates the value of adapt_count after a
14124         transaction abort.
14125         (__elided_trylock): Moved this code to...
14126         (ELIDE_TRYLOCK): ...here.
14128 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14130         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14131         * configure: Regenerate.
14132         * INSTALL: Regenerate.
14133         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14134         and tweak grammar.
14136 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14138         * login/programs/pt_chown.c: Include signal.h
14139         (main): Clear any signal mask from the parent process.
14141 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14143         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14144         * configure: Regenerated.
14145         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14146         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14147         $(gnu89-inline-CFLAGS).
14149         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14150         test.
14151         (libc_cv_asm_weakext_directive): Likewise.
14152         * configure: Regenerated.
14153         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14154         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14155         * include/libc-symbols.h
14156         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14157         #error.
14158         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14159         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14161         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14162         prototype-style function definition.
14163         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14164         * sysdeps/i386/ffs.c (__ffs): Likewise.
14165         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14166         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14167         Likewise.
14168         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14169         Likewise.
14170         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14171         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14172         Likewise.
14173         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14174         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14175         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14176         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14177         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14178         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14179         * sysdeps/mach/hurd/access.c (__access): Likewise.
14180         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14181         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14182         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14183         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14184         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14185         (cthread_getspecific): Likewise.
14186         (cthread_setspecific): Likewise.
14187         (__libc_getspecific): Likewise.
14188         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14189         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14190         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14191         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14192         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14193         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14194         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14195         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14196         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14197         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14198         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14199         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14200         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14201         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14202         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14203         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14204         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14205         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14206         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14207         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14208         * sysdeps/mach/hurd/link.c (__link): Likewise.
14209         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14210         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14211         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14212         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14213         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14214         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14215         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14216         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14217         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14218         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14219         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14220         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14221         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14222         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14223         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14224         * sysdeps/mach/hurd/send.c (__send): Likewise.
14225         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14226         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14227         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14228         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14229         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14230         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14231         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14232         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14233         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
14234         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
14235         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
14236         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
14237         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
14238         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
14239         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
14240         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14241         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
14242         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14243         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
14244         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14245         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
14246         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
14247         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
14248         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
14249         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
14250         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
14251         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
14252         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
14253         * sysdeps/posix/alarm.c (alarm): Likewise.
14254         * sysdeps/posix/cuserid.c (cuserid): Likewise.
14255         * sysdeps/posix/dirfd.c (dirfd): Likewise.
14256         * sysdeps/posix/dup.c (__dup): Likewise.
14257         * sysdeps/posix/dup2.c (__dup2): Likewise.
14258         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
14259         (main): Likewise.
14260         * sysdeps/posix/flock.c (__flock): Likewise.
14261         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
14262         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14263         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
14264         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
14265         * sysdeps/posix/isatty.c (__isatty): Likewise.
14266         * sysdeps/posix/killpg.c (killpg): Likewise.
14267         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14268         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
14269         * sysdeps/posix/raise.c (raise): Likewise.
14270         * sysdeps/posix/remove.c (remove): Likewise.
14271         * sysdeps/posix/rename.c (rename): Likewise.
14272         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
14273         * sysdeps/posix/seekdir.c (seekdir): Likewise.
14274         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14275         * sysdeps/posix/sigignore.c (sigignore): Likewise.
14276         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
14277         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14278         * sysdeps/posix/sigset.c (sigset): Likewise.
14279         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
14280         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
14281         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
14282         * sysdeps/posix/time.c (time): Likewise.
14283         * sysdeps/posix/ttyname.c (getttyname): Likewise.
14284         (ttyname): Likewise.
14285         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
14286         * sysdeps/posix/utime.c (utime): Likewise.
14287         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
14288         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14289         Likewise.
14290         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
14291         (pthread_spin_trylock): Likewise.
14292         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
14293         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
14294         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
14295         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
14296         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
14297         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
14298         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
14299         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
14300         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
14301         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
14302         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
14303         * sysdeps/s390/ffs.c (__ffs): Likewise.
14304         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
14305         Likewise.
14306         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14307         Likewise.
14308         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
14309         Likewise.
14310         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
14311         (pthread_barrier_destroy): Likewise.
14312         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14313         (__pthread_barrier_wait): Likewise.
14314         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
14315         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14316         (__pthread_barrier_wait): Likewise.
14317         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
14318         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
14319         (memcmp_not_common_alignment): Likewise.
14320         (MEMCMP): Likewise.
14321         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
14322         (_wordcopy_fwd_dest_aligned): Likewise.
14323         (_wordcopy_bwd_aligned): Likewise.
14324         (_wordcopy_bwd_dest_aligned): Likewise.
14325         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
14326         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
14327         * sysdeps/unix/bsd/stty.c (stty): Likewise.
14328         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
14329         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
14330         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
14331         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
14332         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
14333         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
14334         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
14335         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
14336         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14337         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
14338         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
14339         * sysdeps/unix/stime.c (stime): Likewise.
14340         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
14341         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
14342         Likewise.  Use internal_function.
14343         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
14344         Convert to prototype-style function definition.
14345         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14346         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14347         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
14348         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14349         Likewise.  Use internal_function.
14350         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
14351         prototype-style function definition
14352         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14353         Likewise.
14354         (__getlogin_r): Likewise.
14355         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
14356         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
14357         (__pthread_cond_broadcast): Likewise.
14358         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
14359         (__pthread_cond_destroy): Likewise.
14360         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
14361         (__pthread_cond_init): Likewise.
14362         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
14363         (__pthread_cond_signal): Likewise.
14364         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
14365         (__pthread_cond_wait): Likewise.
14366         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
14367         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14368         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
14369         Likewise.
14370         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
14371         Likewise.
14372         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14373         Likewise.
14374         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
14375         Likewise.
14376         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
14377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
14378         (__ftruncate64): Likewise.
14379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
14380         (truncate64): Likewise.
14381         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
14382         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
14383         (pthread_getcpuclockid): Likewise.
14384         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14385         Likewise.
14386         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14387         Likewise.
14388         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
14389         Likewise.
14390         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14391         Likewise.
14392         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
14393         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
14394         (__libc_sigaction): Likewise.
14395         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
14396         Likewise.
14397         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14398         (__sigprocmask): Likewise.
14399         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
14400         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
14401         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
14402         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14403         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14404         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
14405         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14406         Likewise.
14407         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
14408         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
14409         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14410         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
14411         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
14412         Likewise.
14413         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14414         (__sigprocmask): Likewise.
14415         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14416         (cfgetispeed): Likewise.
14417         (cfsetospeed): Likewise.
14418         (cfsetispeed): Likewise.
14419         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14420         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14421         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14422         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14423         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14424         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14425         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14426         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14427         Likewise.
14428         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14429         Likewise.
14430         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14431         Likewise.
14432         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14433         Likewise.
14434         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14436 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14438         sunrpc: Rewrite with explicit TLS access using __thread.
14439         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14440         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14441         directly.
14442         (__rpc_thread_variables): Access thread_rpc_vars directly.
14443         Eliminate redundant assignment of the tvp variable.
14445 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14447         malloc: Rewrite with explicit TLS access using __thread.
14448         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14449         (tsd_setspecific, tsd_getspecific): Remove.
14450         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14451         (tsd_setspecific, tsd_getspecific): Likewise.
14452         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14453         (tsd_setspecific, tsd_getspecific): Likewise.
14454         * malloc/arena.c (thread_arena): New TLS variable.
14455         (arena_key): Remove variable.
14456         (arena_get): Use thread_arena.
14457         (arena_lookup): Remove macro.
14458         (malloc_atfork, free_atfork, ptmalloc_lock_all)
14459         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14460         (_int_new_arena, get_free_list, reused_arena)
14461         (arena_thread_freeres): Use thread_arena.
14462         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14463         tsd_getspecific, tsd_setspecific from safety annotations.
14464         (Allocating Cleared Space): Remove arena_lookup from safety
14465         annotations.
14467 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14469         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14470         struct scratch_buffer instead of extend_alloca.
14472 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14474         * sysdeps/unix/sysv/linux/kernel-features.h
14475         (__ASSUME_SOCK_CLOEXEC): Remove.
14476         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14477         (__have_paccept): Remove unused macro.
14478         * include/unistd.h (__have_sock_cloexec): Remove declaration.
14479         * misc/syslog.c (openlog_internal): Remove fallback code for
14480         !__ASSUME_SOCK_CLOEXEC.
14481         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14482         missing SOCK_CLOEXEC.
14483         * nscd/connections.c (have_sock_cloexec): Remove definition.
14484         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14485         * nscd/nscd_helper.c (open_socket): Remove fallback code for
14486         !__ASSUME_SOCK_CLOEXEC.
14487         * resolv/res_send.c (__have_o_nonblock): Remove definition.
14488         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14489         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14490         definition.
14491         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14492         code for !__ASSUME_SOCK_CLOEXEC.
14494 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14496         [BZ #18982]
14497         * manual/stdio.texi (Variable Arguments Output): Add portability
14498         note, explaining that vfprintf clobbers the va_list pointer.
14500 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14502         * math/libm-test.inc (fabs_test_data): Add more tests.
14503         (fdim_test_data): Likewise.
14504         (fma_test_data): Likewise.
14505         (fmax_test_data): Likewise.
14506         (fmin_test_data): Likewise.
14507         (fmod_test_data): Likewise.
14509 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
14511         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
14512         data.
14514 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14516         * math/libm-test.inc (ceil_test_data): Add more tests and more
14517         expectations for "inexact".
14518         (floor_test_data): Add more tests.
14519         (round_test_data): Likewise.
14520         (trunc_test_data): Likewise.
14522         * crypt/cert.c (good_bye): Convert to prototype-style function
14523         definition.
14524         (get8): Likewise.
14525         (put8): Likewise.
14526         * crypt/crypt-entry.c (crypt): Likewise.
14527         (__fcrypt): Likewise.
14528         * crypt/crypt_util.c (_ufc_prbits): Likewise.
14529         (_ufc_set_bits): Likewise.
14530         (_ufc_clearmem): Likewise.
14531         (__init_des_r): Likewise.
14532         (shuffle_sb): Likewise.
14533         (shuffle_sb): Likewise.
14534         (_ufc_setup_salt_r): Likewise.
14535         (_ufc_mk_keytab_r): Likewise.
14536         (_ufc_dofinalperm_r): Likewise.
14537         (encrypt): Likewise.
14538         (__setkey_r): Likewise.
14539         (setkey): Likewise.
14540         * crypt/md5.c (md5_init_ctx): Likewise.
14541         (md5_read_ctx): Likewise.
14542         (md5_finish_ctx): Likewise.
14543         (md5_stream): Likewise.
14544         (md5_buffer): Likewise.
14545         (md5_process_bytes): Likewise.
14546         * crypt/sha256.c (__sha256_init_ctx): Likewise.
14547         (__sha256_finish_ctx): Likewise.
14548         (__sha256_process_bytes): Likewise.
14549         * crypt/sha512.c (__sha512_init_ctx): Likewise.
14550         (__sha512_finish_ctx): Likewise.
14551         (__sha512_process_bytes): Likewise.
14552         * ctype/isctype.c (__isctype): Likewise.
14553         * debug/backtrace.c (__backtrace): Likewise.
14554         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
14555         * debug/fgets_chk.c (__fgets_chk): Likewise.
14556         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
14557         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
14558         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14559         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14560         * debug/memset_chk.c (__memset_chk): Likewise.
14561         * debug/strcat_chk.c (__strcat_chk): Likewise.
14562         * debug/strncat_chk.c (__strncat_chk): Likewise.
14563         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
14564         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
14565         * dirent/dirfd.c (dirfd): Likewise.
14566         * dirent/getdents.c (__getdirentries): Likewise.
14567         * dirent/getdents64.c (getdirentries64): Likewise.
14568         * dirent/rewinddir.c (__rewinddir): Likewise.
14569         * dirent/seekdir.c (seekdir): Likewise.
14570         * dirent/telldir.c (telldir): Likewise.
14571         * elf/sln.c (makesymlinks): Likewise.
14572         (makesymlink): Likewise.
14573         * gmon/gmon.c (__moncontrol): Likewise.
14574         (__monstartup): Likewise.
14575         (write_hist): Likewise.
14576         (write_call_graph): Likewise.
14577         (write_bb_counts): Likewise.
14578         * grp/setgroups.c (setgroups): Likewise.
14579         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14580         * inet/inet_net.c (inet_network): Likewise.
14581         * inet/inet_netof.c (inet_netof): Likewise.
14582         * inet/rcmd.c (rresvport_af): Likewise.
14583         (rresvport): Likewise.
14584         * io/access.c (__access): Likewise.
14585         * io/chdir.c (__chdir): Likewise.
14586         * io/chmod.c (__chmod): Likewise.
14587         * io/chown.c (__chown): Likewise.
14588         * io/close.c (__close): Likewise.
14589         * io/creat.c (creat): Likewise.
14590         * io/creat64.c (creat64): Likewise.
14591         * io/dup.c (__dup): Likewise.
14592         * io/dup2.c (__dup2): Likewise.
14593         * io/dup3.c (__dup3): Likewise.
14594         * io/euidaccess.c (__euidaccess): Likewise.
14595         * io/faccessat.c (faccessat): Likewise.
14596         * io/fchmod.c (__fchmod): Likewise.
14597         * io/fchmodat.c (fchmodat): Likewise.
14598         * io/fchown.c (__fchown): Likewise.
14599         * io/fchownat.c (fchownat): Likewise.
14600         * io/fcntl.c (__fcntl): Likewise.
14601         * io/flock.c (__flock): Likewise.
14602         * io/fts.c (fts_load): Likewise.
14603         (fts_close): Likewise.
14604         (fts_read): Likewise.
14605         (fts_set): Likewise.
14606         (fts_children): Likewise.
14607         (fts_build): Likewise.
14608         (fts_stat): Likewise.
14609         (fts_sort): Likewise.
14610         (fts_alloc): Likewise.
14611         (fts_lfree): Likewise.
14612         (fts_palloc): Likewise.
14613         (fts_padjust): Likewise.
14614         (fts_maxarglen): Likewise.
14615         (fts_safe_changedir): Likewise.
14616         * io/getwd.c (getwd): Likewise.
14617         * io/isatty.c (__isatty): Likewise.
14618         * io/lchown.c (__lchown): Likewise.
14619         * io/link.c (__link): Likewise.
14620         * io/linkat.c (linkat): Likewise.
14621         * io/lseek.c (__libc_lseek): Likewise.
14622         * io/mkdir.c (__mkdir): Likewise.
14623         * io/mkdirat.c (mkdirat): Likewise.
14624         * io/mkfifo.c (mkfifo): Likewise.
14625         * io/mkfifoat.c (mkfifoat): Likewise.
14626         * io/open.c (__libc_open): Likewise.
14627         * io/open64.c (__libc_open64): Likewise.
14628         * io/readlink.c (__readlink): Likewise.
14629         * io/readlinkat.c (readlinkat): Likewise.
14630         * io/rmdir.c (__rmdir): Likewise.
14631         * io/symlink.c (__symlink): Likewise.
14632         * io/symlinkat.c (symlinkat): Likewise.
14633         * io/ttyname.c (ttyname): Likewise.
14634         * io/ttyname_r.c (__ttyname_r): Likewise.
14635         * io/umask.c (__umask): Likewise.
14636         * io/unlink.c (__unlink): Likewise.
14637         * io/unlinkat.c (unlinkat): Likewise.
14638         * io/utime.c (utime): Likewise.
14639         * libio/clearerr.c (clearerr): Likewise.
14640         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
14641         * libio/feof.c (_IO_feof): Likewise.
14642         * libio/feof_u.c (feof_unlocked): Likewise.
14643         * libio/ferror.c (_IO_ferror): Likewise.
14644         * libio/ferror_u.c (ferror_unlocked): Likewise.
14645         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14646         * libio/fileno.c (__fileno): Likewise.
14647         * libio/fputc.c (fputc): Likewise.
14648         * libio/fputc_u.c (fputc_unlocked): Likewise.
14649         * libio/fputwc.c (fputwc): Likewise.
14650         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
14651         * libio/freopen.c (freopen): Likewise.
14652         * libio/freopen64.c (freopen64): Likewise.
14653         * libio/fseek.c (fseek): Likewise.
14654         * libio/fseeko.c (fseeko): Likewise.
14655         * libio/fseeko64.c (fseeko64): Likewise.
14656         * libio/ftello.c (__ftello): Likewise.
14657         * libio/ftello64.c (ftello64): Likewise.
14658         * libio/fwide.c (fwide): Likewise.
14659         * libio/genops.c (_IO_un_link): Likewise.
14660         (_IO_link_in): Likewise.
14661         (_IO_least_marker): Likewise.
14662         (_IO_switch_to_main_get_area): Likewise.
14663         (_IO_switch_to_backup_area): Likewise.
14664         (_IO_switch_to_get_mode): Likewise.
14665         (_IO_free_backup_area): Likewise.
14666         (_IO_switch_to_put_mode): Likewise.
14667         (__overflow): Likewise.
14668         (__underflow): Likewise.
14669         (__uflow): Likewise.
14670         (_IO_setb): Likewise.
14671         (_IO_doallocbuf): Likewise.
14672         (_IO_default_underflow): Likewise.
14673         (_IO_default_uflow): Likewise.
14674         (_IO_default_xsputn): Likewise.
14675         (_IO_sgetn): Likewise.
14676         (_IO_default_xsgetn): Likewise.
14677         (_IO_sync): Likewise.
14678         (_IO_default_setbuf): Likewise.
14679         (_IO_default_seekpos): Likewise.
14680         (_IO_default_doallocate): Likewise.
14681         (_IO_init): Likewise.
14682         (_IO_old_init): Likewise.
14683         (_IO_default_sync): Likewise.
14684         (_IO_default_finish): Likewise.
14685         (_IO_default_seekoff): Likewise.
14686         (_IO_sputbackc): Likewise.
14687         (_IO_sungetc): Likewise.
14688         (_IO_set_column): Likewise.
14689         (_IO_set_column): Likewise.
14690         (_IO_adjust_column): Likewise.
14691         (_IO_get_column): Likewise.
14692         (_IO_init_marker): Likewise.
14693         (_IO_remove_marker): Likewise.
14694         (_IO_marker_difference): Likewise.
14695         (_IO_marker_delta): Likewise.
14696         (_IO_seekmark): Likewise.
14697         (_IO_unsave_markers): Likewise.
14698         (_IO_nobackup_pbackfail): Likewise.
14699         (_IO_default_pbackfail): Likewise.
14700         (_IO_default_seek): Likewise.
14701         (_IO_default_stat): Likewise.
14702         (_IO_default_read): Likewise.
14703         (_IO_default_write): Likewise.
14704         (_IO_default_showmanyc): Likewise.
14705         (_IO_default_imbue): Likewise.
14706         (_IO_iter_next): Likewise.
14707         (_IO_iter_file): Likewise.
14708         * libio/getc.c (_IO_getc): Likewise.
14709         * libio/getwc.c (_IO_getwc): Likewise.
14710         * libio/iofclose.c (_IO_new_fclose): Likewise.
14711         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14712         * libio/iofflush.c (_IO_fflush): Likewise.
14713         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
14714         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
14715         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
14716         * libio/iofgets.c (_IO_fgets): Likewise.
14717         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
14718         * libio/iofgetws.c (fgetws): Likewise.
14719         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14720         * libio/iofopen64.c (_IO_fopen64): Likewise.
14721         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14722         (_IO_cookie_write): Likewise.
14723         (_IO_cookie_seek): Likewise.
14724         (_IO_cookie_close): Likewise.
14725         (_IO_cookie_seekoff): Likewise.
14726         (_IO_old_cookie_seek): Likewise.
14727         * libio/iofputs.c (_IO_fputs): Likewise.
14728         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
14729         * libio/iofputws.c (fputws): Likewise.
14730         * libio/iofputws_u.c (fputws_unlocked): Likewise.
14731         * libio/iofread.c (_IO_fread): Likewise.
14732         * libio/iofread_u.c (__fread_unlocked): Likewise.
14733         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
14734         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14735         * libio/ioftell.c (_IO_ftell): Likewise.
14736         * libio/iofwrite.c (_IO_fwrite): Likewise.
14737         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14738         * libio/iogets.c (_IO_gets): Likewise.
14739         * libio/iopadn.c (_IO_padn): Likewise.
14740         * libio/iopopen.c (_IO_new_proc_open): Likewise.
14741         (_IO_new_popen): Likewise.
14742         (_IO_new_proc_close): Likewise.
14743         * libio/ioputs.c (_IO_puts): Likewise.
14744         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
14745         (_IO_seekoff): Likewise.
14746         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
14747         (_IO_seekpos): Likewise.
14748         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
14749         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
14750         * libio/ioungetc.c (_IO_ungetc): Likewise.
14751         * libio/ioungetwc.c (ungetwc): Likewise.
14752         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14753         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
14754         * libio/iowpadn.c (_IO_wpadn): Likewise.
14755         * libio/libc_fatal.c (__libc_fatal): Likewise.
14756         * libio/memstream.c (__open_memstream): Likewise.
14757         (_IO_mem_sync): Likewise.
14758         (_IO_mem_finish): Likewise.
14759         * libio/oldfileops.c (_IO_old_file_init): Likewise.
14760         (_IO_old_file_close_it): Likewise.
14761         (_IO_old_file_finish): Likewise.
14762         (_IO_old_file_fopen): Likewise.
14763         (_IO_old_file_attach): Likewise.
14764         (_IO_old_file_setbuf): Likewise.
14765         (_IO_old_do_write): Likewise.
14766         (old_do_write): Likewise.
14767         (_IO_old_file_underflow): Likewise.
14768         (_IO_old_file_overflow): Likewise.
14769         (_IO_old_file_sync): Likewise.
14770         (_IO_old_file_seekoff): Likewise.
14771         (_IO_old_file_write): Likewise.
14772         (_IO_old_file_xsputn): Likewise.
14773         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
14774         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14775         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
14776         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
14777         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14778         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
14779         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
14780         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
14781         (_IO_old_popen): Likewise.
14782         (_IO_old_proc_close): Likewise.
14783         * libio/oldpclose.c (__old_pclose): Likewise.
14784         * libio/pclose.c (__new_pclose): Likewise.
14785         * libio/peekc.c (_IO_peekc_locked): Likewise.
14786         * libio/putc.c (_IO_putc): Likewise.
14787         * libio/putc_u.c (putc_unlocked): Likewise.
14788         * libio/putchar.c (putchar): Likewise.
14789         * libio/putchar_u.c (putchar_unlocked): Likewise.
14790         * libio/putwc.c (putwc): Likewise.
14791         * libio/putwc_u.c (putwc_unlocked): Likewise.
14792         * libio/putwchar.c (putwchar): Likewise.
14793         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
14794         * libio/rewind.c (rewind): Likewise.
14795         * libio/setbuf.c (setbuf): Likewise.
14796         * libio/setlinebuf.c (setlinebuf): Likewise.
14797         * libio/vasprintf.c (_IO_vasprintf): Likewise.
14798         * libio/vscanf.c (_IO_vscanf): Likewise.
14799         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
14800         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
14801         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14802         * libio/wgenops.c (_IO_least_wmarker): Likewise.
14803         (_IO_switch_to_main_wget_area): Likewise.
14804         (_IO_switch_to_wbackup_area): Likewise.
14805         (_IO_wsetb): Likewise.
14806         (_IO_wdefault_pbackfail): Likewise.
14807         (_IO_wdefault_finish): Likewise.
14808         (_IO_wdefault_uflow): Likewise.
14809         (__woverflow): Likewise.
14810         (__wuflow): Likewise.
14811         (__wunderflow): Likewise.
14812         (_IO_wdefault_xsputn): Likewise.
14813         (_IO_wdefault_xsgetn): Likewise.
14814         (_IO_wdoallocbuf): Likewise.
14815         (_IO_wdefault_doallocate): Likewise.
14816         (_IO_switch_to_wget_mode): Likewise.
14817         (_IO_free_wbackup_area): Likewise.
14818         (_IO_switch_to_wput_mode): Likewise.
14819         (_IO_sputbackwc): Likewise.
14820         (_IO_sungetwc): Likewise.
14821         (_IO_adjust_wcolumn): Likewise.
14822         (_IO_init_wmarker): Likewise.
14823         (_IO_wmarker_delta): Likewise.
14824         (_IO_seekwmark): Likewise.
14825         (_IO_unsave_wmarkers): Likewise.
14826         * libio/wmemstream.c (open_wmemstream): Likewise.
14827         (_IO_wmem_sync): Likewise.
14828         (_IO_wmem_finish): Likewise.
14829         * locale/nl_langinfo.c (nl_langinfo): Likewise.
14830         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
14831         * locale/programs/simple-hash.c (init_hash): Likewise.
14832         (delete_hash): Likewise.
14833         (insert_entry): Likewise.
14834         (set_entry): Likewise.
14835         (next_prime): Likewise.
14836         (is_prime): Likewise.
14837         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
14838         (xmalloc): Likewise.
14839         (xrealloc): Likewise.
14840         * locale/programs/xstrdup.c (xstrdup): Likewise.
14841         * localedata/collate-test.c (xstrcoll): Likewise.
14842         * localedata/xfrm-test.c (xstrcmp): Likewise.
14843         * login/getlogin_r.c (__getlogin_r): Likewise.
14844         * login/getpt.c (__posix_openpt): Likewise.
14845         * login/login_tty.c (login_tty): Likewise.
14846         * login/setlogin.c (setlogin): Likewise.
14847         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
14848         (mach_msg_destroy_port): Likewise.
14849         (mach_msg_destroy_memory): Likewise.
14850         * malloc/mcheck.c (flood): Likewise.
14851         * misc/acct.c (acct): Likewise.
14852         * misc/brk.c (__brk): Likewise.
14853         * misc/chflags.c (chflags): Likewise.
14854         * misc/chroot.c (chroot): Likewise.
14855         * misc/fchflags.c (fchflags): Likewise.
14856         * misc/fstab.c (getfsspec): Likewise.
14857         (getfsfile): Likewise.
14858         * misc/fsync.c (fsync): Likewise.
14859         * misc/ftruncate.c (__ftruncate): Likewise.
14860         * misc/ftruncate64.c (__ftruncate64): Likewise.
14861         * misc/getdomain.c (getdomainname): Likewise.
14862         (getdomainname): Likewise.
14863         * misc/gethostname.c (__gethostname): Likewise.
14864         * misc/getpass.c (getpass): Likewise.
14865         * misc/getttyent.c (skip): Likewise.
14866         (value): Likewise.
14867         * misc/gtty.c (gtty): Likewise.
14868         * misc/hsearch.c (hsearch): Likewise.
14869         (hcreate): Likewise.
14870         * misc/hsearch_r.c (__hcreate_r): Likewise.
14871         (__hdestroy_r): Likewise.
14872         * misc/ioctl.c (__ioctl): Likewise.
14873         * misc/mkdtemp.c (mkdtemp): Likewise.
14874         * misc/mkostemp.c (mkostemp): Likewise.
14875         * misc/mkostemp64.c (mkostemp64): Likewise.
14876         * misc/mkostemps.c (mkostemps): Likewise.
14877         * misc/mkostemps64.c (mkostemps64): Likewise.
14878         * misc/mkstemp.c (mkstemp): Likewise.
14879         * misc/mkstemp64.c (mkstemp64): Likewise.
14880         * misc/mkstemps.c (mkstemps): Likewise.
14881         * misc/mkstemps64.c (mkstemps64): Likewise.
14882         * misc/mktemp.c (__mktemp): Likewise.
14883         * misc/preadv.c (preadv): Likewise.
14884         * misc/preadv64.c (preadv64): Likewise.
14885         * misc/pwritev.c (pwritev): Likewise.
14886         * misc/pwritev64.c (pwritev64): Likewise.
14887         * misc/readv.c (__readv): Likewise.
14888         * misc/revoke.c (revoke): Likewise.
14889         * misc/setdomain.c (setdomainname): Likewise.
14890         * misc/setegid.c (setegid): Likewise.
14891         * misc/seteuid.c (seteuid): Likewise.
14892         * misc/sethostid.c (sethostid): Likewise.
14893         * misc/sethostname.c (sethostname): Likewise.
14894         * misc/setregid.c (__setregid): Likewise.
14895         * misc/setreuid.c (__setreuid): Likewise.
14896         * misc/sstk.c (sstk): Likewise.
14897         * misc/stty.c (stty): Likewise.
14898         * misc/syscall.c (syscall): Likewise.
14899         * misc/syslog.c (setlogmask): Likewise.
14900         * misc/truncate.c (__truncate): Likewise.
14901         * misc/truncate64.c (truncate64): Likewise.
14902         * misc/ualarm.c (ualarm): Likewise.
14903         * misc/usleep.c (usleep): Likewise.
14904         * misc/ustat.c (ustat): Likewise.
14905         * misc/writev.c (__writev): Likewise.
14906         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14907         * nptl/old_pthread_cond_broadcast.c
14908         (__pthread_cond_broadcast_2_0): Likewise.
14909         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14910         Likewise.
14911         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14912         Likewise.
14913         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14914         Likewise.
14915         * nptl/pt-raise.c (raise): Likewise.
14916         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14917         Likewise.
14918         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14919         * nptl/pthread_barrierattr_destroy.c
14920         (pthread_barrierattr_destroy): Likewise.
14921         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14922         Likewise.
14923         * nptl/pthread_barrierattr_setpshared.c
14924         (pthread_barrierattr_setpshared): Likewise.
14925         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14926         Likewise.
14927         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14928         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14929         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14930         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14931         Likewise.
14932         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14933         Likewise.
14934         * nptl/pthread_condattr_getpshared.c
14935         (pthread_condattr_getpshared): Likewise.
14936         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14937         Likewise.
14938         * nptl/pthread_condattr_setpshared.c
14939         (pthread_condattr_setpshared): Likewise.
14940         * nptl/pthread_detach.c (pthread_detach): Likewise.
14941         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14942         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14943         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14944         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14945         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14946         Likewise.
14947         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14948         Likewise.
14949         * nptl/pthread_mutex_getprioceiling.c
14950         (pthread_mutex_getprioceiling): Likewise.
14951         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14952         Likewise.
14953         * nptl/pthread_mutexattr_getprotocol.c
14954         (pthread_mutexattr_getprotocol): Likewise.
14955         * nptl/pthread_mutexattr_getpshared.c
14956         (pthread_mutexattr_getpshared): Likewise.
14957         * nptl/pthread_mutexattr_getrobust.c
14958         (pthread_mutexattr_getrobust): Likewise.
14959         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14960         Likewise.
14961         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14962         Likewise.
14963         * nptl/pthread_mutexattr_setprioceiling.c
14964         (pthread_mutexattr_setprioceiling): Likewise.
14965         * nptl/pthread_mutexattr_setprotocol.c
14966         (pthread_mutexattr_setprotocol): Likewise.
14967         * nptl/pthread_mutexattr_setpshared.c
14968         (pthread_mutexattr_setpshared): Likewise.
14969         * nptl/pthread_mutexattr_setrobust.c
14970         (pthread_mutexattr_setrobust): Likewise.
14971         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14972         Likewise.
14973         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14974         Likewise.
14975         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14976         Likewise.
14977         * nptl/pthread_rwlockattr_getkind_np.c
14978         (pthread_rwlockattr_getkind_np): Likewise.
14979         * nptl/pthread_rwlockattr_getpshared.c
14980         (pthread_rwlockattr_getpshared): Likewise.
14981         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14982         Likewise.
14983         * nptl/pthread_rwlockattr_setkind_np.c
14984         (pthread_rwlockattr_setkind_np): Likewise.
14985         * nptl/pthread_rwlockattr_setpshared.c
14986         (pthread_rwlockattr_setpshared): Likewise.
14987         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14988         Likewise.
14989         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14990         Likewise.
14991         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14992         Likewise.
14993         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14994         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14995         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14996         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14997         * nptl/sem_close.c (sem_close): Likewise.
14998         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14999         * nptl/sem_init.c (__old_sem_init): Likewise.
15000         * nptl/sigaction.c (__sigaction): Likewise.
15001         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15002         * posix/_exit.c (_exit): Likewise.
15003         * posix/alarm.c (alarm): Likewise.
15004         * posix/confstr.c (confstr): Likewise.
15005         * posix/fpathconf.c (__fpathconf): Likewise.
15006         * posix/getgroups.c (__getgroups): Likewise.
15007         * posix/getpgid.c (__getpgid): Likewise.
15008         * posix/group_member.c (__group_member): Likewise.
15009         * posix/pathconf.c (__pathconf): Likewise.
15010         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15011         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15012         * posix/setgid.c (__setgid): Likewise.
15013         * posix/setpgid.c (__setpgid): Likewise.
15014         * posix/setuid.c (__setuid): Likewise.
15015         * posix/sleep.c (__sleep): Likewise.
15016         * posix/sysconf.c (__sysconf): Likewise.
15017         * posix/times.c (__times): Likewise.
15018         * posix/uname.c (__uname): Likewise.
15019         * posix/waitid.c (__waitid): Likewise.
15020         * pwd/getpw.c (__getpw): Likewise.
15021         * resolv/base64.c (b64_pton): Likewise.
15022         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15023         * resolv/gethnamaddr.c (Dprintf): Likewise.
15024         (gethostbyname): Likewise.
15025         (gethostbyname2): Likewise.
15026         (gethostbyaddr): Likewise.
15027         (_sethtent): Likewise.
15028         (_gethtbyname): Likewise.
15029         (_gethtbyname2): Likewise.
15030         (_gethtbyaddr): Likewise.
15031         (map_v4v6_address): Likewise.
15032         (map_v4v6_hostent): Likewise.
15033         (addrsort): Likewise.
15034         (ht_sethostent): Likewise.
15035         (ht_gethostbyname): Likewise.
15036         (ht_gethostbyaddr): Likewise.
15037         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15038         (inet_net_ntop_ipv4): Likewise.
15039         * resolv/inet_neta.c (inet_neta): Likewise.
15040         * resolv/inet_ntop.c (inet_ntop): Likewise.
15041         (inet_ntop4): Likewise.
15042         (inet_ntop6): Likewise.
15043         * resolv/inet_pton.c (__inet_pton): Likewise.
15044         (inet_pton4): Likewise.
15045         (inet_pton6): Likewise.
15046         * resolv/res_debug.c (loc_aton): Likewise.
15047         (loc_ntoa): Likewise.
15048         * resource/getpriority.c (__getpriority): Likewise.
15049         * resource/getrusage.c (__getrusage): Likewise.
15050         * resource/nice.c (nice): Likewise.
15051         * resource/setpriority.c (__setpriority): Likewise.
15052         * resource/setrlimit64.c (setrlimit64): Likewise.
15053         * resource/vlimit.c (vlimit): Likewise.
15054         * resource/vtimes.c (vtimes): Likewise.
15055         * rt/aio_error.c (aio_error): Likewise.
15056         * rt/aio_return.c (aio_return): Likewise.
15057         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15058         * signal/kill.c (__kill): Likewise.
15059         * signal/killpg.c (killpg): Likewise.
15060         * signal/raise.c (raise): Likewise.
15061         * signal/sigaction.c (__sigaction): Likewise.
15062         * signal/sigaddset.c (sigaddset): Likewise.
15063         * signal/sigaltstack.c (sigaltstack): Likewise.
15064         * signal/sigandset.c (sigandset): Likewise.
15065         * signal/sigblock.c (__sigblock): Likewise.
15066         * signal/sigdelset.c (sigdelset): Likewise.
15067         * signal/sigempty.c (sigemptyset): Likewise.
15068         * signal/sigfillset.c (sigfillset): Likewise.
15069         * signal/sighold.c (sighold): Likewise.
15070         * signal/sigignore.c (sigignore): Likewise.
15071         * signal/sigintr.c (siginterrupt): Likewise.
15072         * signal/sigisempty.c (sigisemptyset): Likewise.
15073         * signal/sigismem.c (sigismember): Likewise.
15074         * signal/signal.c (signal): Likewise.
15075         * signal/sigorset.c (sigorset): Likewise.
15076         * signal/sigpause.c (__sigpause): Likewise.
15077         * signal/sigpending.c (sigpending): Likewise.
15078         * signal/sigprocmask.c (__sigprocmask): Likewise.
15079         * signal/sigrelse.c (sigrelse): Likewise.
15080         * signal/sigreturn.c (__sigreturn): Likewise.
15081         * signal/sigset.c (sigset): Likewise.
15082         * signal/sigsetmask.c (__sigsetmask): Likewise.
15083         * signal/sigstack.c (sigstack): Likewise.
15084         * signal/sigsuspend.c (__sigsuspend): Likewise.
15085         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15086         * signal/sysv_signal.c (__sysv_signal): Likewise.
15087         * socket/accept.c (accept): Likewise.
15088         * socket/accept4.c (__libc_accept4): Likewise.
15089         * socket/bind.c (__bind): Likewise.
15090         * socket/connect.c (__connect): Likewise.
15091         * socket/getpeername.c (getpeername): Likewise.
15092         * socket/getsockname.c (__getsockname): Likewise.
15093         * socket/getsockopt.c (getsockopt): Likewise.
15094         * socket/listen.c (__listen): Likewise.
15095         * socket/recv.c (__recv): Likewise.
15096         * socket/recvmsg.c (__recvmsg): Likewise.
15097         * socket/send.c (__send): Likewise.
15098         * socket/sendmsg.c (__sendmsg): Likewise.
15099         * socket/shutdown.c (shutdown): Likewise.
15100         * socket/sockatmark.c (sockatmark): Likewise.
15101         * socket/socket.c (__socket): Likewise.
15102         * stdio-common/ctermid.c (ctermid): Likewise.
15103         * stdio-common/cuserid.c (cuserid): Likewise.
15104         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15105         * stdio-common/remove.c (remove): Likewise.
15106         * stdio-common/rename.c (rename): Likewise.
15107         * stdio-common/renameat.c (renameat): Likewise.
15108         * stdio-common/tempname.c (__gen_tempname): Likewise.
15109         * stdio-common/xbug.c (InitBuffer): Likewise.
15110         (AppendToBuffer): Likewise.
15111         (ReadFile): Likewise.
15112         * stdlib/a64l.c (a64l): Likewise.
15113         * stdlib/drand48_r.c (drand48_r): Likewise.
15114         * stdlib/getcontext.c (getcontext): Likewise.
15115         * stdlib/getenv.c (getenv): Likewise.
15116         * stdlib/l64a.c (l64a): Likewise.
15117         * stdlib/llabs.c (llabs): Likewise.
15118         * stdlib/lldiv.c (lldiv): Likewise.
15119         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15120         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15121         * stdlib/putenv.c (putenv): Likewise.
15122         * stdlib/random.c (__srandom): Likewise.
15123         (__initstate): Likewise.
15124         (__setstate): Likewise.
15125         * stdlib/random_r.c (__srandom_r): Likewise.
15126         (__setstate_r): Likewise.
15127         (__random_r): Likewise.
15128         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15129         * stdlib/setcontext.c (setcontext): Likewise.
15130         * stdlib/setenv.c (setenv): Likewise.
15131         (unsetenv): Likewise.
15132         * stdlib/srand48.c (srand48): Likewise.
15133         * stdlib/srand48_r.c (__srand48_r): Likewise.
15134         * stdlib/swapcontext.c (swapcontext): Likewise.
15135         * stdlib/system.c (__libc_system): Likewise.
15136         * stdlib/tst-strtod.c (expand): Likewise.
15137         * stdlib/tst-strtol.c (expand): Likewise.
15138         * stdlib/tst-strtoll.c (expand): Likewise.
15139         * streams/fattach.c (fattach): Likewise.
15140         * streams/fdetach.c (fdetach): Likewise.
15141         * streams/getmsg.c (getmsg): Likewise.
15142         * streams/isastream.c (isastream): Likewise.
15143         * string/ffs.c (__ffs): Likewise.
15144         * string/ffsll.c (ffsll): Likewise.
15145         * string/memcmp.c (memcmp_common_alignment): Likewise.
15146         (memcmp_not_common_alignment): Likewise.
15147         (MEMCMP): Likewise.
15148         * string/memcpy.c (memcpy): Likewise.
15149         * string/memmove.c (MEMMOVE): Likewise.
15150         * string/memset.c (memset): Likewise.
15151         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15152         * string/strchrnul.c (STRCHRNUL): Likewise.
15153         * string/strerror.c (strerror): Likewise.
15154         * string/strndup.c (__strndup): Likewise.
15155         * string/strverscmp.c (__strverscmp): Likewise.
15156         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15157         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15158         (clnttcp_freeres): Likewise.
15159         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15160         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15161         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15162         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15163         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15164         (xdr_callhdr): Likewise.
15165         * sunrpc/rpcinfo.c (udpping): Likewise.
15166         (tcpping): Likewise.
15167         (pstatus): Likewise.
15168         (pmapdump): Likewise.
15169         (brdcst): Likewise.
15170         (deletereg): Likewise.
15171         (getprognum): Likewise.
15172         (getvers): Likewise.
15173         (get_inet_address): Likewise.
15174         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15175         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15176         (svcudp_stat): Likewise.
15177         (svcudp_recv): Likewise.
15178         (svcudp_reply): Likewise.
15179         (svcudp_getargs): Likewise.
15180         (svcudp_freeargs): Likewise.
15181         (svcudp_destroy): Likewise.
15182         * sunrpc/xdr.c (xdr_bytes): Likewise.
15183         (xdr_netobj): Likewise.
15184         (xdr_string): Likewise.
15185         (xdr_wrapstring): Likewise.
15186         * sunrpc/xdr_float.c (xdr_float): Likewise.
15187         (xdr_double): Likewise.
15188         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15189         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15190         * sysvipc/ftok.c (ftok): Likewise.
15191         * sysvipc/msgctl.c (msgctl): Likewise.
15192         * sysvipc/msgget.c (msgget): Likewise.
15193         * sysvipc/msgrcv.c (msgrcv): Likewise.
15194         * sysvipc/msgsnd.c (msgsnd): Likewise.
15195         * sysvipc/semget.c (semget): Likewise.
15196         * sysvipc/semop.c (semop): Likewise.
15197         * sysvipc/shmat.c (shmat): Likewise.
15198         * sysvipc/shmctl.c (shmctl): Likewise.
15199         * sysvipc/shmdt.c (shmdt): Likewise.
15200         * sysvipc/shmget.c (shmget): Likewise.
15201         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15202         * termios/speed.c (cfgetospeed): Likewise.
15203         (cfgetispeed): Likewise.
15204         (cfsetospeed): Likewise.
15205         (cfsetispeed): Likewise.
15206         * termios/tcflow.c (tcflow): Likewise.
15207         * termios/tcflush.c (tcflush): Likewise.
15208         * termios/tcgetattr.c (__tcgetattr): Likewise.
15209         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15210         * termios/tcgetsid.c (tcgetsid): Likewise.
15211         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15212         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15213         * time/adjtime.c (__adjtime): Likewise.
15214         * time/dysize.c (dysize): Likewise.
15215         * time/ftime.c (ftime): Likewise.
15216         * time/getitimer.c (__getitimer): Likewise.
15217         * time/gettimeofday.c (__gettimeofday): Likewise.
15218         * time/gmtime.c (__gmtime_r): Likewise.
15219         (gmtime): Likewise.
15220         * time/localtime.c (__localtime_r): Likewise.
15221         (localtime): Likewise.
15222         * time/offtime.c (__offtime): Likewise.
15223         * time/settimeofday.c (__settimeofday): Likewise.
15224         * time/stime.c (stime): Likewise.
15225         * time/strftime_l.c (tm_diff): Likewise.
15226         (iso_week_days): Likewise.
15227         * time/strptime.c (strptime): Likewise.
15228         * time/time.c (time): Likewise.
15229         * time/timespec_get.c (timespec_get): Likewise.
15230         * time/tzset.c (tzset_internal): Likewise.
15231         (compute_change): Likewise.
15232         (__tz_compute): Likewise.
15233         * wcsmbs/btowc.c (__btowc): Likewise.
15234         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
15235         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
15236         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
15237         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
15238         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
15239         * wcsmbs/wcscat.c (__wcscat): Likewise.
15240         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15241         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
15242         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
15243         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15244         * wcsmbs/wcsdup.c (wcsdup): Likewise.
15245         * wcsmbs/wcslen.c (__wcslen): Likewise.
15246         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
15247         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
15248         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
15249         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
15250         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15251         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
15252         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15253         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15254         * wcsmbs/wcstok.c (wcstok): Likewise.
15255         * wcsmbs/wctob.c (wctob): Likewise.
15256         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
15257         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15258         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
15259         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
15260         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
15261         * wcsmbs/wmemset.c (__wmemset): Likewise.
15262         * wctype/wcfuncs.c (__towlower): Likewise.
15263         (__towupper): Likewise.
15265         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
15266         (lll_unlock_elision): Add adapt_count parameter.
15268 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15270         * sysdeps/nptl/configure.ac: Do not give errors based on the
15271         results of top-level configure tests.
15272         * sysdeps/nptl/configure: Regenerated.
15274         * configure.ac (libc_cv_Bgroup): Remove configure test.
15275         * configure: Regenerated.
15276         * config.make.in (have-Bgroup): Remove variable.
15278         * configure.ac (sizeof_long_double): Remove configure test.
15279         * configure: Regenerated.
15280         * config.make.in (sizeof-long-double): Remove variable.
15282         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
15283         * configure: Regenerated.
15284         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
15285         variable.
15286         (exceptions): Likewise.
15287         * sysdeps/arm/configure: Regenerated.
15288         * config.make.in (exceptions): Remove variable.
15289         * Makeconfig (uses-callbacks): Use -fexceptions instead of
15290         $(exceptions).
15291         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
15292         (CFLAGS-vdprintf_chk.c): Likewise.
15293         (CFLAGS-printf_chk.c): Likewise.
15294         (CFLAGS-fprintf_chk.c): Likewise.
15295         (CFLAGS-vprintf_chk.c): Likewise.
15296         (CFLAGS-vfprintf_chk.c): Likewise.
15297         (CFLAGS-gets_chk.c): Likewise.
15298         (CFLAGS-fgets_chk.c): Likewise.
15299         (CFLAGS-fgets_u_chk.c): Likewise.
15300         (CFLAGS-fread_chk.c): Likewise.
15301         (CFLAGS-fread_u_chk.c): Likewise.
15302         (CFLAGS-wprintf_chk.c): Likewise.
15303         (CFLAGS-fwprintf_chk.c): Likewise.
15304         (CFLAGS-vwprintf_chk.c): Likewise.
15305         (CFLAGS-vfwprintf_chk.c): Likewise.
15306         (CFLAGS-fgetws_chk.c): Likewise.
15307         (CFLAGS-fgetws_u_chk.c): Likewise.
15308         * libio/Makefile (CFLAGS-fileops.c): Likewise.
15309         (CFLAGS-fputc.c): Likewise.
15310         (CFLAGS-fputwc.c): Likewise.
15311         (CFLAGS-freopen64.c): Likewise.
15312         (CFLAGS-freopen.c): Likewise.
15313         (CFLAGS-fseek.c): Likewise.
15314         (CFLAGS-fseeko64.c): Likewise.
15315         (CFLAGS-fseeko.c): Likewise.
15316         (CFLAGS-ftello64.c): Likewise.
15317         (CFLAGS-ftello.c): Likewise.
15318         (CFLAGS-fwide.c): Likewise.
15319         (CFLAGS-genops.c): Likewise.
15320         (CFLAGS-getc.c): Likewise.
15321         (CFLAGS-getchar.c): Likewise.
15322         (CFLAGS-getwc.c): Likewise.
15323         (CFLAGS-getwchar.c): Likewise.
15324         (CFLAGS-iofclose.c): Likewise.
15325         (CFLAGS-iofflush.c): Likewise.
15326         (CFLAGS-iofgetpos64.c): Likewise.
15327         (CFLAGS-iofgetpos.c): Likewise.
15328         (CFLAGS-iofgets.c): Likewise.
15329         (CFLAGS-iofgetws.c): Likewise.
15330         (CFLAGS-iofputs.c): Likewise.
15331         (CFLAGS-iofputws.c): Likewise.
15332         (CFLAGS-iofread.c): Likewise.
15333         (CFLAGS-iofsetpos64.c): Likewise.
15334         (CFLAGS-iofsetpos.c): Likewise.
15335         (CFLAGS-ioftell.c): Likewise.
15336         (CFLAGS-iofwrite.c): Likewise.
15337         (CFLAGS-iogetdelim.c): Likewise.
15338         (CFLAGS-iogetline.c): Likewise.
15339         (CFLAGS-iogets.c): Likewise.
15340         (CFLAGS-iogetwline.c): Likewise.
15341         (CFLAGS-ioputs.c): Likewise.
15342         (CFLAGS-ioseekoff.c): Likewise.
15343         (CFLAGS-ioseekpos.c): Likewise.
15344         (CFLAGS-iosetbuffer.c): Likewise.
15345         (CFLAGS-iosetvbuf.c): Likewise.
15346         (CFLAGS-ioungetc.c): Likewise.
15347         (CFLAGS-ioungetwc.c): Likewise.
15348         (CFLAGS-oldfileops.c): Likewise.
15349         (CFLAGS-oldiofclose.c): Likewise.
15350         (CFLAGS-oldiofgetpos64.c): Likewise.
15351         (CFLAGS-oldiofgetpos.c): Likewise.
15352         (CFLAGS-oldiofsetpos64.c): Likewise.
15353         (CFLAGS-oldiofsetpos.c): Likewise.
15354         (CFLAGS-peekc.c): Likewise.
15355         (CFLAGS-putc.c): Likewise.
15356         (CFLAGS-putchar.c): Likewise.
15357         (CFLAGS-putwc.c): Likewise.
15358         (CFLAGS-putwchar.c): Likewise.
15359         (CFLAGS-rewind.c): Likewise.
15360         (CFLAGS-wfileops.c): Likewise.
15361         (CFLAGS-wgenops.c): Likewise.
15362         (CFLAGS-oldiofopen.c): Likewise.
15363         (CFLAGS-iofopen.c): Likewise.
15364         (CFLAGS-iofopen64.c): Likewise.
15365         (CFLAGS-oldtmpfile.c): Likewise.
15366         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15367         (CFLAGS-fprintf.c): Likewise.
15368         (CFLAGS-printf.c): Likewise.
15369         (CFLAGS-vfwprintf.c): Likewise.
15370         (CFLAGS-vfscanf.c): Likewise.
15371         (CFLAGS-vfwscanf.c): Likewise.
15372         (CFLAGS-fscanf.c): Likewise.
15373         (CFLAGS-scanf.c): Likewise.
15374         (CFLAGS-isoc99_vfscanf.c): Likewise.
15375         (CFLAGS-isoc99_vscanf.c): Likewise.
15376         (CFLAGS-isoc99_fscanf.c): Likewise.
15377         (CFLAGS-isoc99_scanf.c): Likewise.
15378         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
15379         (CFLAGS-isoc99_fwscanf.c): Likewise.
15380         (CFLAGS-isoc99_vwscanf.c): Likewise.
15381         (CFLAGS-isoc99_vfwscanf.c): Likewise.
15383         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
15384         after mkstemp64.
15385         * login/tst-utmp.c (do_prepare): Likewise.
15386         * rt/tst-aio.c (do_prepare): Likewise.
15387         * rt/tst-aio64.c (do_prepare): Likewise.
15389 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15391         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15392         (__lll_lock_elision): Remove adapt_count decrement...
15393         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15394         (__lll_trylock_elision): Likewise.
15395         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15396         (__lll_unlock_elision): ... to here. And utilize
15397         new adapt_count parameter.
15398         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15399         (__lll_unlock_elision): Update to include adapt_count
15400         parameter.
15401         (lll_unlock_elision): Pass pointer to adapt_count
15402         variable.
15404 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15406         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
15407         Add elision adapt_count parameter to list of arguments.
15408         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15409         (lll_unlock_elision): Update with new parameter list
15410         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
15411         (lll_unlock_elision): Likewise.
15412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15413         (lll_unlock_elision): Likewise.
15415 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15417         [BZ #19122]
15418         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15419         attribute_hidden.
15421         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15422         attribute_hidden.
15423         [IS_IN (rtld)] (__strdup): Likewise.
15424         [IS_IN (rtld)] (__strerror_r): Likewise.
15425         [IS_IN (rtld)] (__strsep_g): Likewise.
15426         [IS_IN (rtld)] (memchr): Likewise.
15427         [IS_IN (rtld)] (memcmp): Likewise.
15428         [IS_IN (rtld)] (memcpy): Likewise.
15429         [IS_IN (rtld)] (memmove): Likewise.
15430         [IS_IN (rtld)] (memset): Likewise.
15431         [IS_IN (rtld)] (rawmemchr): Likewise.
15432         [IS_IN (rtld)] (stpcpy): Likewise.
15433         [IS_IN (rtld)] (strchr): Likewise.
15434         [IS_IN (rtld)] (strcmp): Likewise.
15435         [IS_IN (rtld)] (strlen): Likewise.
15436         [IS_IN (rtld)] (strnlen): Likewise.
15437         [IS_IN (rtld)] (strsep): Likewise.
15439         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15440         attribute_hidden.
15441         [IS_IN (rtld)] (__strtoul_internal): Likewise.
15443         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15444         attribute_hidden.
15445         [IS_IN (rtld)] (__libc_sigaction): Likewise.
15447         * include/setjmp.h (__longjmp): Add attribute_hidden.
15448         [IS_IN (rtld)] (__sigsetjmp): Likewise.
15450         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15451         Add attribute_hidden.
15453         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15454         [IS_IN (rtld)] (__open): Likewise.
15455         [IS_IN (rtld)] (__fcntl): Likewise.
15457         * include/dirent.h (__opendirat): Add attribute_hidden.
15458         (__getdents): Likewise.
15459         (__getdents64): Likewise.
15460         (__alloc_dir): Likewise.
15461         [IS_IN (rtld)] (__closedir): Likewise.
15462         [IS_IN (rtld)] (__fdopendir): Likewise.
15463         [IS_IN (rtld)] (__readdir): Likewise.
15464         [IS_IN (rtld)] (__readdir64): Likewise.
15465         [IS_IN (rtld)] (__rewinddir): Likewise.
15467         * include/dlfcn.h (_dl_catch_error): Moved to ...
15468         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15469         attribute_hidden.
15471         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15472         (_itoa_word): Likewise.
15474         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15475         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15476         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15477         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15478         (_dl_higher_prime_number): Likewise.
15479         (_dl_debug_printf_c): Likewise.
15480         (_dl_signal_cerror): Likewise.
15481         (_dl_receive_error): Likewise.
15482         (_dl_reloc_bad_type): Likewise.
15483         (_dl_resolve_conflicts): Likewise.
15484         (_dl_check_all_versions): Likewise.
15485         (_dl_check_map_versions): Likewise.
15486         (_dl_sort_fini): Likewise.
15487         (_dl_debug_initialize): Likewise.
15488         (_dl_init_paths): Likewise.
15489         (_dl_show_auxv): Likewise.
15490         (_dl_next_ld_env_entry): Likewise.
15491         (_dl_important_hwcaps): Likewise.
15492         (_dl_load_cache_lookup): Likewise.
15493         (_dl_update_slotinfo): Likewise.
15494         (_dl_show_scope): Likewise.
15496         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15497         attribute_hidden.
15498         (_wordcopy_fwd_dest_aligned): Likewise.
15499         (_wordcopy_bwd_aligned): Likewise.
15500         (_wordcopy_bwd_dest_aligned): Likewise.
15502         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15503         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15504         Likewise.
15505         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15506         Likewise.
15507         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15509 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15511         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15512         GCC 5 requirement.
15514 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15516         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15517         test.
15518         * sysdeps/i386/configure: Regenerated.
15519         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
15520         code unconditional.
15522         * configure.ac (libc_cv_asm_previous_directive): Remove configure
15523         test.
15524         (libc_cv_asm_popsection_directive): Likewise.
15525         * configure: Regenerated.
15526         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
15527         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
15528         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
15529         (__make_section_unallocated): Make definition unconditional.
15530         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
15531         Remove conditional definition.
15532         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
15533         (__make_section_unallocated): Likewise.
15535         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
15536         * configure: Regenerated.
15537         * config.make.in (static-libgcc): Remove variable.
15538         * Makerules (build-shlib-helper): Use -static-libgcc instead of
15539         $(static-libgcc).
15540         (build-module-helper): Likewise.
15542         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
15543         * configure: Regenerated.
15545 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15547         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
15548         (struct char_buffer): New type.
15549         (char_buffer_start, char_buffer_size, char_buffer_error)
15550         (char_buffer_rewind, char_buffer_add): New functions.
15551         (ADDW): Remove macro, replaced by the char_buffer_add function.
15552         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
15553         of extend_alloca.  Make control flow more explicit.
15555 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15557         [BZ #19137]
15558         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15559         Add -fomit-frame-pointer.
15560         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
15562 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15564         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
15565         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
15566         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
15567         only if !__GNUC_PREREQ (5,0).
15568         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
15569         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15570         (INTERNAL_SYSCALL_NCS): Likewise.
15571         (LOADREGS_0): New macro for GCC 5.
15572         (ASMARGS_0): Likewise.
15573         (LOADREGS_1): Likewise.
15574         (ASMARGS_1): Likewise.
15575         (LOADREGS_2): Likewise.
15576         (ASMARGS_2): Likewise.
15577         (LOADREGS_3): Likewise.
15578         (ASMARGS_3): Likewise.
15579         (LOADREGS_4): Likewise.
15580         (ASMARGS_4): Likewise.
15581         (LOADREGS_5): Likewise.
15582         (ASMARGS_5): Likewise.
15583         (LOADREGS_6): Likewise.
15584         (ASMARGS_6): Likewise.
15586 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15588         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
15589         -fomit-frame-pointer.
15590         (CFLAGS-mmap64.c): Likewise.
15591         (CFLAGS-semtimedop.c): Likewise.
15592         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
15593         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
15594         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15595         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15597 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15599         [BZ #18928]
15600         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
15601         _dl_pointer_guard member.
15602         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
15603         initializer.
15604         (security_init): Always set up pointer guard.
15605         (process_envvars): Do not process LD_POINTER_GUARD.
15607 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
15609         [BZ #19134]
15610         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
15611         (.LC2): Likewise.
15612         (.LC3): Likewise.
15613         (__lround): Do not add 0.5 to integer or out-of-range arguments.
15615 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15617         [BZ #19129]
15618         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
15619         r0 and r1.
15621 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
15623         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
15625 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
15627         * include/stap-probe.h: Fix macro definition formatting.
15629 2015-10-14  Florian Weimer  <fweimer@redhat.com>
15631         [BZ #19074]
15632         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
15633         load and store num_ifs.
15635 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15637         [BZ #18822]
15638         * sysdeps/unix/sysv/linux/sched_getaffinity.c
15639         (__sched_getaffinity_new): Add libc_hidden_proto and
15640         libc_hidden_def.
15642 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15644         [BZ #19007]
15645         * scripts/localplt.awk: Also allow GOT references.
15646         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
15647         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
15648         with "+ REL R_386_GLOB_DAT".
15649         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
15650         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
15652 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15654         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
15655         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15656         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
15657         Likewise.
15658         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15659         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
15660         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15661         INTERNAL_SYSCALLINTERNAL_SYSCALL and
15662         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15663         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15664         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15665         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15666         Likewise.
15667         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15669 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15671         [BZ #19125]
15672         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
15673         <math_private.h> and <stdint.h>.
15674         (__llround): Avoid conversions to and from long long int, and
15675         subtractions, where those might raise spurious exceptions.
15676         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
15677         <math_private.h> and <stdint.h>.
15678         (__llroundf): Avoid conversions to and from long long int, and
15679         subtractions, where those might raise spurious exceptions.
15681 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15683         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
15684         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15685         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15686         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
15687         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15688         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15689         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
15690         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
15691         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
15692         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15693         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15694         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15695         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
15696         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15697         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15698         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
15699         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
15700         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15701         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
15702         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
15703         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15704         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
15705         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
15706         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15707         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
15708         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15709         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
15710         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15711         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15712         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
15713         (__xstat64_conv): Likewise.
15714         (__xstat32_conv): Likewise.
15716 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15718         * sysdeps/unix/sysv/linux/sysdep.h: New file.
15719         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
15720         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
15721         <sysdeps/unix/sysv/linux/sysdep.h>.
15722         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15723         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
15724         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
15725         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15726         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15727         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
15728         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
15729         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15730         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15735         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15736         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15737         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15738         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
15739         (sysdep-dl-routines): Add sysdep.
15740         [$(subdir) == nptl] (libpthread-routines): Likewise.
15741         [$(subdir) == rt] (librt-routines): Likewise.
15742         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
15743         PIC when branching to SYSCALL_ERROR_LABEL.
15744         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
15745         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
15746         <sysdeps/unix/sysv/linux/sysdep.h>.
15747         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
15748         (SYSCALL_ERROR_ERRNO): Removed.
15749         (SYSCALL_ERROR_HANDLER): Changed to empty.
15750         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
15751         (__syscall_error): New prototype.
15752         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
15753         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
15755 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15757         [BZ #19124]
15758         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
15759         (_dl_runtime_resolve_avx512): Make it a hidden alias of
15760         _dl_runtime_resolve_avx.
15761         (_dl_runtime_profile_avx512): Make it a hidden alias of
15762         _dl_runtime_profile_avx.
15764 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15766         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
15767         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
15768         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
15769         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
15771         [BZ #16422]
15772         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
15773         New configure test.
15774         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
15775         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
15776         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
15777         <math_private.h> and <stdint.h>.
15778         (__llrint): Avoid conversions to long long int where those might
15779         raise spurious exceptions.
15780         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15781         <math_private.h> and <stdint.h>.
15782         (__llrintf): Avoid conversions to long long int where those might
15783         raise spurious exceptions.
15785 2015-10-12  Andreas Schwab  <schwab@suse.de>
15787         [BZ #18969]
15788         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
15789         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
15790         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
15791         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
15792         $(gen-locales).
15793         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
15794         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
15795         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
15796         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
15797         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
15798         $(gen-locales).
15799         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
15800         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
15801         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
15802         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
15803         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
15804         ($(objpfx)tst-ftell-active-handler.out)
15805         ($(objpfx)tst-ftell-append.out)
15806         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
15807         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
15808         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
15809         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
15810         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
15811         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
15812         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
15813         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
15814         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
15815         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
15816         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
15817         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
15818         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
15819         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
15820         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
15821         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
15822         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
15823         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
15824         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
15825         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
15826         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
15827         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
15828         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
15829         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
15830         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
15831         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
15832         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
15833         $(gen-locales).
15834         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
15835         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
15836         $(gen-locales).
15837         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
15838         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
15839         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
15840         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
15841         $(gen-locales).
15842         * libio/tst_wprintf2.c (main): Use explicit locale.
15843         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
15845 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15847         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
15848         __msg_sig_post.
15849         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
15851 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15853         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15854         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15856         * sysdeps/arm/libm-test-ulps: Regenerated.
15858         [BZ #15470]
15859         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
15861         [BZ #16399]
15862         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
15863         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
15864         and <fix-fp-int-convert-overflow.h>.
15865         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15866         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15867         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
15868         and <fix-fp-int-convert-overflow.h>.
15869         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
15870         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15871         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
15872         <fix-fp-int-convert-overflow.h>.
15873         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15874         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15875         * sysdeps/ieee754/dbl-64/s_lround.c: Include
15876         <fix-fp-int-convert-overflow.h>.
15877         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
15878         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15879         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
15880         and <fix-fp-int-convert-overflow.h>.
15881         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15882         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15883         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15884         <limits.h> and <fix-fp-int-convert-overflow.h>.
15885         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15886         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15887         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15888         and <fix-fp-int-convert-overflow.h>.
15889         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15890         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15891         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15892         and <fix-fp-int-convert-overflow.h>.
15893         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15894         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15895         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15897 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15899         [BZ #18589]
15900         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15901         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15902         $(gen-locales).
15904 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15905             Phil Blundell <pb@pbcl.net>
15907         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15908         * nptl/tst-cancel26.c: New file.
15909         * nptl/tst-cancel27.c: Likewise.
15911 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15913         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15914         __ILP32__ isn't defined.
15915         (lrint): Likewise.
15916         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15917         (lrintf): Likewise.
15918         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15919         (lrintl): Likewise.
15920         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15921         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15922         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15924 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15926         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15927         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15929         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15930         file.
15931         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15932         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15934 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15936         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15937         configure test.
15938         * sysdeps/i386/configure: Regenerated.
15939         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15940         configure test.
15941         * sysdeps/x86_64/configure: Regenerated.
15942         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15943         Make code unconditional.
15945         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15946         test.
15947         * sysdeps/i386/configure: Regenerated.
15948         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15949         test.
15950         * sysdeps/x86_64/configure: Regenerated.
15951         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15952         Make code unconditional.
15953         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15954         Likewise.
15955         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15956         Likewise.
15957         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15958         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15959         code unconditional.
15960         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15961         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15962         code unconditional.
15963         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15964         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15965         code unconditional.
15966         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15967         code unconditional.
15968         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15969         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15970         code unconditional.
15971         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15972         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15973         code unconditional.
15974         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15975         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15976         code unconditional.
15977         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15978         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15979         code unconditional.
15980         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15981         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15983         [BZ #19095]
15984         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15985         mantissa to long int before shifting left.
15987 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15989         [BZ #19094]
15990         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15991         <limits.h>.
15992         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15993         when result overflows but exception would not result from cast.
15994         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15995         <limits.h>.
15996         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15997         when result overflows but exception would not result from cast.
15998         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15999         <limits.h>.
16000         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16001         when result overflows but exception would not result from cast.
16002         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16003         <limits.h>.
16004         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16005         when result overflows but exception would not result from cast.
16006         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16007         <limits.h>.
16008         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16009         when result overflows but exception would not result from cast.
16010         * math/libm-test.inc (lrint_test_data): Add more tests.
16011         (llrint_test_data): Likewise.
16013 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16015         [BZ #18872]
16016         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16017         Move out from under [$(run-built-tests) = yes] conditional.
16018         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16019         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16021 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16023         [BZ #18589]
16024         * string/Makefile (tests): Add bug-strcoll2.
16025         (LOCALES): Add cs_CZ.UTF-8.
16026         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16028         [BZ #18589]
16029         * string/bug-strcoll2.c: New file.
16030         * locale/categories.def: Revert commit
16031         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16032         * locale/langinfo.h: Likewise.
16033         * locale/localeinfo.h: Likewise.
16034         * locale/C-collate.c: Likewise.
16035         * locale/programs/ld-collate.c (collate_output): Likewise.
16036         * string/strcoll_l.c (STRDIFF): Likewise.
16037         (STRCOLL): Likewise.
16038         * wcsmbs/wcscoll_l.c: Likewise.
16040 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16042         * math/libm-test.inc (lround_test_data): Do not expect the absence
16043         of "inexact" for some tests with non-integer arguments.
16044         (llround_test_data): Likewise.
16046         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16047         test.
16048         (libc_cv_cc_sse2avx): Likewise.
16049         * sysdeps/i386/configure: Regenerated.
16050         * sysdeps/i386/i686/multiarch/Makefile
16051         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16052         [$(subdir) = math].
16053         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16054         code unconditional.
16055         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16056         Likewise.
16057         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16058         Likewise.
16059         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16060         Likewise.
16061         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16062         test.
16063         (libc_cv_cc_sse2avx): Likewise.
16064         * sysdeps/x86_64/configure: Regenerated.
16065         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16066         unconditional.
16067         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16068         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16069         unconditional.
16070         (_dl_runtime_profile)
16071         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16072         conditional code.
16073         * sysdeps/x86_64/fpu/multiarch/Makefile
16074         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16075         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16076         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16077         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16078         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16079         * sysdeps/x86_64/fpu/multiarch/e_log.c
16080         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16081         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16082         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16083         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16084         Likewise.
16085         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16086         Likewise.
16087         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16088         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16089         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16090         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16091         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16092         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16093         (HAVE_SSE2AVX_SUPPORT): Likewise.
16095 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16097         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16098         instead of #pragma optimize.
16100 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16102         [BZ #17195]
16103         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16104         as is similarly done in systrim and _int_free already.
16106 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16108         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16110 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16112         [BZ #19088]
16113         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16114         <limits.h>.
16115         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16116         overflows but exception would not result from cast.
16117         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16118         and <limits.h>.
16119         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16120         overflows but exception would not result from cast.
16121         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16122         <limits.h>.
16123         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16124         overflows but exception would not result from cast.
16125         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16126         <limits.h>.
16127         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16128         overflows but exception would not result from cast.
16129         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16130         <limits.h>.
16131         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16132         overflows but exception would not result from cast.
16133         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16134         <limits.h>.
16135         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16136         overflows but exception would not result from cast.
16137         * math/libm-test.inc (lround_test_data): Add more tests.
16138         (llround_test_data): Likewise.
16140 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16142         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16143         (CFLAGS-ialloc.c): Ditto.
16144         (CFLAGS-scheck.c): Ditto.
16146 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16148         [BZ #19086]
16149         * manual/filesys.texi (Storage Allocation): Fix argument order for
16150         posix_fallocate64.
16152 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16154         [BZ #19085]
16155         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16156         exponent below 48 inside case for non-overflowing exponent.
16157         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16159 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16161         * iconvdata/cp737.h (from_idx): Add const.
16162         * iconvdata/cp775.h (from_idx): Likewise.
16164 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16166         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16167         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16168         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16170         [BZ #19079]
16171         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16172         file, conditioned on [!_LP64].
16173         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16174         [!_LP64] (__lround): Do not define as function or alias.
16175         [!_LP64] (lround): Likewise.
16176         [!_LP64] (__lroundl): Likewise.
16177         [!_LP64] (lroundl): Likewise.
16178         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16179         macro.
16180         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16181         Likewise.
16183 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16185         * math/libm-test.inc (lrint_test_data): Add more tests.
16186         (llrint_test_data): Likewise.
16187         (lround_test_data): Likewise.
16188         (llround_test_data): Likewise.
16190         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16191         (llrint_test_data): Add tests used for lrint.
16193         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16194         test.
16195         * sysdeps/i386/configure: Regenerated.
16196         * sysdeps/i386/i686/multiarch/Makefile
16197         [$(config-cflags-sse4) = yes]: Make code unconditional.
16198         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16199         Likewise.
16200         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16201         Likewise.
16202         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16203         test.
16204         * sysdeps/x86_64/configure: Regenerated.
16205         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16206         Make code unconditional.
16207         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16208         Likewise.
16209         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16210         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16212         * scripts/rpm2dynsym.sh: Remove file.
16214 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16216         * configure.ac (libc_cv_cxx_thread_local): Define.
16217         * configure: Regenerate.
16218         * config.make.in (have-cxx-thread_local): Define.
16219         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16220         (LDLIBS-tst-thread_local1): Define.
16221         (tests): Add tst-thread_local1.
16222         [have-cxx-thread_local != yes] (tests-unsupported): Add
16223         tst-thread_local1.
16224         * nptl/tst-thread_local1.cc: New file.
16226 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16228         [BZ #19078]
16229         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16230         (u_thres): Likewise.
16231         (__expl): Determine whether to call __kernel_standard_l based on
16232         value of result, not argument.
16234         * math/libm-test.inc (scalb_test_data): Add more expectations for
16235         the "inexact" exception.
16237         [BZ #19077]
16238         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
16239         0.0L for argument 1.0L.
16241         [BZ #19076]
16242         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
16243         constant 0.0L when computing infinite result.
16245 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16247         [BZ #10432]
16248         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
16249         malloc_usable_size.
16251 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16253         [BZ #19018]
16254         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16255         Mangle function pointer before storing it.
16256         (__call_tls_dtors): Demangle function pointer before calling it.
16258 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16260         [BZ #19012]
16261         * iconv/gconv_db.c (gen_steps): Check for additional errors.
16262         Clean up on failure.
16264 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
16266         [BZ #19071]
16267         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
16268         long int variable to store possibly incremented high part of
16269         mantissa.
16270         * math/libm-test.inc (lround_test_data): Add tests used for
16271         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
16272         for tests requiring 64-bit long.  Do not condition tests on
16273         [TEST_FLOAT] unnecessarily.
16274         (llround_test_data): Add tests used for lround.  Add another
16275         expectation for the "inexact" exception.  Do not condition tests
16276         on [TEST_FLOAT] unnecessarily.
16278         [BZ #887]
16279         [BZ #19049]
16280         [BZ #19050]
16281         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
16282         * sysdeps/ieee754/dbl-64/e_log10.c: Include
16283         <fix-int-fp-convert-zero.h>.
16284         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16285         * sysdeps/ieee754/dbl-64/e_log2.c: Include
16286         <fix-int-fp-convert-zero.h>.
16287         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16288         * sysdeps/ieee754/dbl-64/s_erf.c: Include
16289         <fix-int-fp-convert-zero.h>.
16290         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16291         * sysdeps/ieee754/dbl-64/s_logb.c: Include
16292         <fix-int-fp-convert-zero.h>.
16293         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16294         * sysdeps/ieee754/flt-32/e_log10f.c: Include
16295         <fix-int-fp-convert-zero.h>.
16296         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16297         * sysdeps/ieee754/flt-32/e_log2f.c: Include
16298         <fix-int-fp-convert-zero.h>.
16299         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16300         * sysdeps/ieee754/flt-32/s_erff.c: Include
16301         <fix-int-fp-convert-zero.h>.
16302         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16303         * sysdeps/ieee754/flt-32/s_logbf.c: Include
16304         <fix-int-fp-convert-zero.h>.
16305         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16306         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
16307         <fix-int-fp-convert-zero.h>.
16308         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16309         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
16310         <fix-int-fp-convert-zero.h>.
16311         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16312         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
16313         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
16314         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
16315         file.
16316         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
16318 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16320         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16322 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
16324         [BZ #19059]
16325         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
16326         overflowing computation.
16327         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16328         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16329         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16330         Likewise.
16331         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16332         Likewise.
16333         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16334         Likewise.
16335         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16336         Likewise.
16337         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16338         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16339         Likewise.
16340         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16341         Likewise.
16342         * math/libm-test.inc (nexttoward_test_data): Add more tests.
16344         * nss/rewrite_field.c (__nss_rewrite_field): Use
16345         internal_function.
16346         * nss/valid_field.c (__nss_valid_field): Likewise.
16347         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16349 2015-10-02  Florian Weimer  <fweimer@redhat.com>
16351         [BZ #18724]
16352         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
16353         (__nss_invalid_field_characters, __nss_valid_field)
16354         (__nss_valid_list_field, __nss_rewrite_field): Declare.
16355         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
16356         tst-field.c: New file.
16357         * nss/Makefile (routines): Add valid_field, rewrite_field.
16358         (tests-static): Define unconditionally.
16359         (tests): Include tests-static.
16360         [build-static-nss] (tests-static): Use append.
16361         [build-static-nss] (tests): Remove modification.
16362         * nss/getent.c (print_group): Call putgrent.  Report error.
16363         (print_gshadow): Call putsgent.  Report error.
16364         (print_passwd): Call putpwent.  Report error.
16365         (print_shadow): Call putspent.  Report error.
16366         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
16367         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
16368         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
16369         name, password, directory, shell fields for valid syntax.  Rewrite
16370         GECOS field to match syntax.
16371         * pwd/Makefile (tests): Add tst-putpwent.
16372         * pwd/tst-putpwent.c: New file.
16373         * grp/putgrent.c (putgrent): Convert to ISO function definition.
16374         Check grName, grpasswd, gr_mem fields for valid syntax.
16375         Change loop variable i to size_t.
16376         * grp/Makefile (tests): Add tst-putgrent.
16377         * grp/tst-putgrent.c: New file.
16378         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
16379         valid syntax.
16380         * shadow/Makefile (tests): Add tst-putspent.
16381         * shadow/tst-putspent.c: New file.
16382         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
16383         sg_mem fields for valid syntax.
16384         * gshadow/Makefile (tests): Add tst-putsgent.
16385         * gshadow/tst-putsgent.c: New file.
16387 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16389         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
16390         assembly instructions.
16392 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16394         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
16395         prefix from operands.
16397 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
16399         [BZ #16347]
16400         [BZ #19046]
16401         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16402         <libc-internal.h>.
16403         (MAXLGM): Do not use diagnostic control macros.
16404         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
16405         threshold for ldbl-128ibm.
16406         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16407         instead of multiplying by log then subtracting.
16408         * math/auto-libm-test-in: Add more tests of lgamma.
16409         * math/auto-libm-test-out: Regenerated.
16411         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
16412         (TYPE_HEX_DIG): Likewise.
16413         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16414         precisions when printing floating-point numbers.
16415         (check_float_internal): Likewise.
16417 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16419         [BZ #16620]
16420         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16421         of log (10) rounded downward to 48 bits.
16422         (log10_low): Use corresponding low part of log (10).
16424         [BZ #19032]
16425         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16426         compute result as (x - x) / (x - x) not as 0 / 0.
16427         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16428         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16430         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16431         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16432         and expm1.
16433         * math/auto-libm-test-out: Regenerated.
16434         * math/libm-test.inc (acos_test_data): Add more tests.
16435         (asin_test_data): Likewise.
16436         (asinh_test_data): Likewise.
16437         (atan_test_data): Likewise.
16438         (atanh_test_data): Likewise.
16439         (atan2_test_data): Likewise.
16440         (cbrt_test_data): Likewise.
16441         (ceil_test_data): Likewise.
16442         (copysign_test_data): Likewise.
16443         (cos_test_data): Likewise.
16444         (cosh_test_data): Likewise.
16445         (erf_test_data): Likewise.
16446         (erfc_test_data): Likewise.
16447         (exp_test_data): Likewise.
16448         (exp10_test_data): Likewise.
16449         (exp2_test_data): Likewise.
16450         (expm1_test_data): Likewise.
16451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16453 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
16455         [BZ #19006]
16456         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16457         to ...
16458         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16459         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16460         to ...
16461         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16462         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16463         to ...
16464         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16465         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16466         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16467         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16468         to ...
16469         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16470         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16471         Moved to ...
16472         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16473         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16474         Moved to ...
16475         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16476         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16477         to ...
16478         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16479         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16480         Moved to ...
16481         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16482         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16483         to ...
16484         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16485         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16486         Removed.
16487         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16488         Likewise.
16489         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16490         Likewise.
16491         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16492         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16493         Likewise.
16494         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16495         Likewise.
16496         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16497         Likewise.
16498         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16499         Likewise.
16500         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16501         Likewise.
16502         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16503         Likewise.
16504         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16505         Likewise.
16506         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16507         Likewise.
16508         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16509         Likewise.
16510         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16511         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16512         Likewise.
16513         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16514         Likewise.
16515         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16516         Likewise.
16517         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16518         Likewise.
16519         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
16520         Likewise.
16521         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16522         Replace ../i486/pthread_cond_timedwait.S with
16523         ../pthread_cond_timedwait.S.
16525 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16527         * math/libm-test.inc (acos_test_data): Refine expectations for
16528         errno and "inexact" exceptions.
16529         (acosh_test_data): Likewise.
16530         (asin_test_data): Likewise.
16531         (asinh_test_data): Likewise.
16532         (atan_test_data): Likewise.
16533         (atanh_test_data): Likewise.
16534         (atan2_test_data): Likewise.
16535         (cbrt_test_data): Likewise.
16536         (ceil_test_data): Likewise.
16537         (copysign_test_data): Likewise.
16538         (cosh_test_data): Likewise.
16539         (erf_test_data): Likewise.
16540         (erfc_test_data): Likewise.
16541         (exp_test_data): Likewise.
16542         (exp10_test_data): Likewise.
16543         (exp2_test_data): Likewise.
16544         (expm1_test_data): Likewise.
16545         (fabs_test_data): Likewise.
16546         (floor_test_data): Likewise.
16547         (fma_test_data): Likewise.
16548         (fmax_test_data): Likewise.
16549         (fmin_test_data): Likewise.
16550         (fmod_test_data): Likewise.
16551         (fpclassify_test_data): Likewise.
16552         (frexp_test_data): Likewise.
16553         (hypot_test_data): Likewise.
16554         (ilogb_test_data): Likewise.
16555         (isgreater_test_data): Likewise.
16556         (isgreaterequal_test_data): Likewise.
16557         (isinf_test_data): Likewise.
16558         (isless_test_data): Likewise.
16559         (islessequal_test_data): Likewise.
16560         (islessgreater_test_data): Likewise.
16561         (isnan_test_data): Likewise.
16562         (isnormal_test_data): Likewise.
16563         (issignaling_test_data): Likewise.
16564         (isunordered_test_data): Likewise.
16565         (j0_test_data): Likewise.
16566         (j1_test_data): Likewise.
16567         (jn_test_data): Likewise.
16568         (lgamma_test_data): Likewise.
16569         (lrint_test_data): Likewise.
16570         (llrint_test_data): Likewise.
16571         (log_test_data): Likewise.
16572         (log10_test_data): Likewise.
16573         (log1p_test_data): Likewise.
16574         (log2_test_data): Likewise.
16575         (logb_test_data): Likewise.
16576         (lround_test_data): Likewise.
16577         (llround_test_data): Likewise.
16578         (modf_test_data): Likewise.
16579         (nearbyint_test_data): Likewise.
16580         (nextafter_test_data): Likewise.
16581         (nexttoward_test_data): Likewise.
16582         (pow_test_data): Likewise.
16583         (remainder_test_data): Likewise.
16584         (remquo_test_data): Likewise.
16585         (rint_test_data): Likewise.
16586         (round_test_data): Likewise.
16587         (signbit_test_data): Likewise.
16588         (sinh_test_data): Likewise.
16589         (sqrt_test_data): Likewise.
16590         (tanh_test_data): Likewise.
16591         (tgamma_test_data): Likewise.
16592         (trunc_test_data): Likewise.
16593         (y0_test_data): Likewise.
16594         (y1_test_data): Likewise.
16595         (yn_test_data): Likewise.
16596         (significand_test_data): Likewise.
16598 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
16600         * manual/filesys.texi (Storage Allocation): Document that
16601         posix_fallocate emulation fails when fd is open with O_WRONLY.
16603 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
16605         [BZ #19016]
16606         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
16607         allow more cases with X^2 + Y^2 >= 0.5.
16608         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
16609         normal element in sum instead of special-casing based on values of
16610         arguments.
16611         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
16612         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
16613         -1 as normal element in sum instead of special-casing based on
16614         values of arguments.
16615         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
16616         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
16617         (__x2y2m1): Update comment.
16618         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
16619         as normal element in sum instead of special-casing based on values
16620         of arguments.
16621         * math/s_clog.c (__clog): Handle more cases using log1p without
16622         hypot.
16623         * math/s_clog10.c (__clog10): Likewise.
16624         * math/s_clog10f.c (__clog10f): Likewise.
16625         * math/s_clog10l.c (__clog10l): Likewise.
16626         * math/s_clogf.c (__clogf): Likewise.
16627         * math/s_clogl.c (__clogl): Likewise.
16628         * math/auto-libm-test-in: Add more tests of clog and clog10.
16629         * math/auto-libm-test-out: Regenerated.
16630         * sysdeps/i386/fpu/libm-test-ulps: Update.
16631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16633 2015-09-28  Martin Sebor  <msebor@redhat.com>
16635         [BZ #18969]
16636         * string/Makefile (LOCALES): Define.
16637         (gen-locales.mk): Include.
16638         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
16639         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
16640         * string/tst-strxfrm2.c (do_test): Print the name of the locale
16641         on setlocale failure.
16643 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16645         [BZ #18985]
16646         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
16647         (__strftime_internal): Likewise.
16648         * time/tst-strftime.c (do_bz18985): New test.
16649         (do_test): Call it.
16651 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
16653         [BZ #18956]
16654         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
16655         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
16656         extracting high part.
16657         * math/auto-libm-test-in: Add another test of pow.
16658         * math/auto-libm-test-out: Regenerated.
16659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16661 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16663         [BZ #18825]
16664         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
16665         New macro.
16666         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
16667         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16668         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
16669         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
16670         DBL_NARROW_EVAL, reloading the PIC register as needed.
16671         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
16672         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
16673         FLT_NARROW_EVAL.  Use separate return path for case when first
16674         argument is NaN.
16675         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
16676         DEFINE_LDBL_MIN.
16677         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
16678         PIC register.
16679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
16680         math_check_force_underflow_nonneg.
16681         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
16682         underflow for subnormal result.
16683         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16684         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
16685         math_check_force_underflow_nonneg.
16686         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
16687         math_check_force_underflow.
16688         * sysdeps/x86_64/fpu/x86_64-math-asm.h
16689         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
16690         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
16691         DEFINE_LDBL_MIN.
16692         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
16693         * math/auto-libm-test-in: Add more tests of pow.
16694         * math/auto-libm-test-out: Regenerated.
16696 2015-09-25  Florian Weimer  <fweimer@redhat.com>
16698         * nss/bug17079.c (init_test_items): Add diagnostic for
16699         inconsistent entries.
16700         (test_buffer_size): Skip inconsistent entries.
16702 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16704         [BZ #13304]
16705         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
16706         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16707         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
16709         [BZ #13304]
16710         * sysdeps/microblaze/s_fma.c: New file.
16711         * sysdeps/microblaze/s_fmaf.c: Likewise.
16712         * sysdeps/microblaze/sfp-machine.h: Likewise.
16714 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
16716         [BZ #17250]
16717         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
16718         member.
16720 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16722         [BZ #18803]
16723         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
16724         (MO): New macro.
16725         (__ieee754_hypot) [PIC]: Load PIC register.
16726         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
16727         DBL_NARROW_EVAL.
16728         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
16729         math_check_force_underflow_nonneg in case where result might be
16730         tiny.
16731         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16732         Likewise.
16733         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16734         Likewise.
16735         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16736         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16737         * math/auto-libm-test-in: Add more tests of hypot.
16738         * math/auto-libm-test-out: Regenerated.
16740 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
16742         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
16744 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16746         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
16747         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
16748         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16749         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16750         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
16751         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16752         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16754         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
16755         LOAD_PIC_REG.
16757         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
16758         (FLT_CHECK_FORCE_UFLOW): Likewise.
16759         (DBL_CHECK_FORCE_UFLOW): Likewise.
16760         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
16761         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
16762         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
16763         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16764         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16765         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16766         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16767         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16768         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
16769         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16770         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
16771         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
16772         (flt_min): Replace with use of DEFINE_FLT_MIN.
16773         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
16774         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
16775         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16776         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
16777         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
16778         (flt_min): Replace with use of DEFINE_FLT_MIN.
16779         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
16780         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
16781         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16782         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
16783         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
16784         (flt_min): Replace with use of DEFINE_FLT_MIN.
16785         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
16786         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
16787         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16788         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16789         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
16790         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16791         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16792         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
16793         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16794         (__atan): Use DBL_CHECK_FORCE_UFLOW.
16795         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
16796         (flt_min): Replace with use of DEFINE_FLT_MIN.
16797         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
16798         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
16799         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16800         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
16801         main computation.
16802         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
16803         (flt_min): Replace with use of DEFINE_FLT_MIN.
16804         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
16805         main computation.
16806         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
16807         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16808         (MO): New macro.
16809         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
16810         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
16811         (flt_min): Replace with use of DEFINE_FLT_MIN.
16812         (MO): New macro.
16813         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
16814         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
16815         (__log1pl): Use MO.
16817         [BZ #19003]
16818         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
16819         $(config-cflags-nofma).
16821 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16823         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16825 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
16827         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
16828         (TWO127): Likewise.
16830         * sysdeps/generic/math_private.h (fabs_tg): New macro.
16831         (min_of_type): Likewise.
16832         (math_check_force_underflow): Likewise.
16833         (math_check_force_underflow_nonneg): Likewise.
16834         (math_check_force_underflow_complex): Likewise.
16835         * math/e_exp2l.c (__ieee754_exp2l): Use
16836         math_check_force_underflow_nonneg.
16837         * math/k_casinh.c (__kernel_casinh): Likewise.
16838         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16839         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16840         * math/s_catan.c (__catan): Use
16841         math_check_force_underflow_complex.
16842         * math/s_catanf.c (__catanf): Likewise.
16843         * math/s_catanh.c (__catanh): Likewise.
16844         * math/s_catanhf.c (__catanhf): Likewise.
16845         * math/s_catanhl.c (__catanhl): Likewise.
16846         * math/s_catanl.c (__catanl): Likewise.
16847         * math/s_ccosh.c (__ccosh): Likewise.
16848         * math/s_ccoshf.c (__ccoshf): Likewise.
16849         * math/s_ccoshl.c (__ccoshl): Likewise.
16850         * math/s_cexp.c (__cexp): Likewise.
16851         * math/s_cexpf.c (__cexpf): Likewise.
16852         * math/s_cexpl.c (__cexpl): Likewise.
16853         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
16854         * math/s_clog10.c (__clog10): Likewise.
16855         * math/s_clog10f.c (__clog10f): Likewise.
16856         * math/s_clog10l.c (__clog10l): Likewise.
16857         * math/s_clogf.c (__clogf): Likewise.
16858         * math/s_clogl.c (__clogl): Likewise.
16859         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
16860         * math/s_csinf.c (__csinf): Likewise.
16861         * math/s_csinh.c (__csinh): Likewise.
16862         * math/s_csinhf.c (__csinhf): Likewise.
16863         * math/s_csinhl.c (__csinhl): Likewise.
16864         * math/s_csinl.c (__csinl): Likewise.
16865         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
16866         * math/s_csqrtf.c (__csqrtf): Likewise.
16867         * math/s_csqrtl.c (__csqrtl): Likewise.
16868         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
16869         * math/s_ctanf.c (__ctanf): Likewise.
16870         * math/s_ctanh.c (__ctanh): Likewise.
16871         * math/s_ctanhf.c (__ctanhf): Likewise.
16872         * math/s_ctanhl.c (__ctanhl): Likewise.
16873         * math/s_ctanl.c (__ctanl): Likewise.
16874         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
16875         instead of volatile.
16876         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
16877         math_check_force_underflow.
16878         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16879         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
16880         volatile when forcing underflow.
16881         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16882         math_check_force_underflow_nonneg.
16883         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16884         Likewise.
16885         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16886         math_check_force_underflow.
16887         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16888         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16889         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16890         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16891         math_check_force_underflow_nonneg.
16892         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16893         math_check_force_underflow.
16894         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16896         instead of volatile.
16897         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16898         math_check_force_underflow.
16899         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16900         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16901         math_check_force_underflow_nonneg.
16902         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16903         math_check_force_underflow.
16904         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16905         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16906         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16907         math_check_force_underflow_nonneg.
16908         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16909         Likewise.
16910         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16911         math_check_force_underflow.
16912         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16913         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16914         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16915         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16916         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16917         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16918         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16919         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16920         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16921         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16922         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16923         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16924         Likewise.
16925         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16926         math_check_force_underflow_nonneg.
16927         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16928         Likewise.
16929         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16930         math_check_force_underflow.
16931         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16932         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16933         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16934         Likewise.
16935         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16936         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16937         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16938         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16939         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16940         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16942         instead of volatile.
16943         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16944         math_check_force_underflow.
16945         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16947         math_check_force_underflow.
16948         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16949         Likewise.
16950         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16951         Use math_check_force_underflow_nonneg.
16952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16953         math_check_force_underflow.
16954         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16955         Likewise.
16956         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16957         Likewise.
16958         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16959         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16960         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16961         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16962         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16964         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16965         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16966         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16967         math_check_force_underflow_nonneg.
16968         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16969         math_check_force_underflow.
16970         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16971         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16972         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16973         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16974         math_check_force_underflow_nonneg.
16975         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16976         math_check_force_underflow.
16977         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16978         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16979         instead of volatile.
16980         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16981         math_check_force_underflow.
16983         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16984         * stdlib/strtod_l.c: Include <math_private.h>.
16985         (overflow_value): Use math_narrow_eval.
16986         (underflow_value): Likewise.
16987         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16988         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16989         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16990         (__ieee754_gamma_r): Likewise.
16991         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16992         Likewise.
16993         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16994         Likewise.
16995         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16996         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16997         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16998         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16999         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17000         (__ieee754_gammaf_r): Likewise.
17001         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17002         Likewise.
17003         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17004         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17005         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17006         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17007         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17008         volatile.
17009         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17010         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17011         math_narrow_eval.
17012         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17013         Likewise.
17014         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17015         Likewise.
17016         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17017         Likewise.
17018         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17019         volatile.
17020         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17021         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17022         math_narrow_eval.
17023         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17024         Likewise.
17025         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17026         Likewise.
17028 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17030         * nptl/Versions: Remove ignored symbols.
17032 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17034         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17035         * nss/Makefile (tests): Update.
17037 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17039         * nss/bug18287.c: New file.
17040         * nss/Makefile (tests): Add bug18287.
17042 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17044         * mach/Versions (__mach_host_self_): Add symbol.
17046 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17048         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17049         vm_page_size.
17051 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17053         Really fix sysdeps/i386/fpu/s_scalbn.S build
17055         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17056         (libc: GLIBC_2_22): Remove unused version set.
17058 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17060         * config.make.in (enable-timezone-tools): New variable.
17061         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17062         (enable_timezone_tools): Export to generated files.
17063         * configure: Regenerate.
17064         * INSTALL: Regenerate.
17065         * manual/install.texi (--disable-timezone-tools): Document new flag.
17066         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17067         ifeq ($(enable-timezone-tools),yes) check.
17069 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17071         * timezone/Makefile: Revert previous change.
17073         [BZ #18980]
17074         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17075         (DEFINE_DBL_MIN): Likewise.
17076         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17077         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17078         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17079         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17080         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17081         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17082         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17083         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17084         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17085         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17086         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17087         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17088         (flt_min): Replace with use of DEFINE_FLT_MIN.
17089         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17090         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17091         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17092         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17093         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17094         (flt_min): Replace with use of DEFINE_FLT_MIN.
17095         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17096         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17097         (flt_min): Replace with use of DEFINE_FLT_MIN.
17098         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17099         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17100         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17101         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17102         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17103         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17104         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17105         (__ieee754_pow): Use DBL_NARROW_EVAL.
17106         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17107         (__ieee754_powf): Use FLT_NARROW_EVAL.
17108         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17109         (__ieee754_expf_sse2): Convert double-precision result to single
17110         precision.
17111         * sysdeps/i386/fpu/libm-test-ulps: Update.
17113 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17115         * timezone/Makefile: Ignore unused variable errors due to private.h
17116         (time_t_min) and (time_t_max).
17117         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17118         Likewise.
17120 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17122         [BZ #18981]
17123         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17124         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17125         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17126         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17127         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17128         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17129         (__scalbn): Use DBL_NARROW_EVAL.
17130         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17131         (__scalbnf): Use FLT_NARROW_EVAL.
17133 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17135         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17136         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17137         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17138         * stdio-common/printf_fp.c (___printf_fp):
17139         Use signbit to get the sign. Use isinf macro to allow inlining.
17140         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17141         * stdio-common/printf_size.c (__printf_size): Likewise.
17143 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17145         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17147 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17149         [BZ #18980]
17150         * sysdeps/generic/math_private.h: Include <float.h>.
17151         (math_narrow_eval): New macro.
17152         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17153         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17154         math_narrow_eval on overflowing return value.
17155         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17156         Likewise.
17157         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17158         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17159         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17160         Likewise.
17161         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17163 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17165         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17166         * math/Makefile: Remove isinf_ns.c.
17167         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17168         * math/multc3.c (__multc3): Likewise.
17169         * math/s_casin.c (__casin): Likewise.
17170         * math/s_casinf.c (__casinf): Likewise.
17171         * math/s_casinl.c (__casinl): Likewise.
17172         * math/s_cproj.c (__cproj): Likewise.
17173         * math/s_cprojf.c (__cprojf): Likewise.
17174         * math/s_cprojl.c (__cprofl): Likewise.
17175         * math/s_ctan.c (__ctan): Likewise.
17176         * math/s_ctanf.c (__ctanf): Likewise.
17177         * math/s_ctanh.c (__ctanh): Likewise.
17178         * math/s_ctanhf.c (__ctanhf): Likewise.
17179         * math/s_ctanhl.c (__ctanhl): Likewise.
17180         * math/s_ctanl.c (__ctanl): Likewise.
17181         * math/w_fmod.c (__fmod): Likewise.
17182         * math/w_fmodf.c (__fmodf): Likewise.
17183         * math/w_fmodl.c (_fmodl): Likewise.
17184         * math/w_remainder.c (__remainder): Likewise.
17185         * math/w_remainderf.c (__remainderf): Likewise.
17186         * math/w_remainderl.c (__remainderl): Likewise.
17187         * math/w_scalb.c (__scalb): Likewise.
17188         * math/w_scalbf.c (__scalbf): Likewise.
17189         * math/w_scalbl.c (__scalbl): Likewise.
17190         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17191         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17192         with isinf.
17193         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17194         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17195         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17196         __isinf_nsf with isinf.
17197         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17198         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17199         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17200         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17201         with isinf.
17202         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17203         __isinf_nsl with isinf.
17204         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17205         with isinf.
17206         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17207         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17208         __isinf_nsl with isinf.
17209         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17210         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17211         with isinf.
17213 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17215         * resolv/base64.c (rcsid): Remove unused static.
17216         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17217         static.  (tqpi1): Likewise.
17218         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17219         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17220         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17221         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17222         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17223         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17224         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17225         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17226         Likewise.
17228 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
17230         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17231         <nptl/pthreadP.h>.
17232         (_longjmp_unwind): Use __libc_ptf_call.
17233         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
17235 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
17237         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
17238         * sysdeps/arm/__longjmp.S: Likewise.
17240 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17242         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
17243         Use __builtin_signbit.
17244         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
17245         Use __builtin_signbitf.
17246         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
17247         Use __builtin_signbitl.
17248         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17249         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
17251 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17253         [BZ #15367]
17254         [BZ #17441]
17256         * math/Makefile: Build test-snan.c with -fsignaling-nans.
17257         * math/math.h (fpclassify): Use __builtin_fpclassify when
17258         available.  (signbit): Use __builtin_signbit(f/l).
17259         (isfinite): Use__builtin_isfinite.  (isnormal): Use
17260         __builtin_isnormal.  (isnan): Use __builtin_isnan.
17261         (isinf): Use __builtin_isinf_sign.
17263 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17265         * benchtests/Makefile: Add bench-math-inlines, link with libm.
17266         * benchtests/bench-math-inlines.c: New benchmark.
17267         * benchtests/bench-util.h: New file.
17268         * benchtests/bench-util.c: New file.
17269         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
17271 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
17273         * elf/tst-dlmopen1.c: Define TEST_SO.
17274         (do_test): Use TEST_SO.
17276         * elf/dl-load.c: Include libc-internal.h.
17277         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
17279 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17281         [BZ #17887]
17282         * time/strptime_l.c (__strptime_internal): Make %z accept
17283         [+-]HH:MM time zones.
17285 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17287         [BZ #17886]
17288         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
17289         valid time zone.
17291 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
17293         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
17294         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
17295         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17296         (__ASSUME_FDATASYNC): Delete.
17298 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17300         * conform/linknamespace.pl: Require weak undefined symbols to be
17301         in the standard namespace.
17302         (%strong_syms): Rename to %seen_syms.
17303         (%strong_seen): Rename to %seen_where.
17305 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
17307         [BZ #18970]
17308         * misc/error.c (error): Replace pthread_setcancelstate with
17309         __pthread_setcancelstate.
17310         (error_at_line): Likewise.
17311         * posix/wordexp.c (parse_comm): Likewise.
17312         * stdlib/fmtmsg.c (fmtmsg): Likewise.
17313         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
17314         (__pthread_setcancelstate): This.
17315         (pthread_setcancelstate): Add an alias.
17316         * nptl/nptl-init.c (pthread_functions): Replace
17317         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
17318         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
17319         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
17320         hidden_proto.
17321         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
17322         it with hidden_def.
17323         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
17324         (pthread_setcancelstate): Renamed to ...
17325         (__pthread_setcancelstate): This.
17326         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
17327         __libc_ptf_call with __pthread_setcancelstate.
17329 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17330             Andreas Schwab  <schwab@suse.de>
17332         [BZ #17118]
17333         * math/s_ctan.c (__ctan): Determine sign of zero real part of
17334         result when imaginary part of argument is infinite using sine and
17335         cosine.
17336         * math/s_ctanf.c (__ctanf): Likewise.
17337         * math/s_ctanl.c (__ctanl): Likewise.
17338         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
17339         of result when real part of argument is infinite using sine and
17340         cosine.
17341         * math/s_ctanhf.c (__ctanhf): Likewise.
17342         * math/s_ctanhl.c (__ctanhl): Likewise.
17343         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
17344         (ctanh_test_data): Add more tests of ctanh.
17346 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17348         [BZ #15384]
17349         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
17350         bit-mask as in subtraction.
17351         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
17352         Likewise.
17353         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17354         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17355         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
17357         [BZ #18951]
17358         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
17359         underflow exception for small results.
17360         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17361         Likewise.
17362         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17363         Likewise.
17364         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17365         Likewise.
17366         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17367         Likewise.
17368         * math/auto-libm-test-in: Add more tests of tgamma.
17369         * math/auto-libm-test-out: Regenerated.
17371 2015-09-17  Andreas Schwab  <schwab@suse.de>
17373         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
17375 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17377         [BZ #18977]
17378         * math/bits/mathcalls.h
17379         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
17380         not declare.
17381         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
17382         Likewise.
17383         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
17384         Likewise.
17385         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
17386         Likewise.
17387         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
17388         Likewise.
17389         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
17390         Likewise.
17391         * conform/data/math.h-data
17392         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
17393         function.
17394         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
17395         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
17396         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
17397         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
17398         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
17399         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
17400         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
17401         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
17402         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
17403         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
17404         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
17406         [BZ #6803]
17407         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
17408         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
17409         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
17410         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
17411         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
17412         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17413         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17414         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17415         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17416         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17417         Likewise.
17418         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17419         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17420         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17421         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17422         long_double_symbol calls.
17423         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17424         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17425         strong alias of __ldexpl.
17426         (scalbnl): Define using long_double_symbol.
17427         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17428         Remove alias.
17429         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17430         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17431         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17432         (scalbln_test_data): Add more errno expectations.
17434 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
17436         Cache the host port like we cache the task port.  This way we do not
17437         need to call the kernel just to get the port.  Furthermore, we no
17438         longer increase the reference count on every invocation of
17439         `mach_host_self'.
17441         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17442         Protect declarations against the macro expansion.
17443         * mach/mach_init.c (__mach_host_self_): New variable.
17444         (mach_init): Initialize `__mach_host_self_'.
17445         * mach/mach_init.h (__mach_host_self_): New declaration.
17446         (__mach_host_self, mach_host_self): New macros.
17447         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17448         Release reference.
17450 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17452         [BZ #4404]
17453         * po/de.po: Update from Translation Project.
17455         [BZ #16415]
17456         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17457         (__expm1l): Remove code to handle positive infinity and overflow.
17458         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17459         variable.
17460         (__expm1l): Remove code to handle positive infinity and overflow.
17462 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
17463             Paul Pluzhnikov  <ppluzhnikov@google.com>
17465         [BZ #18872]
17466         * stdio-common/Makefile (tst-printf-bz18872): New test.
17467         (tst-printf-bz18872-mem.out): Likewise.
17468         * stdio-common/tst-printf-bz18872.sh: Generate new test.
17469         * stdio-common/vfprintf.c: Fix memory leaks.
17471 2015-09-16  Andreas Schwab  <schwab@suse.de>
17473         [BZ #17244]
17474         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17475         Remove extra va_start/va_end calls.
17477         [BZ #17243]
17478         * posix/execl.c (execl): Add missing va_end.
17479         * posix/execle.c (execle): Likewise.
17480         * posix/execlp.c (execlp): Likewise.
17482 2015-09-15  Roland McGrath  <roland@hack.frob.com>
17484         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17485         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17487 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
17489         [BZ #18967]
17490         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
17491         undefine around includes of <bits/mathcalls.h>.
17492         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17493         not declare function.
17494         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17495         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17496         (scalb): Likewise.
17497         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17498         not define macro.
17499         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17500         variable.
17501         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17502         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17503         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17505         [BZ #18857]
17506         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17507         return non-finite argument without doing ordered comparisons on
17508         it.
17510         [BZ #16296]
17511         * math/fenv.h (fegetround): Use __attribute_pure__.
17512         * include/fenv.h (__fegetround): Likewise.
17514         [BZ #18595]
17515         * math/s_ctan.c (__ctan): Force underflow exception for results
17516         whose real or imaginary part has small absolute value.
17517         * math/s_ctanf.c (__ctanf): Likewise.
17518         * math/s_ctanh.c (__ctanh): Likewise.
17519         * math/s_ctanhf.c (__ctanhf): Likewise.
17520         * math/s_ctanhl.c (__ctanhl): Likewise.
17521         * math/s_ctanl.c (__ctanl): Likewise.
17522         * math/auto-libm-test-in: Do not allow missing underflow for ctan
17523         and ctanh.  Add more tests of ctan and ctanh.
17525         [BZ #15918]
17526         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
17527         handling of cases where one argument is an infinity.
17529         [BZ #18875]
17530         [BZ #18966]
17531         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
17532         (MO): New macro.
17533         (__ieee754_exp10): For small results, force underflow exception
17534         and remove excess range and precision from return value.
17535         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
17536         (MO): New macro.
17537         (__ieee754_exp10f): For small results, force underflow exception
17538         and remove excess range and precision from return value.
17539         * math/auto-libm-test-in: Add more tests of exp10.
17540         * math/auto-libm-test-out: Regenerated.
17542 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
17544         [BZ #18875]
17545         [BZ #18961]
17546         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
17547         (MO): New macro.
17548         (__ieee754_exp): For small results, force underflow exception and
17549         remove excess range and precision from return value.
17550         (__exp_finite): Likewise.
17551         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
17552         (MO): New macro.
17553         (__ieee754_expf): For small results, force underflow exception and
17554         remove excess range and precision from return value.
17555         (__expf_finite): Likewise.
17556         * math/auto-libm-test-in: Add more tests of exp.
17557         * math/auto-libm-test-out: Regenerated.
17559         [BZ #16521]
17560         [BZ #18875]
17561         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
17562         small results.
17563         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
17564         (MO): New macro.
17565         (__ieee754_exp2): For small results, force underflow exception and
17566         remove excess range and precision from return value.
17567         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
17568         (MO): New macro.
17569         (__ieee754_exp2f): For small results, force underflow exception
17570         and remove excess range and precision from return value.
17571         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
17572         (MO): New macro.
17573         (__ieee754_exp2l): Force underflow exception for small results.
17574         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17575         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17576         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
17577         (MO): New macro.
17578         (__ieee754_exp2l): Force underflow exception for small results.
17579         * math/auto-libm-test-in: Add more tests or exp2.
17580         * math/auto-libm-test-out: Regenerated.
17582 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
17584         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
17586         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
17587         /dev/null.
17589 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17591         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17592         io fs process)): Drop spurious backslash.
17594 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17596         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
17597         Use sysinfo system call instead of parsing /proc/meminfo.
17598         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
17599         Likewise.
17601 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
17603         [BZ #16985]
17604         * programs/localedef.c (main): Display argv[remaining] when
17605         output_path is NULL.
17607 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17609         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17610         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
17611         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
17612         tanh.
17613         * math/auto-libm-test-out: Regenerated.
17614         * sysdeps/i386/fpu/libm-test-ulps: Update.
17615         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17616         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17619 2015-09-11  Roland McGrath  <roland@hack.frob.com>
17621         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
17622         Use 'override' keyword to freeze the value here, preventing
17623         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
17625 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17627         [BZ #14912]
17628         * sysdeps/aarch64/bits/atomic.h: Move to ...
17629         * sysdeps/aarch64/atomic-machine.h: ...here.
17630         (_AARCH64_BITS_ATOMIC_H): Rename macro to
17631         _AARCH64_ATOMIC_MACHINE_H.
17632         * sysdeps/alpha/bits/atomic.h: Move to ...
17633         * sysdeps/alpha/atomic-machine.h: ...here.
17634         * sysdeps/arm/bits/atomic.h: Move to ...
17635         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
17636         * bits/atomic.h: Move to ...
17637         * sysdeps/generic/atomic-machine.h: ...here.
17638         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17639         * sysdeps/i386/bits/atomic.h: Move to ...
17640         * sysdeps/i386/atomic-machine.h: ...here.
17641         * sysdeps/ia64/bits/atomic.h: Move to ...
17642         * sysdeps/ia64/atomic-machine.h: ...here.
17643         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
17644         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
17645         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17646         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
17647         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
17648         * sysdeps/microblaze/bits/atomic.h: Move to ...
17649         * sysdeps/microblaze/atomic-machine.h: ...here.
17650         * sysdeps/mips/bits/atomic.h: Move to ...
17651         * sysdeps/mips/atomic-machine.h: ...here.
17652         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
17653         * sysdeps/powerpc/bits/atomic.h: Move to ...
17654         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
17655         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
17656         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
17657         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
17658         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
17659         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
17660         <atomic-machine.h> instead of <bits/atomic.h>.
17661         * sysdeps/s390/bits/atomic.h: Move to ...
17662         * sysdeps/s390/atomic-machine.h: ...here.
17663         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
17664         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
17665         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17666         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
17667         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
17668         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
17669         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
17670         * sysdeps/tile/bits/atomic.h: Move to ...
17671         * sysdeps/tile/atomic-machine.h: ...here.
17672         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
17673         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
17674         <sysdeps/tile/atomic-machine.h> instead of
17675         <sysdeps/tile/bits/atomic.h>.
17676         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17677         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
17678         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
17679         <sysdeps/tile/atomic-machine.h> instead of
17680         <sysdeps/tile/bits/atomic.h>.
17681         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17682         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
17683         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
17684         <sysdeps/arm/atomic-machine.h> instead of
17685         <sysdeps/arm/bits/atomic.h>.
17686         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
17687         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
17688         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17689         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
17690         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
17691         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17692         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
17693         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
17694         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
17695         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
17696         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
17697         * sysdeps/x86_64/bits/atomic.h: Move to ...
17698         * sysdeps/x86_64/atomic-machine.h: ...here.
17699         * include/atomic.h: Include <atomic-machine.h> instead of
17700         <bits/atomic.h>.
17702         * sysdeps/mips/mips32/libm-test-ulps: Update.
17703         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17705         [BZ #18952]
17706         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
17707         not convert non-integer negative arguments to int to determine the
17708         value of signgam.
17709         * math/auto-libm-test-in: Add more tests of lgamma.
17710         * math/auto-libm-test-out: Regenerated.
17712         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
17713         cosh, csqrt, erfc, expm1 and lgamma.
17714         * math/auto-libm-test-out: Regenerated.
17715         * sysdeps/i386/fpu/libm-test-ulps: Update.
17716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17718 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
17720         [BZ #2542]
17721         [BZ #2543]
17722         [BZ #2558]
17723         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
17724         __lgamma_neg for arguments from -28.0 to -2.0.
17725         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
17726         __lgamma_negf for arguments from -15.0 to -2.0.
17727         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17728         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
17729         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
17730         Call __lgamma_negl for arguments from -33.0 to -2.0.
17731         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
17732         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17733         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17734         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
17735         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
17739         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
17740         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17741         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
17742         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
17743         (__lgamma_neg): Likewise.
17744         (__lgamma_negl): Likewise.
17745         (__lgamma_product): Likewise.
17746         (__lgamma_productl): Likewise.
17747         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
17748         * math/auto-libm-test-in: Add more tests of lgamma.
17749         * math/auto-libm-test-out: Regenerated.
17750         * sysdeps/i386/fpu/libm-test-ulps: Update.
17751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17753 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
17755         [BZ #18675]
17756         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
17758 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
17760         [BZ #14912]
17761         * bits/libc-lock.h: Move to ...
17762         * sysdeps/generic/libc-lock.h: ...here.
17763         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17764         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
17765         * sysdeps/mach/hurd/libc-lock.h: ...here.
17766         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17767         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
17768         * sysdeps/mach/bits/libc-lock.h: Move to ...
17769         * sysdeps/mach/libc-lock.h: ...here.
17770         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17771         * sysdeps/nptl/bits/libc-lock.h: Move to ...
17772         * sysdeps/nptl/libc-lock.h: ...here.
17773         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17774         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
17775         * sysdeps/nptl/libc-lockP.h: ...here.
17776         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
17777         * crypt/crypt_util.c: Include <libc-lock.h> instead of
17778         <bits/libc-lock.h>.
17779         * dirent/scandir-tail.c: Likewise.
17780         * dlfcn/dlerror.c: Likewise.
17781         * elf/dl-close.c: Likewise.
17782         * elf/dl-iteratephdr.c: Likewise.
17783         * elf/dl-lookup.c: Likewise.
17784         * elf/dl-open.c: Likewise.
17785         * elf/dl-support.c: Likewise.
17786         * elf/dl-writev.h: Likewise.
17787         * elf/rtld.c: Likewise.
17788         * grp/fgetgrent.c: Likewise.
17789         * gshadow/fgetsgent.c: Likewise.
17790         * gshadow/sgetsgent.c: Likewise.
17791         * iconv/gconv_conf.c: Likewise.
17792         * iconv/gconv_db.c: Likewise.
17793         * iconv/gconv_dl.c: Likewise.
17794         * iconv/gconv_int.h: Likewise.
17795         * iconv/gconv_trans.c: Likewise.
17796         * include/link.h: Likewise.
17797         * inet/getnameinfo.c: Likewise.
17798         * inet/getnetgrent.c: Likewise.
17799         * inet/getnetgrent_r.c: Likewise.
17800         * intl/bindtextdom.c: Likewise.
17801         * intl/dcigettext.c: Likewise.
17802         * intl/finddomain.c: Likewise.
17803         * intl/gettextP.h: Likewise.
17804         * intl/loadmsgcat.c: Likewise.
17805         * intl/localealias.c: Likewise.
17806         * intl/textdomain.c: Likewise.
17807         * libidn/idn-stub.c: Likewise.
17808         * libio/libioP.h: Likewise.
17809         * locale/duplocale.c: Likewise.
17810         * locale/freelocale.c: Likewise.
17811         * locale/newlocale.c: Likewise.
17812         * locale/setlocale.c: Likewise.
17813         * login/getutent_r.c: Likewise.
17814         * login/getutid_r.c: Likewise.
17815         * login/getutline_r.c: Likewise.
17816         * login/utmp-private.h: Likewise.
17817         * login/utmpname.c: Likewise.
17818         * malloc/mtrace.c: Likewise.
17819         * misc/efgcvt.c: Likewise.
17820         * misc/error.c: Likewise.
17821         * misc/fstab.c: Likewise.
17822         * misc/getpass.c: Likewise.
17823         * misc/mntent.c: Likewise.
17824         * misc/syslog.c: Likewise.
17825         * nis/nis_call.c: Likewise.
17826         * nis/nis_callback.c: Likewise.
17827         * nis/nss-default.c: Likewise.
17828         * nis/nss_compat/compat-grp.c: Likewise.
17829         * nis/nss_compat/compat-initgroups.c: Likewise.
17830         * nis/nss_compat/compat-pwd.c: Likewise.
17831         * nis/nss_compat/compat-spwd.c: Likewise.
17832         * nis/nss_nis/nis-alias.c: Likewise.
17833         * nis/nss_nis/nis-ethers.c: Likewise.
17834         * nis/nss_nis/nis-grp.c: Likewise.
17835         * nis/nss_nis/nis-hosts.c: Likewise.
17836         * nis/nss_nis/nis-network.c: Likewise.
17837         * nis/nss_nis/nis-proto.c: Likewise.
17838         * nis/nss_nis/nis-pwd.c: Likewise.
17839         * nis/nss_nis/nis-rpc.c: Likewise.
17840         * nis/nss_nis/nis-service.c: Likewise.
17841         * nis/nss_nis/nis-spwd.c: Likewise.
17842         * nis/nss_nisplus/nisplus-alias.c: Likewise.
17843         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
17844         * nis/nss_nisplus/nisplus-grp.c: Likewise.
17845         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
17846         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
17847         * nis/nss_nisplus/nisplus-network.c: Likewise.
17848         * nis/nss_nisplus/nisplus-proto.c: Likewise.
17849         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
17850         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
17851         * nis/nss_nisplus/nisplus-service.c: Likewise.
17852         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
17853         * nis/ypclnt.c: Likewise.
17854         * nptl/libc_pthread_init.c: Likewise.
17855         * nss/getXXbyYY.c: Likewise.
17856         * nss/getXXent.c: Likewise.
17857         * nss/getXXent_r.c: Likewise.
17858         * nss/nss_db/db-XXX.c: Likewise.
17859         * nss/nss_db/db-netgrp.c: Likewise.
17860         * nss/nss_db/nss_db.h: Likewise.
17861         * nss/nss_files/files-XXX.c: Likewise.
17862         * nss/nss_files/files-alias.c: Likewise.
17863         * nss/nsswitch.c: Likewise.
17864         * posix/regex_internal.h: Likewise.
17865         * posix/wordexp.c: Likewise.
17866         * pwd/fgetpwent.c: Likewise.
17867         * resolv/res_hconf.c: Likewise.
17868         * resolv/res_libc.c: Likewise.
17869         * shadow/fgetspent.c: Likewise.
17870         * shadow/lckpwdf.c: Likewise.
17871         * shadow/sgetspent.c: Likewise.
17872         * socket/opensock.c: Likewise.
17873         * stdio-common/reg-modifier.c: Likewise.
17874         * stdio-common/reg-printf.c: Likewise.
17875         * stdio-common/reg-type.c: Likewise.
17876         * stdio-common/vfprintf.c: Likewise.
17877         * stdio-common/vfscanf.c: Likewise.
17878         * stdlib/abort.c: Likewise.
17879         * stdlib/cxa_atexit.c: Likewise.
17880         * stdlib/fmtmsg.c: Likewise.
17881         * stdlib/random.c: Likewise.
17882         * stdlib/setenv.c: Likewise.
17883         * string/strsignal.c: Likewise.
17884         * sunrpc/auth_none.c: Likewise.
17885         * sunrpc/bindrsvprt.c: Likewise.
17886         * sunrpc/create_xid.c: Likewise.
17887         * sunrpc/key_call.c: Likewise.
17888         * sunrpc/rpc_thread.c: Likewise.
17889         * sysdeps/arm/backtrace.c: Likewise.
17890         * sysdeps/generic/ldsodefs.h: Likewise.
17891         * sysdeps/generic/stdio-lock.h: Likewise.
17892         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17893         * sysdeps/i386/backtrace.c: Likewise.
17894         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17895         * sysdeps/m68k/backtrace.c: Likewise.
17896         * sysdeps/mach/hurd/cthreads.c: Likewise.
17897         * sysdeps/mach/hurd/dirstream.h: Likewise.
17898         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17899         * sysdeps/nptl/malloc-machine.h: Likewise.
17900         * sysdeps/nptl/stdio-lock.h: Likewise.
17901         * sysdeps/posix/dirstream.h: Likewise.
17902         * sysdeps/posix/getaddrinfo.c: Likewise.
17903         * sysdeps/posix/system.c: Likewise.
17904         * sysdeps/pthread/aio_suspend.c: Likewise.
17905         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17906         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17907         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17908         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17909         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17910         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17911         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17912         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17913         * sysdeps/unix/sysv/linux/system.c: Likewise.
17914         * sysdeps/x86_64/backtrace.c: Likewise.
17915         * time/alt_digit.c: Likewise.
17916         * time/era.c: Likewise.
17917         * time/tzset.c: Likewise.
17918         * wcsmbs/wcsmbsload.c: Likewise.
17919         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17920         instead of <bits/libc-lock.h> in comment.
17922 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17924         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17925         Only use .set mips2 if the current ISA is below mips2.
17926         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17927         Likewise.
17928         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17929         mips32r2 if the current ISA is below mips32r2.
17930         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17931         (TLS_IE): Updated to use the TLD_RDHWR macro.
17932         (TLS_LE): Likewise.
17933         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17934         __ASSEMBLER__ condition.
17936 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17938         Fix parallel build of before-compile targets.
17940         * sysdeps/mach/Makefile ($(patsubst
17941         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17942         mach-before-compile target.
17943         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17944         io fs process)): Move rule to dedicated hurd-before-compile target.
17946 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17948         Fix rules generating headers in hurd/ and mach/ when initial make call
17949         has subdir= explicitly set.
17951         * sysdeps/mach/Makefile ($(patsubst
17952         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17953         calling $(MAKE).
17954         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17955         io fs process)): Force subdir to hurd when calling $(MAKE).
17956         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17957         subdir to mach when calling $(MAKE).
17959 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17961         Check sysheaders when looking for Mach and Hurd headers
17963         * sysdeps/mach/configure.ac: Add sysheaders check.
17964         * sysdeps/mach/configure: Regenerate.
17965         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17966         * sysdeps/mach/hurd/configure: Regenerate.
17968 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17970         [BZ #18921]
17971         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17972         Fix inverted sense of test of 'o_directory_works' value.
17973         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17974         Bernhard Voelker <mail@bernhard-voelker.de>.
17976 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17978         [BZ #14912]
17979         * bits/linkmap.h: Move to ...
17980         * sysdeps/generic/linkmap.h: ...here.
17981         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17982         * sysdeps/aarch64/linkmap.h: ...here.
17983         * sysdeps/arm/bits/linkmap.h: Move to ...
17984         * sysdeps/arm/linkmap.h: ...here.
17985         * sysdeps/hppa/bits/linkmap.h: Move to ...
17986         * sysdeps/hppa/linkmap.h: ...here.
17987         * sysdeps/ia64/bits/linkmap.h: Move to ...
17988         * sysdeps/ia64/linkmap.h: ...here.
17989         * sysdeps/mips/bits/linkmap.h: Move to ...
17990         * sysdeps/mips/linkmap.h: ...here.
17991         * sysdeps/s390/bits/linkmap.h: Move to ...
17992         * sysdeps/s390/linkmap.h: ...here.
17993         * sysdeps/sh/bits/linkmap.h: Move to ...
17994         * sysdeps/sh/linkmap.h: ...here.
17995         * sysdeps/x86/bits/linkmap.h: Move to ...
17996         * sysdeps/x86/linkmap.h: ...here.
17997         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17999 2015-09-04  Andreas Schwab  <schwab@suse.de>
18001         [BZ #18635]
18002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18003         (__makecontext): Terminate FDE before return label.
18004         (__novec_makecontext): Likewise.
18006 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18008         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18009         first member of struct sv in syscall macro.
18011 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18013         [BZ #14912]
18014         * bits/stdio-lock.h: Move to ...
18015         * sysdeps/generic/stdio-lock.h: ...here.
18016         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18017         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18018         * sysdeps/nptl/stdio-lock.h: ...here.
18019         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18020         * include/libio.h: Include <stdio-lock.h> instead of
18021         <bits/stdio-lock.h>.
18022         * sysdeps/nptl/fork.c: Likewise.
18023         * sysdeps/pthread/flockfile.c: Likewise.
18024         * sysdeps/pthread/ftrylockfile.c: Likewise.
18025         * sysdeps/pthread/funlockfile.c: Likewise.
18027         [BZ #14912]
18028         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18029         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18030         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18031         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18032         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18033         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18034         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18036 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18038         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18039         (test-xfail-tst-protected1b): New variable.
18041 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18043         [BZ #14912]
18044         * bits/libc-tsd.h: Move to ...
18045         * sysdeps/generic/libc-tsd.h: ...here.
18046         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18047         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18048         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18049         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18050         * include/ctype.h: Include <libc-tsd.h> instead of
18051         <bits/libc-tsd.h>.
18052         * include/rpc/rpc.h: Likewise.
18053         * locale/localeinfo.h: Likewise.
18054         * sunrpc/rpc_thread.c: Likewise.
18055         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18056         * sysdeps/nptl/malloc-machine.h: Likewise.
18058         * Makefile (headers): Remove bits/libc-lock.h.
18059         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18061         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18062         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18063         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18064         <bits/stdio-lock.h>.
18065         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18066         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18068 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18070         [BZ #18757]
18071         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18072         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18073         BZ #18757.
18075 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18077         * malloc/mtrace.pl: Filter out NULL entries.
18079 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18081         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18082         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18083         macro.
18085         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18086         (TCP_CC_INFO): Likewise.
18087         (TCP_SAVE_SYN): Likewise.
18088         (TCP_SAVED_SYN): Likewise.
18090 2015-08-31  Brett Neumeier <brett@neumeier.us>
18092         [BZ #18870]
18093         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18095 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18097         [BZ #18873]
18098         Fix broken overflow check in posix_fallocate
18099         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18100         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18101         Fix parenthesization typo.
18103 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18105         [BZ #18887]
18106         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18107         tst-mntent-blank-passno.
18108         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18109         * misc/tst-mntent-blank-corrupt.c: New test.
18110         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18111         * misc/tst-mntent.c (do_test): ... here.
18113 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18115         [BZ #4404]
18116         * po/de.po: Fix SIGALRM typo.
18118 2015-08-28  James Perkins  <james@loowit.net>
18120         * time/tst-strptime2.c (tests): Replace short list of test
18121         strings for strptime %z specifier with code which exhaustively
18122         tests every combination of sign and 0 to 5 digits. Tests for
18123         rejection of invalid strings.
18125 2015-08-28  James Perkins  <james@loowit.net>
18127         [BZ #16141]
18128         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18129         calculation, removing incorrect decimal time rounding, so that
18130         all minute values result in a valid seconds value.
18131         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18132         offset range limits to UTC-99:59 through UTC+99:59 to parse
18133         current and historical use cases.
18134         * time/tst-strptime2.c (tests): Modify and add tests for the
18135         strptime %z input field descriptor, specifically conversion of
18136         minutes to seconds and validating an offset range of -9959 to
18137         +9959.
18139 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18140             Dmitry V. Levin  <ldv@altlinux.org>
18142         [BZ #18877]
18143         * posix/Makefile (tests): Add tst-mmap-offset.
18144         * posix/tst-mmap.c: New file.
18145         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18146         offset calculation for negative values.
18148 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18150         * sysdeps/i386/init-arch.h: New file.
18151         * sysdeps/i386/i586/init-arch.h: Likewise.
18152         * sysdeps/i386/i686/init-arch.h: Likewise.
18153         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18154         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18155         * sysdeps/x86/cpu-features.h (bit_I586): New.
18156         (bit_I686): Likewise.
18157         (bit_CX8): Likewise.
18158         (bit_CMOV): Likewise.
18159         (index_CX8): Likewise.
18160         (index_CMOV): Likewise.
18161         (index_I586): Likewise.
18162         (index_I686): Likewise.
18163         (reg_CX8): Likewise.
18164         (reg_CMOV): Likewise.
18165         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18166         available at compile-time.
18167         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18168         available at compile-time.
18169         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18170         (USE_I686): Likewise.
18172 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18174         * sysdeps/i386/bcopy.S: New file.
18175         * sysdeps/i386/bzero.S: Likewise.
18176         * sysdeps/i386/memcpy.S: Likewise.
18177         * sysdeps/i386/memmove.S: Likewise.
18178         * sysdeps/i386/mempcpy.S: Likewise.
18179         * sysdeps/i386/memset.S: Likewise.
18180         * sysdeps/i386/bzero.c: Removed.
18181         * sysdeps/i386/memset.c: Likewise.
18182         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18183         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18184         * sysdeps/i386/i586/memset_chk.S: Likewise.
18185         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18186         * sysdeps/i386/memcpy_chk.S: Here.
18187         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18188         * sysdeps/i386/memmove_chk.S: Here.
18189         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18190         * sysdeps/i386/mempcpy_chk.S: Likewise.
18191         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18192         * sysdeps/i386/memset_chk.S: Likewise.
18194 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18196         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18197         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18198         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18199         * soft-fp/fmadf4.c: Ditto.
18200         * soft-fp/fmatf4.c: Ditto.
18202 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18204         * sysdeps/i386/i586/Implies: Removed.
18205         * sysdeps/i386/i686/Implies: Likewise.
18207 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18209         * sysdeps/i386/i486/strlen.S: Moved to ...
18210         * sysdeps/i386/strlen.S: Here.
18212 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18214         * sysdeps/i386/i486/strcat.S: Moved to ...
18215         * sysdeps/i386/strcat.S: Here.
18217 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18219         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18220         * sysdeps/i386/pthread_spin_trylock.S: Here.
18221         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18222         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18224 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18226         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18227         * sysdeps/i386/string-inlines.c: Here.
18229 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18231         * sysdeps/i386/i486/htonl.S: Moved ...
18232         * sysdeps/i386/htonl.S: here.
18234 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18236         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
18237         * sysdeps/i386/bits/atomic.h: Here.
18239 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18241         * sysdeps/i386/i486/Versions: Removed.
18243 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18245         [BZ #2898]
18246         * misc/mktemp.c: Add mkdtemp to the link_warning message.
18247         Based on patch by Aurelien Jarno.
18249 2015-08-26  Stan Shebs  <stanshebs@google.com>
18251         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
18252         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18254 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18256         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
18257         * sysdeps/powerpc/dl-procinfo.c:
18258         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
18259         feature so it shows when LD_SHOW_AUXV=1.
18261 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18263         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18264         (__arch_compare_and_exchange_val_32_acq): Remove and use common
18265         definition.  ISA 2.07B no longer requires full sync.
18267 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
18269         [BZ #18863]
18270         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
18271         (si_call_addr): Define.
18272         (si_syscall): Define.
18273         (si_arch): Define.
18275 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18277         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
18278         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
18279         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
18280         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18281         (__memset_zero_constant_len_parameter): New.
18282         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
18283         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18284         (__memset_zero_constant_len_parameter): Don't define if
18285         __memset_chk or USE_AS_BZERO are defined.
18287         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
18288         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
18289         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
18291         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
18292         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
18293         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
18294         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
18295         comments.
18296         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
18297         -mno-mmx for $(all-rtld-routines).
18298         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
18299         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
18300         i386.
18302 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18304         * sysdeps/generic/unwind.h
18305         (_Unwind_Word): Use __mode__(__unwind_word__)
18306         instead of __mode__(__word__).
18307         (_Unwind_Sword): Likewise.
18309         * sysdeps/s390/s390-64/utf8-utf16-z9.c
18310         (MAX_NEEDED_INPUT): New define.
18311         (MAX_NEEDED_OUTPUT): New define.
18313         * NEWS: New item for IBM z13 string optimizations.
18315         * sysdeps/s390/multiarch/memrchr-c.c: New File.
18316         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
18317         * sysdeps/s390/multiarch/memrchr.c: Likewise.
18318         * sysdeps/s390/multiarch/Makefile
18319         (sysdep_routines): Add memrchr functions.
18320         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18321         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
18323         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
18324         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
18325         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
18326         * sysdeps/s390/multiarch/Makefile
18327         (sysdep_routines): Add wmemcmp functions.
18328         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18329         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
18330         * benchtests/bench-wmemcmp.c: New File.
18331         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
18333         * sysdeps/s390/multiarch/wmemset-c.c: New File.
18334         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
18335         * sysdeps/s390/multiarch/wmemset.c: Likewise.
18336         * sysdeps/s390/multiarch/Makefile
18337         (sysdep_routines): Add wmemset functions.
18338         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18339         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
18340         * wcsmbs/wmemset.c: Use WMEMSET if defined.
18341         * string/test-memset.c: Add wmemset support.
18342         * wcsmbs/test-wmemset.c: New File.
18343         * wcsmbs/Makefile (strop-tests): Add wmemset.
18344         * benchtests/bench-memset.c: Add wmemset support.
18345         * benchtests/bench-wmemset.c: New File.
18346         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18348         * sysdeps/s390/multiarch/memccpy-c.c: New File.
18349         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
18350         * sysdeps/s390/multiarch/memccpy.c: Likewise.
18351         * sysdeps/s390/multiarch/Makefile
18352         (sysdep_routines): Add memccpy functions.
18353         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18354         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
18355         * string/memccpy.c: Use MEMCCPY if defined.
18357         * sysdeps/s390/multiarch/memchr-vx.S: New File.
18358         * sysdeps/s390/multiarch/memchr.c: Likewise.
18359         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
18360         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
18361         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
18362         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
18363         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
18364         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
18365         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
18366         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
18367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
18368         and rawmemchr functions.
18369         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18370         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18371         and wmemchr.
18372         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
18373         * string/test-memchr.c: Add wmemchr support.
18374         * wcsmbs/test-wmemchr.c: New File.
18375         * wcsmbs/Makefile (strop-tests): Add wmemchr.
18376         * benchtests/bench-memchr.c: Add wmemchr support.
18377         * benchtests/bench-wmemchr.c: New File.
18378         * benchtests/Makefile (wcsmbs-bench): wmemchr.
18380         * sysdeps/s390/multiarch/strcspn-c.c: New File.
18381         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
18382         * sysdeps/s390/multiarch/strcspn.c: Likewise.
18383         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
18384         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
18385         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
18386         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
18387         wcscspn functions.
18388         * sysdeps/s390/multiarch/ifunc-impl-list.c
18389         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
18390         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
18391         * string/test-strcspn.c: Add wcscspn support.
18392         * wcsmbs/test-wcscspn.c: New File.
18393         * wcsmbs/Makefile (strop-tests): Add wcscspn.
18394         * benchtests/bench-strcspn.c: Add wcscspn support.
18395         * benchtests/bench-wcscspn.c: New File.
18396         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
18398         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
18399         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
18400         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
18401         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
18402         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
18403         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
18404         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
18405         wcspbrk functions.
18406         * sysdeps/s390/multiarch/ifunc-impl-list.c
18407         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
18408         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
18409         * string/test-strpbrk.c: Add wcspbrk support.
18410         * wcsmbs/test-wcspbrk.c: New File.
18411         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
18412         * benchtests/bench-strpbrk.c: Add wcspbrk support.
18413         * benchtests/bench-wcspbrk.c: New File.
18414         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18416         * sysdeps/s390/multiarch/strspn-c.c: New File.
18417         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18418         * sysdeps/s390/multiarch/strspn.c: Likewise.
18419         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18420         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18421         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18422         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18423         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18424         wcsspn functions.
18425         * sysdeps/s390/multiarch/ifunc-impl-list.c
18426         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18427         * string/test-strspn.c: Add wcsspn support.
18428         * wcsmbs/test-wcsspn.c: New File.
18429         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18430         * benchtests/bench-strspn.c: Add wcsspn support.
18431         * benchtests/bench-wcsspn.c: New File.
18432         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18434         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18435         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18436         * sysdeps/s390/multiarch/strrchr.c: Likewise.
18437         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18438         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18439         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18440         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18441         wcsrchr functions.
18442         * sysdeps/s390/multiarch/ifunc-impl-list.c
18443         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18444         * benchtests/bench-wcsrchr.c: New File.
18445         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18447         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18448         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18449         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18450         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18451         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18452         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18454         wcschrnul functions.
18455         * sysdeps/s390/multiarch/ifunc-impl-list.c
18456         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18457         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18458         * string/test-strchr.c: Add wcschrnul support.
18459         * wcsmbs/test-wcschrnul.c: New File.
18460         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18461         * benchtests/bench-strchr.c: Add wcschrnul support.
18462         * benchtests/bench-wcschrnul.c: New File.
18463         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18465         * sysdeps/s390/multiarch/strchr-c.c: New File.
18466         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18467         * sysdeps/s390/multiarch/strchr.c: Likewise.
18468         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18469         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18470         * sysdeps/s390/multiarch/wcschr.c: Likewise.
18471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18472         wcschr functions.
18473         * sysdeps/s390/multiarch/ifunc-impl-list.c
18474         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18475         * string/strchr.c (STRCHR): Define and use macro.
18476         * benchtests/bench-wcschr.c: New File.
18477         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18479         * sysdeps/s390/multiarch/strncmp-c.c: New File.
18480         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18481         * sysdeps/s390/multiarch/strncmp.c: Likewise.
18482         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18483         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18484         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18485         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18486         wcsncmp functions.
18487         * sysdeps/s390/multiarch/ifunc-impl-list.c
18488         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18489         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18490         * benchtests/bench-strncmp.c: Add wcsncmp support.
18491         * benchtests/bench-wcsncmp.c: New File.
18492         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18494         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18495         * sysdeps/s390/multiarch/strcmp.c: Likewise.
18496         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18497         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18498         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18499         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18500         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18501         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18502         wcscmp functions.
18503         * sysdeps/s390/multiarch/ifunc-impl-list.c
18504         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18505         * string/strcmp.c (STRCMP): Define and use macro.
18506         * benchtests/bench-wcscmp.c: New File.
18507         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18508         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18509         instead of _HAVE_STRING_ARCH_memchr.
18511         * sysdeps/s390/multiarch/strncat-c.c: New File.
18512         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18513         * sysdeps/s390/multiarch/strncat.c: Likewise.
18514         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18515         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18516         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18517         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
18518         wcsncat functions.
18519         * sysdeps/s390/multiarch/ifunc-impl-list.c
18520         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
18521         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
18522         * string/test-strncat.c: Add wcsncat support.
18523         * wcsmbs/test-wcsncat.c: New File.
18524         * wcsmbs/Makefile (strop-tests): Add wcsncat.
18525         * benchtests/bench-strncat.c: Add wcsncat support.
18526         * benchtests/bench-wcsncat.c: New File.
18527         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
18529         * sysdeps/s390/multiarch/strcat-c.c: New File.
18530         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
18531         * sysdeps/s390/multiarch/strcat.c: Likewise.
18532         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
18533         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
18534         * sysdeps/s390/multiarch/wcscat.c: Likewise.
18535         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
18536         wcscat functions.
18537         * sysdeps/s390/multiarch/ifunc-impl-list.c
18538         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
18539         * string/strcat.c (STRCAT): Define and use macro.
18540         * wcsmbs/wcscat.c: Use WCSCAT if defined.
18541         * string/test-strcat.c: Add wcscat support.
18542         * wcsmbs/test-wcscat.c: New File.
18543         * wcsmbs/Makefile (strop-tests): Add wcscat.
18544         * benchtests/bench-strcat.c: Add wcscat support.
18545         * benchtests/bench-wcscat.c: New File.
18546         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
18548         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
18549         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
18550         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
18551         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
18552         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
18553         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
18554         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
18555         wcpncpy functions.
18556         * sysdeps/s390/multiarch/ifunc-impl-list.c
18557         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
18558         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
18559         * string/test-stpncpy.c: Add wcpncpy support.
18560         * wcsmbs/test-wcpncpy.c: New File.
18561         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
18562         * benchtests/bench-stpncpy.c: Add wcpncpy support.
18563         * benchtests/bench-wcpncpy.c: New File.
18564         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
18566         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
18567         * sysdeps/s390/multiarch/strncpy.c: Likewise.
18568         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
18569         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
18570         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
18571         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
18572         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
18573         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
18574         wcsncpy functions.
18575         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
18576         * sysdeps/s390/multiarch/ifunc-impl-list.c
18577         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
18578         * string/test-strncpy.c: Add wcsncpy support.
18579         * wcsmbs/test-wcsncpy.c: New File.
18580         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18581         * benchtests/bench-strncpy.c: Add wcsncpy support.
18582         * benchtests/bench-wcsncpy.c: New File.
18583         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
18585         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
18586         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
18587         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
18588         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
18589         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
18590         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
18591         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
18592         wcpcpy functions.
18593         * string/stpcpy.c: Use STPCPY if defined.
18594         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
18595         * sysdeps/s390/multiarch/ifunc-impl-list.c
18596         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
18597         * string/test-stpcpy.c: Add wcpcpy support.
18598         * wcsmbs/test-wcpcpy.c: New File.
18599         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
18600         * benchtests/bench-stpcpy.c: Add wcpcpy support.
18601         * benchtests/bench-wcpcpy.c: New File.
18602         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
18604         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
18605         * sysdeps/s390/multiarch/strcpy.c: Likewise.
18606         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
18607         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
18608         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
18609         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
18610         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
18611         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
18612         wcscpy functions.
18613         * sysdeps/s390/multiarch/ifunc-impl-list.c
18614         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
18615         * benchtests/bench-wcscpy.c: New File.
18616         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
18618         * sysdeps/s390/multiarch/strnlen-c.c: New File.
18619         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
18620         * sysdeps/s390/multiarch/strnlen.c: Likewise.
18621         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
18622         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
18623         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
18624         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
18625         wcsnlen functions.
18626         * sysdeps/s390/multiarch/ifunc-impl-list.c
18627         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
18628         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
18629         * string/test-strnlen.c: Add wcsnlen support.
18630         * wcsmbs/test-wcsnlen.c: New File.
18631         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
18632         * benchtests/bench-strnlen.c: Add wcsnlen support.
18633         * benchtests/bench-wcsnlen.c: New File.
18634         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
18636         * sysdeps/s390/multiarch/Makefile: New File.
18637         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
18638         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
18639         * sysdeps/s390/multiarch/strlen.c: Likewise.
18640         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
18641         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
18642         * sysdeps/s390/multiarch/wcslen.c: Likewise.
18643         * string/strlen.c (STRLEN): Define and use macro.
18644         * sysdeps/s390/multiarch/ifunc-impl-list.c
18645         (IFUNC_VX_IMPL): New macro function.
18646         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
18647         * benchtests/Makefile (wcsmbs-bench): New variable.
18648         (string-bench-all): Added wcsmbs-bench.
18649         * benchtests/bench-wcslen.c: New File.
18651         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
18652         s390_vx_libc_ifunc2): New macro function.
18654         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
18655         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
18656         assembler support.
18657         * sysdeps/s390/configure: Regenerated.
18659         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
18660         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
18662         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
18663         * sysdeps/s390/dl-procinfo.h: Add vector capability.
18664         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
18666         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
18667         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
18668         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
18669         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
18670         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
18671         (memcmp, bcmp): Use __memcmp_default as alias source.
18672         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
18673         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
18674         Rename to __memcmp_default.
18675         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
18676         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
18677         (memcpy): Use __memcpy_default as alias source.
18678         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
18679         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
18680         Rename to __memcpy_default.
18681         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
18682         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
18683         (memset): Use __memset_default as alias source.
18684         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
18685         * sysdeps/s390/s390-32/memset.S (__memset_g5):
18686         Rename to __memset_default.
18687         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
18688         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
18689         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
18690         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
18691         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
18692         (memcmp, bcmp): Use __memcmp_default as alias source.
18693         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
18694         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
18695         Rename to __memcmp_default.
18696         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
18697         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
18698         (memcpy): Use __memcpy_default as alias source.
18699         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
18700         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
18701         Rename to __memcpy_default.
18702         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
18703         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
18704         (memset): Use __memset_default as alias source.
18705         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
18706         * sysdeps/s390/s390-64/memset.S (__memset_z900):
18707         Rename to __memset_default.
18708         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
18709         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
18711         [BZ #18610]
18712         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
18713         __ieee_instruction_pointer to __unused.
18714         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
18715         __ieee_instruction_pointer.
18716         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
18717         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
18718         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18719         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18720         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
18721         Mark dxc-field as reserved.
18723 2015-08-25  Roland McGrath  <roland@hack.frob.com>
18725         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
18726         if the weak reference is not null.
18728 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18730         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
18732         [BZ #11214]
18733         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
18735 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18737         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
18738         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
18739         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
18740         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
18741         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
18742         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
18743         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
18744         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
18745         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
18746         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
18747         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
18748         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
18749         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
18750         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
18751         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
18752         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
18753         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
18754         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
18756 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18758         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
18759         register other than r0 for tabort, it has special meaning.
18760         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
18761         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
18762         transaction before starting syscall.
18764 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18766         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
18768 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18770         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
18772         * sysdeps/x86_64/rtld-memcmp.c: Removed.
18773         * sysdeps/x86_64/rtld-memset.S: Likewise.
18774         * sysdeps/x86_64/rtld-strchr.S: Likewise.
18775         * sysdeps/x86_64/rtld-strlen.S: Likewise.
18776         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
18777         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18779         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
18781 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
18783         * debug/strcpy_chk.c: Improve performance.
18784         * debug/stpcpy_chk.c: Likewise.
18785         * sysdeps/x86_64/strcpy_chk.S: Remove.
18786         * sysdeps/x86_64/stpcpy_chk.S: Remove.
18788         [BZ #18240]
18789         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
18791 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18793         [BZ #15128]
18794         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
18795         ifuncmain8.
18796         (modules-names): Add ifuncmod8.
18797         ($(objpfx)ifuncmain8): New rule.
18798         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
18799         <cpuid.h>.
18800         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
18801         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
18802         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
18803         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
18804         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
18805         * sysdeps/x86_64/dl-trampoline.h: Likewise.
18806         * sysdeps/x86_64/ifuncmain8.c: New file.
18807         * sysdeps/x86_64/ifuncmod8.c: Likewise.
18808         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
18809         Removed.
18810         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
18811         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
18812         Change rtld_savespace_sse to __glibc_unused2.
18813         (RTLD_CHECK_FOREIGN_CALL): Removed.
18814         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
18815         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
18816         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
18818 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18820         * sysdeps/aarch64/bzero.S (__bzero): Remove.
18822 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18824         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
18825         Unconditionally set __fpcr to avoid uninialized warning.
18826         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
18828 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18830         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
18831         is corrupt.
18833         * malloc/arena.c (arena_get2): Drop unused argument.
18834         (arena_lock): Adjust.
18835         (arena_get_retry): Likewise.
18837 2015-08-24  Andreas Schwab  <schwab@suse.de>
18839         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
18840         Don't define.
18841         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18842         (__ASSUME_IPC64): Don't undef.
18843         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
18844         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18845         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18846         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
18847         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
18848         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
18849         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
18850         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
18851         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
18852         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
18853         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
18854         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
18855         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
18856         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
18857         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
18858         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
18859         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
18860         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
18861         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
18862         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
18863         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
18865 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
18867         * manual/Makefile (install): Only build manual when perl is available.
18869 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18871         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
18872         '#undef memcpy' by '#undef memchr'.
18874 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18876         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
18877         memchr not point to the internal __GI_memchr implementation.
18879 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18881         * timezone/Makefile (CFLAGS-zdump.c): Remove
18882         -Wno-strict-prototypes.
18883         (CFLAGS-zic.c): Likewise.
18884         (CFLAGS-ialloc.c): Likewise.
18885         (CFLAGS-scheck.c): Likewise.
18887         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18888         -Wno-error=undef.
18890 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18892         * i386/i686/multiarch/strcasestr-c.c: Removed.
18893         * x86_64/multiarch/strcasestr.c: Likewise.
18894         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18895         Remove strcasestr.
18897 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18899         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18901         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18902         variables for high and low parts before possibly modifying them.
18904 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18906         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18907         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18908         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18909         of "multiarch/init-arch.h".
18910         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18911         * sysdeps/x86/init-arch.h: This.
18913 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18915         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18916         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18918 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18920         [BZ #17787]
18921         * manual/macros.texi: Add twoexp macro.
18922         * manual/filesys.texi: Fix exponents.
18923         * manual/llio.texi: Likewise.
18924         * manual/stdio.texi: Likewise.
18926 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18928         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18929         incorrect use.
18931 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18933         [BZ #18370]
18934         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18935         whose real or imaginary part has small absolute value.
18936         * math/s_csqrtf.c (__csqrtf): Likewise.
18937         * math/s_csqrtl.c (__csqrtl): Likewise.
18938         * math/auto-libm-test-in: Add more tests of csqrt.
18939         * math/auto-libm-test-out: Regenerated.
18940         * sysdeps/i386/fpu/libm-test-ulps: Update.
18942 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18944         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18945         __ppc_set_ppr_very_low): New functions.
18946         * manual/platform.texi: Add documentation about
18947         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18949 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18951         * string/stpncpy.c (stpncpy): Improve performance using
18952         __strnlen/memcpy/memset.
18954 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18956         [BZ #18796]
18957         * scripts/test-installation.pl: Don't add -lmvec to build options if
18958         libmvec wasn't built.
18960 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18962         [BZ #14341]
18963         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18964         case when there is a gap between DT_REL and DT_JMPREL sections.
18965         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18966         (LDFLAGS-tst-split-dynreloc): New.
18967         (tst-split-dynreloc-ENV): Likewise.
18968         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18969         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18971 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18973         [BZ #18822]
18974         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18975         attribute_hidden.
18976         (__xstat64_conv): Likewise.
18977         (__xstat32_conv): Likewise.
18979 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18981         [BZ #18822]
18982         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18983         Don't load %ebx when calling __setcontext.  Call __setcontext
18984         with HIDDEN_JUMPTARGET.
18985         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18986         libc_hidden_def.
18988 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18990         * sysdeps/i386/i686/Makefile
18991         [$(subdir) == string] (sysdep_routines): Moved to ...
18992         * sysdeps/i386/Makefile: Here.
18993         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18994         * sysdeps/i386/cacheinfo.c: Here.
18995         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18996         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18997         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18998         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19000 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19002         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19003         __i586__ is defined.
19004         (HAS_I686): Defined to 1 if __i686__ is defined.
19006 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19008         * elf/Makefile [$(have-z-execstack) = yes]
19009         (CPPFLAGS-tst-execstack.c): New variable.
19011         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19012         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19013         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19014         UTMPX || _HAVE_UT_TV].
19015         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19016         UTMPX || _HAVE_UT_TV - 0].
19018 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19020         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19021         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19022         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19024 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19026         * sysdeps/powerpc/dl-procinfo.c:
19027         (_dl_powerpc_cap_flags): Added missing strings for some
19028         hwcap features.
19029         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19031 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19033         Port the 0x7efe...feff pattern to GCC 6.
19034         See Steve Ellcey's bug report in:
19035         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19036         * string/memrchr.c (MEMRCHR):
19037         * string/rawmemchr.c (RAWMEMCHR):
19038         * string/strchr.c (strchr):
19039         * string/strchrnul.c (STRCHRNUL):
19040         Rewrite code to avoid issues with signed shift overflow.
19042 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19044         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19045         whether cpuid is available only if HAS_CPUID is 0.
19046         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19047         (HAS_I586): Likewise.
19048         (HAS_I686): Likewise.
19050 2015-08-18  Zack Weinberg  <zackw@panix.com>
19052         * misc/Versions (libc): Add GLIBC_2.23.
19054 2015-08-18  Alan Modra  <amodra@gmail.com>
19056         [BZ #18421]
19057         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19058         .Lp__global.
19059         (_start): Load %dp via .Lp__global.
19060         [!SHARED]: Use .section .rodata.
19062 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19064         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19065         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19067 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19069         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19070         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19072 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19074         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19075         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19077 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19079         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19080         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19082 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19084         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19085         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19087 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19089         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19090         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19092 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19094         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19096 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19098         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19099         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19100         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19101         (__ASSUME_LWS_CAS): Delete.
19103 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19105         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19106         * sysdeps/hppa/configure: Regenerated.
19107         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19108         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19109         * sysdeps/hppa/nptl/tls.h: Likewise.
19111 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19113         [BZ #18823]
19114         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19115         for scaling up small arguments.
19116         * math/s_csqrtf.c (__csqrtf): Likewise.
19117         * math/s_csqrtl.c (__csqrtl): Likewise.
19118         * math/auto-libm-test-in: Add more tests of csqrt.
19119         * math/auto-libm-test-out: Regenerated.
19121 2015-08-17  Andreas Schwab  <schwab@suse.de>
19123         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19124         version set GLIBC_2.19.
19126 2015-08-16  Zack Weinberg  <zackw@panix.com>
19128         [BZ #18681]
19129         * misc/regexp.h: This interface is no longer supported.
19130         Remove all contents, leaving only an #error directive.
19131         * misc/regexp.c (loc1, loc2, locs, step, advance):
19132         Demote to compatibility symbols.
19134 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19136         [BZ #18084]
19137         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19138         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19139         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19140         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19141         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19142         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19143         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19144         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19145         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19147 2015-08-15  Zack Weinberg  <zackw@panix.com>
19149         [BZ #18795]
19150         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19151         buffer length is known to be too large, not if it's known to be
19152         small enough.
19153         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19154         overflow at runtime, involving a length parameter, twice: once
19155         with a compile-time constant length parameter, once without.
19157 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19159         [BZ #18824]
19160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19161         scaling x * y up instead of down.
19162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19164         * math/auto-libm-test-in: Add more tests of fma.
19165         * math/auto-libm-test-out: Regenerated.
19167 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19171 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19173         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19174         unnecessary movq.
19175         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19176         Likewise.
19178 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19180         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19181         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19182         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19183         and tgamma.
19184         * math/auto-libm-test-out: Regenerated.
19185         * sysdeps/i386/fpu/libm-test-ulps: Update.
19186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19188         [BZ #16520]
19189         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19190         (__tanh): Force underflow exception for arguments with small
19191         absolute value.
19192         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19193         (__tanhf): Force underflow exception for arguments with small
19194         absolute value.
19195         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19196         (__tanhl): Force underflow exception for arguments with small
19197         absolute value.
19198         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19199         (__tanhl): Force underflow exception for arguments with small
19200         absolute value.
19201         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19202         (__tanhl): Force underflow exception for arguments with small
19203         absolute value.
19204         * math/auto-libm-test-in: Add more tests of tanh.
19205         * math/auto-libm-test-out: Regenerated.
19206         * sysdeps/i386/fpu/libm-test-ulps: Update.
19208 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19210         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19211         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19213 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19215         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19216         <cpuid.h>.
19218 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19220         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19221         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19223 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19225         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19226         Remove $(objpfx)init-arch.o.
19227         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19228         init-arch.
19229         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19230         (INIT_ARCH_EXT): Defined as empty.
19231         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19232         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19233         __init_cpu_features call.  Replace HAS_XXX with
19234         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19235         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
19236         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
19237         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
19238         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
19239         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19240         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
19241         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
19242         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19243         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
19244         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
19245         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19246         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
19247         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
19248         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19249         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
19250         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
19251         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19252         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19253         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
19254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
19255         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19256         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
19257         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
19258         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19259         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
19260         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
19261         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19262         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
19263         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
19264         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
19266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
19267         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19268         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
19269         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
19271 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19273         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
19274         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19275         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19276         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19277         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
19278         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
19279         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
19280         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
19281         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
19282         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
19283         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
19284         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
19285         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19286         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19287         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19288         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19289         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19290         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19291         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19292         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19293         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19294         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19295         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19296         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19297         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19298         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19299         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19300         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19301         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19302         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19303         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19304         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19305         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19306         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19307         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19308         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19309         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19310         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19311         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19312         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19313         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19314         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19315         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19317 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19319         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
19320         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19321         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19322         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19323         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19324         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19325         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19326         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
19327         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19328         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19329         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19330         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
19331         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
19332         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
19333         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
19334         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19335         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
19336         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
19337         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
19338         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
19339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19340         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
19341         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
19342         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19343         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19344         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
19345         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
19346         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
19347         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19348         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19349         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19350         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19351         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19354         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19355         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19356         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19357         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19358         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19359         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19360         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19361         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19363 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19365         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
19366         (dl_platform_init): Call init_cpu_features.
19367         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
19368         * sysdeps/i386/i686/cacheinfo.c
19369         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
19370         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
19371         * sysdeps/i386/i686/multiarch/Versions: Removed.
19372         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
19373         Removed.
19374         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
19375         * sysdeps/unix/sysv/linux/x86/Makefile
19376         (libpthread-sysdep_routines): Remove init-arch.
19377         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
19378         <sysdeps/x86_64/dl-procinfo.c> instead of
19379         sysdeps/generic/dl-procinfo.c>.
19380         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
19381         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
19382         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
19383         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
19384         [$(subdir) == elf] (tests-static): Add
19385         tst-get-cpu-features-static.
19386         * sysdeps/x86/Versions: New file.
19387         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
19388         * sysdeps/x86/cpu-features.c: Likewise.
19389         * sysdeps/x86/cpu-features.h: Likewise.
19390         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
19391         * sysdeps/x86/libc-start.c: Likewise.
19392         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19393         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
19394         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
19395         * sysdeps/x86_64/dl-procinfo.c: Likewise.
19396         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
19397         Assume USE_MULTIARCH is defined and don't check it.
19398         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
19399         (is_amd): Likewise.
19400         (max_cpuid): Likewise.
19401         (intel_check_word): Likewise.
19402         (__cache_sysconf): Don't call __init_cpu_features.
19403         (__x86_preferred_memory_instruction): Removed.
19404         (init_cacheinfo): Don't call __init_cpu_features. Replace
19405         __cpu_features with GLRO(dl_x86_cpu_features).
19406         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
19407         (dl_platform_init): Call init_cpu_features.
19408         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
19409         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
19410         * sysdeps/x86_64/multiarch/Versions: Removed.
19411         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
19412         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19413         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19414         Removed.
19415         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19417 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19419         [BZ #18820]
19420         * libio/Makefile (test-fmemopen-mem): New test.
19421         * libio/test-fmemopen.c (do_bz18820): New test.
19422         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19423         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19425 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19427         [BZ #16734]
19428         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19429         (FREE_BUF): Delete.
19430         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19431         * libio/genops.c (_IO_setb): Use malloc and free directly.
19432         (_IO_default_doallocate, _IO_default_finish): Likewise.
19433         ( _IO_unbuffer_all): Likewise.
19434         ( libc_freeres_fn): Likewise.
19435         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19436         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19437         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19438         (_IO_wdefault_doallocate): Likewise.
19440 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19442         [BZ #18086]
19443         * sysdeps/posix/nice.c (nice): Restore old errno.
19444         * posix/tst-nice.c (do_test): Add test for BZ #18086.
19446 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
19448         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19450 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19452         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19453         __bcopy and add a weak_alias to bcopy.
19454         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19455         for static build.
19457         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19458         cleanup macro usage.
19459         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19462         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19463         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19464         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19465         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19466         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19467         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19468         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19470         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19471         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19472         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19473         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19475         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19476         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19477         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19479         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19480         libc_hidden_def.
19481         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19483         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19484         (sysdep_routines): Add strstr-ppc64.
19485         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19487 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
19489         [BZ #18778]
19490         * elf/Makefile (tests): Add Add tst-nodelete2.
19491         (modules-names): Add tst-nodelete2mod.
19492         (tst-nodelete2mod.so-no-z-defs): New.
19493         ($(objpfx)tst-nodelete2): Likewise.
19494         ($(objpfx)tst-nodelete2.out): Likewise.
19495         (LDFLAGS-tst-nodelete2): Likewise.
19496         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19497         out of loop through all loaded libraries.
19498         * elf/tst-nodelete2.c: New file.
19499         * elf/tst-nodelete2mod.c: Likewise.
19500         * elf/tst-znodelete-zlib.cc: Delete.
19502 2015-08-11  Andreas Schwab  <schwab@suse.de>
19504         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19505         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19506         (__openat64_nocancel): Likewise.
19508 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
19510         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19511         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19512         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19513         * math/auto-libm-test-out: Regenerated.
19514         * sysdeps/i386/fpu/libm-test-ulps: Update.
19515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19517 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19519         [BZ #18790]
19520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
19521         threshold for returning +/- 1.
19522         * math/auto-libm-test-in: Add more tests of tanh.
19523         * math/auto-libm-test-out: Regenerated.
19524         * sysdeps/i386/fpu/libm-test-ulps: Update.
19526 2015-08-10  Andreas Schwab  <schwab@suse.de>
19528         [BZ #18781]
19529         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
19530         MORE_OFLAGS to oflag.
19531         * io/test-lfs.c (do_test): Test openat64.
19533 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19535         [BZ #18789]
19536         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
19537         smaller threshold for returning the argument.
19538         * math/auto-libm-test-in: Add more tests of sinh.
19539         * math/auto-libm-test-out: Regenerated.
19540         * sysdeps/i386/fpu/libm-test-ulps: Update.
19542 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19544         [BZ #18674]
19545         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
19546         break.
19548 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19550         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
19551         (generated): Don't add $(addprefix z.,$(tzfiles)).
19553 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19555         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
19556         * scripts/sysd-rules.awk: Likewise.
19558 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19560         * iconvdata/tst-tables.sh: Change echo -n to printf.
19561         * nss/db-Makefile: Likewise.
19562         * posix/tst-getconf.sh: Likewise.
19563         * stdio-common/tst-unbputc.sh: Likewise.
19565 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19567         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
19568         MADV_*_PAGES defines behind this feature check.
19570 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
19572         [BZ #18480]
19573         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
19574         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
19575         Define.
19576         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
19577         LOAD_REGS_5, LOAD_REGS_6): Update.
19578         (INTERNAL_SYSCALL): Update using new LOAD defines.
19579         (INTERNAL_SYSCALL_NCS): Likewise.
19580         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
19582 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19584         [BZ #16734]
19585         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
19587 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19589         [BZ #17905]
19590         * catgets/Makefile (tst-catgets-mem): New test.
19591         * catgets/catgets.c (catopen): Don't use unbounded alloca.
19592         * catgets/open_catalog.c (__open_catalog): Likewise.
19593         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
19595 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
19597         [BZ #18787]
19598         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
19599         clobber registers.
19600         (atomic_compare_and_exchange_val_acq): Use register asms to assign
19601         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
19602         Cast return to __typeof (oldval).
19604 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
19606         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
19607         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
19608         and delete sys/syscall.h include.
19610 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
19612         [BZ #16517]
19613         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
19614         (tan): Force underflow exception for arguments with small absolute
19615         value.
19616         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
19617         (__kernel_tanf): Force underflow exception for arguments with
19618         small absolute value.
19619         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
19620         (__kernel_tanl): Force underflow exception for arguments with
19621         small absolute value.
19622         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
19623         (__kernel_tanl): Force underflow exception for arguments with
19624         small absolute value.
19625         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
19626         (__kernel_tanl): Force underflow exception for arguments with
19627         small absolute value.
19628         * math/auto-libm-test-in: Add more tests of tan.
19629         * math/auto-libm-test-out: Regenerated.
19631 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19633         Fix sysdeps/i386/fpu/s_scalbn.S build
19635         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
19637 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
19639         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19641 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19643         Fix gcrt0.o compilation
19645         When static-start-installed-name is different from
19646         start-installed-name, we must not use the shared objects.
19648         * csu/Makefile
19649         (extra-objs): Add gmon-start.o when building shared library and
19650         $(static-start-installed-name) is different from
19651         $(start-installed-name).
19652         $(objpfx)g$(static-start-installed-name): When building shared
19653         library and $(static-start-installed-name) is different from
19654         $(static-start-installed-name), revert to non-shared rule,
19655         i.e. using $(objpfx)% and gmon-start.o.
19657 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
19659         [BZ #16519]
19660         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
19661         (__ieee754_sinh): Force underflow exception for arguments with
19662         small absolute value.
19663         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
19664         (__ieee754_sinhf): Force underflow exception for arguments with
19665         small absolute value.
19666         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
19667         (__ieee754_sinhl): Force underflow exception for arguments with
19668         small absolute value.
19669         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
19670         (__ieee754_sinhl): Force underflow exception for arguments with
19671         small absolute value.
19672         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
19673         (__ieee754_sinhl): Force underflow exception for arguments with
19674         small absolute value.
19675         * math/auto-libm-test-in: Add more tests of sinh.
19676         * math/auto-libm-test-out: Regenerated.
19677         * sysdeps/i386/fpu/libm-test-ulps: Update.
19679 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19681         * libio/oldfileops.c: Include unistd.h.
19683 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
19685         * stdlib/isomac.c: Include ctype.h.
19687 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
19689         * dirent/tst-seekdir.c (main): Converted to ...
19690         (do_test): ... this.
19691         (TEST_FUNCTION): New macro.
19692         Include test-skeleton.c.
19693         * elf/tst-dlmodcount.c (main): Converted to ...
19694         (do_test): ... this.
19695         (TEST_FUNCTION): New macro.
19696         Include test-skeleton.c.
19697         * elf/tst-order-main.c (main): Converted to ...
19698         (do_test): ... this.
19699         (TEST_FUNCTION): New macro.
19700         Include test-skeleton.c.
19701         * elf/tst-pie2.c (main): Converted to ...
19702         (do_test): ... this.
19703         (TEST_FUNCTION): New macro.
19704         Include test-skeleton.c.
19705         * inet/tst-ether_aton.c (main): Converted to ...
19706         (do_test): ... this.
19707         (TEST_FUNCTION): New macro.
19708         Include test-skeleton.c.
19709         * misc/tst-mntent.c (main): Converted to ...
19710         (do_test): ... this.
19711         (TEST_FUNCTION): New macro.
19712         Include test-skeleton.c.
19713         * misc/tst-tsearch.c (main): Converted to ...
19714         (do_test): ... this.
19715         (TEST_FUNCTION): New macro.
19716         Include test-skeleton.c.
19717         * posix/tst-regexloc.c (main): Converted to ...
19718         (do_test): ... this.
19719         (TEST_FUNCTION): New macro.
19720         Include test-skeleton.c.
19721         * resolv/tst-aton.c (main): Converted to ...
19722         (do_test): ... this.
19723         (TEST_FUNCTION): New macro.
19724         Include test-skeleton.c.
19725         * stdio-common/test-fwrite.c (main): Converted to ...
19726         (do_test): ... this.
19727         (TEST_FUNCTION): New macro.
19728         Include test-skeleton.c.
19729         * stdio-common/tst-ferror.c (main): Converted to ...
19730         (do_test): ... this.
19731         (TEST_FUNCTION): New macro.
19732         Include test-skeleton.c.
19733         * stdio-common/tst-printf.c (main): Converted to ...
19734         (do_test): ... this.
19735         (TEST_FUNCTION): New macro.
19736         Include test-skeleton.c.
19737         * stdio-common/tst-printfsz.c (main): Converted to ...
19738         (do_test): ... this.
19739         (TEST_FUNCTION): New macro.
19740         Include test-skeleton.c.
19741         * stdlib/tst-strtod.c (main): Converted to ...
19742         (do_test): ... this.
19743         (TEST_FUNCTION): New macro.
19744         Include test-skeleton.c.
19745         * string/tst-strlen.c (main): Converted to ...
19746         (do_test): ... this.
19747         (TEST_FUNCTION): New macro.
19748         Include test-skeleton.c.
19749         * string/tst-svc.c (main): Converted to ...
19750         (do_test): ... this.
19751         (TEST_FUNCTION): New macro.
19752         Include test-skeleton.c.
19753         * time/tst-strptime.c (main): Converted to ...
19754         (do_test): ... this.
19755         (TEST_FUNCTION): New macro.
19756         Include test-skeleton.c.
19757         * timezone/tst-timezone.c (main): Converted to ...
19758         (do_test): ... this.
19759         (TEST_FUNCTION): New macro.
19760         Include test-skeleton.c.
19762 2015-08-05  Zack Weinberg  <zackw@panix.com>
19764         * misc/regexp.h: Update comments.
19766 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
19768         [BZ #18635]
19769         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
19770         before return label.
19772 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19774         [BZ #18661]
19775         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
19776         when calling __errno_location.
19777         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
19778         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
19780 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19782         [BZ #18661]
19783         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
19784         (__lll_timedwait_tid): Align stack to 16 bytes when calling
19785         __gettimeofday.
19787 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19789         [BZ #18661]
19790         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19791         (__start_context): Don't use pop to restore %rdi so that stack
19792         is aligned to 16 bytes when calling __setcontext.
19794 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19796         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
19797         only for libc.
19798         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19800 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19802         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
19803         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
19804         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
19806 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19808         * string/memccpy.c (memccpy):
19809         Improve performance by using memchr/memcpy/__mempcpy.
19811 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19813         * string/strncpy.c (strncpy):
19814         Improve performance by using __strnlen/memcpy.
19816 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19818         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19819         Optimize to avoid an unnecessary FPCR read.
19821 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19823         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19824         Optimize to reduce FPCR/FPSR accesses.
19826 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19828         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
19829         dead->data[category] != NULL.
19831 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
19833         [BZ #18647]
19834         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
19835         and |x| close to 1, use absolute value of x when computing log.
19836         * math/auto-libm-test-in: Add more tests of pow.
19837         * math/auto-libm-test-out: Regenerated.
19839 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19841         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
19842         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
19843         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
19845 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
19847         [BZ #18525]
19848         * locales/km_KH: Remove timezone definition.
19849         * locales/lo_LA: Likewise.
19850         * locales/my_MM: Likewise.
19851         * locales/nan_TW@latin: Likewise.
19852         * locales/th_TH: Likewise.
19853         * locales/uk_UA: Likewise.
19855 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19857         [BZ #18265]
19858         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
19859         (wcsncat): Likewise.
19860         (wcscmp): Likewise.
19861         (wcsncmp): Likewise.
19863 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19865         * test-skeleton.c (usage): New function.
19866         (main): Call usage when opt is '?'.
19868 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19870         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
19871         before first use.
19873 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19875         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
19876         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
19877         in there too.
19879 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
19881         * version.h (RELEASE): Set to "development".
19882         (VERSION): Set to "2.22.90"
19884         * version.h (RELEASE): Set to "stable".
19885         (VERSION): Set to "2.22"
19886         * include/features.h (__GLIBC_MINOR__): Set to 22.
19888 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19890         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19891         Restructure macro to avoid "value computed is not used" warning.
19892         (atomic_compare_and_exchange_val_acq): Likewise.
19894 2015-08-04  Andreas Schwab  <schwab@suse.de>
19896         [BZ #18635]
19897         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19898         ret.
19899         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19901 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19903         * po/pl.po: Updated translation.
19904         * po/uk.po: Likewise.
19905         * po/fi.po: Likewise.
19906         * po/ko.po: Likewise.
19907         * po/ru.po: Likewise.
19908         * po/vi.po: Likewise.
19910 2015-07-31  Zack Weinberg  <zackw@panix.com>
19912         [BZ #18681]
19913         * regexp.h: Add unconditional #warning stating that this header
19914         will be removed soon.  Revise banner comment to match.
19915         (compile): Consistently use ERROR instead of RETURN to report
19916         errors (partial fix for bz#18681).
19917         * regexp.c: Don't include regexp.h. Remove some unnecessary
19918         declarations.
19920 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19922         * po/libc.pot: Regenerated.
19924 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19926         [BZ #18740]
19927         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19928         float-vlen4-arch-ext-cflags): Removed.
19929         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19930         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19932 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19934         [BZ #14113]
19935         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19936         aligned to __aligned__.
19937         (pthread_cond_t, pthread_rwlock_t): Likewise.
19939 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19941         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19943 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19945         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19946         (struct sigaction): Change sa_flags from a long to an int, and add
19947         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19949 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19951         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19952         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19953         sysdeps/generic/sysdep.h include.
19954         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19955         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19956         sysdeps/hppa/sysdep.h.
19957         (ENTRY, PSEUDO): Undefine before defining.
19959 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19961         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19962         from scratch to use INTERNAL_SYSCALL.
19964 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19966         [BZ #18078]
19967         * scripts/check-localplt.awk: Support alternate relocations.
19968         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19969         sections.
19970         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19971         malloc entries with + REL R_386_GLOB_DAT.
19972         * sysdeps/x86_64/localplt.data: New file.
19974 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19976         [BZ #18731]
19977         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19978         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19979         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19981 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19983         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19985 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19987         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19988         directly in terms of __sync_fetch_and_add and delete (int) cast.
19990 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19992         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19993         the -D_ASM_IA64_CURRENT_H flag.
19995 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19997         [BZ #18641]
19998         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20000 2015-07-27  Andreas Schwab  <schwab@suse.de>
20002         * conform/conformtest.pl (checknamespace): Filter out string
20003         literals while tokenizing.
20005 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20007         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20008         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20009         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20011 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20013         * nptl/tst-join7mod.c: Add #include <string.h>.
20015 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20017         * sysdeps/nios2/libm-test-ulps: Update.
20019 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20021         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20022         Fix order of arguments to the rt_sigprocmask syscall.
20023         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20024         Likewise.
20026 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20028         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20030 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20032         [BZ #18457]
20033         * nptl/Makefile (tests): New test case tst-join7.
20034         (modules-names): New test case module tst-join7mod.
20035         * nptl/tst-join7.c: New file.
20036         * nptl/tst-join7mod.c: New file.
20037         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20038         all translation units in libc.so, libpthread.so and rtld.
20040 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20044 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20046         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20047         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20048         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20049         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20050         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20051         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20052         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20053         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20054         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20055         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20056         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20058         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20059         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20060         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20061         implementation.
20063 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20065         [BZ #17711]
20066         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20067         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20068         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20069         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20070         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20071         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20073 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20075         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20076         instead of just saying load lock in the comments.
20078 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20080         * sysdeps/unix/Subdirs: Moved ...
20081         * sysdeps/posix/Subdirs: ... here.
20082         * login/pty.h (struct termios, struct winsize): Add forward decls.
20083         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20084         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20085         * sysdeps/arm/nacl/libc.abilist: Updated.
20086         * sysdeps/nacl/libutil.abilist: New file.
20088         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20089         (SIGWINCH): New macro.
20091         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20092         * sysdeps/arm/nacl/libc.abilist: Add it.
20094 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20096         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20098 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20100         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20101         Swap __glibc_reserved0 and sa_flags order.
20103 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20105         [BZ #18657]
20106         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20107         are pending TLS destructor calls.
20108         * include/link.h (struct link_map): Add concurrency note for
20109         L_TLS_DTOR_COUNT.
20110         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20111         Don't touch the link map flag.  Atomically increment
20112         l_tls_dtor_count.
20113         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20114         Avoid taking the load lock and don't touch the link map flag.
20115         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20116         * stdlib/Makefile (tests): Use it.
20117         * stdlib/tst-tls-atexit.c (do_test): dlopen
20118         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20119         to allow tst-tls-atexit-nodelete test case to use it.
20121 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20123         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20124         to bits/types.h.
20125         (msgqnum_t): New typedef.
20126         (msglen_t): Likewise.
20127         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20128         and msg_qbytes type to msglen_t.
20130 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20132         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20133         pad0 to __glibc_reserved0.
20134         (struct stat64): Likewise.
20136 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20138         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20139         Change sa_flags from a long to an int and add __glibc_reserved0 before
20140         it for padding.
20142 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20144         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20145         anonymous by deleting "siginfo" name.
20147 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20149         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20150         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20151         rather than __nacl_irt_filename.
20152         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20154         * NEWS: New item for arm-nacl port.
20155         * sysdeps/arm/nacl/libc.abilist: New file.
20156         * sysdeps/nacl/ld.abilist: New file.
20157         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20158         * sysdeps/nacl/libanl.abilist: New file.
20159         * sysdeps/nacl/libcrypt.abilist: New file.
20160         * sysdeps/nacl/libdl.abilist: New file.
20161         * sysdeps/nacl/libm.abilist: New file.
20162         * sysdeps/nacl/libpthread.abilist: New file.
20163         * sysdeps/nacl/libresolv.abilist: New file.
20164         * sysdeps/nacl/librt.abilist: New file.
20166 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20168         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20169         __startcontext to initialize the new context.
20170         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20171         up CFI directive to forbid further backtracing.
20173 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20175         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20176         reference.
20177         * charmaps/ANSI_X3.4-1968: Likewise.
20178         * charmaps/BS_4730: Likewise.
20179         * charmaps/BS_VIEWDATA: Likewise.
20180         * charmaps/CP1250: Likewise.
20181         * charmaps/CP1251: Likewise.
20182         * charmaps/CP1252: Likewise.
20183         * charmaps/CP1253: Likewise.
20184         * charmaps/CP1254: Likewise.
20185         * charmaps/CP1255: Likewise.
20186         * charmaps/CP1256: Likewise.
20187         * charmaps/CSN_369103: Likewise.
20188         * charmaps/EBCDIC-DK-NO: Likewise.
20189         * charmaps/GB_1988-80: Likewise.
20190         * charmaps/GREEK-CCITT: Likewise.
20191         * charmaps/GREEK7: Likewise.
20192         * charmaps/INIS-8: Likewise.
20193         * charmaps/ISIRI-3342: Likewise.
20194         * charmaps/ISO_2033-1983: Likewise.
20195         * charmaps/ISO_5427-EXT: Likewise.
20196         * locales/POSIX: Likewise.
20197         * locales/ar_SA: Likewise.
20198         * locales/be_BY: Likewise.
20199         * locales/be_BY@latin: Likewise.
20200         * locales/ca_ES: Likewise.
20201         * locales/cs_CZ: Likewise.
20202         * locales/da_DK: Likewise.
20203         * locales/de_BE: Likewise.
20204         * locales/de_CH: Likewise.
20205         * locales/de_LU: Likewise.
20206         * locales/en_AU: Likewise.
20207         * locales/en_BW: Likewise.
20208         * locales/en_CA: Likewise.
20209         * locales/en_DK: Likewise.
20210         * locales/en_GB: Likewise.
20211         * locales/en_IE: Likewise.
20212         * locales/en_NZ: Likewise.
20213         * locales/en_ZA: Likewise.
20214         * locales/en_ZW: Likewise.
20215         * locales/es_AR: Likewise.
20216         * locales/es_BO: Likewise.
20217         * locales/es_CL: Likewise.
20218         * locales/es_CO: Likewise.
20219         * locales/es_DO: Likewise.
20220         * locales/es_EC: Likewise.
20221         * locales/es_ES: Likewise.
20222         * locales/es_HN: Likewise.
20223         * locales/es_MX: Likewise.
20224         * locales/es_PA: Likewise.
20225         * locales/es_PE: Likewise.
20226         * locales/es_PY: Likewise.
20227         * locales/es_SV: Likewise.
20228         * locales/es_US: Likewise.
20229         * locales/es_UY: Likewise.
20230         * locales/es_VE: Likewise.
20231         * locales/et_EE: Likewise.
20232         * locales/fa_IR: Likewise.
20233         * locales/fo_FO: Likewise.
20234         * locales/fr_CA: Likewise.
20235         * locales/fr_CH: Likewise.
20236         * locales/gv_GB: Likewise.
20237         * locales/he_IL: Likewise.
20238         * locales/hr_HR: Likewise.
20239         * locales/id_ID: Likewise.
20240         * locales/is_IS: Likewise.
20241         * locales/it_CH: Likewise.
20242         * locales/iw_IL: Likewise.
20243         * locales/kl_GL: Likewise.
20244         * locales/ko_KR: Likewise.
20245         * locales/kw_GB: Likewise.
20246         * locales/lg_UG: Likewise.
20247         * locales/lt_LT: Likewise.
20248         * locales/lv_LV: Likewise.
20249         * locales/mi_NZ: Likewise.
20250         * locales/nhn_MX: Likewise.
20251         * locales/nl_BE: Likewise.
20252         * locales/pl_PL: Likewise.
20253         * locales/sk_SK: Likewise.
20254         * locales/sl_SI: Likewise.
20255         * locales/sv_FI: Likewise.
20256         * locales/tl_PH: Likewise.
20257         * locales/tr_TR: Likewise.
20258         * locales/vi_VN: Likewise.
20260 2015-07-21  Khem Raj  <raj.khem@gmail.com>
20262         [BZ #17475]
20263         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
20264         of tu_IN and bh_IN.
20266 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
20268         [BZ #18694]
20269         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
20270         bits/wordsize.h.
20271         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
20273 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20275         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
20276         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
20277         (spawn_thread): New function.
20278         (load): Rename to reg_dtor_and_close.  Move dlopen to...
20279         (do_test): ... here.  Use IS_LOADED to test for its
20280         availability.
20282 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
20284         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20286 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
20288         [BZ #18696]
20289         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
20290         si_addr_bnd.
20291         (si_lower): New.
20292         (si_upper): Likewise.
20294 2015-07-16  David S. Miller  <davem@davemloft.net>
20296         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
20298 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20300         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20301         buffer.
20302         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
20303         fail output information.
20305 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
20308         and strstr-ppc64..
20309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20310         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
20311         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
20312         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
20313         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
20315 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20317         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20318         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20319         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20320         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20322 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20324         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20325         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
20326         rtld_hidden_proto.
20327         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
20329 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20331         * tst-nodelete-opened.c (do_test): Add comment to clarify how
20332         the test can fail.
20334         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
20336         [BZ #18676]
20337         * elf/tst-nodelete-opened.c: New test case.
20338         * elf/tst-nodelete-opened-lib.c: New test case module.
20339         * elf/Makefile (tests, modules-names): Use them.
20340         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
20341         early.
20343 2015-07-15  David S. Miller  <davem@davemloft.net>
20345         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
20346         futex-intenal.h
20347         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
20348         * sysdeps/sparc/sparc64/Makefile: Likewise.
20349         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20350         Remove space from macro define.
20351         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
20353 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
20355         [BZ #17475]
20356         * locale/iso-639.def: Update Bhili and Tulu language codes as
20357         per iso639-3.
20359 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
20361         * elf/tst-leaks1.c (main): Converted to ...
20362         (do_test): ... this.
20363         (TEST_FUNCTION): New macro.
20364         Include test-skeleton.c.
20365         * localedata/tst-langinfo.c (main): Converted to ...
20366         (do_test): ... this.
20367         (TEST_FUNCTION): New macro.
20368         Include test-skeleton.c.
20369         * math/test-fpucw.c (main): Converted to ...
20370         (do_test): ... this.
20371         (TEST_FUNCTION): New macro.
20372         Include test-skeleton.c.
20373         * math/test-tgmath.c (main): Converted to ...
20374         (do_test): ... this.
20375         (TEST_FUNCTION): New macro.
20376         Include test-skeleton.c.
20377         * math/test-tgmath2.c (main): Converted to ...
20378         (do_test): ... this.
20379         (TEST_FUNCTION): New macro.
20380         Include test-skeleton.c.
20381         * setjmp/tst-setjmp.c (main): Converted to ...
20382         (do_test): ... this.
20383         (TEST_FUNCTION): New macro.
20384         Include test-skeleton.c.
20385         * stdio-common/tst-sscanf.c (main): Converted to ...
20386         (do_test): ... this.
20387         (TEST_FUNCTION): New macro.
20388         Include test-skeleton.c.
20389         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
20390         (do_test): ... this.
20391         (TEST_FUNCTION): New macro.
20392         Include test-skeleton.c.
20394         * elf/tst-audit9.c (main): Converted to ...
20395         (do_test): ... this.
20396         (TEST_FUNCTION): New macro.
20397         Include test-skeleton.c.
20399 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
20401         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
20403 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20405         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
20406         New variable.
20408 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20410         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20412 2015-07-14  Roland McGrath  <roland@hack.frob.com>
20414         * sysdeps/generic/dl-fileid.h: New file.
20415         * sysdeps/posix/dl-fileid.h: New file.
20416         * sysdeps/nacl/dl-fileid.h: New file.
20417         * include/link.h: Include <dl-fileid.h>.
20418         (struct link_map): Replace l_dev and l_ino with l_file_id.
20419         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20420         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20421         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20423 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20425         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20427 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20429         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20430         Add iff $CXX is set.
20431         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20432         Likewise.
20433         (tst-nodelete-zmodiff): Likewise.
20434         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20436 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20438         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20440 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20442         * sysdeps/aarch64/fpu/math_private.h
20443         (define math_opt_barrier): Add AArch64 version.
20444         (math_force_eval): Likewise.
20446 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20448         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20450 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
20452         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20453         %ld with %jd and cast to intmax_t.
20454         (do_test_length_zero): Likewise.
20456 2015-07-10  Roland McGrath  <roland@hack.frob.com>
20458         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20460 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
20462         * sysdeps/tile/libm-test-ulps: Regenerated.
20464         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20465         Comment out the whole function, not just its body.
20467 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20469         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20470         locks.
20472         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20474 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20476         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20477         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20479 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20481         * sysdeps/nptl/futex-internal.h: New file.
20482         * sysdeps/nacl/futex-internal.h: New file.
20483         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20484         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20485         error checking.
20486         (setxid_unmark_thread): Likewise.
20487         (__nptl_setxid): Likewise.
20488         (__wait_lookup_done): Likewise.
20489         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20490         * nptl/nptl-init.c (sighandler_setxid): Likewise.
20491         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20492         * nptl/pthread_once.c (clear_once_control): Likewise.
20493         (__pthread_once_slow): Likewise.
20494         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20495         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20496         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20497         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20498         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20499         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20500         Likewise.
20501         (__pthread_rwlock_rdlock): Likewise.
20502         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20503         Likewise.
20504         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20505         Likewise.
20506         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20507         Likewise.
20508         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20509         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20510         Likewise.
20511         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20512         __ASSUME_PRIVATE_FUTEX check.
20513         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20514         Check that shared futexes are supported.
20515         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20516         wrappers with error checking.
20517         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
20518         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
20519         * nptl/pthread_barrierattr_setpshared.c
20520         (pthread_barrierattr_setpshared): Check that shared futexes are
20521         supported.
20522         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
20523         Likewise.
20524         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
20525         Likewise.
20526         * nptl/sem_init.c (futex_private_if_supported): Remove.
20527         (__new_sem_init): Adapt and check that shared futexes are supported.
20528         * nptl/sem_open.c (sem_open): Likewise.
20529         * nptl/sem_post.c (futex_wake): Remove.
20530         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
20531         (do_futex_wait): Use futex wrappers with error checking.
20532         * nptl/sem_wait.c: Include lowlevellock.h.
20533         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
20534         Use futex_supports_pshared.
20535         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
20536         Use futex wrappers with error checking.
20537         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
20538         Likewise.
20539         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
20540         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
20541         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
20542         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
20543         (futex_wake): Likewise.
20544         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
20545         (do_futex_wait): Use futex wrappers with error checking.
20546         (__new_sem_wait_slow): Update EINTR handling.
20547         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
20549 2015-07-09  Martin Sebor  <msebor@redhat.com>
20551         [BZ #18435]
20552         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20553         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
20554         * nptl/Makefile (test-xfail-tst-once5): Define.
20556 2015-07-09  Roland McGrath  <roland@hack.frob.com>
20558         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
20559         * elf/dl-minimal.c: For readability, reorder some definitions and
20560         introduce more page breaks.  Include <stdio.h>.
20561         (__libc_fatal): New function.
20563         * include/unistd.h: Add rtld_hidden_proto for _exit.
20564         * posix/_exit.c: Add rtld_hidden_def.
20565         * sysdeps/mach/hurd/_exit.c: Likewise.
20566         * sysdeps/nacl/_exit.c: Likewise.
20567         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20568         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
20570 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
20572         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
20573         bndmov encoding with zero displacement.
20575 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20576             H.J. Lu  <hongjiu.lu@intel.com>
20578         [BZ #18134]
20579         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20580         * sysdeps/i386/configure: Regenerated.
20581         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20582         (_dl_runtime_profile): Save and restore Intel MPX return bound
20583         registers when calling _dl_call_pltexit.  Add
20584         PRESERVE_BND_REGS_PREFIX before return.
20585         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
20586         (LRV_BND1_OFFSET): Likewise.
20587         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
20588         lrv_bnd1.
20589         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
20590         typo in bndmov encoding.
20591         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
20592         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
20593         branch instructions to preserve bounds.
20595 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
20598         [GLIBC_2.22]: Add fmemopen.
20600 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20602         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
20603         returns an error, also try to use host port from __mach_host_self for
20604         the __vm_wire call.
20605         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
20607 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20609         [BZ #18400]
20610         [BZ #18648]
20611         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
20612         Fix pr_uid and pr_gid members.
20613         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
20614         definition to elf_greg_t.
20616 2015-07-08  Roland McGrath  <roland@hack.frob.com>
20618         [BZ #18383]
20619         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
20620         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
20621         * sysdeps/arm/configure: Regenerated.
20622         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
20623         (test-xfail-tst-tlsalign-static): Variable removed.
20625         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
20626         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
20627         rather than explicit 'ln -s'.
20629         * resolv/rpc/netdb.h: New file.
20630         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
20632 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20634         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
20635         length buffers.
20636         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20637         test-skeleton.c.
20639         [BZ #6544]
20640         [BZ #11216]
20641         [BZ #12836]
20642         [BZ #13151]
20643         [BZ #13152]
20644         [BZ #14292]
20645         * include/stdio.h (fmemopen): Remove hidden prototype.
20646         (__fmemopen): Add new hidden prototype.
20647         * libio/Makefile: Add oldfmemopen object.
20648         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
20649         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
20650         compliance.
20651         * libio/oldfmemopen.c: New file: old fmemopen implementation for
20652         symbol compatibility.
20653         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
20654         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
20655         fmemopen.
20656         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
20657         on append and read mode.
20658         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
20659         fmemopen.
20660         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
20661         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
20662         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
20663         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
20664         Likewise.
20665         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
20666         [GLIBC_2.22]: Likewise.
20667         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
20668         Likewise.
20669         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
20670         Likewise.
20671         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
20672         [GLIBC_2.22]: Likewise.
20673         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
20674         [GLIBC_2.22]: Likewise.
20675         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
20676         [GLIBC_2.22]: Likewise.
20677         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
20678         [GLIBC_2.22]: Likewise.
20679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
20680         [GLIBC_2.22]: Likewise.
20681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
20682         [GLIBC_2.22]: Likewise.
20683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
20684         [GLIBC_2.22]: Likewise.
20685         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
20686         Likewise.
20687         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
20688         Likewise.
20689         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
20690         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
20691         [GLIBC_2.22]: Likewise.
20692         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
20693         [GLIBC_2.22]: Likewise.
20694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
20695         [GLIBC_2.22]: Likewise.
20696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
20697         [GLIBC_2.22]: Likewise.
20698         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
20699         Likewise.
20700         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
20701         Likewise.
20702         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
20703         Likewise.
20704         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
20705         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
20707 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20709         [BZ #18643]
20710         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
20711         IPV6_PATHMTU, and IPV6_DONTFRAG.
20713 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
20715         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
20716         and _IO_UNBUFFERED.
20717         * libio/oldfileops.c: Likewise.
20718         * libio/wfileops.c: Likewise.
20720 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20722         * nscd/selinux.c: Delete selinux/flask.h include.
20724 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20726         [BZ #18641]
20727         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
20728         (putpwent): Likewise.
20729         (getpwnam): Likewise.
20730         (getpwent_r): Likewise.
20731         (getpwuid_r): Likewise.
20732         (getpwnam_r): Likewise.
20733         (fgetpwent_r): Likewise.
20735 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20737         [BZ #18557]
20738         * inet/rcmd.c (__validuser2_sa): Check user first to
20739         short-circuit host check.
20741 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
20742             Mikhail Ilin  <m.ilin@samsung.com>
20744         [BZ #17833]
20745         * elf/Makefile (tests): Add tst-nodelete.
20746         (modules-names): Add tst-nodelete-uniquemod.
20747         (tst-nodelete-uniquemod.so-no-z-defs): New.
20748         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
20749         (tst-nodelete-zmod.so-no-z-defs): Likewise.
20750         ($(objpfx)tst-nodelete): Likewise.
20751         ($(objpfx)tst-nodelete.out): Likewise.
20752         (LDFLAGS-tst-nodelete): Likewise.
20753         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
20754         * elf/dl-close.c (_dl_close_worker): Add a parameter to
20755         implement forced object deletion.
20756         (_dl_close): Pass false to _dl_close_worker.
20757         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
20758         * elf/tst-nodelete.cc: New file.
20759         * elf/tst-nodeletelib.cc: Likewise.
20760         * elf/tst-znodeletelib.cc: Likewise.
20761         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
20763 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20765         [BZ #18508]
20766         * stdlib/Makefile ($(objpfx)tst-makecontext3):
20767         Depend on $(libdl).
20768         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
20769         is not called infinitely times.
20770         (backtrace_helper): New function.
20771         (trace_arg): New struct.
20772         (st1): Enlarge stack size.
20773         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20774         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
20775         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20776         Likewise.
20778 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20780         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20782 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20784         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
20785         Include sys/types.h instead of bits/types.h.
20786         Remove inclusion of bits/wordsize.h.
20788 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20790         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
20791         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
20792         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
20793         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
20794         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
20795         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
20797 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20799         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
20800         link-defines.sym.
20801         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
20802         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
20803         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
20804         and LR_SIZE.
20805         * sysdeps/i386/link-defines.sym: New file.
20807 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20809         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
20810         (modules-names): Add tst-auditmod3a tst-auditmod3b.
20811         ($(objpfx)tst-audit3): New rule.
20812         ($(objpfx)tst-audit3.out): Likewise.
20813         * sysdeps/i386/tst-audit3.c: New file.
20814         * sysdeps/i386/tst-audit3.h: Likewise.
20815         * sysdeps/i386/tst-auditmod3a.c: Likewise.
20816         * sysdeps/i386/tst-auditmod3b.c: Likewise.
20818 2015-07-07  Torvald Riegel  <triegel@redhat.com>
20820         [BZ #18633]
20821         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
20822         pointer in C code.
20823         (__strcat_c): Likewise.
20824         (__strcat_g): Likewise.
20826 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
20828         [BZ #18592]
20829         * misc/sbrk.c: Set errno to ENOMEM on overflow.
20831 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20833         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
20834         New function.  (__ieee754_sqrtf): New function.
20835         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
20836         New function.
20837         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
20838         New function.
20840 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20842         * sysdeps/ieee754/support.c: Remove unused file.
20844 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20846         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
20847         registers instead of d ones so the layout is kernel abi compatible.
20848         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
20849         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
20850         Likewise.
20852 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20854         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20856 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20858         [BZ #18619]
20859         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
20860         and return argument in case of subnormal argument.
20862 2015-07-01  Martin Sebor  <msebor@redhat.com>
20864         [BZ #18435]
20865         * nptl/Makefile: Add tst-once5.cc.
20866         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20867         Remove macro redefinitions.
20868         * nptl/tst-once5.cc: New test.
20870 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20872         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20874         * sysdeps/arm/libm-test-ulps: Regenerated.
20876         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20877         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20879 2015-06-30  Torvald Riegel  <triegel@redhat.com>
20881         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
20882         lll_lock_wait_private and lll_futex_wake probes.
20884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20885         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20886         Likewise.
20887         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20888         atomic_spin_nop.
20889         * sysdeps/x86_64/bits/atomic.h: Likewise.
20890         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20891         to atomic_spin_nop and move ...
20892         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20893         ... here and ...
20894         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20895         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20896         atomic_spin_nop instead of BUSY_WAIT_NOP.
20897         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20898         Likewise.
20899         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20900         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20901         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20902         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20903         instead of atomic_delay.
20905 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20907         [BZ #18613]
20908         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20909         X_ADJ not X when adjusting exponent.
20910         (__ieee754_gamma_r): Do intermediate computations in
20911         round-to-nearest then adjust overflowing and underflowing results
20912         as needed.
20913         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20914         of X_ADJ not X when adjusting exponent.
20915         (__ieee754_gammaf_r): Do intermediate computations in
20916         round-to-nearest then adjust overflowing and underflowing results
20917         as needed.
20918         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20919         log of X_ADJ not X when adjusting exponent.
20920         (__ieee754_gammal_r): Do intermediate computations in
20921         round-to-nearest then adjust overflowing and underflowing results
20922         as needed.  Use 1.0L not 1.0f as numerator of division.
20923         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20924         log of X_ADJ not X when adjusting exponent.
20925         (__ieee754_gammal_r): Do intermediate computations in
20926         round-to-nearest then adjust overflowing and underflowing results
20927         as needed.  Use 1.0L not 1.0f as numerator of division.
20928         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20929         of X_ADJ not X when adjusting exponent.
20930         (__ieee754_gammal_r): Do intermediate computations in
20931         round-to-nearest then adjust overflowing and underflowing results
20932         as needed.  Use 1.0L not 1.0f as numerator of division.
20933         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20934         to auto-libm-test-in.
20935         (tgamma_test): Use ALL_RM_TEST.
20936         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20937         tests of tgamma with spurious-overflow.
20938         * math/auto-libm-test-out: Regenerated.
20939         * math/gen-libm-have-vector-test.sh: Do not check for START.
20940         * sysdeps/i386/fpu/libm-test-ulps: Update.
20941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20943         [BZ #18612]
20944         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20945         arguments, just return 0.5 times the argument, with underflow
20946         forced as needed.
20947         * math/auto-libm-test-in: Add more tests of j1.
20948         * math/auto-libm-test-out: Regenerated.
20950         [BZ #16559]
20951         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20952         (__ieee754_j1): Force underflow exception for small results.
20953         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20954         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20955         (__ieee754_j1f): Force underflow exception for small results.
20956         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20957         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20958         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20959         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20960         (__ieee754_j1l): Force underflow exception for small results.
20961         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20962         * math/auto-libm-test-in: Add more tests of j1 and jn.
20963         * math/auto-libm-test-out: Regenerated.
20965         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20966         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20967         (PF_MPLS): Likewise.
20968         (AF_IB): Likewise.
20969         (AF_MPLS): Likewise.
20970         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20971         value and macro.
20972         (MS_RMT_MASK): Include MS_LAZYTIME.
20974 2015-06-26  Mel Gorman  <mgorman@suse.de>
20976         [BZ #18502]
20977         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20978         already minimal.
20980 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20982         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20983         (DT_MIPS_NUM): Update.
20984         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20985         DT_MIPS_RLD_MAP_REL.
20987 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20989         [BZ #16559]
20990         [BZ #18602]
20991         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20992         round-to-nearest internally then recompute results that
20993         underflowed to zero in the original rounding mode.
20994         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20995         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20996         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20997         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20998         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20999         * sysdeps/i386/fpu/libm-test-ulps: Update.
21000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21002 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21004         * NEWS: Fixed description of link with vector math library.
21006 2015-06-25  Andreas Schwab  <schwab@suse.de>
21008         [BZ #18549]
21009         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21010         * libio/test-fmemopen.c (do_test): Add test for it.
21012 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21014         [BZ #17841]
21015         * Makeconfig (no-pie-ldflag): New.
21016         (+link): Set to $(+link-pie) if default to PIE.
21017         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21018         * config.make.in (build-pie-default): New.
21019         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21020         is default.  AC_SUBST.
21021         * configure: Regenerated.
21022         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21024 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21026         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21027         to 'unsigned int'.
21029         * resolv/gai_misc.h (struct waitlist): Change type of field
21030         counterp to 'volatile unsigned int *'.
21031         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21032         FUTEXADDR and OLDVAL.
21033         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21034         Give local variable TOTAL type 'volatile unsigned int'.
21035         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21036         * resolv/gai_suspend.c (gai_suspend):
21037         Give local variable CNTR type 'unsigned int'.
21039         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21040         counterp to 'volatile unsigned int *'.
21041         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21042         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21043         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21044         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21045         Give local variable TOTAL type 'volatile unsigned int'.
21046         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21048 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21050         [BZ #18383]
21051         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21052         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21053         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21054         comment for i386/x86-64.
21055         (test-xfail-tst-tlsalign-extern-static): Removed.
21057 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21059         * math/test-double.h: New file.
21060         * math/test-float.h: Likewise.
21061         * math/test-ldouble.h: Likewise.
21062         * math/test-math-inline.h: Likewise.
21063         * math/test-math-no-inline.h: Likewise.
21064         * math/test-math-scalar.h: Likewise.
21065         * math/test-math-vector.h: Likewise.
21066         * math/test-vec-loop.h: Remove file.  Contents moved into
21067         test-math-vector.h.
21068         * math/libm-test.inc (MATHCONST): Do not document macro.
21069         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21070         and test-math-scalar.h.
21071         (FUNC): Remove macro.
21072         (FUNC_TEST): Likewise.
21073         (FLOAT): Likewise.
21074         (MATHCONST): Likewise.
21075         (PRINTF_EXPR): Likewise.
21076         (PRINTF_XEXPR): Likewise.
21077         (PRINTF_NEXPR): Likewise.
21078         (TEST_DOUBLE): Likewise.
21079         (TEST_MATHVEC): Likewise.
21080         (__NO_MATH_INLINES): Likewise.
21081         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21082         and test-math-scalar.h.
21083         (FUNC): Remove macro.
21084         (FUNC_TEST): Likewise.
21085         (FLOAT): Likewise.
21086         (MATHCONST): Likewise.
21087         (PRINTF_EXPR): Likewise.
21088         (PRINTF_XEXPR): Likewise.
21089         (PRINTF_NEXPR): Likewise.
21090         (TEST_FLOAT): Likewise.
21091         (TEST_MATHVEC): Likewise.
21092         (__NO_MATH_INLINES): Likewise.
21093         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21094         and test-math-scalar.h.
21095         (FUNC): Remove macro.
21096         (FUNC_TEST): Likewise.
21097         (FLOAT): Likewise.
21098         (MATHCONST): Likewise.
21099         (PRINTF_EXPR): Likewise.
21100         (PRINTF_XEXPR): Likewise.
21101         (PRINTF_NEXPR): Likewise.
21102         (TEST_DOUBLE): Likewise.
21103         (TEST_MATHVEC): Likewise.
21104         (TEST_INLINE): Likewise.
21105         (__NO_MATH_INLINES): Likewise.
21106         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21107         test-math-scalar.h.
21108         (FUNC): Remove macro.
21109         (FUNC_TEST): Likewise.
21110         (FLOAT): Likewise.
21111         (MATHCONST): Likewise.
21112         (PRINTF_EXPR): Likewise.
21113         (PRINTF_XEXPR): Likewise.
21114         (PRINTF_NEXPR): Likewise.
21115         (TEST_FLOAT): Likewise.
21116         (TEST_MATHVEC): Likewise.
21117         (TEST_INLINE): Likewise.
21118         (__NO_MATH_INLINES): Likewise.
21119         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21120         and test-math-scalar.h.
21121         (FUNC): Remove macro.
21122         (FUNC_TEST): Likewise.
21123         (FLOAT): Likewise.
21124         (MATHCONST): Likewise.
21125         (PRINTF_EXPR): Likewise.
21126         (PRINTF_XEXPR): Likewise.
21127         (PRINTF_NEXPR): Likewise.
21128         (TEST_LDOUBLE): Likewise.
21129         (TEST_MATHVEC): Likewise.
21130         (TEST_INLINE): Likewise.
21131         (__NO_MATH_INLINES): Likewise.
21132         * math/test-ldouble.c: Include test-ldouble.h,
21133         test-math-no-inline.h and test-math-scalar.h.
21134         (FUNC): Remove macro.
21135         (FUNC_TEST): Likewise.
21136         (FLOAT): Likewise.
21137         (MATHCONST): Likewise.
21138         (PRINTF_EXPR): Likewise.
21139         (PRINTF_XEXPR): Likewise.
21140         (PRINTF_NEXPR): Likewise.
21141         (TEST_LDOUBLE): Likewise.
21142         (TEST_MATHVEC): Likewise.
21143         (__NO_MATH_INLINES): Likewise.
21144         * math/test-double-vlen2.h: Include test-double.h,
21145         test-math-no-inline.h and test-math-vector.h.
21146         (FLOAT): Remove macro.
21147         (FUNC): Likewise.
21148         (MATHCONST): Likewise.
21149         (PRINTF_EXPR): Likewise.
21150         (PRINTF_XEXPR): Likewise.
21151         (PRINTF_NEXPR): Likewise.
21152         (TEST_DOUBLE): Likewise.
21153         (TEST_MATHVEC): Likewise.
21154         (__NO_MATH_INLINES): Likewise.
21155         (CNCT): Likewise.
21156         (CONCAT): Likewise.
21157         (WRAPPER_NAME): Likewise.
21158         (WRAPPER_DECL): Likewise.
21159         (WRAPPER_DECL_ff): Likewise.
21160         (WRAPPER_DECL_fFF): Likewise.
21161         (VECTOR_WRAPPER): Likewise.
21162         (VECTOR_WRAPPER_ff): Likewise.
21163         (VECTOR_WRAPPER_fFF): Likewise.
21164         (VEC_LEN): New macro.
21165         * math/test-double-vlen4.h: Include test-double.h,
21166         test-math-no-inline.h and test-math-vector.h.
21167         (FLOAT): Remove macro.
21168         (FUNC): Likewise.
21169         (MATHCONST): Likewise.
21170         (PRINTF_EXPR): Likewise.
21171         (PRINTF_XEXPR): Likewise.
21172         (PRINTF_NEXPR): Likewise.
21173         (TEST_DOUBLE): Likewise.
21174         (TEST_MATHVEC): Likewise.
21175         (__NO_MATH_INLINES): Likewise.
21176         (CNCT): Likewise.
21177         (CONCAT): Likewise.
21178         (WRAPPER_NAME): Likewise.
21179         (WRAPPER_DECL): Likewise.
21180         (WRAPPER_DECL_ff): Likewise.
21181         (WRAPPER_DECL_fFF): Likewise.
21182         (VECTOR_WRAPPER): Likewise.
21183         (VECTOR_WRAPPER_ff): Likewise.
21184         (VECTOR_WRAPPER_fFF): Likewise.
21185         (VEC_LEN): New macro.
21186         * math/test-double-vlen8.h: Include test-double.h,
21187         test-math-no-inline.h and test-math-vector.h.
21188         (FLOAT): Remove macro.
21189         (FUNC): Likewise.
21190         (MATHCONST): Likewise.
21191         (PRINTF_EXPR): Likewise.
21192         (PRINTF_XEXPR): Likewise.
21193         (PRINTF_NEXPR): Likewise.
21194         (TEST_DOUBLE): Likewise.
21195         (TEST_MATHVEC): Likewise.
21196         (__NO_MATH_INLINES): Likewise.
21197         (CNCT): Likewise.
21198         (CONCAT): Likewise.
21199         (WRAPPER_NAME): Likewise.
21200         (WRAPPER_DECL): Likewise.
21201         (WRAPPER_DECL_ff): Likewise.
21202         (WRAPPER_DECL_fFF): Likewise.
21203         (VECTOR_WRAPPER): Likewise.
21204         (VECTOR_WRAPPER_ff): Likewise.
21205         (VECTOR_WRAPPER_fFF): Likewise.
21206         (VEC_LEN): New macro.
21207         * math/test-float-vlen4.h: Include test-float.h,
21208         test-math-no-inline.h and test-math-vector.h.
21209         (FLOAT): Remove macro.
21210         (FUNC): Likewise.
21211         (MATHCONST): Likewise.
21212         (PRINTF_EXPR): Likewise.
21213         (PRINTF_XEXPR): Likewise.
21214         (PRINTF_NEXPR): Likewise.
21215         (TEST_FLOAT): Likewise.
21216         (TEST_MATHVEC): Likewise.
21217         (__NO_MATH_INLINES): Likewise.
21218         (CNCT): Likewise.
21219         (CONCAT): Likewise.
21220         (WRAPPER_NAME): Likewise.
21221         (WRAPPER_DECL): Likewise.
21222         (WRAPPER_DECL_ff): Likewise.
21223         (WRAPPER_DECL_fFF): Likewise.
21224         (VECTOR_WRAPPER): Likewise.
21225         (VECTOR_WRAPPER_ff): Likewise.
21226         (VECTOR_WRAPPER_fFF): Likewise.
21227         (VEC_LEN): New macro.
21228         * math/test-float-vlen8.h: Include test-float.h,
21229         test-math-no-inline.h and test-math-vector.h.
21230         (FLOAT): Remove macro.
21231         (FUNC): Likewise.
21232         (MATHCONST): Likewise.
21233         (PRINTF_EXPR): Likewise.
21234         (PRINTF_XEXPR): Likewise.
21235         (PRINTF_NEXPR): Likewise.
21236         (TEST_FLOAT): Likewise.
21237         (TEST_MATHVEC): Likewise.
21238         (__NO_MATH_INLINES): Likewise.
21239         (CNCT): Likewise.
21240         (CONCAT): Likewise.
21241         (WRAPPER_NAME): Likewise.
21242         (WRAPPER_DECL): Likewise.
21243         (WRAPPER_DECL_ff): Likewise.
21244         (WRAPPER_DECL_fFF): Likewise.
21245         (VECTOR_WRAPPER): Likewise.
21246         (VECTOR_WRAPPER_ff): Likewise.
21247         (VECTOR_WRAPPER_fFF): Likewise.
21248         (VEC_LEN): New macro.
21249         * math/test-float-vlen16.h: Include test-float.h,
21250         test-math-no-inline.h and test-math-vector.h.
21251         (FLOAT): Remove macro.
21252         (FUNC): Likewise.
21253         (MATHCONST): Likewise.
21254         (PRINTF_EXPR): Likewise.
21255         (PRINTF_XEXPR): Likewise.
21256         (PRINTF_NEXPR): Likewise.
21257         (TEST_FLOAT): Likewise.
21258         (TEST_MATHVEC): Likewise.
21259         (__NO_MATH_INLINES): Likewise.
21260         (CNCT): Likewise.
21261         (CONCAT): Likewise.
21262         (WRAPPER_NAME): Likewise.
21263         (WRAPPER_DECL): Likewise.
21264         (WRAPPER_DECL_ff): Likewise.
21265         (WRAPPER_DECL_fFF): Likewise.
21266         (VECTOR_WRAPPER): Likewise.
21267         (VECTOR_WRAPPER_ff): Likewise.
21268         (VECTOR_WRAPPER_fFF): Likewise.
21269         (VEC_LEN): New macro.
21270         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
21271         test-vec-loop.h.
21272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21273         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21274         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21275         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21276         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21277         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21278         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21280 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21282         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
21283         (__getlogin_r): ... this.
21285 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21287         [BZ #18594]
21288         * math/s_ccosh.c (__ccosh): Compare with least normal value
21289         instead of comparing class with FP_SUBNORMAL.
21290         * math/s_ccoshf.c (__ccoshf): Likewise.
21291         * math/s_ccoshl.c (__ccoshl): Likewise.
21292         * math/s_cexp.c (__cexp): Likewise.
21293         * math/s_cexpf.c (__cexpf): Likewise.
21294         * math/s_cexpl.c (__cexpl): Likewise.
21295         * math/s_csin.c (__csin): Likewise.
21296         * math/s_csinf.c (__csinf): Likewise.
21297         * math/s_csinh.c (__csinh): Likewise.
21298         * math/s_csinhf.c (__csinhf): Likewise.
21299         * math/s_csinhl.c (__csinhl): Likewise.
21300         * math/s_csinl.c (__csinl): Likewise.
21301         * math/s_ctan.c (__ctan): Likewise.
21302         * math/s_ctanf.c (__ctanf): Likewise.
21303         * math/s_ctanh.c (__ctanh): Likewise.
21304         * math/s_ctanhf.c (__ctanhf): Likewise.
21305         * math/s_ctanhl.c (__ctanhl): Likewise.
21306         * math/s_ctanl.c (__ctanl): Likewise.
21307         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
21308         csin, csinh, ctan and ctanh.
21309         * math/auto-libm-test-out: Regenerated.
21310         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
21311         * sysdeps/i386/fpu/libm-test-ulps: Update.
21312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21314 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21316         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
21317         return value is wrong, print the expected value too.
21319 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21321         [BZ #18585]
21322         * elf/readlib.c (is_gdb_python_file): New.
21323         (process_file): Don't issue errors on filenames with -gdb.py
21324         suffix.
21326 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21328         * math/auto-libm-test-in: Add more tests of csin and csinh.
21329         * math/auto-libm-test-out: Regenerated.
21330         * math/libm-test.inc (csin_test_data): Remove tests moved to
21331         auto-libm-test-in.
21332         (csinh_test_data): Likewise.
21334         [BZ #18593]
21335         * math/s_csin.c (__csin): Negate before rather than after possibly
21336         overflowing multiplication.
21337         * math/s_csinf.c (__csinf): Likewise.
21338         * math/s_csinh.c (__csinh): Likewise.
21339         * math/s_csinhf.c (__csinhf): Likewise.
21340         * math/s_csinhl.c (__csinhl): Likewise.
21341         * math/s_csinl.c (__csinl): Likewise.
21342         * math/auto-libm-test-in: Add some tests of csin and csinh.
21343         * math/auto-libm-test-out: Regenerated.
21344         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
21345         (csinh_test_data): Likewise.
21346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21348         [BZ #18586]
21349         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
21350         underflow exception for small results.
21352 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21355         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
21356         variable and included header.
21357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
21358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
21359         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
21360         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
21361         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
21362         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
21363         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
21364         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
21365         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21366         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
21367         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
21368         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
21369         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
21370         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
21371         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
21372         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
21374 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21376         [BZ #16526]
21377         [BZ #16538]
21378         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
21379         (__sin): Force underflow exception for arguments with small
21380         absolute value.
21381         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
21382         (__kernel_sinf): Force underflow exception for arguments with
21383         small absolute value.
21384         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
21385         (__kernel_sincosl): Force underflow exception for arguments with
21386         small absolute value.
21387         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
21388         (__kernel_sinl): Force underflow exception for arguments with
21389         small absolute value.
21390         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
21391         (__kernel_sincosl): Force underflow exception for arguments with
21392         small absolute value.
21393         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
21394         (__kernel_sinl): Force underflow exception for arguments with
21395         small absolute value.
21396         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
21397         (__kernel_sinl): Force underflow exception for arguments with
21398         small absolute value.
21399         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
21400         (__kernel_sinf): Force underflow exception for arguments with
21401         small absolute value.
21402         * math/auto-libm-test-in: Add more tests of sin and sincos.
21403         * math/auto-libm-test-out: Regenerated.
21405         [BZ #18245]
21406         [BZ #18583]
21407         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
21408         (__kernel_standard_l): Use feholdexcept and fesetenv around
21409         conversion to double instead of special-casing overflow and
21410         underflow.
21411         * math/libm-test.inc (fmod_test_data): Add more tests.
21412         (remainder_test_data): Likewise.
21413         (sqrt_test_data): Likewise.
21415 2015-06-23  Torvald Riegel  <triegel@redhat.com>
21417         [BZ #17403]
21418         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21419         atomic_read_barrier, atomic_write_barrier): Define.
21420         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21421         atomic_read_barrier, atomic_write_barrier): Define.
21423 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21425         * math/Makefile [$(PERL) != no]
21426         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21427         dependency on libm-test.stmp below the inclusion of Rules.
21429 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21431         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21432         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21433         and included header.
21434         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21435         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21438         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21439         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21440         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21442         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21443         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21444         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21445         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21446         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21447         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21448         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21449         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21450         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21451         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21452         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21454 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21456         [BZ #18371]
21457         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21458         intermediate but not final result might underflow.
21459         * math/s_csqrtf.c (__csqrtf): Likewise.
21460         * math/s_csqrtl.c (__csqrtl): Likewise.
21461         * math/auto-libm-test-in: Add more tests of csqrt.
21462         * math/auto-libm-test-out: Regenerated.
21463         * sysdeps/i386/fpu/libm-test-ulps: Update.
21465         [BZ #18219]
21466         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21467         threshold on absolute value of exponent for which scaling is used.
21468         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21469         * math/auto-libm-test-in: Add more tests of exp2.
21470         * math/auto-libm-test-out: Regenerated.
21472 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
21474         [BZ #17977]
21475         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21476         when initializing interface list, based on the bug analysis
21477         and the patch proposed by Eric Newton.
21478         * resolv/tst-res_hconf_reorder.c: New test.
21479         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21480         tst-res_hconf_reorder.
21481         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21482         and $(shared-thread-library).
21483         (tst-res_hconf_reorder-ENV): New variable.
21485         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21486         in comment.
21488 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
21490         [BZ #16353]
21491         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21492         (__expm1): Force underflow exception for arguments with small
21493         absolute value.
21494         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21495         (__expm1f): Force underflow exception for arguments with small
21496         absolute value.
21497         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21498         (__expm1): Force underflow exception for arguments with small
21499         absolute value.
21500         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21501         (__expm1f): Force underflow exception for arguments with small
21502         absolute value.
21503         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21504         Check for small arguments before calling __expm1.
21505         * math/auto-libm-test-in: Do not mark underflow exceptions as
21506         possibly missing for bug 16353.
21507         * math/auto-libm-test-out: Regenerated.
21509 2015-06-22  Andreas Schwab  <schwab@suse.de>
21511         [BZ #18513]
21512         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21513         PTR queries.
21515 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
21517         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
21519         * string/strcoll_l.c: Remove unused struct element idxnow.
21521 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
21523         [BZ #18569]
21524         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
21525         underflow and return argument in case of subnormal argument.
21526         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21527         Likewise.
21528         * math/auto-libm-test-in: Add more tests of expm1.
21529         * math/auto-libm-test-out: Regenerated.
21531         [BZ #16361]
21532         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21533         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21534         tiny results.
21535         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21536         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21537         tiny results.
21538         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
21539         mark underflow exceptions as possibly missing for bug 16361.
21540         * math/auto-libm-test-out: Regenerated.
21542 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
21544         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
21545         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
21546         Remove variable.
21547         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21548         (test-xfail-XOPEN2K8/utmpx.h/conform).
21550         * conform/conformtest.pl ($xerrors): New variable.
21551         (note_error): New function.
21552         (compiletest): New argument $xfail.  Use not_error.
21553         (runtest): Likewise.
21554         (top level): Handle xfail- lines.  Update calls to compiletest and
21555         runtest.  Handle xfail- and optional- in headers listed with
21556         allow-header.
21557         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
21558         (O_EXEC): Likewise.
21559         (O_SEARCH): Likewise.
21560         * conform/data/stropts.h-data (ioctl): Likewise.
21561         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
21562         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
21563         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
21564         (msghdr.msg_controllen): Likewise.
21565         (cmsghdr.cmsg_len): Likewise.
21566         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
21567         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
21568         variable.
21569         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21570         (test-xfail-XPG4/stropts.h/conform): Likewise.
21571         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21572         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21573         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21574         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21575         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21576         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21577         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21578         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21579         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21580         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21581         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21582         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21583         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21584         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21585         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21586         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21587         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21588         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21589         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21591 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21593         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
21594         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
21595         definitions for proper unfolding of __MATHDECL_VEC.
21597 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21599         * benchtests/bench-strcoll.c:
21600         Include string.h.
21601         (main): Remove unused variable res.
21603 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21605         * timezone/Makefile (%/UTC %/Universal):
21606         Generate test-result files for UTC and Universal.
21608 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21610         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21612 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
21614         [BZ #16350]
21615         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
21616         for arguments with small absolute value.
21617         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
21618         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
21619         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
21620         (__asinh): Force underflow exception for arguments with small
21621         absolute value.
21622         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
21623         (__asinhf): Force underflow exception for arguments with small
21624         absolute value.
21625         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
21626         (__asinhl): Force underflow exception for arguments with small
21627         absolute value.
21628         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
21629         (__asinhl): Force underflow exception for arguments with small
21630         absolute value.
21631         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
21632         (__asinhl): Force underflow exception for arguments with small
21633         absolute value.
21634         * math/auto-libm-test-in: Do not mark underflow exceptions as
21635         possibly missing for bug 16350.
21636         * math/auto-libm-test-out: Regenerated.
21638         * include/bits/ipc.h: Remove file.
21639         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
21640         variable.
21641         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21642         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21643         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21644         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21645         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21646         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21647         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21648         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21649         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21651         * math/auto-libm-test-in: Remove spurious underflow allowance for
21652         tests of cexp.
21653         * math/auto-libm-test-out: Regenerated.
21655         [BZ #18558]
21656         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
21657         unconditional definition.
21658         (MCAST_BLOCK_SOURCE): Likewise.
21659         (MCAST_UNBLOCK_SOURCE): Likewise.
21660         (MCAST_LEAVE_GROUP): Likewise.
21661         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21662         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21663         (MCAST_MSFILTER): Likewise.
21664         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
21665         Remove variable.
21666         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21667         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21668         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21669         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21670         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21672 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
21674         * NEWS: Mention addition of x86_64 vector sincosf.
21675         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
21676         * math/test-float-vlen4.h: Likewise.
21677         * math/test-float-vlen8.h: Likewise.
21678         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21679         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
21680         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21681         * sysdeps/x86_64/fpu/Versions: New versions added.
21682         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21683         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21684         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21685         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
21686         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21687         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
21688         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21689         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
21690         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21691         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
21692         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
21693         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
21694         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
21695         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
21696         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
21697         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
21698         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
21699         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21700         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21701         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21702         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21703         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21704         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21705         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21707         * NEWS: Mention addition of x86_64 vector sincos.
21708         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
21709         * math/math.h (__MATHDECL_VEC): New macro.
21710         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
21711         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
21712         declaration under condition.
21713         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
21714         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
21715         TEST_VEC_LOOP change.
21716         * math/test-double-vlen4.h: Likewise.
21717         * math/test-double-vlen8.h: Likewise.
21718         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
21719         * math/test-float-vlen4.h: Likewise.
21720         * math/test-float-vlen8.h: Likewise.
21721         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21722         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
21723         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21724         * sysdeps/x86_64/fpu/Versions: New versions added.
21725         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21726         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21727         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21728         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
21729         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
21730         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
21731         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
21732         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
21733         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
21734         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
21735         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
21736         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
21737         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
21738         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
21739         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
21740         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
21741         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
21742         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21743         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21744         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21745         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21746         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21747         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21748         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21750         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21751         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21752         redirections for powf.
21753         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21754         * sysdeps/x86_64/fpu/Versions: New versions added.
21755         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21756         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21757         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21758         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
21759         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
21760         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
21761         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
21762         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
21763         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
21764         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
21765         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
21766         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
21767         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
21768         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
21769         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
21770         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
21771         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
21772         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21773         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21774         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21775         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21776         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21777         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21778         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21779         * math/test-float-vlen16.h: Fixed 2 argument macro.
21780         * math/test-float-vlen4.h: Likewise.
21781         * math/test-float-vlen8.h: Likewise.
21782         * NEWS: Mention addition of x86_64 vector powf.
21784 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
21786         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21787         and redefine.
21788         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21789         and redefine.
21790         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
21791         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21792         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21794         [BZ #18553]
21795         * resource/getpriority.c (getpriority): Rename to __getpriority
21796         and define as weak alias of __getpriority.
21797         * resource/setpriority.c (setpriority): Rename to __setpriority
21798         and define as weak alias of __setpriority.
21799         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
21800         __getpriority and define as weak alias of __getpriority.
21801         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
21802         __setpriority and define as weak alias of __setpriority.
21803         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
21804         strong name.
21805         (setpriority): Use __setpriority as strong name.
21806         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
21807         __getpriority and define as weak alias of __getpriority.
21808         * include/sys/resource.h (__getpriority): Declare.  Use
21809         libc_hidden_proto.
21810         (__setpriority): Likewise.
21811         (getpriority): Don't use libc_hidden_proto.
21812         (setpriority): Likewise.
21813         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
21814         getpriority.  Call __setpriority instead of setpriority.
21815         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
21816         Remove variable.
21818         [BZ #18547]
21819         * misc/getttyent.c (getttynam): Rename to __getttynam and define
21820         as weak alias of __getttynam.  Use prototype function definition.
21821         Call __setttyent, __getttyent and __endttyent instead of
21822         setttyent, getttyent and endttyent.
21823         (getttyent): Rename to __getttyent and define as weak alias of
21824         __getttyent.  Call __setttyent instead of setttyent.  Call
21825         __fgets_unlocked instead of fgets_unlocked.
21826         (setttyent): Rename to __setttyent and define as weak alias of
21827         __setttyent.
21828         (endttyent): Rename to __endttyent and define as weak alias of
21829         __endttyent.
21830         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
21831         (__setttyent): Likewise.
21832         (__endttyent): Likewise.
21833         (getttyent): Don't use libc_hidden_proto.
21834         (setttyent): Likewise.
21835         (endttyent): Likewise.
21836         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
21837         __endttyent instead of setttyent, getttyent and endttyent.
21838         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
21839         Remove variable.
21841         [BZ #18546]
21842         * socket/recv.c (__recv): Use libc_hidden_def.
21843         * socket/socket.c (__socket): Likewise.
21844         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21845         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21846         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
21847         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
21848         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
21849         libc_hidden_def.
21850         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
21851         libc_hidden_weak.
21852         * include/sys/socket.h (__socket): Do not use attribute_hidden.
21853         Use libc_hidden_proto.
21854         (__recv): Likewise.
21855         * socket/Versions (libc): Export __recv and __socket at version
21856         GLIBC_PRIVATE.
21857         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
21858         instead of recv.
21859         (init_mq_netlink): Call __socket instead of socket.
21860         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
21861         Remove variable.
21863         [BZ #18545]
21864         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
21865         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
21866         hidden_weak.
21867         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
21868         define as alias of __mq_timedsend.  Use hidden_weak.
21869         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
21870         __mq_timedsend as strong name.
21871         (mq_timedreceive): Use __mq_timedreceive as strong name.
21872         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
21873         (__mq_timedreceive): Likewise.
21874         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
21875         __mq_timedreceive instead of mq_timedreceive.
21876         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
21877         instead of mq_timedsend.
21878         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
21879         Remove variable.
21881         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
21882         hidden_def and hidden_weak instead of libc_hidden_def and
21883         libc_hidden_weak.
21884         (top level): Refer to hidden_def in comment.
21885         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21886         macro.  Use it instead of libc_hidden_def.
21887         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21888         specify __GI_* name explicitly.
21889         (mq_timedreceive): Likewise.
21890         (mq_setattr): Likewise.
21892         [BZ #18544]
21893         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21894         __pthread_barrier_init and define as weak alias of
21895         __pthread_barrier_init.
21896         * sysdeps/sparc/nptl/pthread_barrier_init.c
21897         (pthread_barrier_init): Likewise.
21898         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21899         __pthread_barrier_wait and define as weak alias of
21900         __pthread_barrier_wait.
21901         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21902         (pthread_barrier_wait): Likewise.
21903         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21904         (pthread_barrier_wait): Likewise.
21905         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21906         (pthread_barrier_wait): Likewise.
21907         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21908         (pthread_barrier_wait): Likewise.
21909         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21910         __pthread_barrier_wait at version GLIBC_PRIVATE.
21911         * include/pthread.h (__pthread_barrier_init): Declare.
21912         (__pthread_barrier_wait): Likewise.
21913         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21914         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21915         (helper_thread): Likewise.
21916         (init_mq_netlink): Call __pthread_barrier_init instead of
21917         pthread_barrier_init.
21919         [BZ #18542]
21920         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21921         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21922         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21923         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21924         vswscanf.
21925         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21926         Remove variable.
21928         [BZ #18540]
21929         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21930         strong alias of _IO_fflush.  Use libc_hidden_def.
21931         * libio/iofflush_u.c (fflush_unlocked): Rename to
21932         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21933         Use libc_hidden_weak.
21934         * include/stdio.h (__fflush_unlocked): Declare.  Use
21935         libc_hidden_proto.
21936         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21937         fflush_unlocked.
21938         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21939         Remove variable.
21941         [BZ #18539]
21942         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21943         define as weak alias of __addseverity.
21944         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21945         Remove variable.
21946         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21947         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21948         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21950         [BZ #18536]
21951         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21952         (__tfind): Likewise.
21953         (__tdelete): Likewise.
21954         (__twalk): Likewise.
21955         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21956         __twalk to GLIBC_PRIVATE.
21957         * include/search.h (__tsearch): Use libc_hidden_proto.
21958         (__tfind): Likewise.
21959         (__tdelete): Likewise.
21960         (__twalk): Likewise.
21961         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21962         Call __tdelete instead of tdelete.
21963         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21964         tfind.  Call __tsearch instead of tsearch.
21965         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21966         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21967         Remove variable.
21968         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21970         [BZ #18534]
21971         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21972         (dprintf): Define as a weak alias of __dprintf, not a strong
21973         alias.
21974         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21975         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21976         dprintf.
21977         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21978         Remove variable.
21979         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21980         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21982         [BZ #18533]
21983         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21984         not a strong alias.
21985         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21986         Remove variable.
21988         [BZ #18532]
21989         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21990         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21991         (in6addr_loopback): Rename to __in6addr_loopback and define as
21992         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21993         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21994         libc_hidden_proto.
21995         (__in6addr_any): Likewise.
21996         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21997         in6addr_any.
21998         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21999         variable.
22000         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22002 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22004         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22005         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22006         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22007         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22008         redirections for pow.
22009         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22010         * sysdeps/x86_64/fpu/Versions: New versions added.
22011         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22012         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22013         build of SSE, AVX2 and AVX512 IFUNC versions.
22014         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22015         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22016         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22017         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22018         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22019         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22020         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22021         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22022         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22023         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22024         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22025         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22026         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22027         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22028         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22029         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22030         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22031         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22032         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22033         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22034         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22035         * NEWS: Mention addition of x86_64 vector pow.
22037         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22038         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22039         redirections for expf.
22040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22041         * sysdeps/x86_64/fpu/Versions: New versions added.
22042         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22043         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22044         build of SSE, AVX2 and AVX512 IFUNC versions.
22045         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22046         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22047         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22048         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22049         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22050         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22051         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22052         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22053         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22054         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22055         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22056         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22057         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22058         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22059         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22060         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22061         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22062         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22063         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22064         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22065         * NEWS: Mention addition of x86_64 vector expf.
22067         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22068         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22069         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22070         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22071         redirections for exp.
22072         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22073         * sysdeps/x86_64/fpu/Versions: New versions added.
22074         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22075         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22076         build of SSE, AVX2 and AVX512 IFUNC versions.
22077         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22078         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22079         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22080         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22081         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22082         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22083         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22084         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22085         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22086         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22087         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22088         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22089         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22090         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22091         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22092         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22093         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22094         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22095         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22096         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22097         * NEWS: Mention addition of x86_64 vector exp.
22099         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22100         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22101         redirections for logf.
22102         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22103         * sysdeps/x86_64/fpu/Versions: New versions added.
22104         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22105         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22106         build of SSE, AVX2 and AVX512 IFUNC versions.
22107         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22108         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22109         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22110         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22111         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22112         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22113         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22114         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22115         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22116         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22117         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22118         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22119         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22120         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22121         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22122         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22123         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22124         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22125         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22126         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22127         * NEWS: Mention addition of x86_64 vector logf.
22129         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22130         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22131         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22132         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22133         redirections for log.
22134         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22135         * sysdeps/x86_64/fpu/Versions: New versions added.
22136         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22137         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22138         build of SSE, AVX2 and AVX512 IFUNC versions.
22139         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22140         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22141         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22142         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22143         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22144         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22145         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22146         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22147         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22148         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22149         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22150         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22151         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22152         test.
22153         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22154         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22155         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22156         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22157         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22158         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22159         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22160         * NEWS: Mention addition of x86_64 vector log.
22162 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22164         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22165         cfi_adjust_cfa_offset argument.
22166         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22167         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22169         [BZ #18034]
22170         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22171         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22172         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22173         ordering using ldar.
22174         (_dl_tlsdesc_dynamic): Likewise.
22175         (_dl_tlsdesc_return_lazy): Likewise.
22176         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22177         relaxed atomics instead of volatile and synchronize with release store.
22178         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22179         volatile.
22180         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22182 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22184         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22185         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22186         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22187         * sysdeps/x86_64/fpu/Versions: New versions added.
22188         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22189         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22190         build of SSE, AVX2 and AVX512 IFUNC versions.
22191         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22192         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22193         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22194         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22195         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22196         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22197         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22198         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22199         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22200         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22201         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22202         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22203         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22204         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22205         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22206         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22207         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22208         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22209         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22210         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22211         * NEWS: Mention addition of x86_64 vector sinf.
22213 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22215         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22216         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22217         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22218         Remove variable.
22219         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22220         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22222 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22224         [BZ #18530]
22225         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22226         strong alias of _IO_fputs.  Use libc_hidden_def.
22227         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22228         and define as weak alias of __fputs_unlocked.  Use
22229         libc_hidden_weak.
22230         * include/stdio.h (__fputs_unlocked): Declare.  Use
22231         libc_hidden_proto.
22232         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22233         fputs_unlocked.
22235         [BZ #18529]
22236         * resolv/netdb.h [__USE_POSIX]: Change condition to
22237         [__USE_XOPEN2K].
22238         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
22239         not expect.
22240         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
22241         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
22242         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
22243         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
22244         [XPG4 || UNIX98] (AI_ALL): Likewise.
22245         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
22246         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
22247         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
22248         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
22249         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
22250         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
22251         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
22252         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
22253         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22254         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
22255         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
22256         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
22257         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
22258         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
22259         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
22260         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22261         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22262         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
22263         [XPG4 || UNIX98] (gai_strerror): Likewise.
22264         [XPG4 || UNIX98] (getaddrinfo): Likewise.
22265         [XPG4 || UNIX98] (getnameinfo): Likewise.
22267         [BZ #18528]
22268         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
22269         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
22270         __USE_XOPEN2K8].
22271         (getgrent): Likewise.
22272         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
22273         expect.
22274         [XPG3 || POSIX2008] (endgrent): Likewise.
22275         [XPG3] (setgrent): Likewise.
22276         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
22277         variable.
22278         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22280         [BZ #18527]
22281         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
22282         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
22283         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
22284         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
22285         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22286         * include/unistd.h (__getlogin_r): Declare.  Use
22287         libc_hidden_proto.
22288         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
22289         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
22290         variable.
22291         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22292         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22293         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22295 2015-06-12  Martin Sebor  <msebor@redhat.com>
22297         [BZ #18512]
22298         * Makerules (check-install-supported): New target.
22299         (install): Add check-install-supported as a dependency.
22300         * manual/install.texi (Installing the C Library): Document
22301         that overriding prefix and exec_prefix is not supported.
22302         Mention DESTDIR.
22303         * INSTALL: Regenerate from the above.
22305 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22307         [BZ #18519]
22308         * posix/Versions (libc): Export __libc_pread at version
22309         GLIBC_PRIVATE.
22310         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
22311         instead of pread.
22312         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
22313         variable.
22315         [BZ #18522]
22316         * misc/efgcvt_r.c
22317         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
22318         (cvt_symbol): Use weak_alias instead of strong_alias.
22319         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
22320         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
22321         Remove variable.
22322         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22323         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22325         [BZ #18520]
22326         * inet/herrno.c (h_errno): Rename to __h_errno.
22327         (__libc_h_errno): Define as alias of __h_errno not h_errno.
22328         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
22329         to __h_errno instead of h_errno.
22330         * nptl/herrno.c (h_errno): Rename to __h_errno.
22331         (__h_errno_location): Refer to __h_errno not h_errno.
22332         * resolv/Versions (h_errno): Rename to __h_errno.
22333         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
22334         Remove variable.
22335         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22337 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
22339         * configure.ac: More strict check for AVX512 assembler support.
22340         * configure: Regenerated.
22342         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
22343         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
22344         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22345         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
22346         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22347         * sysdeps/x86_64/fpu/Versions: New versions added.
22348         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22349         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22350         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
22352         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
22353         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
22354         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
22355         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
22356         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
22357         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22358         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
22359         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
22360         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
22361         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
22362         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
22363         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
22364         test.
22365         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22366         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22367         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22368         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22369         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22370         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22371         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22372         * NEWS: Mention addition of x86_64 vector sin.
22374 2015-06-11  Florian Weimer  <fweimer@redhat.com>
22376         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
22377         comment.
22379 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22381         [BZ #18479]
22382         * nptl/pt-interp.c: New file.
22383         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
22384         Add pt-interp.
22385         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
22386         $(common-objpfx)runtime-linker.h.
22388 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
22390         * Makeconfig (+interp): Remove unused variable.
22391         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
22392         only.  Depend on $(common-objpfx)runtime-linker.h instead of
22393         $(elf-objpfx)runtime-linker.h.
22394         ($(elf-objpfx)runtime-linker.h): Rename to
22395         $(common-objpfx)runtime-linker.h and move ...
22396         * Makerules [$(build-shared) = yes]: ... here.
22397         * elf/interp.c: Include <runtime-linker.h> instead of
22398         <elf/runtime-linker.h>.
22400 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22402         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
22403         (__gettimeofday_syscall): Remove vsyscall fallback.
22404         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
22405         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
22406         Add syscall fallback function.
22407         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
22408         if vDSO is not present.
22409         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
22410         fallback function.
22411         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
22412         present.
22413         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22414         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22416 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
22418         [BZ #18497]
22419         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22420         of wcscmp.
22421         (wcscmp): Define as weak alias of WCSCMP.
22422         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22423         wcscoll.
22424         (USE_HIDDEN_DEF): Define.
22425         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22426         __wcscoll.  Don't use libc_hidden_weak.
22427         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22428         wcscmp.
22429         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22430         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22431         __GI_wcscmp.
22432         (weak_alias): Undefine and redefine.
22433         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22434         __wcscmp and define as weak alias of __wcscmp.
22435         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22436         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22437         (__wcscoll): Likewise.
22438         (wcscmp): Don't use libc_hidden_proto.
22439         (wcscoll): Likewise.
22440         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22441         wcscoll.
22442         * posix/regexec.c (check_node_accept_bytes): Likewise.
22443         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22444         variable.
22445         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22446         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22448         [BZ #18507]
22449         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22450         __fstatvfs and define as weak alias of __fstatvfs.  Use
22451         libc_hidden_weak.
22452         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22453         and define as weak alias of __statvfs.  Use libc_hidden_weak.
22454         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22455         Define as alias of __fstatvfs, not fstatvfs.
22456         (fstatvfs64): Likewise.
22457         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22458         Define as alias of __statvfs, not statvfs.
22459         (statvfs64): Likewise.
22460         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22461         Remove variable.
22463 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22466         (HAVE_GETCPU_VSYSCALL): Define.
22467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22468         (HAVE_GETCPU_VSYSCALL): Likewise.
22469         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22470         * sysdeps/unix/sysv/linux/sched_getcpu.c
22471         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22472         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22473         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22474         prototype.
22475         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22476         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22477         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22479         Define.
22480         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22481         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22482         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22483         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22485 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
22487         * sysdeps/x86_64/fpu/Makefile: New file.
22488         * sysdeps/x86_64/fpu/Versions: New file.
22489         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22490         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22491         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22492         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22493         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22494         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22495         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22496         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22497         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22498         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22499         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22500         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22501         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22502         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22503         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22504         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22505         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22506         * sysdeps/x86_64/configure.ac: Options for libmvec build.
22507         * sysdeps/x86_64/configure: Regenerated.
22508         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22509         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22510         * manual/install.texi (Configuring and compiling): Document
22511         --disable-mathvec.
22512         * INSTALL: Regenerated.
22513         * NEWS: Mention addition of libmvec and x86_64 vector cos.
22515         * math/Makefile: Added rules for vector tests.
22516         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22517         declaration under condition.
22518         * math/test-double-vlen2.h: New file.
22519         * math/test-double-vlen4.h: New file.
22520         * math/test-double-vlen8.h: New file.
22521         * math/test-vec-loop.h: Added initialization macro.
22522         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
22523         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
22524         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
22525         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
22526         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
22527         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
22528         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
22529         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
22530         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
22531         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
22532         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
22534         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22535         * sysdeps/x86_64/fpu/Versions: New versions added.
22536         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
22537         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
22538         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
22539         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
22540         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
22541         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
22542         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
22543         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
22544         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
22545         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
22546         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
22547         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
22548         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
22549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22550         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22551         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22552         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
22553         * NEWS: Mention addition of x86_64 vector cosf.
22555         * math/Makefile: Added CFLAGS for new tests.
22556         * math/test-float-vlen16.h: New file.
22557         * math/test-float-vlen4.h: New file.
22558         * math/test-float-vlen8.h: New file.
22559         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
22560         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
22561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22562         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
22563         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
22564         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
22565         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
22566         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
22567         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
22568         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
22569         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
22571 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
22573         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
22574         * locale/programs/ld-ctype.c: Likewise.
22576 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
22578         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
22579         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
22580         bit_ZMM16_31_state): New macro.
22581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22582         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
22584 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
22586         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
22588 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
22590         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22592 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
22594         [BZ #18498]
22595         * libio/memstream.c (open_memstream): Rename to __open_memstream
22596         and define as weak alias of __open_memstream.
22597         * include/stdio.h (__open_memstream): Declare.  Use
22598         libc_hidden_proto.
22599         (open_memstream): Don't use libc_hidden_proto.
22600         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
22601         open_memstream.
22602         * posix/getopt.c (_getopt_internal_r): Likewise.
22603         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
22604         variable.
22605         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22606         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22607         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22609         [BZ #18496]
22610         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
22611         instead of wcrtomb.
22613         [BZ #18483]
22614         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
22615         [__USE_XOPEN2K8].  Remove redundant #endif.
22616         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
22617         Remove redundant #if.
22618         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
22619         Remove variable.
22620         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22621         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22623         [BZ #18495]
22624         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
22625         (__iswlower): Likewise.
22626         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
22627         (__iswlower): Likewise.
22628         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
22629         instead of towlower.
22630         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
22631         instead of iswlower.  Call __towupper instead of towupper.
22632         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
22633         instead of iswalnum.
22635 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22637         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
22638         errors to stderr.
22640 2015-06-05  Florian Weimer  <fweimer@redhat.com>
22642         [BZ #15661]
22643         [BZ #17322]
22644         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22645         Check for overflow properly.  Check for O_APPEND.  Ignore large
22646         file system block sizes.  Add comments about problems.
22647         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
22648         * manual/filesys.texi (Storage Allocation): New node.
22650 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22652         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
22653         cancellable syscalls.
22654         (SYS_ify): Add guard to no redefine it.
22655         (INLINE_SYSCALL): Likewise.
22656         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
22657         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
22658         SYSCALL_CANCEL instead.
22659         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
22660         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22661         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22662         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22663         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22664         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
22665         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
22666         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
22667         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22668         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22669         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
22670         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
22671         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
22672         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
22673         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
22674         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22675         Likewise.
22676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22677         (__libc_pread64): Likewise.
22678         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
22679         (__libc_preadv): Likewise.
22680         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
22681         (__libc_readv64): Likewise.
22682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22683         (__libc_pwrite): Likewise.
22684         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22685         (__libc_pwrite64): Likewise.
22686         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
22687         (__libc_pwritev): Likewise.
22688         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
22689         (__libc_pwritev64): Likewise.
22690         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
22691         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22692         (sync_file_range): Likewise.
22693         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
22694         Likewise.
22695         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
22696         Likewise.
22697         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22698         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22699         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22700         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22701         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22702         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22703         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22704         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
22705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22706         Likewise.
22707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22708         (__libc_read64): Likewise.
22709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
22710         Likewise.
22711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
22712         Likewise.
22713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
22714         Likewise.
22715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
22716         Likewise.
22717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22718         (__libc_pread64): Likewise.
22719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
22720         Likewise.
22721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22722         (__libc_pwrite64): Likewise.
22723         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
22724         (sync_file_range): Likewise.
22725         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
22726         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22727         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22728         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
22729         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
22730         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22731         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22732         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
22733         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
22734         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22735         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22736         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22737         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22738         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22739         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
22740         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22741         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22742         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22743         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22744         Likewise.
22745         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
22746         Likewise.
22747         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
22748         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
22749         Likewise.
22750         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
22751         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
22752         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
22753         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
22754         Likewise.
22755         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
22756         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
22757         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
22758         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
22759         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
22761 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
22763         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
22764         Include dl-vdso.
22765         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
22766         Use VDSO routines for gettimeofday, clock_gettime if
22767         available.
22768         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
22769         Declare VDSO symbols.
22770         * sysdeps/unix/sysv/linux/arm/sysdep.h:
22771         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
22772         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22773         * sysdeps/unix/sysv/linux/arm/Versions: Add
22774         __vdso_clock_gettime.
22776 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22778         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
22779         be an inline implementation regardless of library is built within.
22780         (open_not_cancel_2): Likewise.
22781         (__read_nocancel): Likewise.
22782         (__write_nocancel): Likewise.
22783         (openat_not_cancel): Likewise.
22784         (openat_not_cancel_3): Likewise.
22785         (openat64_not_cancel): Likewise.
22786         (openat64_not_cancel_3): Likewise.
22787         (__close_nocancel): Likewise.
22788         (pause_not_cancel): Likewise.
22789         (nanosleep_not_cancel): Likewise.
22790         (sigsuspend_not_cancel): Likewise.
22792 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22794         [BZ #14958]
22795         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
22796         wake-up.
22797         (__pthread_rwlock_rdlock_slow): Likewise.
22798         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22799         Likewise.
22800         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22801         Likewise.
22802         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
22803         * nptl/tst-rwlock16.c: New file.
22804         * nptl/Makefile (tests): Add new test.
22806 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22808         [BZ #18324]
22809         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
22810         missing wake-up of readers.
22811         * nptl/tst-rwlock15.c: New file.
22812         * nptl/Makefile (tests): Add new test.
22814 2015-06-03  Roland McGrath  <roland@hack.frob.com>
22816         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
22817         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
22818         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
22819         and __nacl_supply_interface_rtld.
22820         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
22821         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
22822         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
22823         Add __nacl_supply_interface_rtld.
22824         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
22826 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22828         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
22829         isfinite.
22830         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22831         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
22833 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22835         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
22836         __signbit* with standard C99 macros.
22837         * math/e_exp10l.c: Likewise.
22838         * math/e_exp2l.c: Likewise.
22839         * math/e_scalb.c: Likewise.
22840         * math/e_scalbf.c: Likewise.
22841         * math/e_scalbl.c: Likewise.
22842         * math/s_ldexp.c: Likewise.
22843         * math/s_ldexpf.c: Likewise.
22844         * math/s_ldexpl.c: Likewise.
22845         * math/w_atan2.c: Likewise.
22846         * math/w_atan2f.c: Likewise.
22847         * math/w_atan2l.c: Likewise.
22848         * math/w_cosh.c: Likewise.
22849         * math/w_coshf.c: Likewise.
22850         * math/w_coshl.c: Likewise.
22851         * math/w_exp10.c: Likewise.
22852         * math/w_exp10f.c: Likewise.
22853         * math/w_exp10l.c: Likewise.
22854         * math/w_exp2.c: Likewise.
22855         * math/w_exp2f.c: Likewise.
22856         * math/w_exp2l.c: Likewise.
22857         * math/w_fmod.c: Likewise.
22858         * math/w_fmodf.c: Likewise.
22859         * math/w_fmodl.c: Likewise.
22860         * math/w_hypot.c: Likewise.
22861         * math/w_hypotf.c: Likewise.
22862         * math/w_hypotl.c: Likewise.
22863         * math/w_jnl.c: Likewise.
22864         * math/w_lgamma.c: Likewise.
22865         * math/w_lgamma_r.c: Likewise.
22866         * math/w_lgammaf.c: Likewise.
22867         * math/w_lgammaf_r.c: Likewise.
22868         * math/w_lgammal.c: Likewise.
22869         * math/w_lgammal_r.c: Likewise.
22870         * math/w_pow.c: Likewise.
22871         * math/w_powf.c: Likewise.
22872         * math/w_powl.c: Likewise.
22873         * math/w_remainder.c: Likewise.
22874         * math/w_remainderf.c: Likewise.
22875         * math/w_remainderl.c: Likewise.
22876         * math/w_scalb.c: Likewise.
22877         * math/w_scalbf.c: Likewise.
22878         * math/w_scalbl.c: Likewise.
22879         * math/w_scalbln.c: Likewise.
22880         * math/w_scalblnf.c: Likewise.
22881         * math/w_scalblnl.c: Likewise.
22882         * math/w_sinh.c: Likewise.
22883         * math/w_sinhf.c: Likewise.
22884         * math/w_sinhl.c: Likewise.
22885         * math/w_tgamma.c: Likewise.
22886         * math/w_tgammaf.c: Likewise.
22887         * math/w_tgammal.c: Likewise.
22888         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22889         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22890         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22891         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22892         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22893         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22894         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22895         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22896         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22897         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22898         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22899         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22900         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22901         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22902         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22903         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22904         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22905         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22906         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22907         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22908         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22909         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22910         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22912         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22913         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22914         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22915         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22916         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22917         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22918         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22919         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22920         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22921         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22922         * stdio-common/printf_fp.c: Likewise.
22923         * stdio-common/printf_fphex.c: Likewise.
22924         * stdio-common/printf_size.c: Likewise.
22926 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22928         [BZ #18470]
22929         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22930         strnlen.
22931         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22932         Remove variable.
22933         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22934         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22935         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22936         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22937         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22938         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22939         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22940         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22941         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22942         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22944         [BZ #18468]
22945         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22946         weak alias of __wmemchr.  Use libc_hidden_weak.
22947         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22948         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22949         instead of wmemchr.
22951 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22953         [BZ #18383]
22954         * elf/tst-tlsalign-extern.c: New file.
22955         * elf/tst-tlsalign-extern-static.c: New file.
22956         * elf/tst-tlsalign-vars.c: New file.
22957         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22958         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22959         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22960         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22961         (test-xfail-tst-tlsalign-extern-static): New variable.
22963 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22965         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22966         Use variable name _sc_err instead of err.
22967         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22968         instead of ret.
22969         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22970         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22971         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22972         (INLINE_SYSCALL): Likewise.
22974         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22975         * include/string.h (__strnlen): Use libc_hidden_proto.
22976         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22977         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22978         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22979         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22980         (libc_hidden_def): Undefine and redefine.
22981         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22982         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22983         __GI_strnlen.
22984         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22985         libc_hidden_def.
22986         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22988         [BZ #18469]
22989         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22990         weak alias of __towlower.  Use libc_hidden_weak.
22991         (towupper): Rename to __towupper and define as weak alias of
22992         __towupper.  Use libc_hidden_weak.
22993         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22994         (__towupper): Likewise.
22995         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22996         __towlower instead of towlower.
22998 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23000         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23001         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23003 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23005         * sysdeps/aarch64/libm-test-ulps: Update.
23007 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23009         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23010         Define.
23011         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23012         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23013         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23014         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23015         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23016         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23017         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23019 2015-06-01  Martin Sebor  <msebor@redhat.com>
23021         [BZ #18116]
23022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23023         (__setcontext): Use extended four-operand version of mtsf whenever
23024         possible.
23025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23026         (__novec_swapcontext): Likewise.
23028 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23030         * benchtests/scripts/compare_bench.py: New file.
23031         * benchtests/scripts/import_bench.py (mean): New function.
23032         (split_list): Likewise.
23033         (do_for_all_timings): Likewise.
23034         (compress_timings): Likewise.
23036         * benchtests/scripts/import_bench.py: New file.
23037         * benchtests/scripts/validate_benchout.py: Import import_bench
23038         instead of jsonschema.
23039         (validate_bench): Remove function.
23040         (main): Use import_bench.
23042 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23044         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23045         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23047 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23051 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23053         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23054         set THREAD_SELF->tid to a magic value and futex-wake it.
23055         Pass its address to the thread_exit system call.
23056         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23057         bit is clear.
23058         * sysdeps/nacl/lowlevellock.h: New file.
23059         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23061         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23062         Add TIMEOUT to current time, don't subtract it.
23064 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23066         [BZ #2981]
23067         [BZ #18422]
23068         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23069         ($(objpfx)tst-audit2.out): Also depend on
23070         $(objpfx)tst-auditmod9b.so.
23071         * elf/tst-audit2.c: Include <dlfcn.h>.
23072         (calloc_called): New.
23073         (calloc): Allow to be called more than once.
23074         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23076 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23078         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23079         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23081 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23083         * stdlib/monetary.h: Fix comment.
23085 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23087         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23088         Avoid using variables in #defines that might cause shadowing.
23089         (INTERNAL_VSYSCALL_CALL): Likewise.
23091 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23093         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23095         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23096         * nptl/lll_timedlock_wait.c: ... to this new file.
23097         * nptl/Makefile (libpthread-routines): Add it.
23098         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23099         * nptl/lll_timedwait_tid.c: ... to this new file.
23100         * nptl/Makefile (libpthread-routines): Add it.
23101         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23102         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23103         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23104         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23105         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23106         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23107         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23108         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23109         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23110         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23112 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23114         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23115         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23116         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23118         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23119         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23120         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23121         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23122         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23123         * sysdeps/unix/sysv/linux/tile/sysdep.h
23124         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23125         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23126         using vDSO syscall macro.
23128 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23130         [BZ #17293]
23131         * uk_UA: Fix sorting order for Ukrainian locale
23133 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23135         * stdlib/monetary.h: Fix comment.
23137 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23139         [BZ #18234]
23140         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23141         st_mtim and st_ctim members.
23142         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23143         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23144         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23145         (struct stat64): Likewise.
23146         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23147         (struct stat64): Likewise.
23148         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23149         (struct stat64): Likewise.
23151 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23153         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23154         Define and include sysdep-vdso.h.
23155         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23156         Likewise.
23157         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23158         Likewise.
23159         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23160         Define with VDSO_SYMBOL and use PTR_MANGLE.
23161         (__vdso_clock_gettime): Likewise.
23162         (__vdso_clock_getres): Likewise.
23163         (_libc_vdso_platform_setup): Likewise.
23164         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23165         Likewise.
23166         (_libc_vdso_platform_setup): Likewise.
23167         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23168         Likewise.
23169         (__vdso_clock_gettime): Likewise.
23170         (__vdso_clock_getres): Likewise.
23171         (__vdso_get_tbfreq): Likewise.
23172         (__vdso_getcpu): Likewise.
23173         (__vdso_time): Likewise.
23174         (__vdso_sigtramp_rt64): Likewise.
23175         (__vdso_signtramp32): Likewise.
23176         (__vdso_sigtramp_rt32): Likewise.
23177         (_libc_vdso_platform_setup): Likewise.
23178         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23179         Likewise.
23180         (__vdso_clock_gettime): Likewise.
23181         (__vdso_clock_getres): Likewise.
23182         (_libc_vdso_platform_setup): Likewise.
23183         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23184         Likewise.
23185         (__vdso_clock_gettime): Likewise.
23186         (_libc_vdso_platform_setup): Likewise.
23187         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23188         Likewise.
23189         (__vdso_getcpu): Likewise.
23190         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23191         Use VDSO_SYMBOL macro to define.
23192         (__vdso_clock_gettime): Likewise.
23193         (__vdso_clock_getres): Likewise.
23194         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23195         Likewise.
23196         (__vdso_clock_gettime): Likewise.
23197         (__vdso_clock_getres): Likewise.
23198         (__vdso_get_tbfreq): Likewise.
23199         (__vdso_getcpu): Likewise.
23200         (__vdso_time): Likewise.
23201         (__vdso_sigtramp_rt64): Likewise.
23202         (__vdso_signtramp32): Likewise.
23203         (__vdso_sigtramp_rt32): Likewise.
23204         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23205         Likewise.
23206         (__vdso_clock_gettime): Likewise.
23207         (__vdso_clock_getres): Likewise.
23208         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23209         Likewise.
23210         (__vdso_clock_gettime): Likewise.
23211         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23212         Likewise.
23213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23214         macro.
23215         (INTERNAL_VSYSCALL): Likewise.
23216         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23217         Remove macro.
23218         (INTERNAL_VSYSCALL): Likewise.
23219         (INTERNAL_VSYSCALL_NCS): Likewise.
23220         (INTERNAL_VSYSCALL_CALL): New macro.
23221         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23222         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23223         Likewise.
23224         (INTERNAL_VSYSCALL): Likewise.
23225         (INTERNAL_VSYSCALL_NCS): Likewise.
23226         (INTERNAL_VSYSCALL_CALL): New macro.
23227         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23229         (INLINE_VSYSCALL): Remove macro.
23230         (INTERNAL_VSYSCALL): Remove macro.
23231         (INTERNAL_VSYSCALL_NCS): Remove macro.
23232         (INTERNAL_VSYSCALL_CALL): New macro.
23233         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
23234         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
23235         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23236         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
23237         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23239         (INLINE_VSYSCALL): Remove macro.
23240         (INTERNAL_VSYSCALL): Likewise.
23241         (INTERNAL_VSYSCALL_NCS): Likewise.
23242         (INTERNAL_VSYSCALL_CALL): New macro.
23243         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
23244         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
23245         PTR_DEMANGLE on vDSO pointer.
23246         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23247         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
23248         macro.
23249         (INTERNAL_SYSCALL): Likewise.
23250         (INTERNAL_VSYSCALL_NCS): Remove macro.
23251         (INTERNAL_VSYSCALL_CALL): New macro.
23252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
23253         Remove macro.
23254         (INTERNAL_VSYSCALL): Likewise.
23255         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
23256         sysdep-vdso.h instead of libc-vdso.h.
23257         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
23258         definition.
23259         (INLINE_VSYSCALL): Likewise.
23260         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
23261         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
23262         definition.
23263         (INLINE_VSYSCALL): Likewise.
23264         (INTERNAL_VSYSCALL): Likewise.
23265         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23266         * sysdeps/unix/sysv/linux/timespec_get.c
23267         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23268         (timespec_get): Use ANSI prototype.
23269         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
23270         and definition for Linux.
23272 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23274         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
23275         * include/libc-symbols.h: libmvec_hidden_* macro series added.
23277 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23279         [BZ #2981]
23280         [BZ #18410]
23281         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
23282         for missing DT_PLTRELSZ.
23284 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23286         Remove obsolete aliases that broke 'locale -a'
23287         [BZ #18412]
23288         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
23289         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
23290         breaking some applications that use 'locale -a' output.
23291         Change the encoding of this file from Latin-1 to ASCII to avoid
23292         other potential problems with people grepping this file.
23294 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23296         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
23297         -fasynchronous-unwind-tables.
23298         (CFLAGS-sendto.c): Likewise.
23299         (CFLAGS-sendmsg.c): Likewise.
23300         (CFLAGS-connect.c): Likewise.
23301         (CFLAGS-recvmsg.c): Likewise.
23302         (CFLAGS-recvfrom.c): Likewise.
23303         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
23304         (SOCKETCALL): New macro: non-cancellable socketcall.
23305         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
23306         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
23307         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
23308         * sysdeps/unix/sysv/linux/accept.c: New file.
23309         * sysdeps/unix/sysv/linux/bind.c: Likewise.
23310         * sysdeps/unix/sysv/linux/connect.c: Likewise.
23311         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
23312         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
23313         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
23314         * sysdeps/unix/sysv/linux/listen.c: Likewise.
23315         * sysdeps/unix/sysv/linux/recv.c: Likewise.
23316         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
23317         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
23318         * sysdeps/unix/sysv/linux/send.c: Likewise.
23319         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
23320         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
23321         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
23322         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
23323         * sysdeps/unix/sysv/linux/socket.c: Likewise.
23324         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
23325         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
23326         prototype.
23327         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
23328         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23329         instead of __internal_xxx function.
23330         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
23331         prototype.
23332         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
23333         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23334         instead of __internal_xxx function.
23335         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
23336         prototype.
23337         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
23338         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23339         instead of __internal_xxx function.
23340         * sysdeps/unix/sysv/linux/accept.S: Remove file.
23341         * sysdeps/unix/sysv/linux/bind.S: Likewise.
23342         * sysdeps/unix/sysv/linux/connect.S: Likewise.
23343         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
23344         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
23345         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
23346         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
23347         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
23348         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
23349         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
23350         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
23351         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23352         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
23353         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
23354         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
23355         * sysdeps/unix/sysv/linux/listen.S: Likewise.
23356         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
23357         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
23358         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
23359         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
23360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
23361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
23362         * sysdeps/unix/sysv/linux/recv.S: Likewise.
23363         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
23364         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
23365         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
23366         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23367         * sysdeps/unix/sysv/linux/send.S: Likewise.
23368         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
23369         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
23370         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
23371         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
23372         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
23373         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
23374         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
23375         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
23376         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
23377         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
23378         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
23379         socketcall is implemented in GLIBC.
23381 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23383         * soft-fp/fmadf4.c: Include <libc-internal.h>.
23384         (__fma): Ignore uninitialized warnings around packing.
23385         * soft-fp/fmasf4.c: Include <libc-internal.h>.
23386         (__fmaf): Ignore uninitialized warnings around packing.
23387         * soft-fp/fmatf4.c: Include <libc-internal.h>.
23388         (__fmal): Ignore uninitialized warnings around packing.
23390         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
23391         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23392         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
23393         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23395         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
23396         switch statement into default case.
23397         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
23399         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
23400         a conditional in forcing "inexact".
23401         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23402         Likewise.
23404 2015-05-22  Roland McGrath  <roland@hack.frob.com>
23406         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23407         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
23408         for each INTERNAL_SYSCALL use.
23410 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23412         [BZ #438]
23413         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23414         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23415         variable.
23417         [BZ #18444]
23418         * string/basename.c (basename): Rename to __basename and define as
23419         weak alias of __basename.  Use libc_hidden_weak.
23420         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23421         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23422         __basename instead of basename.
23423         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23424         Remove variable.
23425         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23427 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23429         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23430         (_IO_JUMPS_FILE_plus): New.
23431         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23432         _IO_CAST_FIELD_ACCESS.
23433         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23434         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23435         * libio/freopen.c (freopen): Likewise.
23436         * libio/freopen64.c (freopen64): Likewise.
23437         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23438         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23439         * libio/iofwide.c (_IO_fwide): Likewise.
23440         * libio/memstream.c (open_memstream): Likewise.
23441         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23442         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23443         * libio/oldiopopen.c (_IO_old_popen): Likewise.
23445 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
23447         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23448         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23449         NADJ.
23450         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23451         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23452         NADJ.
23453         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23454         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23455         NADJ.
23457         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23458         (p == 4) case.
23460         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23461         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23462         Remove variable.
23463         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23464         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23465         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23467 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23469         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23470         Adjust jump table label generation macros.
23472 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23474         * stdio-common/vfprintf.c (vfprintf): Move local variables
23475         args_malloced, specs, specs_malloced, and the code after
23476         do_positional to the printf_positional function.
23477         (printf_positional): New function.
23479 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23481         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23482         function.
23483         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23484         STEP4_TABLE, process_arg): Move macro definitions
23485         out of the vfprintf function.  (Cosmetic change only.)
23487 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
23489         * benchtests/Makefile (stdio-common-bench): Define.
23490         (benchset): Add stdio-common-bench.
23491         * sprintf-inputs: New file.
23492         * sprintf-source.c: New file.
23494 2015-05-21  Andreas Schwab  <schwab@suse.de>
23496         [BZ #13028]
23497         [BZ #17053]
23498         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23499         of struct __res_state.
23500         * resolv/res_send.c (__libc_res_nsend): Likewise.
23501         (get_nsaddr): New function.
23502         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23503         statp directly.
23505 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
23507         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23508         -D_POSIX_C_SOURCE=199506L.
23510         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23512         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23513         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23514         Do not mention otherwise.
23515         [POSIX] (_XOPEN_VERSION): Do not expect.
23516         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23517         [POSIX] (_POSIX2_C_BIND): Likewise.
23518         [POSIX] (_POSIX2_VERSION): Likewise.
23519         [POSIX] (_XOPEN_XPG2): Likewise.
23520         [POSIX] (_XOPEN_XPG3): Likewise.
23521         [POSIX] (_XOPEN_XPG4): Likewise.
23522         [POSIX] (_XOPEN_UNIX): Likewise.
23523         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
23524         [POSIX] (_POSIX_BARRIERS): Likewise.
23525         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
23526         [POSIX] (_POSIX_CPUTIME): Likewise.
23527         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
23528         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
23529         [POSIX] (_POSIX_SHELL): Likewise.
23530         [POSIX] (_POSIX_SPAWN): Likewise.
23531         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23532         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
23533         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
23534         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
23535         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
23536         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
23537         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
23538         [POSIX] (_XBS5_LP64_OFF64): Likewise.
23539         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
23540         [POSIX] (_POSIX_TIMEOUTS): Likewise.
23541         [POSIX] (_POSIX2_PBS): Likewise.
23542         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
23543         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
23544         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
23545         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
23546         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
23547         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
23548         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
23549         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
23550         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
23551         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
23552         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
23553         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
23554         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
23555         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
23556         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
23557         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
23558         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
23559         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
23560         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
23561         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
23562         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
23563         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
23564         [POSIX] (_SC_2_C_BIND): Likewise.
23565         [POSIX] (_SC_2_C_VERSION): Likewise.
23566         [POSIX] (_SC_2_PBS): Likewise.
23567         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
23568         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
23569         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
23570         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
23571         [POSIX] (_SC_2_PBS_TRACK): Likewise.
23572         [POSIX] (_SC_ATEXIT_MAX): Likewise.
23573         [POSIX] (_SC_BARRIERS): Likewise.
23574         [POSIX] (_SC_BASE): Likewise.
23575         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
23576         [POSIX] (_SC_DEVICE_IO): Likewise.
23577         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
23578         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
23579         [POSIX] (_SC_FD_MGMT): Likewise.
23580         [POSIX] (_SC_FIFO): Likewise.
23581         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
23582         [POSIX] (_SC_FILE_LOCKING): Likewise.
23583         [POSIX] (_SC_FILE_SYSTEM): Likewise.
23584         [POSIX] (_SC_IOV_MAX): Likewise.
23585         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
23586         [POSIX] (_SC_NETWORKING): Likewise.
23587         [POSIX] (_SC_PAGE_SIZE): Likewise.
23588         [POSIX] (_SC_PASS_MAX): Likewise.
23589         [POSIX] (_SC_PIPE): Likewise.
23590         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
23591         [POSIX] (_SC_REGEXP): Likewise.
23592         [POSIX] (_SC_SHELL): Likewise.
23593         [POSIX] (_SC_SIGNALS): Likewise.
23594         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
23595         [POSIX] (_SC_SPIN_LOCKS): Likewise.
23596         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
23597         [POSIX] (_SC_USER_GROUPS): Likewise.
23598         [POSIX] (_SC_USER_GROUPS_R): Likewise.
23599         [POSIX] (_SC_STREAMS): Likewise.
23600         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
23601         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
23602         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
23603         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
23604         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
23605         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
23606         [POSIX] (_PC_FILESIZEBITS): Likewise.
23607         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
23608         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
23609         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
23610         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
23611         [POSIX] (uid_t): Likewise.
23612         [POSIX] (gid_t): Likewise.
23613         [POSIX] (off_t): Likewise.
23614         [POSIX] (pid_t): Likewise.
23615         [POSIX] (cuserid): Allow.
23616         (_SC_2_CHAR_TERM): Require constant.
23617         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
23618         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
23619         variable.
23621 2015-05-20  Roland McGrath  <roland@hack.frob.com>
23623         * sysdeps/nacl/pthread-pids.h: New file.
23624         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
23625         (create_thread): Use __nacl_get_tid to initialize PD->tid.
23627         * nptl/pthread-pids.h: New file.
23628         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
23629         * nptl/nptl-init.c: Include <pthread-pids.h>.
23630         (__pthread_initialize_minimal_internal):
23631         Call __pthread_initialize_pids instead of set_tid_address syscall.
23633         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
23634         * sysdeps/posix/usleep.c: ... here.
23636 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23638         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
23639         call_pselect6 object.
23640         [$(subdir) = io]: Remove call_sync_file_range object.
23641         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
23642         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
23643         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
23644         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
23646 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
23648         * math/s_cproj.c: Add include "math_private.h".
23649         * math/s_cprojf.c: Likewise.
23650         * math/s_cprojl.c: Likewise.
23652 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
23654         [BZ #18244]
23655         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
23656         high mantissa bit when testing whether P is a NaN.
23657         * math/libm-test.inc (remainder_test_data): Add more tests.
23658         (remquo_test_data): Likewise.
23660         [BZ #18049]
23661         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
23662         below -32, return the argument, with underflow if subnormal.
23663         * math/auto-libm-test-in: Add more tests of atanh.
23664         * math/auto-libm-test-out: Regenerated.
23666 2015-05-19  Roland McGrath  <roland@hack.frob.com>
23668         [BZ #18434]
23669         * nptl/tst-sem15.c: New file.
23670         * nptl/Makefile (tests): Add it.
23671         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
23672         s/<</>>/ to fix typo in EOVERFLOW check.
23673         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
23675 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23677         * manual/strings.texi (envz_remove): Fix typo in safety
23678         annotations.
23680 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
23681             Steve Ellcey  <sellcey@imgtec.com>
23683         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
23684         in order to avoid strict alias warnings.
23685         (iruserok_af): Ditto for ra.
23687 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
23689         [BZ #17581]
23690         * malloc/hooks.c
23691         (magicbyte): Convert to a function and avoid returning 0x01.
23692         (mem2mem_check): Avoid using a length byte equal to the magic byte.
23693         (mem2chunk_check): Fix unsigned comparisons to zero.
23694         Hoist defs of sz and magic.
23696 2015-05-19  Richard Henderson  <rth@redhat.com>
23698         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
23700         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23702 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23704         [BZ #16159]
23705         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
23706         * malloc/arena.c (arena_lock): Check if arena is corrupt.
23707         (reused_arena): Find a non-corrupt arena.
23708         (heap_trim): Pass arena to unlink.
23709         * malloc/hooks.c (malloc_check_get_size): Pass arena to
23710         malloc_printerr.
23711         (top_check): Likewise.
23712         (free_check): Likewise.
23713         (realloc_check): Likewise.
23714         * malloc/malloc.c (malloc_printerr): Add arena argument.
23715         (unlink): Likewise.
23716         (munmap_chunk): Adjust.
23717         (ARENA_CORRUPTION_BIT): New macro.
23718         (arena_is_corrupt): Likewise.
23719         (set_arena_corrupt): Likewise.
23720         (sysmalloc): Use mmap if there are no usable arenas.
23721         (_int_malloc): Likewise.
23722         (__libc_malloc): Don't fail if arena_get returns NULL.
23723         (_mid_memalign): Likewise.
23724         (__libc_calloc): Likewise.
23725         (__libc_realloc): Adjust for additional argument to
23726         malloc_printerr.
23727         (_int_free): Likewise.
23728         (malloc_consolidate): Likewise.
23729         (_int_realloc): Likewise.
23730         (_int_memalign): Don't touch corrupt arenas.
23731         * malloc/tst-malloc-backtrace.c: New test case.
23733         * Makefile (summarize-tests): Fix return value on success.
23735         * manual/string.texi (Envz Functions): Add envz_remove.
23737 2015-05-18  Roland McGrath  <roland@hack.frob.com>
23739         * sysdeps/posix/opendir.c: Include <stdbool.h>.
23740         (invalid_name): New function, broken out of ...
23741         (__opendirat): ... here.  Call it.
23742         (need_isdir_precheck): New function, broken out of ...
23743         (__opendirat): ... here.  Call it.
23744         Use __fxstatat64, not __xstatat64.
23745         (opendir_oflags): New function, broken out of ...
23746         (__opendirat): ... here.  Call it.
23747         (opendir_tail): New function, broken out of ...
23748         (__opendirat): ... here.  Call it.
23749         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
23750         opendir_tail, rather than punting to __opendirat.
23751         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
23753 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23755         * .gitignore: Ignore generated *.pyc.
23757 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
23759         * include/stdio.h: Define __need_wint_t.
23760         * test-skeleton.c: Avoid `for' loop initial declaration.
23761         * nptl/tst-initializers1.c: Use test-skeleton.c.
23763 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23765         [BZ #18418]
23766         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
23768 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23770         [BZ #16352]
23771         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
23772         (__ieee754_atanh): Force underflow exception for results with
23773         small absolute value.
23774         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
23775         (__ieee754_atanhf): Force underflow exception for results with
23776         small absolute value.
23777         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
23778         (__ieee754_atanh): Force underflow exception for results with
23779         small absolute value.
23780         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
23781         (__ieee754_atanhf): Force underflow exception for results with
23782         small absolute value.
23783         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
23784         (__ieee754_atanhl): Force underflow exception for results with
23785         small absolute value.
23786         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
23787         (__ieee754_atanhl): Force underflow exception for results with
23788         small absolute value.
23789         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
23790         (__ieee754_atanhl): Force underflow exception for results with
23791         small absolute value.
23792         * math/auto-libm-test-in: Do not allow missing underflow
23793         exceptions from atanh.
23794         * math/auto-libm-test-out: Regenerated.
23796         [BZ #18221]
23797         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
23798         2**-28 as threshold for returning x or +/- 1/x.
23799         * math/auto-libm-test-in: Add more tests of tan.
23800         * math/auto-libm-test-out: Regenerated.
23802         [BZ #18220]
23803         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23804         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
23805         * math/auto-libm-test-in: Add another test of lgamma.
23806         * math/auto-libm-test-out: Regenerated.
23808 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
23810         * stdio-common/printf_fp.c (___printf_fp): Use abs.
23811         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
23812         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
23813         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
23814         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
23815         (ADD2A): Use fabs.  (SUB2A): Use fabs.
23816         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
23817         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
23818         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
23819         (log1): Use fabs.  (my_log2): Use fabs.
23820         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
23821         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
23822         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
23823         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
23824         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
23825         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
23826         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
23827         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
23828         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
23829         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
23830         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
23832 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23834         [BZ #18217]
23835         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
23836         as threshold for returning 1 - x.
23837         * math/auto-libm-test-in: Add more tests of erfc.
23838         * math/auto-libm-test-out: Regenerated.
23840 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
23842         [BZ #18196]
23843         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
23844         threshold for large arguments.
23845         * math/auto-libm-test-in: Add another test of atan.
23846         * math/auto-libm-test-out: Regenerated.
23848         [BZ #16339]
23849         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
23850         (__log1p): Force underflow exception for results with small
23851         absolute value.
23852         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
23853         (__log1pf): Force underflow exception for results with small
23854         absolute value.
23855         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
23856         (__log1p): Force underflow exception for results with small
23857         absolute value.
23858         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
23859         (__log1pf): Force underflow exception for results with small
23860         absolute value.
23861         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
23862         (__log1pl): Force underflow exception for results with small
23863         absolute value.
23864         * math/auto-libm-test-in: Do not allow missing underflow
23865         exceptions from log1p.
23866         * math/auto-libm-test-out: Regenerated.
23868 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
23869             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23871         [BZ #16704]
23872         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
23874 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
23876         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
23877         (libmvec): New variable.
23878         * configure.ac: Added option for mathvec build.
23879         * configure: Regenerated.
23880         * mathvec/Depend: New file.
23881         * mathvec/Makefile: New file.
23882         * shlib-versions: Added libmvec.
23883         * math/Makefile: Added rule for libm.so installation.
23885         * bits/math-vector.h: New file.
23886         * bits/libm-simd-decl-stubs.h: New header.
23887         * math/Makefile (headers): Added new header
23888         libm-simd-decl-stubs.h.
23889         * math/math.h (__MATHCALL_VEC): New macro.
23891         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23892         for conditions in testing functions.
23893         * math/Makefile: Added call of libm-have-vector-test.sh.
23894         * math/libm-test.inc (HAVE_VECTOR): New macros.
23896         * math/libm-test.inc: START refactored.
23897         * math/test-double.c (TEST_MATHVEC): Add define.
23898         * math/test-float.c: Likewise.
23899         * math/test-idouble.c: Likewise.
23900         * math/test-ifloat.c: Likewise.
23901         * math/test-ildoubl.c: Likewise.
23902         * math/test-ldouble.c: Likewise.
23903         * sysdeps/generic/math-tests-arch.h
23904         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23905         architecture check.
23907         * math/test-double.c (FUNC_TEST): New macro.
23908         * math/test-float.c: Likewise.
23909         * math/test-idouble.c: Likewise.
23910         * math/test-ifloat.c: Likewise.
23911         * math/test-ildoubl.c: Likewise.
23912         * math/test-ldouble.c: Likewise.
23913         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23915 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23917         * sysdeps/nacl/fdopendir.c: New file.
23919         * dirent/scandir-tail.c: New file.
23920         * dirent/scandir64-tail.c: New file.
23921         * dirent/Makefile (routines): Add them.
23922         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23923         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23924         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23925         [!SCANDIR] (SCANDIR_TAIL): New macro.
23926         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23927         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23928         (SCANDIRAT): Macro removed.
23929         (SCANDIR_TAIL): New macro.
23930         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23931         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23932         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23933         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23934         (READDIR): Macro removed.
23935         (SCANDIR_TAIL): New macro.
23936         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23937         (SCANDIR_TAIL): New macro.
23939         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23940         * dirent/scandir-cancel.c: ... to this new file.
23941         * dirent/Makefile (routines): Add it.
23942         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23943         * sysdeps/unix/sysv/linux/i386/scandir64.c
23944         (SKIP_SCANDIR_CANCEL): Macro removed.
23945         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23947         * dirent/tst-scandir.c: New file.
23948         * dirent/tst-scandir64.c: New file.
23949         * dirent/Makefile (tests): Add them.
23951 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23953         [BZ #18409]
23954         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23956 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23958         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23959         list.
23961 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23963         * benchtests/bench-strcoll.c: New benchmark.
23964         * benchtests/Makefile: Generate locales and run benchmark.
23965         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23966         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23967         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23968         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23969         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23970         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23971         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23972         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23973         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23974         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23975         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23976         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23977         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23978         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23979         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23980         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23981         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23982         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23983         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23984         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23985         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23986         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23987         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23988         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23990 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23992         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23993         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23995 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23997         * posix/uname-values.h: New file.
23998         * posix/uname.c: Include that instead of <config-name.h>.
23999         * sysdeps/nacl/uname-values.h: New file.
24000         * sysdeps/arm/nacl/uname-values.h: New file.
24002 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24004         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24005         splitting into fields.
24007 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24009         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24010         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24011         * locale/localeinfo.h: Add enum collation_encoding_type.
24012         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24013         * programs/ld-collate.c (collate_output): Add encoding type info.
24014         * string/strcoll_l.c (STRDIFF): New function.
24015         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24016         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24018 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24020         [BZ #18397]
24021         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24022         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24023         <fpu_control.h> instead of <math/fpu_control.c>.
24024         * sysdeps/mips/mips32/fpu/Makefile: New file.
24026 2015-05-11  Andreas Schwab  <schwab@suse.de>
24028         [BZ #18007]
24029         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24030         nss_endgrent.
24031         (_nss_compat_endgrent): Call nss_endgrent.
24032         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24033         nss_endpwent.
24034         (_nss_compat_endpwent): Call nss_endpwent.
24035         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24036         needent, call nss_setspent only if non-zero.
24037         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24038         (internal_endspent): Don't call nss_endspent.
24039         (_nss_compat_endspent): Call nss_endspent.
24040         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24041         Remove.  All uses removed.
24042         (internal_setent): Remove parameter stayopen, add parameter
24043         stream.  Use it instead of global variable.
24044         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24045         (internal_endent, internal_getent): Add parameter stream.  Use it
24046         instead of global variable.
24047         (CONCAT(_nss_files_end,ENTNAME))
24048         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24049         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24050         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24051         uses removed.
24052         (internal_setent, internal_endent): Add parameter stream.  Use it
24053         instead of global variable.
24054         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24055         stream.
24056         (get_next_alias): Add parameter stream.
24057         (_nss_files_getaliasent_r): Pass global stream.
24058         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24059         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24060         (_nss_files_gethostbyname4_r): Pass local stream to
24061         internal_setent, internal_getent and internal_endent.  Remove
24062         locking.
24064 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24066         * tst-strfmon1.c (tests): Update expected currency symbol.
24068 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24070         * sysdeps/nacl/gethostname.c: New file.
24072 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24074         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24075         and sinh.
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 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24082         [BZ #18125]
24083         * stdlib/tst-setcontext3.c: New file.
24084         * stdlib/tst-setcontext3.sh: New file.
24085         * stdlib/Makefile (tests): Add tst-setcontext3.
24086         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24087         to verify test program created output file.
24088         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24089         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24090         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24091         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24093 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24095         [BZ #18383]
24096         * elf/tst-tlsalign.c: New file.
24097         * elf/tst-tlsalign-static.c: New file.
24098         * elf/tst-tlsalign-lib.c: New file.
24099         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24100         (tests-static): Add tst-tlsalign-static.
24101         (modules-names): Add tst-tlsalign-lib.
24102         (test-xfail-tst-tlsalign): New variable.
24103         (test-xfail-tst-tlsalign-static): New variable.
24105         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24106         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24108 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24110         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24111         csqrt, erfc, sin and sincos.
24112         * math/auto-libm-test-out: Regenerated.
24113         * sysdeps/i386/fpu/libm-test-ulps: Update.
24114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24116 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24118         * sysdeps/aarch64/libm-test-ulps: Update.
24120 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24122         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24123         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24124         * math/auto-libm-test-out: Regenerated.
24125         * sysdeps/i386/fpu/libm-test-ulps: Update.
24126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24128 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24130         [BZ #18265]
24131         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24132         (wcsncpy): Likewise.
24134 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24136         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24137         Assume __ASSUME_FALLOCATE is always true.
24138         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24139         (__posix_fallocate64_l64): Likweise.
24140         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24141         (posix_fallocate): Likewise.
24142         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24143         (__posix_fallocate64_l64): Likewise.
24144         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24145         [!__ASSUME_FALLOCATE]: Add comment.
24147 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24149         * sysdeps/unix/sysv/linux/i386/Makefile
24150         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24151         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24152         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24153         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24154         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24155         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24156         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24158 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24160         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24161         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24162         tgamma.
24163         * math/auto-libm-test-out: Regenerated.
24164         * sysdeps/i386/fpu/libm-test-ulps: Update.
24165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24167 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24169         * math/auto-libm-test-in: Add more tests of tgamma.
24170         * math/auto-libm-test-out: Regenerated.
24171         * sysdeps/i386/fpu/libm-test-ulps: Update.
24172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24174         * math/auto-libm-test-in: Add more tests of tanh.
24175         * math/auto-libm-test-out: Regenerated.
24176         * sysdeps/i386/fpu/libm-test-ulps: Update.
24177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24179         * math/auto-libm-test-in: Add more tests of tan.
24180         * math/auto-libm-test-out: Regenerated.
24181         * sysdeps/i386/fpu/libm-test-ulps: Update.
24182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24184         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24185         * math/auto-libm-test-out: Regenerated.
24186         * sysdeps/i386/fpu/libm-test-ulps: Update.
24187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24189         * math/auto-libm-test-in: Add another test of pow.
24190         * math/auto-libm-test-out: Regenerated.
24191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24193         * math/auto-libm-test-in: Add more tests of lgamma.
24194         * math/auto-libm-test-out: Regenerated.
24195         * sysdeps/i386/fpu/libm-test-ulps: Update.
24196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24198         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24199         log1p.
24200         * math/auto-libm-test-out: Regenerated.
24201         * sysdeps/i386/fpu/libm-test-ulps: Update.
24202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24204 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24206         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24207         Elf64_Chdr structs and ELFCOMPRESS constants.
24209 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24211         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24212         expm1.
24213         * math/auto-libm-test-out: Regenerated.
24214         * sysdeps/i386/fpu/libm-test-ulps: Update.
24215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24217         * math/auto-libm-test-in: Add more tests of erf and erfc.
24218         * math/auto-libm-test-out: Regenerated.
24219         * sysdeps/i386/fpu/libm-test-ulps: Update.
24220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24222 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24224         * config.h.in (HAVE_AARCH64_BE): Add.
24226 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24228         * math/auto-libm-test-in: Add more tests of csqrt.
24229         * math/auto-libm-test-out: Regenerated.
24230         * sysdeps/i386/fpu/libm-test-ulps: Update.
24231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24233         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24234         * math/auto-libm-test-out: Regenerated.
24235         * sysdeps/i386/fpu/libm-test-ulps: Update.
24236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24238         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
24240 2015-04-29  Roland McGrath  <roland@hack.frob.com>
24242         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
24243         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
24245         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
24246         (euidaccess, eaccess): Define as weak aliases.
24248         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
24249         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
24250         but __suseconds_t is often 'long int' so some sources assume that
24251         type is being used (e.g. they use %ld to print tv_usec).
24253 2015-04-29  Florian Weimer  <fweimer@redhat.com>
24255         [BZ #18007]
24256         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
24257         (CVE-2014-8121)
24258         * nss/tst-nss-getpwent.c: New file.
24259         * nss/Makefile (tests): Add new test.
24261 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
24263         [BZ #18346]
24264         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
24265         exponents less than 48 as cases where high part of mantissa needs
24266         examining to determine whether argument is integral.
24267         * math/libm-test.inc (round_test_data): Add more tests.
24269 2015-04-28  Mark Wielaard  <mjw@redhat.com>
24271         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
24273 2015-04-27  David S. Miller  <davem@davemloft.net>
24275         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
24276         __tls_get_addr.
24277         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24279 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
24281         [BZ#18333]
24282         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
24284 2015-04-27  Florian Weimer  <fweimer@redhat.com>
24286         [BZ#18333]
24287         * time/tzset.c (parse_tzname): Return error on memory allocation
24288         failure.
24289         * test-skeleton.c (struct temp_name_list): Change type of name
24290         member to non-const.
24291         (add_temp_file): Create a copy of the file name.
24292         (delete_temp_files): Deallocate memory.
24293         (create_temp_file): Add comment.
24295 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24297         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
24298         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
24300 2015-04-24  Roland McGrath  <roland@hack.frob.com>
24302         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
24303         * sysdeps/arm/configure: Regenerated.
24305 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24307         [BZ #17715]
24308         * time/tzfile.c (__tzfile_read): Check for large values of
24309         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
24310         * time/tzset.c (__tzstring_len): New function, based on the old
24311         __tzstring function.
24312         (__tzstring): Call __tzstring_len.
24313         (parse_tzname): New helper function extracted from
24314         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
24315         the input string.
24316         (parse_offset): New helper function extracted from
24317         __tzset_parse_tz.  Replace switch with fallthrough with
24318         initialization before sscanf.
24319         (parse_rule): Likewise.
24320         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
24321         new-style function definition.
24322         * timezone/Makefile (tests): Add tst-tzset.
24323         (tst-tzset.out): Dependencies on time zone files.
24324         (tst-tzset-ENV): Set TZDIR.
24325         (testdata/XT%): Copy crafted time zone files.
24326         * timezone/README: Mention crafted time zone files.
24327         * timezone/testdata/XT1, timezone/testdata/XT2,
24328         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
24329         files.
24330         * timezone/tst-tzset.c: New test.
24332 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24334         * Makeconfig (+gccwarn): Remove -Winline.
24336 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24338         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
24340 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24342         * NEWS: Mention sysconf() cache information support for s390.
24343         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
24345 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
24347         * math/k_casinh.c (__kernel_casinh): Use __copysign.
24348         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
24349         (__nearbyint): Likewise.
24350         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
24351         (copysignl): Likewise.
24353 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
24355         [BZ #18287]
24356         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
24357         based on padding.  (CVE-2015-1781)
24359 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24361         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
24362         libc-vdso.h.
24363         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
24364         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
24365         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
24366         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24367         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24368         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
24369         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
24370         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24371         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24372         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
24373         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24374         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24375         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24376         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
24377         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24378         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
24379         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
24380         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
24381         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
24382         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
24383         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
24384         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
24385         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
24387 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
24389         * stdlib/setenv.c (__add_to_environ):
24390         Dump core quickly if setenv (..., NULL, ...) is called.
24391         This time, do it the right way, and pacify GCC with a pragma.
24393 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24395         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
24396         IMAP->l_prev cannot be null, and #if out the code for the contrary
24397         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
24398         believe that NS (&_dl_ns[NSID]) could point outside the array.
24400         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
24401         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
24402         before using NSID as an index.
24404 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
24406         [BZ #17825]
24407         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
24408         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
24409         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24411 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24413         Add preliminary port to Google Native Client on ARM.
24414         * abi-tags (.*-.*-nacl.*): New entry.
24415         * sysdeps/arm/nacl: New directory.
24416         * sysdeps/nacl: New directory.
24418 2015-04-16  David S. Miller  <davem@davemloft.net>
24420         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24421         lowlevellock-futex.h
24423 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24425         * sysdeps/tile/configure.ac: New file.
24426         * sysdeps/tile/configure: Regenerated.
24428 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24430         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24431         conditionals for weak_alias and libc_hidden_weak.
24432         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24433         libc_hidden_weak and weak_alias.
24434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24435         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24436         and weak_alias for static one.
24438 2015-04-15  David S. Miller  <davem@davemloft.net>
24440         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24442 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24444         [BZ #18206]
24445         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24446           Use signed comparision instead of substraction to avoid
24447           overflow bug.
24448         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24449           Take the sign of ret.
24450         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24451           Do not expect precise return values. Only the sign matters.
24452         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24453         * wcsmbs/test-wcsncmp.c: New File.
24454         * string/test-strncmp.c: Add wcsncmp support.
24456 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24458         [BZ #6792]
24459         * math/w_log1p.c: New file.
24460         * math/w_log1pf.c: Likewise.
24461         * math/w_log1pl.c: Likewise.
24462         * math/Makefile (libm-calls): Add w_log1p.
24463         * math/s_log1pl.c (log1pl): Remove weak_alias.
24464         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24465         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24466         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24467         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24468         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24469         [NO_LONG_DOUBLE] (log1pl): Likewise.
24470         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24471         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24472         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24473         (log1p): Remove long_double_symbol.
24474         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24475         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24476         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24477         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24478         remove weak_alias for corresponding log1p function.
24479         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24480         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24481         * sysdeps/ia64/fpu/w_log1p.c: New file.
24482         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24483         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24484         * math/libm-test.inc (log1p_test_data): Add errno expectations.
24486 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
24488         [BZ #18247]
24489         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24490         decimal exponent by 1.
24491         * stdlib/tst-strtod-round-data: Add more tests.
24492         * stdlib/tst-strtod-round.c (tests): Regenerated.
24494 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
24496         * math/auto-libm-test-in: Add more tests of clog and clog10.
24497         * math/auto-libm-test-out: Regenerated.
24498         * sysdeps/i386/fpu/libm-test-ulps: Update.
24499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24501 2015-04-09  Roland McGrath  <roland@hack.frob.com>
24503         * Makeconfig (module-cppflags): Exclude all .v.i files.
24504         (skip-module-cppflags): Variable removed.
24506         * configure.ac (libc_config_ok): Initialize before reading
24507         preconfigure scripts, not after.
24508         * configure: Regenerated.
24510         * test-skeleton.c (TIMEOUT): Move #define to top level.
24511         (main): Grok environment variable TEST_DIRECT.  If set, print
24512         test expectation details into that file and then behave as if
24513         given --direct.
24515 2015-04-09  Florian Weimer  <fweimer@redhat.com>
24517         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
24518         warning on 32-bit.
24520 2015-04-08  David S. Miller  <davem@davemloft.net>
24522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24524 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24526         * math/auto-libm-test-in: Add more tests of atanh.
24527         * math/auto-libm-test-out: Regenerated.
24528         * sysdeps/i386/fpu/libm-test-ulps: Update.
24529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24531         * math/auto-libm-test-in: Add more tests of atan.
24532         * math/auto-libm-test-out: Regenerated.
24533         * sysdeps/i386/fpu/libm-test-ulps: Update.
24534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24536 2015-04-08  Florian Weimer  <fweimer@redhat.com>
24538         * elf/pldd.c (main): Rewrite to use struct
24539         scratch_buffer instead of extend_alloca.
24540         * elf/pldd-xx.c (find_maps): Likewise.
24541         * grp/initgroups.c: Include <scratch_buffer.h> instead of
24542         <alloca.h>.
24543         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
24544         scratch_buffer instead of extend_alloca.
24545         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
24546         grp/compat-initgroups.c.
24547         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
24548         Rewrite to use struct scratch_buffer instead of extend_alloca.
24549         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
24550         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24552 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24554         * math/auto-libm-test-in: Add more tests of cbrt.
24555         * math/auto-libm-test-out: Regenerated.
24556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24558         * math/auto-libm-test-in: Add more tests of cabs.
24559         * math/auto-libm-test-out: Regenerated.
24560         * sysdeps/i386/fpu/libm-test-ulps: Update.
24561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24563         [BZ #18210]
24564         [BZ #18211]
24565         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
24566         (__ieee754_atan2): Set FE_TONEAREST mode for internal
24567         computations.
24568         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
24569         clog10.
24570         * math/auto-libm-test-out: Regenerated.
24571         * sysdeps/i386/fpu/libm-test-ulps: Update.
24572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24574         [BZ #18197]
24575         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
24576         (atan): Set FE_TONEAREST mode for internal computations.
24577         * math/auto-libm-test-in: Add more tests of atan.
24578         * math/auto-libm-test-out: Regenerated.
24580 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
24582         [BZ #17930]
24583         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24585 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24587         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
24589 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24591         * include/scratch_buffer.h: New file.
24592         * malloc/scratch_buffer_grow.c: Likewise.
24593         * malloc/scratch_buffer_grow_preserve.c: Likewise.
24594         * malloc/scratch_buffer_set_array_size.c: Likewise.
24595         * malloc/tst-scratch_buffer.c: Likewise.
24596         * malloc/Makefile (routines): Add scratch_buffer_grow.
24597         (tests): Add test case.
24598         * malloc/Versions (GLIBC_PRIVATE): Export
24599         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
24600         __libc_scratch_buffer_set_array_size.
24602 2015-04-06  Richard Henderson  <rth@redhat.com>
24604         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
24605         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24607         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
24608         unsigned int before printing.
24610 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24612         [BZ #17596]
24613         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
24614         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24616 2015-04-02  Florian Weimer  <fweimer@redhat.com>
24618         * include/libc-internal.h (libc_max_align_t): Define.
24620 2015-04-02  Andreas Schwab  <schwab@suse.de>
24622         [BZ #16850]
24623         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24625 2015-04-02  Mel Gorman  <mgorman@suse.de>
24627         [BZ #17195]
24628         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
24629         as well as the main arena.
24631 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24633         [BZ #18185]
24634         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
24635         sharing L2 cache to 2 for Silvermont/Knights Landing.
24637 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24639         [BZ #17711]
24640         * config.make.in (have-protected-data): New.
24641         * configure.ac: Check linker support for protected data symbol.
24642         * configure: Regenerated.
24643         * elf/Makefile (modules-names): Add tst-protected1moda and
24644         tst-protected1modb if $(have-protected-data) is yes.
24645         (tests): Add tst-protected1a and tst-protected1b if
24646         $(have-protected-data) is yes.
24647         ($(objpfx)tst-protected1a): New.
24648         ($(objpfx)tst-protected1b): Likewise.
24649         (tst-protected1modb.so-no-z-defs): Likewise.
24650         * elf/tst-protected1a.c: New file.
24651         * elf/tst-protected1b.c: Likewise.
24652         * elf/tst-protected1mod.h: Likewise.
24653         * elf/tst-protected1moda.c: Likewise.
24654         * elf/tst-protected1modb.c: Likewise.
24656 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24658         [BZ #17711]
24659         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
24660         indicates it is called from do_lookup_x on relocation against
24661         protected data, skip the data definion in the executable from
24662         copy reloc.
24663         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
24664         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
24665         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
24666         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
24667         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
24668         otherwise to 0.
24669         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24670         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
24671         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
24672         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24673         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
24674         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
24676 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
24678         * sysdeps/nptl/pthread.h: Remove duplicate definition of
24679         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
24681 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
24683         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
24684         THREAD_SETMEM_NC.
24685         * sysdeps/x86_64/nptl/tls.h: Ditto.
24687 2015-03-27  Roland McGrath  <roland@hack.frob.com>
24689         * dlfcn/tststatic.c (main): Converted to ...
24690         (do_test): ... this.
24691         (TEST_FUNCTION): New macro.
24692         Include test-skeleton.c.
24694 2015-03-26  Alan Modra  <amodra@gmail.com>
24696         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
24697         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
24698         zero for undefined weak.
24699         (elf_machine_plt_conflict): Similarly.
24701 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24703         * math/auto-libm-test-in: Add more tests of acosh, asinh and
24704         atanh.
24705         * math/auto-libm-test-out: Regenerated.
24706         * sysdeps/i386/fpu/libm-test-ulps: Update.
24707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24709         * math/auto-libm-test-in: Add another test of asin.
24710         * math/auto-libm-test-out: Regenerated.
24711         * sysdeps/i386/fpu/libm-test-ulps: Update.
24712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24714         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
24715         Remove macro.
24716         (LLL_EBX_REG): Likewise.
24717         (LLL_ENTER_KERNEL): Likewise.
24719         * math/auto-libm-test-in: Add more tests of asin.
24720         * math/auto-libm-test-out: Regenerated.
24721         * sysdeps/i386/fpu/libm-test-ulps: Update.
24722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24724         [BZ #18138]
24725         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
24726         libc_do_syscall_args): New structure.
24727         (INTERNAL_SYSCALL_MAIN_0): New macro.
24728         (INTERNAL_SYSCALL_MAIN_1): Likewise.
24729         (INTERNAL_SYSCALL_MAIN_2): Likewise.
24730         (INTERNAL_SYSCALL_MAIN_3): Likewise.
24731         (INTERNAL_SYSCALL_MAIN_4): Likewise.
24732         (INTERNAL_SYSCALL_MAIN_5): Likewise.
24733         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
24734         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
24735         Replace conditional definitions by conditional definitions of ....
24736         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
24737         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
24738         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
24739         (libpthread-sysdep_routines): Add libc-do-syscall.
24740         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
24741         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
24742         to __NR_futex not 240.
24744 2015-03-25  Alan Modra  <amodra@gmail.com>
24746         * NEWS: Advertise TLS optimization.
24747         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
24748         (DT_PPC_NUM): Increment.
24749         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
24750         (CHECK_STATIC_TLS): Use here.
24751         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
24752         TLS descriptors.
24753         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24754         * sysdeps/powerpc/dl-tls.c: New file.
24755         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
24756         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
24757         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
24758         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
24759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
24760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
24761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
24763 2015-03-25  Alan Modra  <amodra@gmail.com>
24765         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
24766         for overlapping .opd entries" to "support...".
24767         * sysdeps/powerpc/powerpc64/configure: Regenerate
24769 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24771         * math/auto-libm-test-in: Add more tests of acos.
24772         * math/auto-libm-test-out: Regenerated.
24773         * sysdeps/i386/fpu/libm-test-ulps: Update.
24774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24776         * math/auto-libm-test-in: Add more tests of expm1.
24777         * math/auto-libm-test-out: Regenerated.
24778         * sysdeps/i386/fpu/libm-test-ulps: Update.
24779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24781 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
24783         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24784         * math/auto-libm-test-out: Regenerated.
24785         * sysdeps/i386/fpu/libm-test-ulps: Update.
24786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24788         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24791         * math/auto-libm-test-in: Add more tests of log2.
24792         * math/auto-libm-test-out: Regenerated.
24793         * sysdeps/i386/fpu/libm-test-ulps: Update.
24794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24796 2015-03-23  Roland McGrath  <roland@hack.frob.com>
24798         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
24799         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
24800         _IO_IS_APPENDING bit in READ_WRITE instead.
24802 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24804         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24805         (__determine_cpumask_size): Replace extend_alloca with a
24806         variable-length array.  Do not treat res == 0 as an error.
24808 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24810         [BZ #18100]
24811         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
24812         and integer overflow.
24813         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
24814         (main): Add integer overflow tests.
24815         * manual/pattern.texi (Calling Wordexp): Document additional use
24816         for WRDE_SYNTAX.
24818 2015-03-23  Alan Modra  <amodra@gmail.com>
24820         * config.h.in: Remove HAVE_ASM_PPC_REL16.
24821         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
24822         and false branch of conditional.
24823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24824         Likewise.
24826 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
24828         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
24829         libc-modules.h
24830         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
24831         unused declaration of _hurd_intr_rpc_msg_in_trap.
24832         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
24833         defined instead of whether it is non-zero.
24834         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
24835         input constraint instead of both input and output constraint.  Use ecx
24836         clobber instead of %ecx.
24837         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
24838         mutex_unlock): Use a statement expression instead of an expression list.
24839         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
24840         type to vm_size_t instead of vm_address_t.
24841         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
24842         defined instead of whether it is non-zero.
24843         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
24844         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
24845         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
24846         comparisons with mapaddr.
24847         * nscd/nscd-client.h: Include <time.h>.
24848         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24849         9th parameter to __vm_region instead of int.
24850         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
24851         * scripts/check-local-headers.sh (exclude): Add device/,
24852         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
24853         cthreads.h.
24855 2015-03-19  Roland McGrath  <roland@hack.frob.com>
24857         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
24858         to account for alignment padding.
24859         * sysdeps/arm/memmove.S: Likewise.
24861 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
24863         * sysdeps/unix/sysv/linux/generic/README: New file.
24865 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
24867         [BZ #18138]
24868         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
24869         (futex_abstimed_wait)
24870         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
24871         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
24872         of lll_futex_timed_wait.
24874 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
24876         [BZ #17542]
24877         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
24879 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
24881         [BZ #17090]
24882         [BZ #17620]
24883         [BZ #17621]
24884         [BZ #17628]
24885         * NEWS: Update.
24886         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24887         entries with Static TLS too.  Skip entries past the end of the
24888         allocated DTV, from Alan Modra.
24889         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24890         Static TLS DTV entry set up from...
24891         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24892         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24893         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24894         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24895         for Static TLS.
24896         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24897         that the slot we find is associated with the given map before
24898         using its generation count.
24899         * nptl_db/db_info.c: Include ldsodefs.h.
24900         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24901         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24902         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24903         (link_map::l_tls_offset): New struct field.
24904         (dtv_t::counter): Likewise.
24905         (rtld_global): New struct.
24906         (_rtld_global): New rtld variable.
24907         (dl_tls_dtv_slotinfo_list): New rtld global field.
24908         (dtv_slotinfo_list): New struct.
24909         (dtv_slotinfo): Likewise.
24910         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24911         (td_lookup): Rename to...
24912         (td_mod_lookup): ... this.  Use new mod parameter instead of
24913         LIBPTHREAD_SO.
24914         * nptl_db/td_thr_tlsbase.c: Include link.h.
24915         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24916         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24917         addresses even if the DTV is out of date or missing them.
24918         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24919         index zero-length arrays.
24920         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24921         (td_lookup): Make it a macro implemented in terms of...
24922         (td_mod_lookup): ... this declaration.
24923         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24924         (DB_MAIN_VARIABLE): Likewise.
24926 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24928         [BZ #18134]
24929         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24931 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24933         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24935 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24937         [BZ #18128]
24938         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24939         (atomic_add, atomic_increment_and_test)
24940         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24942 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24944         * stdlib/setenv.c (__add_to_environ):
24945         Dump core quickly if setenv (..., NULL, ...) is called.
24947 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24949         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24950         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24951         all the necessary asm magic in one place.
24952         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24953         using those.
24955 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24957         [BZ #14906]
24958         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24959         traced file mtime. Use consistent log message.
24960         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24961         (register_traced_file): Call install_watches. Always set mtime.
24962         (invalidate_cache): Iterate over all trace files. Call install_watches.
24963         (inotify_check_files): Don't inline. Handle watching parent
24964         directories and configuration file movement in and out.
24965         (handle_inotify_events): New function.
24966         (main_loop_poll): Call handle_inotify_events.
24967         (main_loop_epoll): Likewise.
24968         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24969         (struct traced_file): Use array of inotify fds. Add parent directory,
24970         and basename.
24971         (struct database_dyn): Remove unused file_mtime.
24972         (init_traced_file): New inline function.
24973         (define_traced_file): New macro.
24974         * nss/nss_db/db-init.c: Use define_traced_file.
24975         (_nss_db_init): Use init_traced_file.
24976         * nss/nss_files/files-init.c: Use define_traced_file.
24977         (_nss_files_init): Use init_traced_file.
24979 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24981         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24982         [_LIBC]: Do not include <stdlib.h>.
24983         [!_LIBC] (abort): Remove declaration.
24984         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24985         _FP_STATIC_ASSERT instead of conditionally calling abort.
24986         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24987         (_FP_EXTEND_CNAN): Likewise.
24988         (FP_TRUNC): Likewise.
24989         (__FP_CLZ): Likewise.
24990         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24992 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24994         * manual/string.texi (XPG basename): Fix prototype.
24996 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24998         [BZ #18080]
24999         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25000         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25001         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25002         (__setcontext): Likewise.
25003         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25004         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25005         Call rt_sigprocmask syscall one time to set new signal mask
25006         and retrieve the current signal mask instead of two calls.
25007         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25008         (__swapcontext): Likewise.
25009         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25010         * stdlib/tst-setcontext2.c: New file.
25012 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25014         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25016 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25018         [BZ #18093]
25019         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25020         the wrong size.
25022 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25024         [BZ #18043]
25025         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25027 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25029         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25030         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25031         Remove define.
25032         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25033         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25034         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25035         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25036         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25037         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25038         define.
25039         * nptl_db/td_symbol_list.c (td_lookup): Remove
25040         HAVE_ASM_GLOBAL_DOT_NAME code.
25041         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25042         HAVE_ASM_GLOBAL_DOT_NAME check.
25043         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25044         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25045         (DOT_LABEL): Remove define.
25046         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25047         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25048         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25049         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25050         (__TLS_GET_ADDR): Likewise.
25051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25052         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25054 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25056         [BZ #18111]
25057         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25058         (_FPU_SETCW): Initialize cw from fpsr before storing.
25059         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25060         (fesetexceptflag): Rewrite using fpu_control.h.
25061         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25063 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25065         [BZ #18110]
25066         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25067         asms.
25068         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25070 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25072         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25073         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25074         abort.
25075         (_FP_FMA): Likewise.
25076         (_FP_DIV): Likewise.
25078 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25080         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25081         with 0 in that case.
25082         * Makefile (summarize-tests): New canned sequence, factored out of
25083         commands for targets tests and xtests.  Display summary lines that
25084         don't start with PASS: or XFAIL: rather than ones that do start with
25085         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25086         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25087         do start with ERROR: or FAIL:.
25088         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25089         (except for [$(build-shared) = yes]).
25090         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25091         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25092         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25093         * nptl/Makefile: Revert 2015-03-04 changes.
25094         [$(CXX) empty] (tests-unsupported): New variable.
25095         * debug/Makefile: Likewise.
25097         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25098         gnulib file.  Replace __attribute with __attribute__ throughout.
25100 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25102         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25104 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25106         [BZ #18104]
25107         * math/auto-libm-test-in: Add another test of pow.
25108         * math/auto-libm-test-out: Regenerated.
25110 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25112         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25113         $(config-cflags-nofma).
25115 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25117         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25118         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25119         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25120         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25121         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25122         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25123         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25124         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25125         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25126         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25127         Add comment on closing #endif.
25129 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25131         * posix/wordexp.c (CHAR_IN_SET): New macro.
25132         (parse_param): Use it.
25134 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25136         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25138 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25140         [BZ #18043]
25141         * posix/wordexp.c (parse_param): Fix buffer overflow.
25142         * posix/wordexp-test.c (test_case): Add test case.
25144 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25146         [BZ #18042]
25147         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25148         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25150 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25152         [BZ #18043]
25153         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25154         (do_bz18043): Delete.
25155         (at_page_end): New.
25156         (testit): Refactor to have words at the edge of unreadable page.
25158 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25160         [BZ #16734]
25161         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25162         Cleanup read-only streams as well.
25163         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25165 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25167         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25168         <bits/libc-lockP.h>
25170 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25172         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25173         on [__KERNEL__].
25174         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25175         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25176         * soft-fp/op-common.h (_FP_DECL): Likewise.
25178 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25180         * elf/ifuncdep2.c (global): Replace
25181         __attribute__((visibility("protected"))) with
25182         asm (".protected global").
25183         * elf/ifuncmod1.c (global): Likewise.
25184         * elf/ifuncmod5.c (global): Likewise.
25186 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25188         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25189         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25191 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25193         * manual/install.texi (Configuring and compiling):
25194         Document test-wrapper-env-only.
25195         * INSTALL: Regenerated.
25197 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25199         [BZ #18043]
25200         * posix/wordexp.c (parse_param): Fix buffer overflow.
25201         * posix/wordexp-test.c (do_bz18043): Add test case.
25203 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25205         * time/tst-strptime2.c (do_test): Ensure failing tests are
25206         reported correctly.
25207         * time/tst-strptime3.c (do_test): Likewise.
25209 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25211         Fix aio_error thread-safety.
25212         * sysdeps/pthread/aio_error.c: New file
25213         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25214         synchronization.
25216 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25218         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25219         (group_number, vfprintf): Use it.
25220         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25221         (JUMP, REF): Use it.
25222         (WORK_BUFFER_SIZE): New enum constant.
25223         (process_arg, vfprintf): Use it.
25225 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25227         * manual/errno.texi (Error Messages): Complete example function
25228         by adding missing #define.
25229         (program_invocation_name): Add statement indicating GNU
25230         extension and reference which header file declares the variable.
25231         (program_invocation_short_name): Likewise.
25233 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
25235         * manual/errno.texi (Error Messages): Delete strerror ISO C89
25236         compatibility note.
25238 2015-03-05  Roland McGrath  <roland@hack.frob.com>
25240         * Makeconfig (test-wrapper-env-only): New variable.
25241         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
25242         then use that with $(test-wrapper-env-only) rather than using
25243         $(test-wrapper-env) $(run-program-env) $($*-ENV).
25245 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25247         [BZ #18082]
25248         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
25249         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
25250         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
25251         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
25252         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
25253         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
25254         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
25255         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
25256         Likewise.
25257         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
25258         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
25259         Likewise.
25260         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
25261         Likewise.
25262         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
25263         Likewise.
25264         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
25265         Likewise.
25266         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
25267         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
25268         Likewise.
25269         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
25270         Likewise.
25271         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
25272         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
25274 2015-03-04  Roland McGrath  <roland@hack.frob.com>
25276         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
25277         (ETH_ALEN): New macro.
25278         (struct ether_addr): Use it for length of ether_addr_octet.
25280         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
25281         (setdb): Don't call __nss_configure_lookup for "rpc".
25282         (do_test): Don't call test_rpc.
25283         (output_rpcent, test_rpc): Functions moved ...
25284         * sunrpc/test-rpcent.c: ... to this new file.
25285         * sunrpc/Makefile (tests): Add it.
25287         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
25288         __xpg_sigpause.
25289         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
25290         * nptl/tst-signal6.c: Likewise.
25291         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
25292         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
25294         * configure.ac (libc_cv_cxx_link_ok): New check.
25295         Reset CXX to empty if it fails to link.
25296         * configure: Regenerated.
25297         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
25298         bug-atexit3-lib only if $(CXX) is nonempty.
25299         * nptl/Makefile (tests): Likewise for tst-cancel24.
25300         (tests, tests-static): Likewise for tst-cancel24-static.
25301         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25302         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
25303         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
25304         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
25306 2015-03-04  Andreas Schwab  <schwab@suse.de>
25308         [BZ #17631]
25309         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
25310         for non-GCC compilers.
25311         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25312         Likewise.
25314 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25316         [BZ #17776]
25317         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
25318         integer before bitwise and assembly operations.
25319         (feclearexcept): Likewise.
25320         * math/test-fenvinline.c: New file.
25321         * math/Makefile: Add test-fenvinline test.
25323 2015-03-03  Alan Modra  <amodra@gmail.com>
25325         [BZ #16512]
25326         * scripts/localplt.awk: Strip off symbol version.
25327         * NEWS: Mention bug fix.
25329 2015-03-02  Roland McGrath  <roland@hack.frob.com>
25331         * sysdeps/pthread/timer_routines.c
25332         (timer_free_list, thread_free_list, thread_active_list): Make static.
25334 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
25336         [BZ #17779]
25337         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25338         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25339         Undefine.
25340         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25341         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25342         Likewise.
25343         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25344         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25345         Likewise.
25347 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25349         [BZ #18036]
25350         * posix/fnmatch_loop.c (END): Detect invalid pattern.
25351         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
25353 2015-03-02  Andreas Schwab  <schwab@suse.de>
25355         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
25356         variable name.
25358 2015-03-02  Florian Weimer  <fweimer@redhat.com>
25360         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
25361         Return error status.
25363 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
25365         [BZ #15969]
25366         * locale/findlocale.c (_nl_find_locale): Introduce const
25367         version of loc_name and drop unsafe type casts.
25369 2015-02-27  Roland McGrath  <roland@hack.frob.com>
25371         * dlfcn/tststatic2.c (main): Converted to ...
25372         (do_test): ... this.
25373         (TEST_FUNCTION): New macro.
25374         Include test-skeleton.c.
25376 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
25378         [BZ #17711]
25379         * elf/Makefile (tests): Add vismain only if PIE is enabled.
25380         (tests-pie): Add vismain.
25381         (CFLAGS-vismain.c): New.
25382         * elf/vismain.c: Add comments for PIE requirement.
25384 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25386         [BZ #18046]
25387         [BZ #18047]
25388         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
25389         0x1p-56L as threshold for just returning the argument.
25390         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
25391         0x1p-32L as threshold for just returning the argument.
25392         * math/auto-libm-test-in: Add more tests of atanh.
25393         * math/auto-libm-test-out: Regenerated.
25394         * sysdeps/i386/fpu/libm-test-ulps: Update.
25395         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
25397 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25399         * string/bcopy.c (bcopy): Call memmove for performance.
25401 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25403         * string/bzero.c (__bzero): Call memset for performance.
25405 2015-02-27  John David Anglin  <dave.anglin@bell.net>
25407         [BZ #18068]
25408         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25409         to 00100000.
25411 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25413         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25415 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25417         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25418         (__kernel_standard): Use CSTR macro when setting exc.name.
25419         * sysdeps/ieee754/Makefile [$(subdir) = math]
25420         (CFLAGS-k_standard.c): Remove variable.
25422         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25423         setting p and q from "else if" to "else".
25424         (qzero): Likewise.
25425         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25426         (qone): Likewise.
25427         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25428         (qzerof): Likewise.
25429         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25430         (qonef): Likewise.
25431         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25432         (qzero): Likewise.
25433         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25434         (qone): Likewise.
25436         [BZ #18038]
25437         [BZ #18039]
25438         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25439         return pi/2 for arguments below 0x1p-113L.
25440         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25441         return pi/2 for arguments below 0x1p-106L.
25442         * math/auto-libm-test-in: Add more tests of acos.
25443         * math/auto-libm-test-out: Regenerated.
25445         [BZ #16351]
25446         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25447         (MO): New macro.
25448         (__ieee754_asin): Force underflow exception for results with small
25449         absolute value.
25450         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25451         (MO): New macro.
25452         (__ieee754_asinf): Force underflow exception for results with
25453         small absolute value.
25454         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25455         (__ieee754_asin): Force underflow exception for results with small
25456         absolute value.
25457         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25458         (__ieee754_asinf): Force underflow exception for results with
25459         small absolute value.
25460         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25461         (__ieee754_asinl): Force underflow exception for results with
25462         small absolute value.
25463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25464         (__ieee754_asinl): Force underflow exception for results with
25465         small absolute value.
25466         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25467         (__ieee754_asinl): Force underflow exception for results with
25468         small absolute value.
25469         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25470         Include <math.h>.
25471         * math/auto-libm-test-in: Do not mark underflow exceptions as
25472         possibly missing for bug 16351.
25473         * math/auto-libm-test-out: Regenerated.
25475         [BZ #18030]
25476         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25477         of power of 2 down when low part has opposite sign.
25478         * math/libm-test.inc (logb_test_data): Add more tests.
25480 2015-02-26  Andreas Schwab  <schwab@suse.de>
25482         [BZ #18032]
25483         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25484         over collating symbol inside a bracket expression.  Minor cleanup.
25485         * posix/tst-fnmatch3.c (do_test): Add test case.
25487 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25489         [BZ #18029]
25490         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25491         Adjust exponent of power of 2 down when low part has opposite
25492         sign.
25493         * math/libm-test.inc (ilogb_test_data): Add more tests.
25495 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
25497         [BZ #15969]
25498         * locale/findlocale.c (_nl_find_locale): Fix constness error in
25499         the previous change.
25501         [BZ #15969]
25502         * locale/findlocale.c (_nl_find_locale): Retry archive search
25503         after alias expansion.
25505 2015-02-25  Roland McGrath  <roland@hack.frob.com>
25507         * iconv/tst-iconv3.c (main): Converted to ...
25508         (do_test): ... this.
25509         (TEST_FUNCTION): New macro.
25510         Include test-skeleton.c.
25512         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25513         (convert): Make function static.
25514         (test_unalign): Likewise.  Add const to argument pointee types.
25515         (main): Replace with static function do_test.
25516         Print "Succeeded." only if RET is zero.
25517         (TEST_FUNCTION): New macro.
25518         Include test-skeleton.c.
25520         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
25521         returns a null pointer.
25523 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25525         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
25526         to __memcpy_ppc only for static builds.
25528 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
25530         [BZ #18020]
25531         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
25532         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
25533         * math/auto-libm-test-in: Add more tests of asinh.
25534         * math/auto-libm-test-out: Regenerated.
25535         * sysdeps/i386/fpu/libm-test-ulps: Update.
25536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25538 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
25540         [BZ #15850]
25541         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25542         and ip6_mtuinfo definitions here.
25543         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
25544         in this define too.  Update comment.
25546 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
25548         * elf/sprof.c (load_shobj): Tweak error message to match others.
25550 2015-02-24  Kevin Easton  <kevin@guarana.org>
25552         [BZ #16145] (partial fix)
25553         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
25554         to reduce lock contention.
25556 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
25558         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
25559         (struct timex): Update time comment.
25560         (ADJ_SETOFFSET): Define.
25562 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25564         [BZ #18019]
25565         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25566         2**56 not 2**28 as threshold for log (2x) formula.
25567         * math/auto-libm-test-in: Add more tests of acosh.
25568         * math/auto-libm-test-out: Regenerated.
25569         * sysdeps/i386/fpu/libm-test-ulps: Update.
25570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25572 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25574         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
25575         parenthesis around the buf assignment.
25576         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
25578 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25580         [BZ #16783]
25581         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
25582         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
25583         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
25584         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25585         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25586         * math/libm-test.inc (scalb_test_data): Add more tests.
25588 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25590         [BZ #17916]
25591         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
25592         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
25594 2015-02-24  Eric Rannaud  <e@nanocritical.com>
25596         [BZ #17523]
25597         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
25598         * io/bits/fcntl2.h (open): Use it.
25599         (openat): Likewise.
25600         * io/open.c (__libc_open): Likewise.
25601         * io/open64.c (__libc_open64): Likewise.
25602         * io/open64_2.c (__open64_2): Likewise.
25603         * io/open_2.c (__open_2): Likewise.
25604         * io/openat.c (__openat): Likewise.
25605         * io/openat64.c (__openat64): Likewise.
25606         * io/openat64_2.c (__openat64_2): Likewise.
25607         * io/openat_2.c (__openat_2): Likewise.
25608         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
25609         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25610         * sysdeps/posix/open64.c (__libc_open64): Likewise.
25611         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25612         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25613         (__open_nocancel): Likewise.
25614         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25615         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25616         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
25618 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25620         [BZ #14841]
25621         * resolv/gethnamaddr.c (getanswer): Skip logging if
25622         RES_USE_DNSSEC is set.
25623         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25625 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25627         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
25629 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
25631         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25632         201304L, for Unicode 7.
25634 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
25636         [BZ #17836]
25637         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
25638         shared library.  Add gmon-start.os otherwise.
25639         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
25640         $(objpfx)gmon-start.os if builing shared library.
25641         ($(objpfx)g$(static-start-installed-name)): Likewise.
25643 2015-02-23  Andreas Schwab  <schwab@suse.de>
25645         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
25647 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25649         [BZ #17269]
25650         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
25651         (enlarge_userbuf): Likewise.
25653 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
25655         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
25656         * math/atest-exp.c (TIMEOUT): Adjust to 200.
25657         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
25658         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
25660 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
25662         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
25663         expression inside statement expression.
25665 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25667         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
25668         <sysdeps/nptl/lowlevellock.h> and remove macros and
25669         functions that are now defined there.
25670         (SYS_futex): Remove.
25671         (lll_compare_and_swap): Remove.
25672         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
25674 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
25676         [BZ #17999]
25677         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
25678         instead of scandirat.
25679         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
25680         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
25681         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
25682         __scandirat.
25683         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
25684         (__scandirat): Declare.  Use libc_hidden_proto.
25685         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
25686         Remove variable.
25687         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25689 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25691         [BZ #15319]
25692         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
25693         (MO): New macro.
25694         (__ieee754_atan2): For results with small absolute value, force
25695         underflow exception and remove excess range and precision from
25696         return value.
25697         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
25698         (MO): New macro.
25699         (__ieee754_atan2f): For results with small absolute value, force
25700         underflow exception and remove excess range and precision from
25701         return value.
25702         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
25703         (MO): New macro.
25704         (__atan): For results with small absolute value, force underflow
25705         exception and remove excess range and precision from return value.
25706         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
25707         (MO): New macro.
25708         (__atanf): For results with small absolute value, force underflow
25709         exception and remove excess range and precision from return value.
25710         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
25711         <math.h>.
25712         (__ieee754_atan2): Force underflow exception for results with
25713         small absolute value.
25714         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
25715         <math_private.h>.
25716         (atan): Force underflow exception for results with small absolute
25717         value.
25718         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
25719         (__atanf): Force underflow exception for results with small
25720         absolute value.
25721         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
25722         <math.h>.
25723         (__atanl): Force underflow exception for results with small
25724         absolute value.
25725         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
25726         (__atanl): Force underflow exception for results with small
25727         absolute value.
25728         * sysdeps/x86/fpu/bits/mathinline.h
25729         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
25730         (__ieee754_atan2): Only define inline for long double.
25731         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25732         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
25733         * math/auto-libm-test-in: Do not mark underflow exceptions as
25734         possibly missing for bug 15319.  Add more tests of atan2.
25735         * math/auto-libm-test-out: Regenerated.
25736         * math/libm-test.inc (casin_test_data): Do not mark underflow
25737         exceptions as possibly missing for bug 15319.
25738         (casinh_test_data): Likewise.
25739         * sysdeps/i386/fpu/libm-test-ulps: Update.
25741 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
25743         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
25744         * sysdeps/mips/bits/endian.h: Fix comments.
25746 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25748         [BZ #17996]
25749         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
25750         (hdestroy_r): Likewise.
25751         (hsearch_r): Likewise.
25752         (__hcreate_r): Declare and use libc_hidden_proto.
25753         (__hdestroy_r): Likewise.
25754         (__hsearch_r): Likewise.
25755         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
25756         (hcreate): Call __hcreate_r instead of hcreate_r.
25757         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
25758         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
25759         as weak alias of __hcreate_r.
25760         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
25761         __hdestroy_r.
25762         (hsearch_r): Rename to __hsearch_r and define as weak alias of
25763         __hsearch_r.
25764         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
25765         Remove variable.
25766         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25767         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25768         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25769         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25771 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25773         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
25774         arena_lock into a single arena_get.
25776 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
25778         * dl-reloc.c: Inlucde libc-internal.h.
25779         (_dl_try_allocate_static_tls): Call ALIGN_UP.
25780         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
25781         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
25782         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
25783         (grow_heap): Likewise.
25784         * malloc/malloc.c: Include libc-internal.h.
25785         (do_check_malloc): Call powerof2.
25786         (sysmalloc): Use pagesize. Call ALIGN_UP.
25787         (systrim): Use pagesize.
25788         (mremap_chunk): Use pagesize. Call ALIGN_UP.
25789         (__libc_valloc): Use pagesize.
25790         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
25792 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25794         [BZ #17991]
25795         * include/sys/resource.h (__getrlimit64): Declare.  Use
25796         libc_hidden_proto.
25797         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
25798         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
25799         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
25800         getrlimit64.
25801         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
25802         __getrlimit64.
25803         [!getrlimit64] (getrlimit64): Define as weak alias of
25804         __getrlimit64.  Use libc_hidden_weak.
25805         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
25806         using __getrlimit64 not __new_getrlimit64.
25807         (__GI_getrlimit64): Likewise.
25808         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
25809         Likewise.
25810         (__GI_getrlimit64): Likewise.
25811         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
25812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
25813         (getrlimit): Add __getrlimit64 alias.
25814         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
25815         Likewise.
25816         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
25817         Remove variable.
25818         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25819         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25821 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
25823         * libio/fileops.c: Add missing sys/mman.h
25824         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
25826 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25828         * manual/math.texi (Errors in Math Functions): Clarify goals
25829         regarding inexact and underflow exceptions.
25831 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25833         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
25834         * sysdeps/mips/memset.S: Ditto.
25836 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25838         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
25840 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25842         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
25843         (__v1longjmp): Remove versioned symbol.
25844         (__v1siglongjmp): Remove alias and versioned symbol.
25845         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
25846         (__v2siglongjmp): Likewise.
25848 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25850         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
25852 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
25854         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
25856 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25858         [BZ #17987]
25859         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25860         zero result does not depend on the sign resulting from
25861         subtraction.
25862         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25863         Likewise.
25864         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25865         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25866         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25867         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25868         * math/libm-test.inc (remquo_test_data): Add more tests.
25870 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
25872         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
25873         Problem reported by J William Piggott.
25875 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25877         [BZ #17978]
25878         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
25879         products 4 * y and 2 * y where those would overflow.
25880         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25881         Likewise.
25882         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25883         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25884         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25885         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25886         * math/libm-test.inc (remquo_test_data): Add more tests.
25888         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25890         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25891         [defined _COMPILING_NEWLIB].
25892         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25893         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25895         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25896         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25898 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25900         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25901         acquired.
25903 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25905         [BZ #17792]
25906         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25907         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25908         HOST_STACK_END_ADDR): Likewise.
25910 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25912         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25913         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25914         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25916 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25918         * sysdeps/generic/c++-types.data: New file.
25919         * sysdeps/generic/ld.abilist: New file.
25920         * sysdeps/generic/libBrokenLocale.abilist: New file.
25921         * sysdeps/generic/libanl.abilist: New file.
25922         * sysdeps/generic/libc.abilist: New file.
25923         * sysdeps/generic/libcrypt.abilist: New file.
25924         * sysdeps/generic/libdl.abilist: New file.
25925         * sysdeps/generic/libm.abilist: New file.
25926         * sysdeps/generic/libpthread.abilist: New file.
25927         * sysdeps/generic/libresolv.abilist: New file.
25928         * sysdeps/generic/librt.abilist: New file.
25930 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25932         [BZ #17569]
25933         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25934         Compute absolute value of x as modified by fmod, not original
25935         value of x.
25936         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25937         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25938         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25939         RUN_TEST_ffI_f1_mod8.
25940         (remquo_test_data): Add more tests.
25942 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25944         * sysdeps/init_array/pt-crti.S: New file.
25946 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25948         [BZ #17967]
25949         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25950         __builtin_fmaf instead of relying on contraction of a * b + c.
25952 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25954         [BZ #17969]
25955         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25956         node.
25958 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25960         [BZ #17964]
25961         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25962         __builtin_fma instead of relying on contraction of a * b + c.
25964 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25966         * Makeconfig (ASFLAGS): Add -Werror=undef.
25967         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25968         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25969         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25971         * Makeconfig (after-link): New variable.
25972         (+link-pie, +link-pie-tests): Use it.
25973         (+link-static, +link-static-tests): Likewise.
25974         (+link, +link-tests): Likewise.
25975         * Makerules (build-module, build-module-asneeded): Likewise.
25976         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25977         Likewise.
25978         * elf/Makefile ($(objpfx)ld.so): Likewise.
25980 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25982         [BZ #17965]
25983         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25984         both struct timeval and struct timespec.
25986 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25988         [BZ #16560]
25989         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25990         and redefine.
25991         (__ieee754_exp2l): Do not multiply small fractional parts by
25992         M_LN2l.
25993         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25994         small argument.
25995         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25996         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25997         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25998         * math/auto-libm-test-in: Add more tests of exp2.
25999         * math/auto-libm-test-out: Regenerated.
26001 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26003         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26004         unaligned path.
26006 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26008         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26009         little endian.
26011 2015-02-12  Andreas Schwab  <schwab@suse.de>
26013         [BZ #15790]
26014         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26015         Filter out elision flags from value returned in kind.
26016         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26017         * nptl/tst-pthread-mutexattr.c: New file.
26019 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26021         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26022         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26023         into gnu-gnu, and update comment to refer to abi-tags.
26025 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26027         [BZ #15467]
26028         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26029         (__sincos): Set errno to EDOM for infinite argument.
26030         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26031         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26032         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26033         (__sincosl): Set errno to EDOM for infinite argument.
26034         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26035         (__sincosl): Set errno to EDOM for infinite argument.
26036         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26037         (__sincosl): Set errno to EDOM for infinite argument.
26038         * math/libm-test.inc (sincos_test_data): Test errno setting.
26040 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26042         * string/strxfrm_l.c: Remove #define STRCMP.
26043         * string/strcoll_l.c: Remove #define STRLEN.
26044         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26045         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26047 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26049         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26050         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26051         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26052         * sysdeps/mips/mips64/Makefile: ... here.
26053         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26054         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26055         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26056         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26057         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26058         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26059         * sysdeps/mips/mips64/n64/Implies: Likewise.
26061 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26063         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26064         <sys/time.h>, <string.h>, and <errno.h>.
26065         (dest_offset, dest_address, value, zero): Remove unused variables.
26066         (ldouble): Remove typedef.
26067         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26068         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26069         1).  Fix code style.
26070         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26071         (check): Function removed.
26072         (CHECK): New macro.
26073         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26074         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26075         Don't call set_sigaction_FP and remove_sigaction_FP here.
26076         (ldouble_test): Just use 'long double' as macro argument, no need for
26077         the 'ldouble' typedef.
26078         (do_test): Set up SIGFPE handler at start, using plain signal rather
26079         than sigaction.  Fix code style.
26081 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26083         [BZ #17949]
26084         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26085         jump label.
26087 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26089         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26090         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26092         * sysdeps/powerpc/configure.ac: Remove file.
26093         * sysdeps/powerpc/configure: Likewise.
26095         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26096         [sysdep_routines]: Remove wordcopy-power6 object.
26097         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26098         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26099         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26100         (__memmove_ppc32): Likewise.
26101         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26102         file.
26103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26104         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26105         Remove preprocessor.
26107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26108         [sysdep_routines]: Remove wide chars objects.
26109         [wcsmbs]: New rule for wide char objects.
26111         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26112         Remove wordcopy-power6 obejct.
26113         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26114         Use local call for wordcopy and memcpy symbols.
26115         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26116         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26117         implementation for loader.
26118         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26120         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26121         Remove wordcopy-power7 object.
26122         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26123         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26124         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26125         (_wordcopy_fwd_dest_aligned): Likewise.
26126         (_wordcopy_bwd_aligned): Likewise.
26127         (_wordcopy_bwd_dest_aligned): Likewise.
26129         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26130         Rewrite to call __memmove_ppc instead of include default
26131         implementation.
26133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26134         Remove wide chars objects.
26135         [wcsmbs]: New rule for wide char objects.
26137 2015-02-09  Andreas Schwab  <schwab@suse.de>
26139         [BZ #17912]
26140         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26141         in terms of __O_DIRECTORY.
26143 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26145         * time/getdate.c: Include <stdbool.h>.
26146         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26147         call PTR_MANGLE.
26148         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26149         PTR_DEMANGLE.
26151 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26153         Add ersatz _Static_assert on older C hosts
26154         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26155         pre-C11 C platform that is not known to support _Static_assert.
26157 2015-02-07  Richard Braun  <rbraun@sceen.net>
26159         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26160         sigstate.
26161         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26163 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26165         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26166         priority against unexistent AIO_PRIO_DELTA_MAX.
26167         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26168         instead of int.
26169         * misc/fchflags.c (fchflags): Likewise.
26170         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26171         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26172         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26173         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26174         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26175         Declare macros.
26176         [__USE_MISC] (chflags, fchflags): Declare functions.
26177         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26178         EINVAL when nfds is greater than FD_SETSIZE.
26179         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26180         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26181         45.
26182         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26183         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26184         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26185         MACH_RCV_TIMED_OUT.
26186         * hurd/hurd/signal.h (_hurd_self_sigstate,
26187         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26188         Explicit casts from void *.
26189         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26190         * abi-tags: Rename gnu-gnu os into gnu.
26192         [BZ #4719]
26193         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26194         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26195         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26196         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26197         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26198         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26200         [BZ #17944]
26201         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26202         duplicates ADDR->sun_path with sockaddr LEN limitation.
26203         * sysdeps/mach/hurd/connect.c: Include <string.h>
26204         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26205         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26206         * sysdeps/mach/hurd/sendto.c: Likewise.
26207         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26208         implementing it by hand.
26210 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26212         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26213         Use sfi_breg on ldr.
26214         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26215         Likewise.
26217         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26218         it's defined.
26219         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26220         Test SIGSETXID only if it's defined.
26222         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26224         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26225         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26227         * nptl/tst-align2.c: Moved ...
26228         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26229         * nptl/Makefile (tests): Remove tst-align2.
26230         * sysdeps/unix/sysv/linux/Makefile
26231         [$(subdir) = nptl] (tests): Add tst-align-clone.
26232         * nptl/tst-getpid1.c: Moved ...
26233         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
26234         * nptl/tst-getpid2.c: Moved ...
26235         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
26236         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
26237         * sysdeps/unix/sysv/linux/Makefile
26238         [$(subdir) = nptl] (tests): ... here.
26239         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
26240         * sysdeps/unix/sysv/linux/Makefile
26241         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
26243         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
26244         Drop trailing \n from perror argument.  Use return rather than exit.
26246         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
26247         on [SA_SIGINFO].
26248         * nptl/tst-cancel21.c (do_test): Likewise.
26249         * debug/tst-backtrace6.c: Include <signal.h> first thing.
26250         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
26251         [!SA_SIGINFO]: Make it a stub test.
26253         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
26254         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
26256         * posix/tst-getlogin.c: Move to ...
26257         * login/tst-getlogin.c: ... here.
26258         * posix/Makefile (tests): Move tst-getlogin to ...
26259         * login/Makefile (tests): ... here.
26261         * libio/tst-atime.c (do_test): Move local variables SV and E
26262         inside [ST_NOATIME] conditional.
26264         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
26266         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
26268         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
26269         (wait_code): New function replaces macro.
26270         Call nanosleep rather than syscall.
26272         * nptl/pt-system.c: Rewritten.  Put everything under
26273         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26274         Use IFUNC to redirect when possible.
26276         * nptl/pt-longjmp.c: Rewritten.  Put everything under
26277         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26278         Use IFUNC to redirect when possible.
26280         * nptl/pt-fork.c: Rewritten.  Put everything under
26281         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26282         Use IFUNC to redirect when possible.
26283         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
26285         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
26286         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
26287         unconditionally nowadays.  This included the only reference to
26288         __vdso_clock_gettime that appears outside libc proper.
26289         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
26290         Remove version set (containing only __vdso_clock_gettime).
26291         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26292         Add attribute_hidden.
26293         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26294         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
26295         libc_hidden_data_def.
26296         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26297         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26299         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
26300         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
26301         setrpcent, and getrpcport to ...
26302         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
26303         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
26304         getrpcbynumber_r, and getrpcent_r to ...
26305         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
26306         * inet/getrpcbyname.c: Moved ...
26307         * sunrpc/getrpcbyname.c: ... here.
26308         * inet/getrpcbyname_r.c: Moved ...
26309         * sunrpc/getrpcbyname_r.c: ... here.
26310         * inet/getrpcbynumber.c: Moved ...
26311         * sunrpc/getrpcbynumber.c: ... here.
26312         * inet/getrpcbynumber_r.c: Moved ...
26313         * sunrpc/getrpcbynumber_r.c: ... here.
26314         * inet/getrpcent.c: Moved ...
26315         * sunrpc/getrpcent.c: ... here.
26316         * inet/getrpcent_r.c: Moved ...
26317         * sunrpc/getrpcent_r.c: ... here.
26318         * inet/Makefile (routines): Move those to ...
26319         * sunrpc/Makefile (routines): ... here.
26320         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
26321         the $(subdirs) list.
26322         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
26323         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
26324         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
26325         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
26327         * elf/Makefile (routines): Include $(all-dl-routines), not just
26328         $(dl-routines).
26329         (rtld-routines): Likewise.  Use = rather than :=.
26330         * sysdeps/aarch64/Makefile [$(subdir) = elf]
26331         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
26332         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
26333         * sysdeps/arm/Makefile: Likewise.
26334         * sysdeps/i386/Makefile: Likewise.
26335         * sysdeps/x86_64/Makefile: Likewise.
26336         * sysdeps/hppa/Makefile [$(subdir) = elf]
26337         (sysdep_routines, sysdep-rtld-routines): Don't add
26338         $(sysdep-dl-routines) to these.
26339         * sysdeps/ia64/Makefile: Likewise.
26340         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
26341         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
26342         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
26343         Don't add dl-static to these; sysdep-dl-routines alone is enough.
26344         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
26345         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
26346         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
26347         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
26348         * sysdeps/powerpc/Makefile [$(subdir) = elf]
26349         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
26350         these; sysdep-dl-routines alone is enough.
26352 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
26354         [BZ #17932]
26355         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
26356         where multiplication results in zero and third argument is finite
26357         and nonzero.
26358         * math/auto-libm-test-in: Add more tests of fma.
26359         * math/auto-libm-test-out: Regenerated.
26361         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
26362         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
26363         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
26364         (_FP_CMP_EQ): Likewise.
26365         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
26367         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
26368         extra argument CHECK_NAN.  Redefine as wrapper around
26369         _FP_EXTEND_CNAN.
26371 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
26373         * version.h (RELEASE): Set to "stable".
26374         (VERSION): Set to "2.21"
26375         * include/features.h (__GLIBC_MINOR__): Set to 21.
26377         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
26379 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26380             Paul Eggert  <eggert@cs.ucla.edu>
26382         [BZ #16618]
26383         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
26384         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
26385         size in bytes. Store needed elements in wpmax. Use needed size
26386         in bytes for extend_alloca.
26388 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
26390         * manual/install.texi: Latest tested versions are GCC 4.9.2,
26391         binutls 2.25, and texinfo 5.2.
26392         * INSTALL: Regenerate.
26393         * sysdeps/nios2/configure: Regenerate.
26394         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
26395         * manual/contrib.texi: Update.
26396         * po/be.po: Update.
26397         * po/bg.po: Update.
26398         * po/ca.po: Update.
26399         * po/cs.po: Update.
26400         * po/da.po: Update.
26401         * po/de.po: Update.
26402         * po/el.po: Update.
26403         * po/eo.po: Update.
26404         * po/es.po: Update.
26405         * po/fi.po: Update.
26406         * po/fr.po: Update.
26407         * po/gl.po: Update.
26408         * po/hr.po: Update.
26409         * po/hu.po: Update.
26410         * po/ia.po: Update.
26411         * po/id.po: Update.
26412         * po/it.po: Update.
26413         * po/ja.po: Update.
26414         * po/ko.po: Update.
26415         * po/lt.po: Update.
26416         * po/nb.po: Update.
26417         * po/nl.po: Update.
26418         * po/pl.po: Update.
26419         * po/pt_BR.po: Update.
26420         * po/ru.po: Update.
26421         * po/rw.po: Update.
26422         * po/sk.po: Update.
26423         * po/sl.po: Update.
26424         * po/sv.po: Update.
26425         * po/tr.po: Update.
26426         * po/uk.po: Update.
26427         * po/vi.po: Update.
26428         * po/zh_CN.po: Update.
26429         * po/zh_TW.po: Update.
26431         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26432         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26433         * sysdeps/hppa/dl-irel.h: Remove #warning.
26434         * sysdeps/hppa/entry.h: Provide prototype for
26435         __canonicalize_funcptr_for_compare and cast argument.
26436         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26437         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26438         * sysdeps/hppa/sotruss-lib.c: New file.
26439         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26440         (atomic_compare_and_exchange_val_acq): Use __typeof__.
26441         (atomic_compare_and_exchange_bool_acq): Likewise.
26442         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26443         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26445         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26446         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26447         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26449 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
26451         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26452         called function in non-PIC case.
26454 2015-01-31  David S. Miller  <davem@davemloft.net>
26456         * sysdeps/sparc/sparc32/bits/atomic.h
26457         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26458         unlock not after it.
26459         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26460         volatile register usage warnings from the compiler.
26462         * sysdeps/sparc/nptl/sem_init.c: Delete.
26463         * sysdeps/sparc/nptl/sem_post.c: Delete.
26464         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26465         * sysdeps/sparc/nptl/sem_wait.c: Delete.
26466         * sysdeps/sparc/sparc32/sem_init.c: New file.
26467         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26468         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26469         padding explicitly initialized.
26470         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26471         padding for in-semaphore spinlock.
26472         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26473         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26474         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26475         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26476         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26477         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26478         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26479         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26480         version.
26481         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26482         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26484 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
26486         [BZ #17801]
26487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26488         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26489         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26490         New.
26491         (index_AVX_Fast_Unaligned_Load): Likewise.
26492         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26493         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26494         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26495         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26496         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26497         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26498         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26499         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26500         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26502 2015-01-29  Andreas Schwab  <schwab@suse.de>
26504         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26506 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
26508         [BZ #17892]
26509         * nscd/nscd_stat.c (send_stats): Initialize DATA.
26511 2015-01-28  Martin Sebor  <msebor@redhat.com>
26513         * math/README.libm-test: Clarify. Add "How to read the test output."
26515 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
26517         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
26518         Define to 0.
26520 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
26522         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
26523         (__HAVE_64B_ATOMICS): Define to 0.
26525 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26527         [BZ #17885]
26528         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
26529         value to set as new flag.
26531         [BZ #16576]
26532         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
26533         and use _ARCH_PPCSQ instead.
26534         (__ieee754_sqrt): Likewise.
26535         (__ieee754_sqrtf): Likewise.
26536         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
26537         _ARCH_PPCSQ is defined.
26538         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
26539         fsqrt instruction.
26540         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
26541         _ARCH_PPCSQ is defined.
26542         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
26543         fsqrts instruction.
26544         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
26546 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26548         * iconv/loop.c: Suppress array out of bound warning caused by GCC
26549         bug (GCC BZ #64739).
26551 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
26553         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26554         Mark _retval as used.
26555         (lll_futex_wake_unlock): Likewise.
26556         (lll_futex_timed_wait_requeue_pi): Likewise.
26558         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26559         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
26560         register variables.
26562         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
26563         libm_hidden_def.
26565         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
26566         (__bswap_64): Mark as __always_inline.
26568 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
26570         [BZ #15378]
26571         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
26572         when none of the search directories exist.
26574 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26576         [BZ #17869]
26577         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
26578         power8 in .machine directive.
26580         [BZ #17868]
26581         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
26582         set dependency from opd value.
26584 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26587         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26588         architecture.
26590 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26592         [BZ #17870]
26593         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
26594         with uint64_t.
26595         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
26596         (uint64_t) 1.
26597         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
26598         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26599         Replace 1UL with (uint64_t) 1.
26600         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
26601         int with uint64_t.
26603 2015-01-23  Roland McGrath  <roland@hack.frob.com>
26605         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
26606         (if_freenameindex): Likewise.
26608         * resource/getrlimit64.c: Add missing libc_hidden_def.
26610 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
26612         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
26613         __label__.
26614         (_FP_FMA): Likewise.
26615         (_FP_TO_INT_ROUND): Likewise.
26616         (_FP_FROM_INT): Likewise.
26618 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26620         [BZ #16418]
26621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
26622         Make code racy and cancel safe.
26624 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
26626         * sysdeps/arm/unwind-resume.h: Fix copyright year.
26627         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
26628         attribution.
26630         * pwd/tst-getpw.c: Rewrite.
26632         [BZ #17702]
26633         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
26634         (modules-names): Add moddummy1 and moddummy2.
26635         ($(objpfx)tst-rec-dlopen): Define.
26636         * dlfcn/moddummy1.c: New file.
26637         * dlfcn/moddummy2.c: New file.
26638         * dlfcn/tst-rec-dlopen.c: New file.
26639         * elf/dl-cache.c (_dl_load_cache_lookup):
26640         Return char*. Copy result with alloca/strcpy/strdup.
26641         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
26642         returns char*. Free cached. If not saving realname
26643         free cached.
26644         * elf/dl-open.c (dl_open_worker): Do not assert that
26645         _r_debug->r_state is RT_CONSISTENT.
26646         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
26647         returns char*.
26649 2015-01-21  Torvald Riegel  <triegel@redhat.com>
26650             Carlos O'Donell  <carlos@redhat.com>
26652         [BZ #12674]
26653         * nptl/sem_waitcommon.c: New file.
26654         * nptl/sem_wait.c: Include sem_waitcommon.c.
26655         (__sem_wait_cleanup, do_futex_wait): Remove.
26656         (__new_sem_wait): Adapt.
26657         (__new_sem_trywait): New function.
26658         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
26659         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
26660         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
26661         (sem_timedwait): Adapt.
26662         * nptl/sem_post.c (__new_sem_post): Adapt.
26663         (futex_wake): New function.
26664         (__old_sem_post): Add release MO fence.
26665         * nptl/sem_open.c (sem_open): Adapt.
26666         * nptl/sem_init.c (__new_sem_init): Adapt.
26667         (futex_private_if_supported): New function.
26668         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
26669         (__old_sem_getvalue): Add using previous code.
26670         * sysdeps/nptl/internaltypes.h: Adapt.
26671         * nptl/tst-sem13.c (do_test): Adapt.
26672         * nptl/tst-sem11.c (main): Adapt.
26673         * nptl/sem_trywait.c: Remove.
26674         * nptl/DESIGN-sem.txt: Remove.
26675         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
26676         (gen-as-const-headers): Remove structsem.sym.
26677         * nptl/structsem.sym: Remove.
26678         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
26679         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
26680         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
26681         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
26682         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
26683         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
26684         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
26685         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
26686         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
26687         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
26688         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
26689         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
26690         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
26691         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
26692         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
26693         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
26694         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
26695         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
26696         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
26697         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
26698         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
26699         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
26701 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
26703         * INSTALL: Regenerated.
26705         * po/libc.pot: Regenerated.
26707 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
26708             Sandra Loosemore  <sandra@codesourcery.com>
26709             Andrew Jenner  <andrew@codesourcery.com>
26710             Joseph Myers  <joseph@codesourcery.com>
26711             Nathan Sidwell  <nathan@codesourcery.com>
26713         * NEWS: Mention new Nios II port.
26714         * sysdeps/nios2/Implies: New file.
26715         * sysdeps/nios2/Makefile: New file.
26716         * sysdeps/nios2/Subdirs: New file.
26717         * sysdeps/nios2/Versions: New file.
26718         * sysdeps/nios2/__longjmp.S: New file.
26719         * sysdeps/nios2/abort-instr.h: New file.
26720         * sysdeps/nios2/backtrace.c: New file.
26721         * sysdeps/nios2/bits/endian.h: New file.
26722         * sysdeps/nios2/bits/fenv.h: New file.
26723         * sysdeps/nios2/bits/link.h: New file.
26724         * sysdeps/nios2/bits/setjmp.h: New file.
26725         * sysdeps/nios2/bsd-_setjmp.S: New file.
26726         * sysdeps/nios2/bsd-setjmp.S: New file.
26727         * sysdeps/nios2/configure: New generated file.
26728         * sysdeps/nios2/configure.ac: New file.
26729         * sysdeps/nios2/crti.S: New file.
26730         * sysdeps/nios2/crtn.S: New file.
26731         * sysdeps/nios2/dl-init.c: New file.
26732         * sysdeps/nios2/dl-machine.h: New file.
26733         * sysdeps/nios2/dl-sysdep.h: New file.
26734         * sysdeps/nios2/dl-tls.h: New file.
26735         * sysdeps/nios2/dl-trampoline.S: New file.
26736         * sysdeps/nios2/gccframe.h: New file.
26737         * sysdeps/nios2/gmp-mparam.h: New file.
26738         * sysdeps/nios2/jmpbuf-offsets.h: New file.
26739         * sysdeps/nios2/jmpbuf-unwind.h: New file.
26740         * sysdeps/nios2/ldsodefs.h: New file.
26741         * sysdeps/nios2/libc-tls.c: New file.
26742         * sysdeps/nios2/libm-test-ulps: New file.
26743         * sysdeps/nios2/machine-gmon.h: New file.
26744         * sysdeps/nios2/math-tests.h: New file.
26745         * sysdeps/nios2/math_private.h: New file.
26746         * sysdeps/nios2/memusage.h: New file.
26747         * sysdeps/nios2/nptl/Makefile: New file.
26748         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
26749         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
26750         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
26751         * sysdeps/nios2/nptl/pthreaddef.h: New file.
26752         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
26753         * sysdeps/nios2/nptl/tls.h: New file.
26754         * sysdeps/nios2/preconfigure: New file.
26755         * sysdeps/nios2/s_fma.c: New file.
26756         * sysdeps/nios2/s_fmaf.c: New file.
26757         * sysdeps/nios2/setjmp.S: New file.
26758         * sysdeps/nios2/sfp-machine.h: New file.
26759         * sysdeps/nios2/sotruss-lib.c: New file.
26760         * sysdeps/nios2/stackguard-macros.h: New file.
26761         * sysdeps/nios2/stackinfo.h: New file.
26762         * sysdeps/nios2/start.S: New file.
26763         * sysdeps/nios2/sysdep.h: New file.
26764         * sysdeps/nios2/tls-macros.h: New file.
26765         * sysdeps/nios2/tst-audit.h: New file.
26766         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
26767         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
26768         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
26769         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
26770         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
26771         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
26772         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
26773         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
26774         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
26775         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
26776         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
26777         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
26778         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
26779         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
26780         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
26781         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
26782         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
26783         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
26784         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
26785         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
26786         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
26787         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
26788         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
26789         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
26790         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
26791         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
26792         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
26793         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
26794         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
26795         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
26796         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
26797         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
26798         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
26799         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
26800         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
26801         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
26802         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
26803         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
26804         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
26805         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
26806         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
26807         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
26808         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
26809         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
26811 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26813         [BZ #17844]
26814         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
26815         (getutent): Use weak_alias in non SHARED case
26816         and default_symbol_version in SHARED case.
26817         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
26818         (getutent_r, pututline): Likewise.
26819         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
26820         (getutid): Likewise.
26821         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
26822         (getutid_r): Likewise.
26823         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
26824         (getutline): Likewise.
26825         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
26826         (getutline_r): Likewise.
26827         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
26828         (updwtmp): Likewise.
26830 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26832         [BZ #17848]
26833         * sysdeps/s390/s390-32/memcmp.S
26834         (memcmp_g5): Rename to __memcmp_g5.
26835         * sysdeps/s390/s390-32/memcpy.S
26836         (memcpy_g5): Rename to __memcpy_g5.
26837         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26838         (memcpy_mvcle) Rename to __memcpy_mvcle.
26839         * sysdeps/s390/s390-32/memset.S
26840         (memset_g5): Rename to __memset_g5.
26841         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26842         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26843         and use prefixed functions.
26844         * sysdeps/s390/s390-32/multiarch/memcmp.S
26845         (memcmp_z196): Rename to __memcmp_z196.
26846         (memcmp_z10): Rename to __memcmp_z10.
26847         (memcmp): Set alias to __memcmp_g5.
26848         (bcmp): Set alias to __memcmp_g5.
26849         * sysdeps/s390/s390-32/multiarch/memcpy.S
26850         (memcpy_z196): Rename to __memcpy_z196.
26851         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26852         (memcpy_z10): Rename to __memcpy_z10.
26853         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26854         (memcpy): Set alias to __memcpy_g5.
26855         * sysdeps/s390/s390-32/multiarch/memset.S
26856         (memset_z196): Rename to __memset_z196.
26857         Jump to __memset_mvcle instead of memset_mvcle.
26858         (memset_z10): Rename to __memset_z10.
26859         Jump to __memset_mvcle instead of memset_mvcle.
26860         (memset_mvcle) Rename to __memset_mvcle.
26861         (memset): Set alias to __memset_g5.
26862         * sysdeps/s390/s390-64/memcmp.S
26863         (memcmp_z900): Rename to __memcmp_z900.
26864         * sysdeps/s390/s390-64/memcpy.S
26865         (memcpy_z900): Rename to __memcpy_z900.
26866         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26867         (memcpy_mvcle) Rename to __memcpy_mvcle.
26868         * sysdeps/s390/s390-64/memset.S
26869         (memset_z900): Rename to __memset_z900.
26870         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
26871         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26872         and use prefixed functions.
26873         * sysdeps/s390/s390-64/multiarch/memcmp.S
26874         (memcmp_z196): Rename to __memcmp_z196.
26875         (memcmp_z10): Rename to __memcmp_z10.
26876         (memcmp): Set alias to __memcmp_z900.
26877         (bcmp): Set alias to __memcmp_z900.
26878         * sysdeps/s390/s390-64/multiarch/memcpy.S
26879         (memcpy_z196): Rename to __memcpy_z196.
26880         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26881         (memcpy_z10): Rename to __memcpy_z10.
26882         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26883         (memcpy): Set alias to __memcpy_z900.
26884         * sysdeps/s390/s390-64/multiarch/memset.S
26885         (memset_z196): Rename to __memset_z196.
26886         Jump to __memset_mvcle instead of memset_mvcle.
26887         (memset_z10): Rename to __memset_z10.
26888         Jump to __memset_mvcle instead of memset_mvcle.
26889         (memset_mvcle) Rename to __memset_mvcle.
26890         (memset): Set alias to __memset_z900.
26892 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26894         [BZ #17748]
26895         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26896         __fesetenv instead of fesetenv.
26898 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26900         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26901         macro.
26903 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26905         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26906         regression on LE.
26908         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26909         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26910         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26911         strncmp-power8 object.
26912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26913         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26914         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26915         * NEWS: Update.
26917 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26918             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26920         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26921         trailing byte check.
26923 2015-01-13  David S. Miller  <davem@davemloft.net>
26925         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26927 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26929         * login/logout.c (logout): Use memset rather than bzero.
26930         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26931         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26932         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26933         (_gethtbyaddr): Likewise.
26934         * locale/programs/simple-hash.c (bcopy): Macro removed.
26936 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26938         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26939         Add strcmp-power8 object.
26940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26941         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26942         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26943         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26944         __strcmp_power8 implementation.
26945         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26946         * NEWS: Update.
26948         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26949         Add strncpy-power8 and stpncpy-power8 objects.
26950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26951         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26952         implementations.
26953         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26954         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26955         __stpncpy_power8 implementation.
26956         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26957         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26958         __strncpy_power8 implementation.
26959         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26960         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26961         * NEWS: Update.
26963         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26964         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26965         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26968         strncat-power8 object.
26969         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26970         __strcat_power8 implementation.
26971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26972         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26973         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26974         optimized strcat for power8.
26976         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26977         strcpy-power8 and stpcpy-power8 objects.
26978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26979         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26980         implementations.
26981         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26982         multiarch stpcpy implementation for POWER8.
26983         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26984         multiarch strcpy implementation for POWER8.
26985         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26986         __strcpy_power8 function.
26987         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26988         stpcpy for POWER8.
26989         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26990         strcpy for POWER8.
26991         * NEWS: Update.
26993 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26995         [BZ #16009]
26996         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26997         weights and rules. Use do_xfrm_cached if data fits in cache,
26998         do_xfrm otherwise.  Moved former main loop to...
26999         * (do_xfrm_cached): New function.
27000         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27001         find_idx, find_position and stack_push.
27002         * (find_idx): New function.
27003         * (find_position): Likewise.
27004         * localedata/sort-test.sh: Added test run for do_xfrm.
27005         * localedata/xfrm-test.c (main): Added command line option
27006         -nocache to run the test with strings that are too large for
27007         the STRXFRM cache.
27009 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27011         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27012         variable to lll_futex_wake call, not the value itself.
27014 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27016         [BZ #17803]
27017         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27018         twom64.  Adjust value to 0x1p-64L.
27019         (__scalblnl): Only return standard underflowing result for K <=
27020         -64 not K <= -63; adjust exponent for underflowing result by 64
27021         not 63.
27022         * math/libm-test.inc (scalbn_test_data): Add more tests.
27023         (scalbln_test_data): Likewise.
27025         [BZ #17834]
27026         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27027         0x1p63L.
27028         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27029         not HX.
27030         * math/libm-test.inc (scalbn_test_data): Add more tests.
27031         (scalbln_test_data): Likewise.
27033 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27034             Stefani Seibold  <stefani@seibold.net>
27036         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27037         (sysdep_routines): Add dl-vdso here, ...
27038         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27039         (sysdep_routines): ... not here.
27040         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27041         fallback when vDSO is not presented.
27042         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27043         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27044         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27045         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27046         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27047         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27048         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27049         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27050         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27051         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27052         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27053         fallback configurable symbol when vDSO is not available.
27054         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27055         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27056         be able to redefine fallback symbol when vDSO is not available.
27057         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27058         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27060 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27062         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27063         (TLS_INIT_TP): Add tm_capable initialization.
27064         (TLS_DEFINE_INIT_TP): Likewise.
27065         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27066         TCB.
27067         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27068         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27069         calculation.
27070         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27071         transactoion is lock elision is built and TCB tm_capable is set.
27072         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27074         (INTERNAL_SYSCALL_NCS): Likewise.
27075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27076         (INTERNAL_SYSCALL_NCS): Likewise.
27077         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27079         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27080         for powerpc.
27081         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27082         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27083         and remove it for 32 bits case.
27084         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27086         initialization.
27087         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27088         Disable lock elision with rdlocks if elision is not available.
27090         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27091         (sysdep_routines): Add lock elision objects.
27092         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27093         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27094         [pthread_mutex_t] (__elision): Add field.
27095         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27096         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27097         elision definitions for powerpc.
27098         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27099         implementation of lock elision for powerpc.
27100         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27101         implementation of timed lock elision for powerpc.
27102         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27103         implementation of trylock with lock elision for powerpc.
27104         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27105         implementaion of unlock for lock elision for powerpc.
27106         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27107         automatic enable lock elision for mutexes.
27108         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27109         transaction execution definitions for powerpc.
27110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27111         definitions.
27112         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27113         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27114         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27115         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27116         * NEWS: Update.
27118 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27120         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27121         for #include of <shm-directory.h>.
27123 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27125         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27126         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27128 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27130         [BZ #17791]
27131         * NEWS: Mention bug fix.
27132         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27133         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27134         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27136 2015-01-09  Torvald Riegel <triegel@redhat.com>
27138         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27140 2015-01-09  Torvald Riegel <triegel@redhat.com>
27142         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27144 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27146         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27147         pointer and cast to uintptr_t.
27149 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27151         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27152         removed.
27153         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27155 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27157         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27158         of 0.
27160 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27162         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27163         <nptl/pthreadP.h> instead.
27164         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27166         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27167         already defined.
27168         [__SIGRTMIN] (init): Function removed.
27169         [__SIGRTMIN] (initialized): Variable removed.
27170         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27171         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27172         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27173         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27174         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27175         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27176         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27177         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27178         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27179         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27180         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27181         * sysdeps/nptl/allocrtsig.c: New file.
27182         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27183         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27184         * sysdeps/generic/testrtsig.h: File removed.
27186         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27187         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27189         * nptl/nptl-init.c (pthread_functions): Conditionalize
27190         .ptr__nptl_setxid initialization on [SIGSETXID].
27192         * sysdeps/nptl/sys/procfs.h: New file.
27193         * nptl_db/Makefile (headers): Add it.
27194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27196         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27197         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27198         * nptl/pthread_attr_setaffinity.c: Include it.
27199         * nptl/pthread_setattr_default_np.c: Likewise.
27200         * nptl/check-cpuset.h: New file.
27202 2015-01-08  Richard Henderson  <rth@redhat.com>
27204         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27205         (CFLAGS-tst-execstack-prog.c): Likewise.
27206         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27208 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27209             Sandra Loosemore  <sandra@codesourcery.com>
27210             Andrew Jenner  <andrew@codesourcery.com>
27211             Joseph Myers  <joseph@codesourcery.com>
27212             Nathan Sidwell  <nathan@codesourcery.com>
27214         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27215         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27216         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27217         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27218         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27219         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27220         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27221         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27222         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27223         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27224         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27225         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27226         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27227         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27228         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27229         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27230         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27232 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27234         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
27235         timespec struct member in syscall macro.
27236         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27237         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
27238         first timeval struct member in syscall macro.
27239         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
27241 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
27243         [BZ #17748]
27244         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
27245         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
27246         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
27247         __feupdateenv and define as weak alias of __feupdateenv.  Use
27248         libm_hidden_weak.
27249         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
27250         libm_hidden_def.
27251         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
27252         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
27253         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27254         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
27255         libm_hidden_def.
27256         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
27257         __feupdateenv and define as weak alias of __feupdateenv.  Use
27258         libm_hidden_weak.
27259         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
27260         libm_hidden_def.
27261         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
27262         __feupdateenv and define as weak alias of __feupdateenv.  Use
27263         libm_hidden_weak.
27264         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
27265         libm_hidden_def.
27266         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27267         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27268         (__feupdateenv): Likewise.
27269         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
27270         __feupdateenv and define as weak alias of __feupdateenv.  Use
27271         libm_hidden_weak.
27272         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27273         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
27274         libm_hidden_def.
27275         * sysdeps/tile/math_private.h (__feupdateenv): New inline
27276         function.
27277         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
27278         libm_hidden_def.
27279         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
27280         __feupdateenv instead of feupdateenv.
27281         (default_libc_feupdateenv_test): Likewise.
27282         (libc_feresetround_ctx): Likewise.
27284 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27286         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
27287         prototype.
27289 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
27291         * posix/regcomp.c (parse_bracket_exp): Initialize type to
27292         COLL_SYM in a couple of places to avoid uninitialized variable
27293         wanings on tilegx gcc 4.8.2.
27295 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27297         * sysdeps/aarch64/strcpy.S: New file.
27298         * sysdeps/aarch64/stpcpy.S: New file.
27299         * NEWS: Updated.
27301 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27303         * sysdeps/aarch64/strrchr.S: New file.
27304         * NEWS: Updated.
27306 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
27308         [BZ #17658]
27309         * stdlib/setenv.c: Fix memory leak when setting large,
27310         duplicate string.
27312 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
27314         [BZ #17273]
27315         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
27316         and tabs from buffer before parsing fstab entry.
27317         * misc/tst-mntent.c (main): Add test for mount entry with
27318         trailing spaces and tabs.
27320 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
27322         [BZ #17748]
27323         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
27324         * math/fesetround.c (fesetround): Rename to __fesetround and
27325         define as weak alias of __fesetround.  Use libm_hidden_weak.
27326         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
27327         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
27328         * sysdeps/arm/fesetround.c (fesetround): Likewise.
27329         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
27330         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
27331         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
27332         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
27333         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
27334         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
27335         __fesetround_inline.
27336         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
27337         __fesetround_inline instead of __fesetround.
27338         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
27339         __fesetround and define as weak alias of __fesetround.  Use
27340         libm_hidden_weak.  Call __fesetround_inline instead of
27341         __fesetround.
27342         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
27343         __fesetround and define as weak alias of __fesetround.  Use
27344         libm_hidden_weak.
27345         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
27346         Likewise.
27347         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
27348         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27349         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
27350         * sysdeps/tile/math_private.h (__fesetround): New inline function.
27351         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
27352         __fesetround and define as weak alias of __fesetround.  Use
27353         libm_hidden_weak.
27354         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
27355         __fesetround instead of fesetround.
27356         (default_libc_feholdexcept_setround): Likewise.
27357         (libc_feholdsetround_ctx): Likewise.
27358         (libc_feholdsetround_noex_ctx): Likewise.
27360         [BZ #17748]
27361         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
27362         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
27363         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27364         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27365         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27366         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
27367         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27368         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27369         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27370         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27371         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27372         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27373         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27374         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27375         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
27376         libm_hidden_def.
27377         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
27378         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
27379         Likewise.
27380         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27381         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27382         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27383         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27384         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
27385         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27386         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27387         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
27388         __fesetenv instead of fesetenv.
27389         (libc_feresetround_noex_ctx): Likewise.
27390         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27391         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27392         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
27393         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27394         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27395         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27396         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27397         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27398         (__feupdateenv): Likewise.
27399         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27400         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27401         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27402         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
27404 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27406         [BZ #17806]
27407         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
27408         addresses have been freed.
27410 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27412         * resolv/res_init.c (__res_vinit): Improve comments about nserv
27413         and nservall.
27415 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
27417         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27418         Clean up check_pf allocation pattern. addresses
27420 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27422         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27423         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27424         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27425         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27426         * nptl/pthread_join.c (pthread_join): Likewise.
27427         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27428         * sysdeps/posix/waitid.c (__waitid): Likewise.
27429         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27430         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27431         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27432         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27434         Likewise.
27435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27436         (__libc_pread64): Likewise.
27437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27438         (__libc_pwrite): Likewise.
27439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27440         (__libc_pwrite64): Likewsie.
27441         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27442         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27443         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27444         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27445         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27446         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27447         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27449         Likewise.
27450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27451         (__libc_pread64): Likewise.
27452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27453         Likewise.
27454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27455         (__libc_pwrite64): Likewise.
27456         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27457         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27458         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27459         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27460         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27461         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27462         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27463         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27464         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27465         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27466         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27467         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27468         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27469         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27470         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27471         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27472         Likewise.
27474 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27476         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27477         (CFLAGS-test-double.c): Likewise.
27478         (CFLAGS-test-ldouble.c): Likewise.
27479         (CPPFLAGS-test-ifloat.c): Likewise.
27480         (CPPFLAGS-test-idouble.c): Likewise.
27481         (CPPFLAGS-test-ildoubl.c): Likewise.
27482         (CFLAGS-test-test-fenv.c): Remove variable.
27483         (CFLAGS-test-misc.c): Likewise.
27485 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
27487         [BZ #17797]
27488         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27489         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27490         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27491         CLOCKS_PER_SEC == 1000000.
27492         * time/clocktest.c (main): Replace %ld with %jd and cast to
27493         intmax_t.
27495 2015-01-05  Roland McGrath  <roland@hack.frob.com>
27497         * sysdeps/generic/unwind-resume.h: New file.
27498         * sysdeps/gnu/unwind-resume.c: Include it.
27499         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27500         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27501         argument list.
27502         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27503         global rather than static.
27504         (_Unwind_Resume): Update user.
27505         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27506         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
27507         rather than static.  Add __attribute__ ((cold)).
27508         (_Unwind_Resume, __gcc_personality_v0): Update callers.
27509         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27510         * sysdeps/arm/arm-unwind-resume.S: New file.
27511         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27512         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27513         * sysdeps/arm/Makefile [$(subdir) = csu]
27514         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27515         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27516         Add rt-arm-unwind-resume.
27517         [$(subdir) = nptl]
27518         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27519         Add pt-arm-unwind-resume.
27520         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27521         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
27523 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27525         [BZ #17748]
27526         * include/fenv.h (__feholdexcept): Declare.  Use
27527         libm_hidden_proto.
27528         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
27529         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
27530         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27531         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
27532         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
27533         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
27534         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
27535         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27536         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
27537         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
27538         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27539         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
27540         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
27541         (feholdexcept): Likewise.
27542         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27543         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27544         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27545         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27546         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
27547         __feholdexcept instead of feholdexcept.
27548         (default_libc_feholdexcept_setround): Likewise.
27550 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27552         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
27553         to avoid using stl/str to align destination.
27555 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27557         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
27559 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27561         [BZ #17796]
27562         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
27563         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
27564         Define as weak alias not strong alias.
27566 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27568         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
27569         bltzal with addiupc.
27570         (RTLD_START): Ditto.
27572 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
27574         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
27575         for __vdso_* functions in declarations.
27576         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
27577         definitions.
27578         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
27579         INTERNAL_VSYSCALL): Use struct return types to check for error.
27581         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
27582         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
27583         function with cast from llround().
27584         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
27585         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27586         Define.
27588 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27590         [BZ #17793]
27591         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
27592         Define as weak alias not strong alias.
27594         [BZ #17635]
27595         * ctype/ctype-c99.c: New file.  isblank implementation moved from
27596         ...
27597         * ctype/ctype-extn.c: ... here.
27598         (__isblank_l): Move to ...
27599         * ctype/ctype-c99_l.c: ... here.  New file.
27600         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
27601         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
27602         Remove variable.
27603         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27604         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27605         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27606         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27607         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27609         [BZ #17777]
27610         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
27611         (posix_fadvise64): Define as weak alias not strong alias.
27612         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27613         (posix_fallocate64): Likewise.
27614         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
27615         Remove variable.
27616         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27617         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27618         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27619         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27620         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27622 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
27624         [BZ #16191]
27625         * NEWS: Mention bug fix.
27626         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
27627         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
27628         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
27629         (HOST_STACK_END_ADDR): Likewise.
27631 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27633         [BZ #17748]
27634         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
27635         * math/fegetround.c (fegetround): Rename to __fegetround and
27636         define as weak alias of __fegetround.  Use libm_hidden_weak.
27637         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
27638         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
27639         * sysdeps/arm/fegetround.c (fegetround): Likewise.
27640         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
27641         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27642         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
27643         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
27644         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
27645         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27646         Undefine after rather than before function definition; use
27647         parentheses around function name in definition.
27648         (__fegetround): Also undefine macro after function definition.
27649         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
27650         __fegetround and define as weak alias of __fegetround.  Use
27651         libm_hidden_weak.  Do not undefine as macro.
27652         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27653         Likewise.
27654         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
27655         __fegetround and define as weak alias of __fegetround.  Use
27656         libm_hidden_weak.
27657         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27658         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27659         * sysdeps/tile/math_private.h (__fegetround): New inline function.
27660         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
27661         __fegetround and define as weak alias of __fegetround.  Use
27662         libm_hidden_weak.
27663         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
27664         __fegetround instead of fegetround.
27666         [BZ #17782]
27667         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
27668         Condition macro definition on [__USE_MISC].
27670         [BZ #17781]
27671         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
27672         (struct sigaction): Change type of sa_flags field to int.
27674         [BZ #17780]
27675         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
27676         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
27677         __glibc_reserved0.
27679         * nptl/version.c (banner): Use single year in copyright notice.
27681         * NEWS: Update copyright dates.
27682         * catgets/gencat.c (print_version): Likewise.
27683         * csu/version.c (banner): Likewise.
27684         * debug/catchsegv.sh: Likewise.
27685         * debug/pcprofiledump.c (print_version): Likewise.
27686         * debug/xtrace.sh (do_version): Likewise.
27687         * elf/ldconfig.c (print_version): Likewise.
27688         * elf/ldd.bash.in: Likewise.
27689         * elf/pldd.c (print_version): Likewise.
27690         * elf/sotruss.sh: Likewise.
27691         * elf/sprof.c (print_version): Likewise.
27692         * iconv/iconv_prog.c (print_version): Likewise.
27693         * iconv/iconvconfig.c (print_version): Likewise.
27694         * locale/programs/locale.c (print_version): Likewise.
27695         * locale/programs/localedef.c (print_version): Likewise.
27696         * login/programs/pt_chown.c (print_version): Likewise.
27697         * malloc/memusage.sh (do_version): Likewise.
27698         * malloc/memusagestat.c (print_version): Likewise.
27699         * malloc/mtrace.pl: Likewise.
27700         * manual/libc.texinfo: Likewise.
27701         * nptl/version.c (banner): Likewise.
27702         * nscd/nscd.c (print_version): Likewise.
27703         * nss/getent.c (print_version): Likewise.
27704         * nss/makedb.c (print_version): Likewise.
27705         * posix/getconf.c (main): Likewise.
27706         * scripts/test-installation.pl: Likewise.
27707         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
27709 2015-01-02  Will Newton  <will.newton@linaro.org>
27711         * sysdeps/arm/armv7/configure: Removed.
27712         * sysdeps/arm/armv7/configure.ac: Likewise.
27714 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27716         * All files with FSF copyright notices: Update copyright dates
27717         using scripts/update-copyrights.
27718         * intl/plural.c: Regenerated.
27719         * locale/programs/charmap-kw.h: Likewise.
27720         * locale/programs/locfile-kw.h: Likewise.
27722 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27724         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
27726 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27728         [BZ #17748]
27729         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
27730         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
27731         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27732         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27733         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27734         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
27735         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27736         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
27737         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27738         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27739         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27740         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27741         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27742         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27743         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
27744         libm_hidden_def.
27745         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
27746         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
27747         Likewise.
27748         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27749         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27750         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27751         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27752         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
27753         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27754         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27755         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
27756         __fegetenv instead of fegetenv.
27757         (libc_feholdsetround_noex_ctx): Likewise.
27759 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27761         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
27762         (Elf_MIPS_ABIFlags_v0): New structure.
27763         (EF_MIPS_FP64): Define.
27764         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
27765         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
27766         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
27767         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
27768         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
27769         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
27770         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
27771         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
27772         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
27773         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
27774         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
27775         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
27776         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
27777         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
27778         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
27779         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
27780         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
27781         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
27782         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
27783         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
27784         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
27785         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
27786         field.
27787         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
27788         EF_MIPS_FP64.
27789         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
27790         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
27791         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
27792         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
27793         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
27794         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
27795         * sysdeps/mips/tst-abi-interlink.c: Likewise.
27796         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
27797         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
27798         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
27799         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
27800         record the current FP ABI extension.
27801         (mips-mode-switch): Define to show if kernel headers support mode
27802         switching.
27803         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
27804         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
27805         supported SYSV ABI version to 3.
27806         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
27807         feature.
27809 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27810             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27812         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
27813         path.
27814         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
27816 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27818         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
27819         __fegetround and redefine to call __fegetround.  Remove condition
27820         on [!__NO_MATH_INLINES].
27821         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
27822         function.
27823         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
27824         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27825         Remove macro.
27826         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
27827         instead of <fenv_libc.h>.
27828         (__llrintl): Call fegetround instead of __fegetround.
27829         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
27830         instead of <fenv_libc.h>.
27831         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27832         (__lrintl): Call fegetround instead of __fegetround.
27833         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
27834         instead of <fenv_libc.h>.
27835         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27836         (__rintl): Call fegetround instead of __fegetround.
27838 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27840         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
27841         arrays.
27843 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27845         [BZ #17775]
27846         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
27847         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
27848         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
27850 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27852         * sysdeps/i386/tls-macros.h: Include <features.h>.
27853         (TLS_LE): Use non-PIC version for GCC >= 5.0.
27854         (TLS_IE): Likewise.
27855         (TLS_LD): Likewise.
27856         (TLS_GD): Likewise.
27857         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
27858         define for GCC >= 5.0.
27860 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
27862         * math/test-fenv.c (test_single_exception, set_single_exc,
27863         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27864         feexcp_mask_test, feenable_test, fe_single_test): Add
27865         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
27866         case where they are not used.
27867         * math/libm-test.inc: Likewise.
27868         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
27869         unused in the absence of FP rounding/exception support.
27870         * stdio-common/tst-printf-round.c: Likewise.
27871         * stdlib/tst-strtod-round.c: Likewise.
27872         * stdlib/tst-strtod-underflow.c: Likewise.
27874 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
27876         [BZ #17723]
27877         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
27878         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
27879         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27880         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27881         libm_hidden_weak.
27882         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
27883         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27884         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27885         libm_hidden_def.
27886         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27887         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27888         libm_hidden_weak.
27889         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27890         Likewise.
27891         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27892         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27893         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27894         libm_hidden_weak.
27895         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27896         libm_hidden_def.
27897         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27898         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27899         (__feraiseexcept): Likewise.
27900         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27901         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27902         libm_hidden_weak.
27903         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27904         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27905         libm_hidden_def.
27906         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27907         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27908         Use libm_hidden_def.
27909         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27910         libm_hidden_def.
27911         (feraiseexcept): Define as weak not strong alias.  Use
27912         libm_hidden_weak.
27913         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27914         New inline function.  Factored out of ...
27915         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27916         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27917         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27918         feraiseexcept.
27919         * math/w_acos.c (__acos): Likewise.
27920         * math/w_asin.c (__asin): Likewise.
27921         * math/w_ilogb.c (__ilogb): Likewise.
27922         * math/w_j0.c (y0): Likewise.
27923         * math/w_j1.c (y1): Likewise.
27924         * math/w_jn.c (yn): Likewise.
27925         * math/w_log.c (__log): Likewise.
27926         * math/w_log10.c (__log10): Likewise.
27927         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27928         * sysdeps/aarch64/fpu/math_private.h
27929         (libc_feupdateenv_test_aarch64): Likewise.
27930         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27931         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27932         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27933         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27934         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27935         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27936         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27937         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27938         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27939         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27941 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27943         [BZ #17732]
27944         * io/test-utime.c (main): Replace %ld with %jd and cast to
27945         intmax_t.
27946         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27947         * nptl/tst-mutex5.c: Include <stdint.h>.
27948         (do_test): Replace %ld with %jd and cast to intmax_t.
27949         * posix/tst-regex.c (run_test): Likewise.
27950         (run_test_backwards): Likewise.
27951         * rt/tst-clock.c: Include <stdint.h>.
27952         (clock_test): Replace %ld with %jd and cast to intmax_t.
27953         * rt/tst-cpuclock1.c: Include <stdint.h>.
27954         (do_test): Replace %lu with %ju and cast to uintmax_t.
27955         * rt/tst-cpuclock2.c: Include <stdint.h>.
27956         (do_test): Replace %lu with %ju and cast to uintmax_t.
27957         * rt/tst-mqueue1.c: Include <stdint.h>.
27958         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27959         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27960         intmax_t.
27961         * rt/tst-mqueue4.c (do_test): Likewise.
27962         * rt/tst-timer4.c: Include <stdint.h>.
27963         (check_ts): Replace %ld with %jd and cast to intmax_t.
27964         (do_test): Likewise.
27965         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27966         and cast to intmax_t.
27967         * sysdeps/pthread/tst-timer.c (main): Likewise.
27968         * time/clocktest.c (main): Likewise.
27969         * time/tst-posixtz.c (do_test): Likewise.
27970         * timezone/tst-timezone.c (main): Likewise.
27972 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27973             H.J. Lu  <hongjiu.lu@intel.com>
27975         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27976         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27977         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27978         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27979         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27980         version if bit_Fast_Unaligned_Load is set.
27981         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27982         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27983         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27984         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27985         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27986         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27987         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27988         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27989         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27990         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27991         to 4.
27992         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27993         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27994         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27995         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27997 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27999         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28000         instead of #if to avoid a Wundef warning.
28001         * stdlib/tst-limits.c (do_test): Likewise.
28003         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28004         parallel other exception macros.
28005         (fegetenv): Convert from macro to extern inline so that it applies
28006         retroactively to inline functions already seen by the compiler.
28007         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28009         * posix/Makefile (before-compile): Use $(objpfx) for
28010         posix-conf-vars-def.h.
28012 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28014         * posix/getconf.c (main): Use size_t for type of I.
28015         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28016         NSPEC.
28018         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28019         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28020         * posix/posix-envs.def: Likewise.
28021         * sysdeps/posix/sysconf.c: Likewise.
28022         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28023         (specs): Remove array.
28024         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28025         array.
28027         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28028         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28029         (__sysconf): Use CONF_IS_* macros.
28031         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28032         ($(objpfx)posix-conf-vars-def.h): New target.
28033         * posix/posix-conf-vars.list: New file.
28034         * posix/posix-conf-vars.h: New file.
28035         * posix/confstr.c: Include posix-conf-vars.h.
28036         (confstr): Use CONF_IS_* macros.
28037         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28038         CONF_IS_* macros.
28039         * scripts/gen-posix-conf-vars.awk: New file.
28041 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28043         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28044         fegetround): Add no-op macros to avoid linknamespace issues.
28046         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28047         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28049         * sysdeps/unix/sysv/linux/tile/sysdep.h
28050         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28051         assembly-specific section to avoid a redefinition warning.
28053         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28054         long before casting to pointer to avoid a cast warning.
28056 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28058         * sysdeps/tile/tilegx/Implies: New file.
28060 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28062         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28064 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28066         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28068 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28070         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28071         not define.
28072         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28073         <kernel-features.h>.
28074         (__utimes) [__NR_utimes]: Make code unconditional.
28075         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28076         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28077         (__ASSUME_UTIMES): Do not undefine.
28078         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28079         (__ASSUME_UTIMES): Likewise.
28080         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28081         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28082         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28083         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28085 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28087         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28089 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28091         [BZ #17747]
28092         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28093         alias to weak alias for j0l, y0l.
28094         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28095         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28097         [BZ #17746]
28098         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28099         conversion.
28101 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28103         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28104         to zero if not already defined.
28106 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28108         [BZ #17724]
28109         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28110         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28111         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28112         (char *) casts added.
28113         * sysdeps/ieee754/k_standardf.c: New file.
28114         * sysdeps/ieee754/k_standardl.c: Likewise.
28115         * math/Makefile (libm-support): Remove k_standard.
28116         (libm-calls): Add k_standard.
28118 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28120         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28121         Optimize to avoid an unnecessary FPCR read.
28123 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28125         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28126         Optimize to reduce FPCR/FPSR accesses.
28128 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28130         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28131         Call libc_fetestexcept_aarch64.
28133 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28135         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28136         Call libc_fesetround_aarch64.
28138 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28140         [BZ #17733]
28141         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28142         (__bind): Do not define as weak alias.
28143         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28144         define.
28145         (__getsockname): Do not define as weak alias.
28147 2014-12-22  Will Newton  <will.newton@linaro.org>
28149         * manual/install.texi: Document that we require bison 2.7
28150         or above.
28151         * INSTALL: Regenerate.
28152         * configure.ac: Use AC_CHECK_PROG_VER instead of
28153         AC_PATH_PROG when checking for bison and check for
28154         version 2.7 or above.
28155         * configure: Regenerate.
28157 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28159         [BZ #17745]
28160         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28161         * sysdeps/tile/ffsll.c (ffsll): To here.
28163         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28165 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28167         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28168         if not defined.
28169         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28170         definition.
28171         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28172         hidden ___tls_get_addr.
28173         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28174         hidden __tls_get_addr.
28175         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28176         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28177         Likewise.
28179 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28181         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28182         _dl_init call.
28184 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28186         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28187         from "call _dl_init@PLT".
28188         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28190 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28192         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28193         guarantees.
28195 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28197         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28199 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28201         [BZ #17744]
28202         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28203         strnlen.
28205 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28207         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28208         of multu on MIPSr6.
28209         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28210         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28211         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28212         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28213         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28215 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28217         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28218         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28219         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28220         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28221         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28222         mips32r6/mips64r6.
28223         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28225 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28227         * string/strncat.c (STRNCAT): Simplify implementation.
28229 2014-12-19  David S. Miller  <davem@davemloft.net>
28231         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28232         access the quad as both a long double and as a series of 4 words.
28234         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
28235         link_map->l_info array access.
28237 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28239         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
28241         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
28242         * math/atest-exp2.c (TIMEOUT): Likewise.
28243         * math/atest-sincos.c (TIMEOUT): Likewise.
28245 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28247         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
28248         -Wno-error with -fno-builtin-lround.
28250 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28252         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
28253         Contains futex constants and functions moved over from ...
28254         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
28255         <lowlevellock-futex.h>.
28256         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28257         (lll_timedwait_tid): Add comments and parentheses around macro
28258         arguments.
28260 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28262         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
28263         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
28264         (__lll_private_flag): Remove.
28265         (lll_futex_wait): Likewise.
28266         (lll_futex_timed_wait): Likewise.
28267         (lll_futex_wake): Likewise.
28268         (lll_futex_requeue): Likewise.
28269         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28270         (__lll_timedwait_tid): Spell out argument names.
28271         (lll_timedwait_tid): Add comments and parentheses around macro
28272         arguments.
28273         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
28274         LLL_SHARED and LLL_PRIVATE usable from assembly code.
28276 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28278         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
28279         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28280         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28281         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
28282         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
28283         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
28284         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
28285         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
28286         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28287         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
28288         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
28289         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
28290         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
28291         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
28292         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
28293         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
28294         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
28295         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
28296         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
28298 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28300         * sysdeps/x86_64/x32/Makefile: New file.
28302 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28304         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
28305         1L with (mp_limb_t) 1.
28307 2014-12-17  Roland McGrath  <roland@hack.frob.com>
28309         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
28310         * nptl/libc_pthread_init.c: ... here.
28311         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
28312         * nptl/register-atfork.c: ... here.
28314         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
28315         Use pthread_sigmask rather than INTERNAL_SYSCALL.
28316         Use assert_perror to check its return value.
28317         (__gai_create_helper_thread): Likewise.
28319         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
28321         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
28323 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
28325         [BZ #17725]
28326         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
28327         __profil_counter.
28328         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
28329         Likewise.
28330         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
28331         Likewise.
28332         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28333         Likewise.
28334         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
28335         (profil_counter): Likewise.
28336         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
28337         (profil_counter): Likewise.
28338         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28339         Likewise.
28340         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
28341         Likewise.
28342         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
28343         (profil_counter): Likewise.
28344         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
28345         Likewise.
28346         [!__profil_counter] (profil_counter): Define as weak alias of
28347         __profil_counter.
28348         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
28349         (profil_counter): Rename to __profil_counter.
28350         [!__profil_counter] (profil_counter): Define as weak alias of
28351         __profil_counter.
28352         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
28353         (profil_counter): Rename to __profil_counter.
28354         [!__profil_counter] (profil_counter): Define as weak alias of
28355         __profil_counter.
28356         * sysdeps/posix/profil.c: Update comment referring to
28357         profil_counter.
28358         (__profil): Use __profil_counter instead of profil_counter.
28359         * sysdeps/posix/sprofil.c (profil_counter): Rename to
28360         __profil_counter.  Use __profil_counter_ushort and
28361         __profil_counter_uint in definitions.
28362         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
28363         instead of profil_counter_uint and profil_counter_ushort.
28365         [BZ #17722]
28366         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
28367         define as weak alias of __inet_makeaddr.
28368         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
28369         as weak alias of __inet_addr.
28370         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
28371         as weak alias of __inet_pton.  Use libc_hidden_weak.
28372         * include/arpa/inet.h (__inet_pton): Declare.  Use
28373         libc_hidden_proto.
28374         (inet_makeaddr): Don't use libc_hidden_proto.
28375         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
28376         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
28377         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
28378         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
28379         Remove variable.
28380         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28381         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28383 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
28385         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
28387 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28389         * stdio-common/bug-vfprintf-nargs.c (do_test):
28390         Cast value to intptr_t to avoid format warning
28391         for usage with PRIdPTR printing macro.
28393 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28395         * libio/tst-widetext.c (do_test):
28396         Use format type %td instead of %Zd for ptrdiff_t
28397         in order to avoid format warning.
28399 2014-12-17  Andreas Schwab  <schwab@suse.de>
28401         * nscd/mem.c (gc): Add size_t cast to match printf format.
28403 2014-12-16  Roland McGrath  <roland@hack.frob.com>
28405         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
28406         (init): Apply PTR_MANGLE to pointers before storing them.
28407         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
28408         before using them.
28410 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
28412         [BZ #17719]
28413         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28414         define as weak alias of __memrchr.
28415         (__memrchr): Do not define as strong alias of memrchr.
28416         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28417         Remove variable.
28418         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28419         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28420         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28422         [BZ #17717]
28423         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28424         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28425         (if_indextoname): Rename to __if_indextoname and define as weak
28426         alias of __if_indextoname.  Use libc_hidden_weak.
28427         (if_freenameindex): Rename to __if_freenameindex and define as
28428         weak alias of __if_freenameindex.
28429         (if_nameindex): Rename to __if_nameindex and define as weak alias
28430         of __if_nameindex.
28431         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28432         __if_nametoindex and define as weak alias of __if_nametoindex.
28433         Use libc_hidden_weak.
28434         (if_freenameindex): Rename to __if_freenameindex and define as
28435         weak alias of __if_freenameindex.
28436         (if_nameindex): Rename to __if_nameindex and define as weak alias
28437         of __if_nameindex.
28438         (if_indextoname): Rename to __if_indextoname and define as weak
28439         alias of __if_indextoname.  Use libc_hidden_weak.
28440         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28441         __if_nametoindex and define as weak alias of __if_nametoindex.
28442         Use libc_hidden_weak.
28443         (if_freenameindex): Rename to __if_freenameindex and define as
28444         weak alias of __if_freenameindex.  Use libc_hidden_weak.
28445         (if_nameindex_netlink): Use __if_freenameindex instead of
28446         if_freenameindex.
28447         (if_nameindex): Rename to __if_nameindex and define as weak alias
28448         of __if_nameindex.  Use libc_hidden_weak.
28449         (if_indextoname): Rename to __if_indextoname and define as weak
28450         alias of __if_indextoname.  Use libc_hidden_weak.
28451         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28452         libc_hidden_proto.
28453         [!_ISOMAC] (__if_freenameindex): Likewise.
28454         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28455         if_nametoindex.
28456         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28457         variable.
28458         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28459         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28460         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28461         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28462         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28463         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28464         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28466         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28467         Remove variable.
28468         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28469         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28471 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28473         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28474         subscript above bounds'
28476         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28477         bounds.
28479 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
28481         * libio/tst-fopenloc.c: Use test-skeleton.c.
28483         * stdlib/tst-bsearch.c: Use test-skeleton.c.
28484         (entry): Rename to ITEM.
28485         (do_test, comp): Adjust.
28487         * stdio-common/tst-fseek.c: Use test-skeleton.c.
28489 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28491         * string/tester.c: Include <libc-internal.h>.
28492         (test_memset): Ignore -Wmemset-transposed-args.
28494 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28496         * misc/tst-mntent2.c (do_test): Fix warning.
28498 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28500         * elf/tst-unique4lib.cc(a): Mark as used.
28502 2014-12-16  Florian Weimer  <fweimer@redhat.com>
28504         [BZ #17630]
28505         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28506         names.
28508 2014-12-16  Allan McRae  <allan@archlinux.org>
28510         * stdio-common/Makefile (tests): Re-add bug26.
28512 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
28514         [BZ #17657]
28515         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28516         static array.
28518 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
28520         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
28521         (__lll_lock_wait): Likewise.
28522         (__lll_timedlock_wait): Likewise.
28523         (__lll_timedwait_tid): Likewise.
28524         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
28525         (__lll_robust_timedlock_wait): Likewise.
28526         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
28527         (lll_cond_trylock): Likewise.
28528         (__lll_lock): Likewise.
28529         (__lll_robust_lock): Likewise.
28530         (__lll_cond_lock): Likewise.
28531         (lll_robust_cond_lock): Likewise.
28532         (__lll_timedlock): Likewise.
28533         (__lll_robust_timedlock): Likewise.
28534         (__lll_unlock): Likewise.
28535         (__lll_robust_unlock): Likewise.
28536         (lll_wait_tid): Likewise.
28537         (lll_timedwait_tid): Likewise.
28539 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28541         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
28543 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28545         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
28547 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28549         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
28550         * stdio-common/tst-sprintf.c: Likewise.
28552 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28554         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
28556 2014-12-15  Jeff Law  <law@redhat.com>
28558         [BZ #16617]
28559         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
28560         on the heap.  (CVE-2012-3406)
28561         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
28562         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
28563         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
28565 2014-12-15  Will Newton  <will.newton@linaro.org>
28567         * manual/install.texi: Bump required version of texinfo
28568         to 4.7 from 4.5.
28569         * INSTALL: Regenerated.
28570         * configure.ac: Check for makeinfo version 4.7 and above.
28571         * configure: Regenerated.
28573 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28575         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
28576         PREFIX, string constant to insert between directory and name.
28577         * sysdeps/posix/shm_open.c: Update caller.
28578         * sysdeps/posix/shm_unlink.c: Likewise.
28579         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
28580         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
28581         (SEM_SHM_PREFIX): New macro.
28582         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
28583         [$(have-thread-library) = no].
28584         * nptl/Makefile (libpthread-routines): Add shm-directory.
28585         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
28586         * sysdeps/nptl/shm-directory.h: New file.
28587         * sysdeps/posix/shm-directory.c
28588         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
28589         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28590         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
28591         INTERNAL_SYSCALL.
28592         (__where_is_shmfs): Function removed.
28593         (mountpoint, defaultmount, defaultdir, __namedsem_once):
28594         Variables removed.
28595         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
28596         Use SHM_GET_NAME.
28597         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
28599         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28600         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
28601         unconditional for use inside libpthread.
28602         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
28604 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28606         * nptl/pthread_getaffinity.c: New file.
28607         * nptl/pthread_setaffinity.c: New file.
28608         * nptl/pthread_getname.c: New file.
28609         * nptl/pthread_setname.c: New file.
28611         * nptl/pthread_create.c (START_THREAD_DEFN)
28612         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
28614 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28615             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28617         * resolv/res_send.c (send_vc): Disable warning resplen may
28618         be used uninitialized.
28620 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28622         * nptl/tst-mutex6.c
28623         (ATTR_NULL): New define checks ATTR against NULL.
28624         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
28625         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
28627 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
28629         [BZ #17581]
28630         * malloc/hooks.c
28631         (mem2mem_check): Revert my previous change.
28632         (malloc_check_get_size): Revert my previous change.
28633         (mem2chunk_check): Revert my previous change.
28635 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28637         * sysdeps/posix/shm-directory.c: New file.
28638         * sysdeps/posix/shm-directory.h: New file.
28639         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
28640         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
28641         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
28642         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
28643         Transmute EPERM to EACCES.
28644         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
28645         from ...
28646         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
28647         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
28649 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28651         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
28652         pointer and cast to uintptr_t.
28653         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
28654         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
28655         Add cast to avoid warning.
28656         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
28658 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28660         * nptl/semaphore.h: Move to ...
28661         * sysdeps/pthread/semaphore.h: ... here.
28662         * Makefile (installed-headers): Change nptl/semaphore.h to
28663         sysdeps/pthread/semaphore.h.
28665 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28667         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
28668         generated error format strings.
28670         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
28671         -Wformat-extra-args warnings for scanf formats.
28672         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
28673         test of zero-length format (duh).
28674         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
28675         corner-case scanf format test.
28676         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
28677         generated fprintf format string.
28678         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
28679         corner-case sprintf format tests.
28680         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
28681         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
28682         -Wformat-extra-args warnings throughout.
28683         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
28684         (CFLAGS-scanf4.c): Likewise.
28685         (CFLAGS-scanf7.c): Likewise.
28686         (CFLAGS-tst-sprintf.c): Likewise.
28687         (CFLAGS-tst-printf.c): Likewise.
28688         (CFLAGS-tst-printfsz.c): Likewise.
28690 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28692         * include/cpio.h: New file.
28693         * include/fmtmsg.h: Likewise.
28695         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
28696         corresponding format argument to size_t.
28697         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
28698         arguments.
28699         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
28700         corresponding format argument to size_t.
28701         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
28702         arguments.
28703         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
28704         corresponding format argument to size_t.
28705         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
28706         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
28707         (CFLAGS-tst-mbswcs2.c): Likewise.
28708         (CFLAGS-tst-mbswcs3.c): Likewise.
28709         (CFLAGS-tst-mbswcs4.c): Likewise.
28710         (CFLAGS-tst-mbswcs5.c): Likewise.
28711         (CFLAGS-tst-trans.c): Likewise.
28713 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28715         * posix/regexbug1.c (main): Use "%s" format with regerror results,
28716         rather than assuming they won't contain any '%'s.
28718 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
28720         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
28721         inhibit_loop_to_libcall to avoid recursive calls.
28722         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
28723         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
28725 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28727         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
28728         prototype.
28730 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28732         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
28733         integer value instead of boolean.
28735 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28737         * malloc/malloc.c: Fix powerof2 check.
28739 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28741         * locale/programs/locfile.h (maybe_swap_uint32):
28742         Remove inline and add unused attribute.
28744 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28746         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28747         Truncating assembler expression to a .long expression.
28749 2014-12-11  Andreas Schwab  <schwab@suse.de>
28751         * elf/rtld.c (struct map_args): Constify str member.
28752         (do_preload): Constify fname argument.
28754 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28756         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
28757         constants definition.
28759 2014-12-11  Andreas Schwab  <schwab@suse.de>
28761         [BZ #16657]
28762         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
28763         FORCE_ELISION instead of DO_ELISION.
28764         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
28765         Remove.
28766         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
28767         Likewise.
28769         * iconvdata/gconv-modules: Remove duplicate entry.
28771 2014-12-11  Will Newton  <will.newton@linaro.org>
28773         Merge gettext 0.19.3 into intl/.
28775         This involves a number of cosmetic changes to comments
28776         and ANSI function definitions and prototypes throughout
28777         all the files. The gettext copyright header is used but
28778         with the date ranges taken from the glibc copy.
28780         * NEWS: Add gettext merge to 2.21.
28781         * intl/bindtextdom.c: Switch to gettext copyright.
28782         Use ANSI definitions and prototypes.
28783         Use gl_* locking primitives rather than __libc_* ones.
28784         Use __builtin_expect rather than __glibc_likely/unlikely.
28785         * intl/dcgettext.c: Switch to gettext copyright.
28786         Use ANSI definitions and prototypes.
28787         * intl/dcigettext.c: Switch to gettext copyright.
28788         Use ANSI definitions and prototypes.
28789         (INTDIV0_RAISES_SIGFPE): New define.
28790         Use gl_* locking primitives rather than __libc_* ones.
28791         Include eval-plural.h instead of plural-eval.c.
28792         Use __builtin_expect rather than __glibc_likely/unlikely.
28793         * intl/dcngettext.c: Switch to gettext copyright.
28794         Use ANSI definitions and prototypes.
28795         * intl/dgettext.c: Likewise.
28796         * intl/dngettext.c: Likewise.
28797         * intl/plural-eval.c: Renamed to...
28798         * intl/eval-plural.h: ...this.
28799         * intl/explodename.c: Switch to gettext copyright.
28800         Use ANSI definitions and prototypes.
28801         (_nl_explode_name): Use strchr instead of __rawmemchr.
28802         * intl/finddomain.c: Switch to gettext copyright.
28803         Use ANSI definitions and prototypes.
28804         Use gl_* locking primitives rather than __libc_* ones.
28805         (_nl_find_domain): Use malloc rather than alloca for
28806         allocation of temporary locale name.
28807         * intl/gettext.c: Switch to gettext copyright.
28808         Use ANSI definitions and prototypes.
28809         * intl/gettextP.h: Switch to gettext copyright.
28810         Use ANSI definitions and prototypes.
28811         Use gl_* locking primitives rather than __libc_* ones.
28812         * intl/gmo.h: Switch to gettext copyright.
28813         (struct sysdep_string): Move struct segment_pair outside of
28814         struct definition.
28815         * intl/hash-string.c: Use ANSI definitions and prototypes.
28816         * intl/hash-string.h: Switch to gettext copyright.
28817         Use ANSI definitions and prototypes.
28818         * intl/l10nflist.c: Switch to gettext copyright.
28819         Use ANSI definitions and prototypes.
28820         (_nl_normalize_codeset): Avoid integer overflow.
28821         * intl/loadinfo.h: Switch to gettext copyright.
28822         Use ANSI definitions and prototypes.
28823         (LIBINTL_DLL_EXPORTED): New define.
28824         (PATH_SEPARATOR): New define.
28825         * intl/loadmsgcat.c: Switch to gettext copyright.
28826         * intl/localealias.c: Switch to gettext copyright.
28827         Use ANSI definitions and prototypes.
28828         (_nl_expand_alias): Use PATH_SEPARATOR.
28829         * intl/ngettext.c: Switch to gettext copyright.
28830         Use ANSI definitions and prototypes.
28831         * intl/plural-exp.c: Likewise.
28832         * intl/plural-exp.h: Switch to gettext copyright.
28833         Use ANSI definitions and prototypes.
28834         (struct expression): Move definition of enum operator outside
28835         of struct definition.
28836         * intl/plural.c: Regenerate.
28837         * intl/plural.y: Switch to gettext copyright.
28838         Use ANSI definitions and prototypes.
28839         Port to bison 3.0.
28840         * intl/textdomain.c: Switch to gettext copyright.
28841         Use ANSI definitions and prototypes.
28842         Use gl_* locking primitives rather than __libc_* ones.
28844 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
28846         * debug/warning-nop.c: Add used atrribute.
28848 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28850         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
28852         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
28853         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
28854         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
28856 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28857             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28859         [BZ #17634]
28860         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
28861         Undefine after defining function.  Define as weak alias of
28862         __wcschr.  Use libc_hidden_weak.
28863         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
28864         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
28865         (libc_hidden_def): Also define __GI___wcschr alias.
28866         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
28867         __wcschr and define as weak alias of __wcschr.
28868         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
28869         __wcschr.
28870         [!WCSCHR] (DEFAULT_WCSCHR): Define.
28871         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
28872         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
28873         libc_hidden_weak.  Do not use libc_hidden_def.
28874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
28875         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28876         __GI___wcschr alias.
28877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
28878         [IS_IN (libc)] (wcschr): Define as macro expanding to
28879         __redirect_wcschr.
28880         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
28881         [IS_IN (libc)] (__wcschr_power6): Likewise.
28882         [IS_IN (libc)] (__wcschr_power7): Likewise.
28883         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
28884         instead of wcschr.
28885         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28886         __libc_wcschr.
28887         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28888         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28889         __wcschr and define as weak alias of __wcschr.  Use
28890         libc_hidden_builtin_def.
28891         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28892         as weak alias of __wcschr.  Use libc_hidden_weak.
28893         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28894         wcschr.
28895         * time/era.c (_nl_init_era_entries): Likewise.
28896         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28897         variable.
28898         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28899         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28901 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28903         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28904         format for long int variable.
28906 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28908         [BZ #10672]
28909         * manual/search.texi: (Array Sort Function): Remove claim how to make
28910         qsort stable.
28912 2014-12-10  Andreas Schwab  <schwab@suse.de>
28914         [BZ #12847]
28915         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28916         user-controlled locks.
28918 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28920         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28921         register.
28923 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28925         * configure.ac (--disable-werror): New configure option.
28926         (enable_werror): New AC_SUBST.
28927         * configure: Regenerated.
28928         * config.make.in (enable-werror): New variable.
28929         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28930         -Wno-error=undef.
28931         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28932         * manual/install.texi (Configuring and compiling): Document
28933         --disable-werror.
28934         * INSTALL: Regenerated.
28935         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28936         (CFLAGS-tst-chk2.c): Likewise.
28937         (CFLAGS-tst-chk3.c): Likewise.
28938         (CFLAGS-tst-chk4.cc): Likewise.
28939         (CFLAGS-tst-chk5.cc): Likewise.
28940         (CFLAGS-tst-chk6.cc): Likewise.
28941         (CFLAGS-tst-lfschk1.c): Likewise.
28942         (CFLAGS-tst-lfschk2.c): Likewise.
28943         (CFLAGS-tst-lfschk3.c): Likewise.
28944         (CFLAGS-tst-lfschk4.cc): Likewise.
28945         (CFLAGS-tst-lfschk5.cc): Likewise.
28946         (CFLAGS-tst-lfschk6.cc): Likewise.
28948         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28949         (main): Disable -Wdeprecated-declarations around calls to
28950         register_printf_function.
28952         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28953         (do_test): Disable -Wdiv-by-zero around some calls to
28954         fwrite_unlocked and fread_unlocked.
28956         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28957         (DIAG_POP_NEEDS_COMMENT): Likewise.
28958         (_DIAG_STR1): Likewise.
28959         (_DIAG_STR): Likewise.
28960         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28961         * stdio-common/bug21.c: Include <libc-internal.h>.
28962         (do_test): Disable -Wformat around call to sscanf.
28963         * stdio-common/scanf14.c: Include <libc-internal.h>.
28964         (main): Disable -Wformat around some calls to scanf functions.
28966 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28968         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28970 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28972         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28973         stack variable alignment.
28975 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28977         [BZ #17682]
28978         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28979         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28980         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28981         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28982         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28983         __getrlimit instead of getrlimit.
28984         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28985         __gettimeofday instead of gettimeofday.
28986         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28987         Likewise.
28988         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28989         Likewise.
28990         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28991         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28992         Remove variable.
28993         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28994         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28996 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28998         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28999         for wide-character tests.
29001 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29003         * io/openat64.c: #include <libc-internal.h>
29004         (__openat64): Prototypify.  Use ignore_value on MODE.
29005         * io/openat.c: Likewise.
29006         * misc/reboot.c: #include <libc-internal.h>
29007         (reboot): Prototypify.  Use ignore_value on HOWTO.
29008         * misc/ptrace.c: #include <libc-internal.h>
29009         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29011 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29013         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29014         XPG4, UNIX98 and XOPEN2K.
29015         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29016         Remove variable.
29017         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29019 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29021         * libio/fileops.c: Use ISO C style for function definitions.
29022         * libio/iofopen.c: Likewise.
29023         * libio/wfileops.c: Likewise.
29025         [BZ #17653]
29026         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29027         offset on EOF.
29028         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29029         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29030         (fgets_func): Function pointer to fgets and fgetws.
29031         (do_ftell_test): Add test to verify ftell value after read
29032         EOF.
29033         (do_test): Set fgets_func.
29035         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29036         O_TRUNC flag for w and w+ modes.
29037         (do_rewind_test): Likewise.
29038         (do_ftell_test): Likewise.
29039         (do_write_test): Likewise.
29041         [BZ #17647]
29042         * libio/fileops.c (do_ftell): Seek only when there are
29043         unflushed writes.
29044         * libio/wfileops.c (do_ftell_wide): Likewise.
29045         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29046         test case.
29047         (do_one_test): Call it.
29049 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29051         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29052         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29053         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29054         Remove variable.
29055         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29056         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29057         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29059 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29061         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29062         Remove variable.
29063         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29065         [BZ #17668]
29066         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29067         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29068         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29069         __freeifaddrs.  Use libc_hidden_weak.
29070         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29071         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29072         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29073         __freeifaddrs.  Use libc_hidden_weak.
29074         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29075         __getifaddrs and define as weak alias of __getifaddrs.  Use
29076         libc_hidden_weak.
29077         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29078         __freeifaddrs.  Use libc_hidden_weak.
29079         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29080         Remove variable.
29081         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29082         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29084 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29086         [BZ #17601]
29087         * sysdeps/mips/start.S (__start): Use indirect jump to call
29088         __libc_start_main.
29090 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29092         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29094         * nptl/tst-mutex1.c: Include <stdbool.h>.
29095         [!ATTR] (ATTR_NULL): New macro.
29096         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29097         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29098         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29100         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29101         to char *.
29103         [BZ #17665]
29104         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29105         Change conditional to [__USE_MISC].
29107         [BZ #17664]
29108         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29109         fgets_unlocked.
29110         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29111         __fgets_unlocked.
29112         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29113         fgets_unlocked.
29114         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29115         Remove variable.
29116         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29117         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29118         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29119         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29120         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29121         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29122         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29123         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29124         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29126         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29128 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29130         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29131         Remove strpbrk objects.
29132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29133         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29134         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29135         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29136         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29137         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29139         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29140         Remove strcspn objects.
29141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29142         (__libc_ifunc_impl_list): Remove strcspn implementation.
29143         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29144         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29145         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29146         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29148         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29149         Remove strspn objetcs.
29150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29151         (__libc_ifunc_impl_list): Remove strspn implementation.
29152         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29153         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29154         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29155         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29157 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29159         [BZ #17581]
29160         * malloc/hooks.c
29161         (mem2mem_check): Add a terminator to the chain of checking blocks.
29162         (malloc_check_get_size): Use it here.
29163         (mem2chunk_check): Ditto.
29165 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29167         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29168         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29170 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29172         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29174         * nptl/nptl-init.c: Include libc-internal.h.
29175         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29177         * elf/ldconfig.c (search_dir): Expand comment.
29179 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29181         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29182         variable.
29183         (linknamespace-symlist-stdlibs-tests): Likewise.
29184         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29185         instead of $(objpfx)symlist-stdlibs.
29186         (linknamespace-libs-isoc): New variable.
29187         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29188         (linknamespace-libs-ISO): New variable.
29189         (linknamespace-libs-ISO99): Likewise.
29190         (linknamespace-libs-ISO11): Likewise.
29191         (linknamespace-libs-XPG3): Likewise.
29192         (linknamespace-libs-XPG4): Likewise.
29193         (linknamespace-libs-POSIX): Likewise.
29194         (linknamespace-libs-UNIX98): Likewise.
29195         (linknamespace-libs-XOPEN2K): Likewise.
29196         (linknamespace-libs-POSIX2008): Likewise.
29197         (linknamespace-libs-XOPEN2K8): Likewise.
29198         ($(objpfx)symlist-stdlibs): Replace by
29199         $(linknamespace-symlist-stdlibs-tests).  Use
29200         $(linknamespace-libs-$*) as set of libraries.
29201         ($(linknamespace-header-tests)): Update dependencies.  Use
29202         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29203         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29204         * conform/linknamespace.pl: Remove comment about considering
29205         definitions of symbols from irrelevant libraries.
29207 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29209         [BZ #13862]
29210         * elf/dl-tls.c: Include <atomic.h>.
29211         (oom): Remove #ifdef SHARED/#endif.
29212         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29213         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29214         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29215         big enough.
29216         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29217         * nptl/Makefile (tests): Add tst-stack4.
29218         (modules-names): Add tst-stack4mod.
29219         ($(objpfx)tst-stack4): New.
29220         (tst-stack4mod.sos): Likewise.
29221         ($(objpfx)tst-stack4.out): Likewise.
29222         ($(tst-stack4mod.sos)): Likewise.
29223         (clean): Likewise.
29224         * nptl/tst-stack4.c: New file.
29225         * nptl/tst-stack4mod.c: Likewise.
29227 2014-11-27  J. Brown  <jb999@gmx.de>
29229         * sysdeps/x86/bits/string.h: Add recent CPUs.
29231 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29233         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
29234         sigblock.
29236         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
29237         feof.
29239         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
29240         variable.
29242 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
29244         * nscd/connections.c: Include libc-internal.h because of macro
29245         usage ignore_value.
29247 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29249         * string/bits/string3.h (__warn_memset_zero_len): Don't
29250         declare for gcc newer than 5.0.
29251         (memset): Don't test for zero-length __LEN for gcc newer than
29252         5.0.
29254 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29256         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
29257         size_t for %zu format.
29259         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
29260         difference, not %ju.
29262 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29264         * include/libc-internal.h (ignore_value): New macro.
29265         * nscd/connections.c (restart): Wrap calls to setuid and setgid
29266         with ignore_value.
29268         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
29269         definition.
29271         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
29272         pthread_cleanup_push to void *.
29274         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
29275         Undefine.
29277         [BZ #16619]
29278         [BZ #16740]
29279         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
29280         instead of 1L << 52.
29282         * libio/bug-rewind.c (do_test): Check fwscanf return values.
29283         * libio/bug-rewind2.c (do_test): Likewise.
29285         * debug/test-stpcpy_chk-ifunc.c: Remove file.
29286         * debug/test-strcpy_chk-ifunc.c: Likewise.
29287         * wcsmbs/test-wcschr-ifunc.c: Likewise.
29288         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29289         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29290         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29291         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29292         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29293         * Rules [$(multi-arch) = no] (tests): Do not filter out
29294         $(tests-ifunc).
29295         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
29296         * debug/Makefile (tests-ifunc): Remove variable.
29297         (tests): Do not add $(tests-ifunc).
29298         * wcsmbs/Makefile (tests-ifunc): Remove variable.
29299         (tests): Do not add $(tests-ifunc).
29300         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
29301         [TEST_IFUNC]: Remove conditionals.
29302         * string/test-string.h (TEST_IFUNC): Remove macro.
29303         [TEST_IFUNC]: Remove conditionals.
29305         * string/test-strchr.c [!WIDE] (L): New macro.
29306         [WIDE] (L): Likewise.
29307         (check1): Use CHAR instead of char.  Use L on string and character
29308         constants.
29310 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
29312         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
29313         tests.
29314         * sysdeps/powerpc/bits/atomic.h
29315         (__arch_atomic_exchange_and_add_32_acq): Add definition.
29316         (__arch_atomic_exchange_and_add_32_rel): Likewise.
29317         (atomic_exchange_and_add_acq): Likewise.
29318         (atomic_exchange_and_add_rel): Likewise.
29319         * sysdeps/powerpc/powerpc32/bits/atomic.h
29320         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29321         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29322         * sysdeps/powerpc/powerpc64/bits/atomic.h
29323         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29324         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29326 2014-11-26  Torvald Riegel  <triegel@redhat.com>
29328         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
29329         Change synchronization of __sched_fifo_min_prio and
29330         __sched_fifo_max_prio.
29331         * nptl/pthread_mutexattr_getprioceiling.c
29332         (pthread_mutexattr_getprioceiling): Likewise.
29333         * nptl/pthread_mutexattr_setprioceiling.c
29334         (pthread_mutexattr_setprioceiling): Likewise.
29335         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29336         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
29337         Likewise.
29339 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29341         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
29342         void.
29344 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29346         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
29347         third argument const.
29349 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
29351         fnmatch: work around GCC compiler warning bug with uninit var
29352         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
29353         This works around a bug with x86-64 GCC 4.9.2 and earlier
29354         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
29355         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
29356         used uninitialized in this function [-Wmaybe-uninitialized]".
29358 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29360         * posix/bug-regex31.c (main): Return RES not 0.
29362 2014-11-25  Anton Blanchard <anton@samba.org>
29364         * sysdeps/powerpc/bits/atomic.h
29365         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
29367 2014-11-24  Sterling Augustine  <saugustine@google.com>
29369         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
29371 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
29373         [BZ #17608]
29374         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
29376 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
29378         [BZ #17633]
29379         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
29380         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
29381         variable.
29382         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29383         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29385 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29387         * string/strncpy.c (strncpy): Improve performance by using memset.
29389 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29391         * string/strcpy.c (strcpy):
29392         Improve performance by using strlen and memcpy.
29394 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
29396         * string/strcoll_l.c (get_next_seq): __always_inline.
29397         * string/strcoll_l.c (do_compare): __always_inline.
29399 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29401         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
29402         defined.
29403         * include/mqueue.h: Likewise.
29404         * include/stdlib.h: Likewise.
29406         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
29407         (get_null_defines): Adjust.
29408         * sunrpc/Makefile: Adjust comment.
29409         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
29410         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
29411         (CFLAGS-interp.c): Likewise.
29412         (CFLAGS-ldconfig.c): Likewise.
29413         (CPPFLAGS-.os): Likewise.
29414         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29415         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29416         * extra-modules.mk (extra-modules.mk): Likewise.
29417         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29418         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29419         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29420         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29421         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29422         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29423         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29424         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29425         * iconvdata/Makefile (CPPFLAGS): Likewise.
29426         (cpp-srcs-left): Add libof for all iconvdata routines.
29427         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29428         * include/assert.h: Likewise.
29429         * include/ctype.h: Likewise.
29430         * include/errno.h: Likewise.
29431         * include/libc-symbols.h: Likewise.
29432         * include/math.h: Likewise.
29433         * include/netdb.h: Likewise.
29434         * include/resolv.h: Likewise.
29435         * include/stdio.h: Likewise.
29436         * include/stdlib.h: Likewise.
29437         * include/string.h: Likewise.
29438         * include/sys/stat.h: Likewise.
29439         * include/wctype.h: Likewise.
29440         * intl/l10nflist.c: Likewise.
29441         * libidn/idn-stub.c: Likewise.
29442         * libio/libioP.h: Likewise.
29443         * nptl/libc_multiple_threads.c: Likewise.
29444         * nptl/pthreadP.h: Likewise.
29445         * posix/regex_internal.h: Likewise.
29446         * resolv/res_hconf.c: Likewise.
29447         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29448         * sysdeps/arm/memmove.S: Likewise.
29449         * sysdeps/arm/sysdep.h: Likewise.
29450         * sysdeps/generic/_itoa.h: Likewise.
29451         * sysdeps/generic/symbol-hacks.h: Likewise.
29452         * sysdeps/gnu/errlist.awk: Likewise.
29453         * sysdeps/gnu/errlist.c: Likewise.
29454         * sysdeps/i386/i586/memcpy.S: Likewise.
29455         * sysdeps/i386/i586/memset.S: Likewise.
29456         * sysdeps/i386/i686/memcpy.S: Likewise.
29457         * sysdeps/i386/i686/memmove.S: Likewise.
29458         * sysdeps/i386/i686/mempcpy.S: Likewise.
29459         * sysdeps/i386/i686/memset.S: Likewise.
29460         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29461         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29462         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29463         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29464         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29465         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29466         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29467         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29468         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29469         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29470         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29471         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29472         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29473         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29474         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29475         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29476         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29477         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29478         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29479         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29480         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29481         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29482         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29483         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29484         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29485         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29486         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29487         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29488         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29489         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29490         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29491         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29492         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29493         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29494         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29495         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29496         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29497         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29498         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29499         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29500         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29501         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29502         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29503         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29504         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29505         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29506         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29507         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29508         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29509         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29510         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29511         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29512         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29513         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29514         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29515         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29516         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29517         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
29518         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
29519         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29520         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29521         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29522         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
29523         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29524         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29525         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
29526         * sysdeps/posix/closedir.c: Likewise.
29527         * sysdeps/posix/opendir.c: Likewise.
29528         * sysdeps/posix/readdir.c: Likewise.
29529         * sysdeps/posix/rewinddir.c: Likewise.
29530         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
29531         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
29532         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29533         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29534         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
29536         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
29537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
29538         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
29539         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
29540         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
29541         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
29542         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
29543         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
29544         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
29545         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
29546         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
29547         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
29548         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
29549         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
29550         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
29551         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
29552         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
29553         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
29554         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
29555         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
29556         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
29557         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
29558         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
29559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
29560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
29561         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
29562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
29563         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
29564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
29565         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
29566         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29567         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29568         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
29569         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
29570         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
29571         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
29572         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
29573         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29574         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
29575         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
29576         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
29577         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
29578         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
29579         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
29580         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
29581         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
29582         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29583         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
29584         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
29585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
29586         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
29587         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
29588         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
29589         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
29590         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29591         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
29592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29593         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
29594         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
29595         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29596         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
29597         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
29598         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
29599         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
29600         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29601         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
29602         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
29603         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
29604         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
29605         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
29606         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
29607         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
29608         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29609         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
29610         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
29611         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29612         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
29613         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
29614         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29615         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
29616         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
29617         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29618         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29619         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29620         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
29621         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
29622         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
29623         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29624         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29625         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
29626         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29627         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29628         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
29629         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
29630         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29631         * sysdeps/unix/alpha/sysdep.S: Likewise.
29632         * sysdeps/unix/alpha/sysdep.h: Likewise.
29633         * sysdeps/unix/make-syscalls.sh: Likewise.
29634         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29636         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29637         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
29638         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29639         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29640         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
29641         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29642         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29643         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
29644         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29645         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29646         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29647         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29648         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29649         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29650         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29651         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29652         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29653         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29654         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29655         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29656         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29657         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29658         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29659         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29660         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29663         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
29664         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29666         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29668         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29672         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29673         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29674         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29675         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29676         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29677         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29678         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29679         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29681         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29683         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29684         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29685         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29686         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29687         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29688         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
29689         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29690         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29692         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
29693         * sysdeps/x86_64/memcpy.S: Likewise.
29694         * sysdeps/x86_64/memmove.c: Likewise.
29695         * sysdeps/x86_64/memset.S: Likewise.
29696         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
29697         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29698         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29699         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
29700         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
29701         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29702         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29703         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29704         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29705         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29706         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29707         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29708         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
29709         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29710         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29711         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
29712         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29713         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29714         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29715         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29716         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
29717         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29718         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29719         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29720         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29721         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29722         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29723         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
29724         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29725         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29726         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
29727         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29728         * sysdeps/x86_64/strcmp.S: Likewise.
29730         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
29732         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
29733         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
29734         * elf/rtld-Rules: Likewise.
29735         * elf/setup-vdso.h: Likewise.
29736         * include/assert.h: Likewise.
29737         * include/bits/stdlib-float.h: Likewise.
29738         * include/errno.h: Likewise.
29739         * include/sys/stat.h: Likewise.
29740         * include/unistd.h: Likewise.
29741         * sysdeps/aarch64/setjmp.S: Likewise.
29742         * sysdeps/alpha/setjmp.S: Likewise.
29743         * sysdeps/arm/__longjmp.S: Likewise.
29744         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
29745         * sysdeps/arm/setjmp.S: Likewise.
29746         * sysdeps/arm/sysdep.h: Likewise.
29747         * sysdeps/generic/_itoa.h: Likewise.
29748         * sysdeps/generic/dl-sysdep.h: Likewise.
29749         * sysdeps/generic/ldsodefs.h: Likewise.
29750         * sysdeps/i386/dl-tls.h: Likewise.
29751         * sysdeps/i386/setjmp.S: Likewise.
29752         * sysdeps/m68k/setjmp.c: Likewise.
29753         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
29754         * sysdeps/mach/hurd/opendir.c: Likewise.
29755         * sysdeps/posix/getcwd.c: Likewise.
29756         * sysdeps/posix/opendir.c: Likewise.
29757         * sysdeps/posix/profil.c: Likewise.
29758         * sysdeps/powerpc/dl-procinfo.h: Likewise.
29759         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29760         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29761         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29762         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29763         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
29764         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29765         * sysdeps/s390/dl-tls.h: Likewise.
29766         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29767         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29768         * sysdeps/sh/sh3/setjmp.S: Likewise.
29769         * sysdeps/sh/sh4/setjmp.S: Likewise.
29770         * sysdeps/unix/alpha/sysdep.h: Likewise.
29771         * sysdeps/unix/arm/sysdep.S: Likewise.
29772         * sysdeps/unix/i386/sysdep.S: Likewise.
29773         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29774         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29775         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29776         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29777         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29778         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29779         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29780         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29781         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29782         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29783         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29784         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29785         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29788         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29790         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29791         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29792         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29793         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29794         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29796         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29797         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29800         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29801         * sysdeps/x86_64/setjmp.S: Likewise.
29803         * include/math.h: Use IS_IN instead of IS_IN_libm.
29804         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
29805         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29806         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29807         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
29808         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29809         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29810         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29811         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29812         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29813         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29814         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
29815         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
29816         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
29817         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
29818         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
29819         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
29820         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29821         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
29822         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29823         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
29824         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
29825         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
29826         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
29827         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
29828         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
29829         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
29830         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
29831         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29832         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29833         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
29834         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
29835         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29836         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
29838         Likewise.
29839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
29840         Likewise.
29841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
29842         Likewise.
29843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
29844         Likewise.
29845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
29846         Likewise.
29847         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29848         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
29849         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29850         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29851         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29852         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
29854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
29855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
29856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
29857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
29858         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
29859         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
29860         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29861         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29862         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29863         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29864         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29865         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29866         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29867         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
29868         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
29869         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
29870         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
29871         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
29872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29873         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
29875         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
29876         * nptl/pthreadP.h: Likewise.
29877         * nptl_db/structs.def: Likewise.
29878         * sysdeps/arm/sysdep.h: Likewise.
29879         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29880         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29881         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
29882         * sysdeps/unix/alpha/sysdep.h: Likewise.
29883         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29884         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29885         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29886         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29887         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29888         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29889         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29890         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29891         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29892         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29893         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29894         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29895         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29896         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29899         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29901         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29902         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29903         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29904         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29905         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29906         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29907         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29908         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29910         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29911         * nptl/pthreadP.h: Likewise.
29912         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29913         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29914         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29915         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29916         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29917         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29918         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29919         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29920         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29921         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29922         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29923         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29925         Likewise.
29926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29927         Likewise.
29928         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29929         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29930         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29932         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29933         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29934         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29935         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29937         * dlfcn/dladdr.c: Use IS_IN.
29938         * dlfcn/dladdr1.c: Likewise.
29939         * dlfcn/dlclose.c: Likewise.
29940         * dlfcn/dlerror.c: Likewise.
29941         * dlfcn/dlinfo.c: Likewise.
29942         * dlfcn/dlmopen.c: Likewise.
29943         * dlfcn/dlopen.c: Likewise.
29944         * dlfcn/dlsym.c: Likewise.
29945         * dlfcn/dlvsym.c: Likewise.
29947         * include/ifaddrs.h: Use IS_IN.
29948         * inet/check_pf.c: Likewise.
29949         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29950         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29952         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29953         IS_IN_ldconfig.
29954         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29955         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29957         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29958         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29959         IS_IN (libc).
29961         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29963         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29964         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29965         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29966         * include/libc-symbols.h (IS_IN_LIB): New macro.
29967         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29968         * include/netdb.h: Likewise.
29969         * include/stap-probe.h: Remove all uses of IN_LIB.
29971         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29972         instead of IN_MODULE.
29973         * include/libc-symbols.h (IN_MODULE): Define using
29974         MODULE_NAME.
29975         (PASTE_NAME, PASTE_NAME1): New macros.
29976         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29977         of IN_LIB.
29978         (STAP_PROBE_ASM): Likewise.
29980 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29982         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29983         __mach_init in dlopened libc.
29985 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29987         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29988         * sysdeps/arm/preconfigure: Regenerate.
29990 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29992         * nptl/pthread_create.c (__pthread_create_2_1): Set
29993         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29994         when copying values from IATTR into PD.
29996 2014-11-21  Will Newton  <will.newton@linaro.org>
29997             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29999         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30000         Refactor inline-asm.  Also add comment.
30002         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30003         ElfW macro instead of hardcoded Elf64 types.
30004         (la_aarch64_gnu_pltenter): Likewise.
30005         * sysdeps/aarch64/dl-machine.h
30006         (elf_machine_runtime_setup): Use ElfW(Addr).
30008         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30009         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30010         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30011         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30012         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30013         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30014         (R_AARCH64_TLS_DTPMOD): This.
30015         (R_AARCH64_TLS_DTPREL64): Rename to ...
30016         (R_AARCH64_TLS_DTPREL): This.
30017         (R_AARCH64_TLS_TPREL64): Rename to ...
30018         (R_AARCH64_TLS_TPREL): This.
30019         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30020         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30021         R_AARCH64_TLS_TPREL64.
30022         (elf_machine_rela): Likewise.
30024 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30026         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30027         by setting it to 0.  64b atomics are not supported currently.
30029 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30031         [BZ #16469]
30032         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30033         search domain names.
30035 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30037         [BZ #16469]
30038         * NEWS: Update.
30039         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30040         trailing dot.
30041         * posix/tst-getaddrinfo5.c: New.
30042         * posix/Makefile (tests): Add it.
30044 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30046         [BZ #14498]
30047         * NEWS: Fixed.
30048         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30049         after parsing line but before break_if_match.
30050         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30051         if there is a protocol mismatch.
30053 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30055         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30056         because the potential race is on the user-supplied stream.
30058 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30060         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30061         string literal if not passed a buffer.
30062         * manual/job.texi (ctermid): Update reasoning, note deviation
30063         from posix, suggest mtasurace when not passed a buffer, for
30064         future non-preliminary safety notes.
30066 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30068         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30069         of not passing it a buffer.
30070         Reported by Peng Haitao.
30072 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30074         * manual/Makefile ($(objpfx)stamp-summary): Require
30075         check-safety.sh to pass.
30076         * manual/check-safety.sh: Wish for verification that every
30077         @deftypefn and @deftypefun is followed by a @safety remark.
30079 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30081         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30083         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30084         PTHREAD_CANCEL_ASYNCHRONOUS.
30085         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30086         send SIGCANCEL.
30088         * nptl/default-sched.h: New file.
30089         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30090         * nptl/pthread_create.c: Include it.
30091         (__pthread_create_2_1): Use collect_default_sched instead of making
30092         Linux syscalls here directly.
30094 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30096         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30097         __pthread_once): Use C11 atomics.
30099 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30101         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30103 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30105         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30106         atomic_thread_fence_acquire, atomic_thread_fence_release,
30107         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30108         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30109         atomic_compare_exchange_weak_relaxed,
30110         atomic_compare_exchange_weak_acquire,
30111         atomic_compare_exchange_weak_release,
30112         atomic_exchange_acquire, atomic_exchange_release,
30113         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30114         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30115         atomic_fetch_and_acquire,
30116         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30118 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30120         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30121         USE_ATOMIC_COMPILER_BUILTINS): Define.
30122         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30123         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30124         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30125         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30126         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30127         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30128         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30129         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30130         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30131         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30132         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30133         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30134         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30135         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30136         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30137         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30138         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30139         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30140         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30141         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30142         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30143         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30144         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30145         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30146         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30147         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30148         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30149         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30150         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30151         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30152         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30153         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30154         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30155         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30156         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30157         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30158         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30159         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30160         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30161         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30163 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30165         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30166         the sched_priority value here.  It was already checked when the user
30167         called pthread_attr_setschedparam.
30169         * nptl/tst-bad-schedattr.c: New file.
30170         * nptl/Makefile (tests): Add it.
30172 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30173             Florian Weimer  <fweimer@redhat.com>
30174             Joseph Myers  <joseph@codesourcery.com>
30175             Adam Conrad  <adconrad@0c3.net>
30176             Andreas Schwab  <schwab@suse.de>
30177             Brooks  <bmoses@google.com>
30179         [BZ #17625]
30180         * wordexp-test.c (__dso_handle): Add prototype.
30181         (__register_atfork): Likewise.
30182         (__app_register_atfork): New function.
30183         (registered_forks): New global.
30184         (register_fork): New function.
30185         (test_case): Add 3 new tests for WRDE_CMDSUB.
30186         (main): Call __app_register_atfork.
30187         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30188         fork count is non-zero fail the test.
30189         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30190         is set.
30191         (parse_dollars): Remove check for WRDE_NOCMD.
30192         (parse_dquote): Likewise.
30194 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30196         * Makeconfig (built-modules): List non-library modules to be
30197         built.
30198         (module-cppflags): Include libc-modules.h for
30199         everything except shlib-versions.v.i.
30200         (CPPFLAGS): Use it.
30201         (before-compile): Add libc-modules.h.
30202         ($(common-objpfx)libc-modules.h,
30203         $(common-objpfx)libc-modules.stmp): New targets.
30204         (common-generated): Add libc-modules.h and libc-modules.stmp.
30205         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30206         * include/libc-symbols.h: Don't include libc-modules.h.
30207         * include/libc-modules.h: Remove file.
30208         * scripts/gen-libc-modules.awk: New script to generate
30209         libc-modules.h.
30210         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30211         Depend on libc-modules.stmp.
30213         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30215         * Makeconfig (in-module): Get value of libof set for the
30216         translation unit.
30217         (CPPFLAGS): Use $(in-module).
30218         * Makerules: Don't suffix routine names for nonlib.
30219         * include/libc-modules.h: New file.
30220         * include/libc-symbols.h: Include libc-modules.h
30221         (IS_IN): New macro to replace IS_IN_* macros.
30222         * elf/Makefile: Set libof-* for each routine.
30223         * elf/rtld-Rules: Likewise.
30224         * extra-modules.mk: Likewise.
30225         * iconv/Makefile: Likewise.
30226         * iconvdata/Makefile: Likewise.
30227         * locale/Makefile: Likewise.
30228         * malloc/Makefile: Likewise.
30229         * nss/Makefile: Likewise.
30230         * sysdeps/gnu/Makefile: Likewise.
30231         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30232         * sysdeps/unix/sysv/linux/Makefile: Likewise.
30233         * sysdeps/s390/s390-64/Makefile: Likewise.
30234         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
30235         CPPFLAGS for nscd instead of nonlib.
30237 2014-11-18  Roland McGrath  <roland@hack.frob.com>
30239         * nptl/createthread.c: New file.
30241         * nptl/createthread.c: Moved ...
30242         * sysdeps/unix/sysv/linux/createthread.c: ... here.
30244         * nptl/createthread.c: Add proper top-line comment.
30245         (do_clone): Folded into ...
30246         (create_thread): ... here.  Take new arguments STOPPED_START and
30247         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
30248         increment __nptl_threads, do event-reporting logic, do
30249         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
30250         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
30251         resource cleanup if sched_setaffinity or sched_setscheduler fails,
30252         just send SIGCANCEL.
30253         * nptl/pthread_create.c: Forward-declare create_thread before
30254         including createthread.c.
30255         (start_thread): Use new macro START_THREAD_DEFN to replace defining
30256         declaration, and new macro START_THREAD_SELF to replace argument.
30257         Remove return statement.
30258         (report_thread_creation): New function.
30259         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
30260         synchronization logic, and __nptl_nthreads increment here, around
30261         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
30262         PD->parent_cancelhandling here, before create_thread.  When
30263         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
30264         __deallocate_stack, and ENOMEM translation here.
30266 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
30268         [BZ #17616]
30269         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
30270         (mptwo): Rename to __mptwo.
30271         (__inv): Use __mptwo instead of mptwo.
30272         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
30273         (mptwo): Rename to __mptwo.
30274         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
30275         of mpone and __mptwo instead of mptwo.
30276         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
30277         instead of mpone.
30278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30279         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
30280         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
30281         of mpone and __mptwo instead of mptwo.
30282         (__mpranred): Use __mpone instead of mpone.
30283         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
30284         variable.
30285         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30286         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30287         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30288         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30289         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30290         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30291         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30292         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30293         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30294         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30295         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30296         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30297         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30298         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30299         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30300         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30301         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30302         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30303         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30305 2014-11-18  Tom de Vries  <tom@codesoucery.com>
30307         * manual/signal.texi (Primitives Interrupted by Signals): In section,
30308         replace BSD Handler xref with BSD Signal Handling.
30310 2014-11-17  Richard Henderson  <rth@redhat.com>
30312         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
30313         (_FP_PACK_RAW_2): Remove.
30314         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
30315         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
30316         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
30317         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
30318         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
30319         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
30320         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
30321         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
30322         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
30323         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
30324         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
30325         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
30326         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
30327         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
30328         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
30329         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
30331 2014-11-14  Roland McGrath  <roland@hack.frob.com>
30333         * signal/signal.h [__USE_MISC]
30334         (struct sigvec): Remove type.
30335         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
30336         (sigvec): Remove declaration.
30337         * sysdeps/posix/sigvec.c: Moved ...
30338         * signal/sigvec.c: ... here, replacing old file.
30339         (struct sigvec): New type, copied from old signal.h definition.
30340         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
30341         (__sigvec): Convert definition to prototype.
30342         (sigvec): Replace weak_alias with compat_symbol.
30343         * signal/Versions (libc: GLIBC_2.21): New version set.
30344         * include/signal.h: Remove __sigvec declaration.
30345         * sysdeps/unix/bsd/sigvec.c: Remove file.
30346         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
30347         * manual/signal.texi (BSD Handler): Remove subsection.
30348         Move siginterrupt up to ...
30349         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
30350         (Blocking in BSD): Fold subsection into its parent.
30351         * NEWS: Mention sigvec removal.
30353 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30355         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
30356         (DLA_FMS): Make definition conditional only on [__FMA4__].
30357         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
30358         definition.
30360         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
30361         Make definition conditional only on [PROF].
30362         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
30363         definition.
30364         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
30365         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
30367         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
30368         !__GNUC__].
30369         * include/signal.h (__sigpause): Move declaration above call to
30370         libc_hidden_proto.
30371         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
30372         variable.
30373         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30374         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30376 2014-11-14  David S. Miller  <davem@davemloft.net>
30378         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
30379         Define before including <string/memcpy.c> and <string/mempcpy.c>.
30381 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30383         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
30384         * configure: Regenerated.
30385         * manual/install.texi (Tools for Compilation): Document a
30386         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30387         compiler verified to work.
30388         * INSTALL: Regenerated.
30390         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
30391         redeclare with asm name.
30392         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
30393         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30394         including <string.h>.
30395         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30396         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
30397         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30398         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
30399         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30401         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30403 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
30405         * stdlib/strtol.c (__strtol): Use prototype definition.
30407         [BZ #17594]
30408         * stdlib/strtol.c (SYM__): New macro.
30409         (SYM__1): Likewise.
30410         (__strtol): Likewise.
30411         (strtol): Rename to __strtol and define as weak alias of
30412         __strtol.  Use libc_hidden_weak.
30414 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30416         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30417         Use numbered labels in inline assembly.
30419 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30421         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30422         Add setjmp LIBC_PROBE.
30423         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30424         Likewise.
30425         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30426         Add longjmp, longjmp_target LIBC_PROBE.
30427         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30428         Likewise.
30430 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30432         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30433         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30434         to get rid of unused variable warning.
30436 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30438         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30439         Check for unwind_backtrace ==  NULL only in SHARED case.
30440         (__backchain_backtrace): Compile only in SHARED case.
30441         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30442         Likewise.
30443         (__backchain_backtrace): Declare as static.
30445 2014-11-12  Roland McGrath  <roland@hack.frob.com>
30447         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30448         (__libc_multiple_threads_ptr): Variable moved ...
30449         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30451 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
30453         * conform/GlibcConform.pm: New file.
30454         * conform/conformtest.pl: Use GlibcConform module.
30455         * conform/linknamespace.pl: New file.
30456         * conform/list-header-symbols.pl: Likewise.
30457         * conform/Makefile (linknamespace-symlists-base): New variable.
30458         (linknamespace-symlists-tests): Likewise.
30459         (linknamespace-header-base): Likewise.
30460         (linknamespace-header-tests): Likewise.
30461         (tests-special): Add new tests.
30462         ($(linknamespace-symlists-tests)): New rule.
30463         (linknamespace-libs): New variable.
30464         ($(objpfx)symlist-stdlibs): New rule.
30465         ($(linknamespace-header-tests)): Likewise.
30466         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30467         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30468         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30469         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30470         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30471         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30472         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30473         (test-xfail-ISO/math.h/linknamespace): Likewise.
30474         (test-xfail-ISO/signal.h/linknamespace): Likewise.
30475         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30476         (test-xfail-ISO/time.h/linknamespace): Likewise.
30477         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30478         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30479         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30480         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30481         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30482         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30483         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30484         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30485         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30486         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30487         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30488         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30489         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30490         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30491         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30492         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30493         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30494         (test-xfail-XPG3/search.h/linknamespace): Likewise.
30495         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30496         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30497         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30498         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30499         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30500         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30501         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30502         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30503         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30504         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30505         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30506         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30507         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30508         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30509         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30510         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30511         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30512         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30513         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30514         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30515         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30516         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30517         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30518         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
30519         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30520         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30521         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30522         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
30523         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
30524         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30525         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30526         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
30527         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30528         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30529         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
30530         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30531         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30532         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30533         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30534         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30535         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30536         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30537         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30538         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30539         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
30540         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30541         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30542         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30543         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
30544         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30545         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30546         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
30547         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30548         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30549         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30550         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30551         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30552         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30553         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
30554         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
30555         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30556         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
30557         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30558         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
30559         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30560         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30561         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30562         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
30563         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30564         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30565         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30566         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
30567         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
30568         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
30569         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30570         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30571         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30572         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30573         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
30574         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
30575         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30576         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30577         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30578         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30579         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30580         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30581         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30582         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30583         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30584         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30585         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
30586         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30587         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30588         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
30589         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30590         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30591         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30592         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30593         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30594         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30595         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30596         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30597         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30598         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30599         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30600         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30601         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30602         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30603         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
30604         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30605         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30606         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30607         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30608         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30609         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
30610         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30611         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30612         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30613         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30614         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30615         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30616         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30617         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30618         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30619         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30620         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30621         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30622         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30623         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
30624         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30625         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30626         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30628         [BZ #17589]
30629         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
30630         of fgets_unlocked.
30632         [BZ #17585]
30633         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
30634         (memmem): Rename to __memmem and define as weak alias of
30635         __memmem.  Use libc_hidden_weak.
30636         (__memmem): Use libc_hidden_def.
30637         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
30638         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
30639         memmem.
30641         [BZ #17582]
30642         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
30643         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
30644         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
30645         and define as weak alias of __fgets_unlocked.  Use
30646         libc_hidden_weak.
30647         (__fgets_unlocked): Use libc_hidden_def.
30648         * include/stdio.h (__fgets_unlocked): Declare.  Use
30649         libc_hidden_proto.
30650         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
30651         __fgets_unlocked instead of fgets_unlocked.
30652         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
30653         (GET_NPROCS_CONF_PARSER): Likewise.
30654         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
30655         (GET_NPROCS_CONF_PARSER): Likewise.
30657         [BZ #17574]
30658         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
30659         weak alias of __wmemset.  Use libc_hidden_weak.
30660         (__wmemset): Use libc_hidden_def.
30661         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
30662         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
30663         of wmemset.
30665         [BZ #17573]
30666         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
30667         with asm name __mempcpy.
30668         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
30670         [BZ #17572]
30671         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
30672         and define as weak alias of __rawmemchr.
30673         (__rawmemchr): Do not define as strong alias of rawmemchr.
30675         [BZ #17571]
30676         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
30677         alias of __qsort_r.
30678         (qsort): Call __qsort_r instead of qsort_r.
30679         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
30680         (__qsort_r): Declare.  Call libc_hidden_proto.
30681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
30682         instead of qsort_r.
30683         * nscd/gai.c (__qsort_r): Define to qsort_r.
30684         * posix/tst-rfc3484.c (__qsort_r): Likewise.
30685         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
30686         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
30688         [BZ #17570]
30689         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
30690         define as weak alias of __malloc_info.
30692         [BZ #17584]
30693         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
30694         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30695         (__rewinddir): Use libc_hidden_def.
30696         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
30697         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30698         (__rewinddir): Use libc_hidden_def.
30699         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
30700         weak alias of __rewinddir.  Don't use libc_hidden_def.
30701         (__rewinddir): Use libc_hidden_def.
30702         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
30703         (__rewinddir): Use libc_hidden_proto.
30704         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
30705         rewinddir.
30706         (__getcwd): Use __rewinddir instead of rewinddir.
30708         [BZ #17583]
30709         * libio/fileno.c (fileno): Rename to __fileno and define as weak
30710         alias of __fileno.  Use libc_hidden_weak.
30711         (__fileno): Use libc_hidden_def.
30712         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
30713         * libio/ftello.c (ftello): Rename to __ftello and define as weak
30714         alias of __ftello.
30715         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
30716         __ftello.
30717         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
30718         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
30719         libc_hidden_def.
30720         (fread_unlocked): Don't use libc_hidden_ver.
30721         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
30722         and define as weak alias of __fread_unlocked.  Don't use
30723         libc_hidden_def.
30724         (__fread_unlocked): Use libc_hidden_def.
30725         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
30726         (ftello): Don't use libc_hidden_proto.
30727         (__ftello): Declare.  Use libc_hidden_proto.
30728         (fread_unlocked): Don't use libc_hidden_proto.
30729         (__fread_unlocked): Declare.  Use libc_hidden_proto.
30730         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
30731         and __ftello instead of fileno, fread_unlocked and ftello.
30733 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30735         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
30736         GOT12.
30737         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30738         Likewise.
30739         (_dl_start_user): Likewise.
30740         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
30742 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
30743             Siddhesh Poyarekar  <siddhesh@redhat.com>
30745         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
30746         Move argv and envp down instead of moving argc up.
30747         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
30749 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
30751         [BZ #17506]
30752         * test-skeleton.c (main): Return successful if one of
30753         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
30754         * string/tst-strcoll-overflow.c: Define expected status.
30756 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
30758         [BZ #17475]
30759         * locale/iso-639.def: Define Bhili and Tulu language codes.
30761 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
30763         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
30765 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
30767         [BZ #17555]
30768         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
30770 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30772         * configure.ac: Updated check of minimal required version to
30773         2.22.
30774         * manual/install.texi (Tools for Compilation): Updated version
30775         number.
30776         * configure: Regenerated.
30777         * INSTALL: Likewise.
30779 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
30781         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
30782         __tls_get_addr.
30784 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
30786         * include/sys/wait.h (__libc_waitpid): Remove declaration.
30787         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
30788         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30789         libc_hidden_weak.
30790         (waitpid): Define as alias of __waitpid.
30791         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
30792         __waitpid.
30793         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30794         libc_hidden_weak.
30795         (waitpid): Define as alias of __waitpid.
30796         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
30797         __libc_waitpid alias.
30798         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
30799         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
30800         Likewise.
30801         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
30802         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
30803         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
30804         alias.
30805         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
30806         __waitpid.
30807         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30808         libc_hidden_weak.
30809         (waitpid): Define as alias of __waitpid.
30811 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
30813         * manual/llio.texi: Add comment that write safety has been
30814         fixed in Linux.
30816         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
30817         (localplt-build-dso): Add elf/ld.so.
30818         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
30819         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
30820         and free for ld.so.
30821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
30822         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
30823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
30824         Likewise.
30825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30826         Likewise.
30827         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
30828         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
30829         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
30830         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
30831         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
30832         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
30833         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
30834         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
30835         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
30836         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
30837         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30839 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
30841         [BZ #14132]
30842         * include/libc-symbols.h (INTUSE): Remove macro.
30843         (INTDEF): Likewise.
30844         (INTVARDEF): Likewise.
30845         (_INTVARDEF): Likewise.
30846         (INTDEF2): Likewise.
30847         (INTVARDEF2): Likewise.
30848         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
30849         rtld_hidden_def instead of INTVARDEF.
30850         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
30851         (_dl_starting_up_internal): Remove declaration.
30852         (_dl_starting_up): Use rtld_hidden_proto.
30853         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
30854         declaration.
30855         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
30856         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
30857         _dl_starting_up.
30858         * elf/dl-writev.h (_dl_writev): Likewise.
30859         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
30860         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
30861         _dl_starting_up_internal.
30863 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30865         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30866         test-skeleton.c.
30868 2014-11-05  Will Newton  <will.newton@linaro.org>
30870         * benchtests/Makefile: (bench-malloc): Add malloc thread
30871         scalability benchmark.
30872         * benchtests/bench-malloc-threads.c: New file.
30874 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
30876         * sysdeps/aarch64/strchrnul.S: New file.
30878 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30880         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
30881         definition.
30882         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30883         Likwise.
30884         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30885         Likewise.
30886         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30887         Likewise.
30888         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30889         Likewise.
30890         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30891         Likewise.
30893 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30895         * catgets/test-gencat.c: Use test-skeleton.c.
30896         * catgets/tst-catgets.c: Likewise.
30897         * csu/tst-empty.c: Likewise.
30898         * elf/tst-audit2.c: Likewise.
30899         * elf/tst-global1.c: Likewise.
30900         * elf/tst-pathopt.c: Likewise.
30901         * elf/tst-piemod1.c: Likewise.
30902         * elf/tst-tls10.c: Likewise.
30903         * elf/tst-tls11.c: Likewise.
30904         * elf/tst-tls12.c: Likewise.
30905         * gnulib/tst-gcc.c: Likewise.
30906         * iconvdata/tst-e2big.c: Likewise.
30907         * iconvdata/tst-loading.c: Likewise.
30908         * iconv/tst-iconv1.c: Likewise.
30909         * iconv/tst-iconv2.c: Likewise.
30910         * inet/test-inet6_opt.c: Likewise.
30911         * inet/tst-gethnm.c: Likewise.
30912         * inet/tst-network.c: Likewise.
30913         * inet/tst-ntoa.c: Likewise.
30914         * intl/tst-codeset.c: Likewise.
30915         * intl/tst-gettext2.c: Likewise.
30916         * intl/tst-gettext3.c: Likewise.
30917         * intl/tst-ngettext.c: Likewise.
30918         * intl/tst-translit.c: Likewise.
30919         * io/test-stat.c: Likewise.
30920         * libio/test-fmemopen.c: Likewise.
30921         * libio/tst-freopen.c: Likewise.
30922         * libio/tst-sscanf.c: Likewise.
30923         * libio/tst-ungetwc1.c: Likewise.
30924         * libio/tst-ungetwc2.c: Likewise.
30925         * libio/tst-widetext.c: Likewise.
30926         * localedata/tst-ctype.c: Likewise.
30927         * localedata/tst-digits.c: Likewise.
30928         * localedata/tst-leaks.c: Likewise.
30929         * localedata/tst-mbswcs1.c: Likewise.
30930         * localedata/tst-mbswcs2.c: Likewise.
30931         * localedata/tst-mbswcs3.c: Likewise.
30932         * localedata/tst-mbswcs4.c: Likewise.
30933         * localedata/tst-mbswcs5.c: Likewise.
30934         * localedata/tst-setlocale.c: Likewise.
30935         * localedata/tst-trans.c: Likewise.
30936         * localedata/tst-wctype.c: Likewise.
30937         * localedata/tst-xlocale1.c: Likewise.
30938         * login/tst-grantpt.c: Likewise.
30939         * malloc/tst-calloc.c: Likewise.
30940         * malloc/tst-malloc.c: Likewise.
30941         * malloc/tst-mallocstate.c: Likewise.
30942         * malloc/tst-mcheck.c: Likewise.
30943         * malloc/tst-mtrace.c: Likewise.
30944         * malloc/tst-obstack.c: Likewise.
30945         * math/atest-exp2.c: Likewise.
30946         * math/atest-exp.c: Likewise.
30947         * math/atest-sincos.c: Likewise.
30948         * math/test-matherr.c: Likewise.
30949         * math/test-misc.c: Likewise.
30950         * math/test-powl.c: Likewise.
30951         * math/tst-definitions.c: Likewise.
30952         * misc/tst-dirname.c: Likewise.
30953         * misc/tst-efgcvt.c: Likewise.
30954         * misc/tst-fdset.c: Likewise.
30955         * misc/tst-hsearch.c: Likewise.
30956         * misc/tst-mntent2.c: Likewise.
30957         * nptl/tst-sem7.c: Likewise.
30958         * nptl/tst-sem8.c: Likewise.
30959         * nptl/tst-sem9.c: Likewise.
30960         * nss/test-netdb.c: Likewise.
30961         * posix/tst-fnmatch.c: Likewise.
30962         * posix/tst-getlogin.c: Likewise.
30963         * posix/tst-gnuglob.c: Likewise.
30964         * posix/tst-mmap.c: Likewise.
30965         * pwd/tst-getpw.c: Likewise.
30966         * resolv/tst-inet_ntop.c: Likewise.
30967         * rt/tst-timer.c: Likewise.
30968         * stdio-common/test-fseek.c: Likewise.
30969         * stdio-common/test-popen.c: Likewise.
30970         * stdio-common/test-vfprintf.c: Likewise.
30971         * stdio-common/tst-cookie.c: Likewise.
30972         * stdio-common/tst-fileno.c: Likewise.
30973         * stdio-common/tst-gets.c: Likewise.
30974         * stdio-common/tst-obprintf.c: Likewise.
30975         * stdio-common/tst-perror.c: Likewise.
30976         * stdio-common/tst-sprintf2.c: Likewise.
30977         * stdio-common/tst-sprintf3.c: Likewise.
30978         * stdio-common/tst-sprintf.c: Likewise.
30979         * stdio-common/tst-swprintf.c: Likewise.
30980         * stdio-common/tst-tmpnam.c: Likewise.
30981         * stdio-common/tst-unbputc.c: Likewise.
30982         * stdio-common/tst-wc-printf.c: Likewise.
30983         * stdlib/tst-environ.c: Likewise.
30984         * stdlib/tst-fmtmsg.c: Likewise.
30985         * stdlib/tst-limits.c: Likewise.
30986         * stdlib/tst-rand48-2.c: Likewise.
30987         * stdlib/tst-rand48.c: Likewise.
30988         * stdlib/tst-random2.c: Likewise.
30989         * stdlib/tst-random.c: Likewise.
30990         * stdlib/tst-strtol.c: Likewise.
30991         * stdlib/tst-strtoll.c: Likewise.
30992         * stdlib/tst-tls-atexit.c: Likewise.
30993         * stdlib/tst-xpg-basename.c: Likewise.
30994         * string/test-ffs.c: Likewise.
30995         * string/tst-bswap.c: Likewise.
30996         * string/tst-inlcall.c: Likewise.
30997         * string/tst-strtok.c: Likewise.
30998         * string/tst-strxfrm.c: Likewise.
30999         * sysdeps/x86_64/tst-audit10.c: Likewise.
31000         * sysdeps/x86_64/tst-audit3.c: Likewise.
31001         * sysdeps/x86_64/tst-audit4.c: Likewise.
31002         * sysdeps/x86_64/tst-audit5.c: Likewise.
31003         * time/tst-ftime_l.c: Likewise.
31004         * time/tst-getdate.c: Likewise.
31005         * time/tst-mktime3.c: Likewise.
31006         * time/tst-mktime.c: Likewise.
31007         * time/tst-posixtz.c: Likewise.
31008         * time/tst-strptime2.c: Likewise.
31009         * time/tst-strptime3.c: Likewise.
31010         * wcsmbs/tst-btowc.c: Likewise.
31011         * wcsmbs/tst-mbrtowc.c: Likewise.
31012         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31013         * wcsmbs/tst-wchar-h.c: Likewise.
31014         * wcsmbs/tst-wcpncpy.c: Likewise.
31015         * wcsmbs/tst-wcrtomb.c: Likewise.
31016         * wcsmbs/tst-wcsnlen.c: Likewise.
31017         * wcsmbs/tst-wcstof.c: Likewise.
31019 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31021         [BZ #14132]
31022         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31023         INTDEF.
31024         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31025         declaration.
31026         (_dl_mcount): Use rtld_hidden_proto.
31027         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31028         _dl_mcount.
31029         * elf/rtld.c (_rtld_global_ro): Likewise.
31031         [BZ #14132]
31032         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31033         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31034         of _dl_init_internal.
31035         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31036         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31037         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31038         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31039         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31040         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31041         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31042         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31043         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31044         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31045         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31046         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31047         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31048         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31049         * sysdeps/tile/dl-start.S (_start): Likewise.
31050         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31051         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31053         [BZ #14132]
31054         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31055         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31056         (rtld_progname): Make macro definition unconditional.
31057         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31058         INTDEF.
31059         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31060         (dl_main): Likewise.
31061         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31062         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31063         instead of _dl_argv_internal.
31064         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31065         __GI__dl_argv instead of INTUSE(_dl_argv).
31066         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31067         __GI__dl_argv instead of _dl_argv_internal.
31069         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31070         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31071         macro.
31072         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31073         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31074         New macro.
31075         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31076         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31077         macro.
31078         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31079         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31081 2014-11-04  Andreas Schwab  <schwab@suse.de>
31083         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31085 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31087         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31088         mtvsrd instruction in binary form.
31090 2014-11-03  Andreas Schwab  <schwab@suse.de>
31092         [BZ #17522]
31093         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31094         for less than MB_LEN_MAX use a local buffer of that size.
31095         * libio/tst-fputws.c: New file.
31096         * libio/Makefile (tests): Add tst-fputws.
31098 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31100         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31101         the size of the fpu_fr.fpu_dregs[] array.
31103 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31105         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31106         (__nanosleep): Do not define as alias.
31107         (nanosleep): Define as alias of __nanosleep.
31108         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31109         __libc_nanosleep name.
31111 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31113         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31114         install.texi in comment.
31116 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31118         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31119         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31120         ... add here and use lwsync or sync ...
31121         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31122         ... and add here using lwsync.
31124 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31126         * elf/dl-machine-reject-phdr.h: New file.
31127         * elf/dl-load.c: #include that.
31128         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31129         if that returned true.
31131 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31133         [BZ #17496]
31134         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31135         gen-as-const-headers chunk.  Add a big scare comment after the last
31136         safe place to touch before-compile.
31138 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31140         * manual/install.texi (Tools for Compilation): Update autoconf
31141         version requirements.
31142         * INSTALL: Regenerated.
31144         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31145         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31146         (__libc_pselect): Likewise.
31148         [BZ #14138]
31149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31154 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31156         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31157         correct barrier instruction.
31158         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31159         Likewise.
31160         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31161         Likewise.
31163 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31165         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31166         after defining inlines.  Instead, just use parens to defeat macro
31167         expansion of __isctype in its declaration.
31169 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31171         * include/sys/uio.h (__libc_readv): Remove declaration.
31172         (__libc_writev): Likewise.
31173         * misc/readv.c (__libc_readv): Rename to __readv.
31174         (__readv): Do not define as alias.
31175         (readv): Define as alias of __readv.
31176         * misc/writev.c (__libc_writev): Rename to __writev.
31177         (__writev): Do not define as alias.
31178         (writev): Define as alias of __writev.
31179         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31180         (__readv): Do not define as alias.
31181         (readv): Define unconditionally as alias of __readv.
31182         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31183         (__writev): Do not define as alias.
31184         (writev): Define unconditionally as alias of __writev.
31185         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31186         name.
31187         (writev): Do not define __libc_writev name.
31189 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31191         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31192         (convert_charseq): New function, broken out of ...
31193         (use_from_charmap): ... here.  Call it.
31194         (use_to_charmap): Use convert_charseq and free instead of duplicating
31195         its code with a variable-length stack struct.
31197 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31199         * include/fcntl.h (__libc_creat): Remove declaration.
31200         * io/creat.c (__libc_creat): Rename to creat.
31201         (creat): Do not define as alias.
31202         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31203         of creat instead of __libc_creat.
31204         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31205         to creat.
31206         (creat): Do not define as alias.
31207         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31208         __libc_creat.
31209         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31210         __libc_creat name.
31211         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31212         Likewise.
31214 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31216         * manual/llio.texi: Add comments discussing why write() may be
31217         considered MT-unsafe on Linux.
31219 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31221         * dl-load.c (local_strdup): Remove.
31222         (expand_dynamic_string_token): Use __strdup.
31223         (decompose_rpath): Likewise.
31224         (_dl_map_object): Likewise.
31226 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31228         [BZ #14132]
31229         * sysdeps/generic/unwind-dw2-fde.c
31230         (__register_frame_info_bases_internal): Do not declare.
31231         (__register_frame_info_table_bases_internal): Likewise.
31232         (__deregister_frame_info_bases_internal): Likewise.
31233         (__register_frame_info_bases): Declare and use hidden_proto before
31234         definition.  Use hidden_def instead of INTDEF.
31235         (__register_frame_info_table_bases): Likewise.
31236         (__deregister_frame_info_bases): Likewise.
31237         (__register_frame_info): Do not use INTUSE.
31238         (__register_frame): Likewise.
31239         (__register_frame_info_table): Likewise.
31240         (__register_frame_table): Likewise.
31241         (__deregister_frame_info): Likewise.
31242         (__deregister_frame): Likewise.
31244 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
31246         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31247         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
31248         not undefine.
31249         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
31250         Likewise.
31251         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
31252         Likewise.
31254 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
31256         [BZ #14138]
31257         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
31258         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
31259         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
31260         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
31261         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
31262         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
31263         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
31264         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
31265         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
31266         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
31267         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
31268         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
31269         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
31270         syscall.
31271         (setfsuid): Likewise.
31272         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
31273         (setfsuid): Likewise.
31274         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
31275         (setfsuid): Likewise.
31276         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
31277         Likewise.
31278         (setfsuid): Likewise.
31279         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
31280         (setfsuid): Likewise.
31281         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
31282         Likewise.
31283         (setfsuid): Likewise.
31285 2014-10-27  Andreas Schwab  <schwab@suse.de>
31287         [BZ #17501]
31288         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
31289         check for Slow_SSE4_2 feature bit.
31290         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
31291         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31292         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
31293         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
31295 2014-10-24  Roland McGrath  <roland@hack.frob.com>
31297         * configure.ac: Validate compiler version with a empirical test of
31298         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
31299         $CC -v output.
31300         * configure: Regenerated.
31302         * inet/htons.c (htons): Prototypify.
31303         * inet/htonl.c (htonl): Likewise.
31305 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31307         * string/strncat.c (strncat): Improve performance by using strlen.
31309 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31311         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
31313 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31315         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
31316         Call libc_fetestexcept_aarch64.
31318 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31320         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
31321         Call libc_feholdexcept_aarch64.
31323 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31325         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
31326         Call get_rounding_mode.
31328 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31330         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31331         Simplify logic.
31333 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31335         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
31336         Simplify logic.
31338 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
31340         [BZ #14138]
31341         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
31342         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
31343         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
31344         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
31345         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
31346         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
31347         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
31348         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
31349         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
31350         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
31351         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31352         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31353         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
31354         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
31355         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
31356         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
31357         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31358         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
31359         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
31360         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
31361         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
31362         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
31363         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
31364         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
31365         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
31366         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
31367         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
31368         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
31369         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
31370         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
31371         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
31372         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
31373         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
31374         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
31375         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
31376         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
31377         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
31378         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
31379         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
31380         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
31381         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
31382         syscall.
31383         (geteuid): Likewise.
31384         (getgid): Likewise.
31385         (getuid): Likewise.
31386         (getresgid): Likewise.
31387         (getresuid): Likewise.
31388         (getgroups): Likewise.
31389         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
31390         (geteuid): Likewise.
31391         (getgid): Likewise.
31392         (getuid): Likewise.
31393         (getresgid): Likewise.
31394         (getresuid): Likewise.
31395         (getgroups): Likewise.
31396         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
31397         (geteuid): Likewise.
31398         (getgid): Likewise.
31399         (getuid): Likewise.
31400         (getresgid): Likewise.
31401         (getresuid): Likewise.
31402         (getgroups): Likewise.
31403         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
31404         Likewise.
31405         (geteuid): Likewise.
31406         (getgid): Likewise.
31407         (getuid): Likewise.
31408         (getresgid): Likewise.
31409         (getresuid): Likewise.
31410         (getgroups): Likewise.
31411         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
31412         (geteuid): Likewise.
31413         (getgid): Likewise.
31414         (getuid): Likewise.
31415         (getresgid): Likewise.
31416         (getresuid): Likewise.
31417         (getgroups): Likewise.
31418         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31419         Likewise.
31420         (geteuid): Likewise.
31421         (getgid): Likewise.
31422         (getuid): Likewise.
31423         (getgroups): Likewise.
31425         [BZ #14138]
31426         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31427         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31428         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31429         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31430         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31431         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31432         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31433         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31434         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31435         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31436         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31437         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31438         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31439         __chown.
31440         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31441         (lchown): Likewise.
31442         (fchown): Likewise.
31443         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31444         Likewise.
31445         (lchown): Likewise.
31446         (fchown): Likewise.
31447         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31448         (lchown): Likewise.
31449         (fchown): Likewise.
31450         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31451         Likewise.
31452         (lchown): Likewise.
31453         (fchown): Likewise.
31455 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31457         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31458         Simplify logic.
31460 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31462         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31463         Cleanup logic.
31465 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31467         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31468         Remove unused include.
31470 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31472         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31473         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31474         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31475         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31477 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
31478             Helge Deller <deller@gmx.de>
31480         [BZ #17508]
31481         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31482         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31483         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31485 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
31487         [BZ #14132]
31488         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31489         Remove macro definition.
31490         (__ashrdi3_v_glibc20): Likewise.
31491         (__lshrdi3_v_glibc20): Likewise.
31492         (__cmpdi2_v_glibc20): Likewise.
31493         (__ucmpdi2_v_glibc20): Likewise.
31494         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31495         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31496         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31497         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31498         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31499         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31501 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31503         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31504         old GNU extension [0] syntax.
31505         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31506         alloca rather than an array member with variable length.
31507         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31508         * nscd/nscd.c (invalidate_db): New function, broken out of ...
31509         (parse_opt): ... here.  Likewise use alloca there.
31510         Validate the -i argument before checking for rootness.
31511         (send_shutdown): New function, broken out of ...
31512         (parse_opt): ... here.
31514 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31516         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31517         macro to get at the _rt_local_ro field.
31518         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
31519         ([PIC] case) or _dl_hwcap ([!PIC] case).
31520         * sysdeps/arm/setjmp.S: Likewise.
31522         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
31523         * sysdeps/arm/configure.ac: New check to define it.
31524         * sysdeps/arm/configure: Regenerated.
31525         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
31526         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
31527         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
31528         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
31529         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
31530         Use move/movt pair instead of a load.
31531         (LDST_GLOBAL): Macro removed.
31532         (LDR_GLOBAL): New macro replaces it.
31533         (LDR_HIDDEN): New macro.
31534         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
31535         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
31537         * setjmp/tst-setjmp-static.c: New file.
31538         * setjmp/Makefile (tests): Add it.
31539         (tests-static): New variable.
31541 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
31543         [BZ #17485]
31544         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
31546 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
31548         [BZ #14132]
31549         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
31551 2014-10-21  Roland McGrath  <roland@hack.frob.com>
31553         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
31555 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31557         * io/fts.c (dirent_not_directory): New function.
31558         (fts_build): Call it.
31560 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31562         * nptl/version.c (__nptl_main): Use normal __write rather than
31563         INTERNAL_SYSCALL.
31564         (banner): Update copyright years.
31566         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
31567         gettimeofday.
31568         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31569         * nptl/pthread_cond_timedwait.c: Likewise.
31570         * nptl/pthread_mutex_timedlock.c: Likewise.
31571         * nptl/sem_timedwait.c: Likewise.
31573         * sysdeps/nptl/bits/libc-lock.h
31574         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31575         (__libc_lock_init_recursive): Return void, not 0.
31576         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
31577         (__libc_rwlock_init): Likewise.
31578         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
31580 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31582         [BZ #15215]
31583         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
31584         (__pthread_once_slow): ... here.
31585         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
31586         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
31588 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31590         [BZ #15215]
31591         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
31592         __PTHREAD_ONCE_FORK_GEN_INCR): New.
31593         * sysdeps/nptl/fork.c (__libc_fork): Use them.
31594         * nptl/pthread_once.c (__pthread_once): Likewise.
31595         Update comments.
31597 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
31599         [BZ #14138]
31600         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31601         name.
31602         (writev): Use __libc_writev as strong name.
31603         * sysdeps/unix/sysv/linux/readv.c: Remove file.
31604         * sysdeps/unix/sysv/linux/writev.c: Likewise.
31606 2014-10-17  Roland McGrath  <roland@hack.frob.com>
31608         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
31610         * sysdeps/i386/nptl/tls.h
31611         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
31612         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
31613         New macros.
31614         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
31615         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
31616         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
31617         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31618         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
31619         Call CHECK_THREAD_SYSINFO instead of doing an assert.
31621         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31622         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
31623         on [__NR_futex].
31624         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
31625         broken out of ...
31626         (__pthread_mutex_init): ... here.  Call it.
31627         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
31628         Conditionalize PI cases on [__NR_futex].
31629         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
31630         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
31631         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
31633         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
31634         conditional on [SIGSETXID].
31635         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
31636         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
31637         is defined.  Likewise for SIGSETXID.
31638         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
31639         Conditionalize definitions on [SIGSETXID].
31640         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
31641         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
31642         unblocking on [SIGCANCEL].
31644         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
31645         [__NR_set_robust_list].
31647 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31649         * string/strcoll_l.c (get_next_seq): Fix up formatting.
31650         (do_compare): Likewise.
31652 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
31654         [BZ #15884]
31655         * string/strcoll_l.c: Don't include stdio.h.
31656         (coll_seq): Remove members idxarr and rulearr.
31657         (get_next_seq_cached): Remove function.
31658         (get_next_seq): Likewise.
31659         (get_next_seq_nocache): Rename to get_next_seq.
31660         (do_compare): Remove function.
31661         (do_compare_nocache): Rename to do_compare.
31662         (STRCOLL): Remove weight and rules cache.
31664 2014-10-16  Roland McGrath  <roland@hack.frob.com>
31666         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
31667         * sysdeps/arm/sfp-machine.h: ... to here.
31668         * sysdeps/arm/Implies: Remove arm/soft-fp.
31670 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
31672         * conform/data/sys/utsname.h-data (*_t): Allow.
31673         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
31674         [POSIX] (WEXITED): Do not expect constant.
31675         [POSIX] (WSTOPPED): Likewise.
31676         [POSIX] (WNOHANG): Likewise.
31677         [POSIX] (WNOWAIT): Likewise.
31678         [POSIX] (siginfo_t): Do not expect type or elements.
31679         [POSIX] (pid_t): Do not expect type.
31680         [POSIX] (signal.h): Do not allow header.
31681         [POSIX] (sys/resource.h): Likewise.
31682         [POSIX] (si_*): Do not allow pattern.
31683         [POSIX] (W*): Likewise.
31684         [POSIX] (P_*): Likewise.
31685         [POSIX] (BUS_*): Likewise.
31686         [POSIX] (CLD_*): Likewise.
31687         [POSIX] (FPE_*): Likewise.
31688         [POSIX] (ILL_*): Likewise.
31689         [POSIX] (POLL_*): Likewise.
31690         [POSIX] (SEGV_*): Likewise.
31691         [POSIX] (SI_*): Likewise.
31692         [POSIX] (TRAP_*): Likewise.
31693         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
31694         variable.
31696 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31698         [BZ #12926]
31699         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
31700         infinite loop when __recvmsg returns 0.
31702 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
31704         * CANCEL-FCT-WAIVE: Remove file.
31705         * CANCEL-FILE-WAIVE: Likewise.
31707         [BZ #14132]
31708         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
31709         instead of INTVARDEF.
31710         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31711         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
31712         rtld_hidden_data_def instead of INTVARDEF.
31713         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31714         * elf/dl-deps.c (expand_dst): Likewise.
31715         * elf/dl-load.c (_dl_dst_count): Likewise.
31716         (_dl_dst_substitute): Likewise.
31717         (decompose_rpath): Likewise.
31718         (_dl_init_paths): Likewise.
31719         (open_path): Likewise.
31720         (_dl_map_object): Likewise.
31721         * elf/rtld.c (dl_main): Likewise.
31722         (process_dl_audit): Likewise.
31723         (process_envvars): Likewise.
31724         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
31725         Remove declaration.
31726         (__libc_enable_secure): Use rtld_hidden_proto.
31728 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31730         * elf/dl-load.c
31731         (add_path): New function broken out of _dl_rtld_di_serinfo.
31732         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
31734 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31736         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
31737         parentheses around macro arguments.
31738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
31739         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
31740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
31741         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
31742         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
31743         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31744         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31745         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
31746         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
31747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
31748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
31749         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
31750         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
31751         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
31752         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
31753         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
31754         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
31755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
31756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
31757         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
31758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
31759         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
31760         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
31761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31763         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
31764         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
31765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
31766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
31767         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
31768         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
31769         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
31770         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
31771         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
31772         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
31773         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
31774         Likewise.
31775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
31776         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31777         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31778         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
31779         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
31780         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
31781         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
31782         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
31783         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
31784         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
31785         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
31786         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
31787         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
31788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
31789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
31790         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31792         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
31793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
31794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
31795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
31796         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
31797         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
31798         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
31799         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
31800         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
31801         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
31802         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
31803         (_FP_FRAC_SRS_1): Likewise.
31804         (_FP_FRAC_CLZ_1): Likewise.
31805         (_FP_MUL_MEAT_1_imm): Likewise.
31806         (_FP_MUL_MEAT_1_wide): Likewise.
31807         (_FP_MUL_MEAT_1_hard): Likewise.
31808         (_FP_SQRT_MEAT_1): Likewise.
31809         (_FP_FRAC_ASSEMBLE_1): Likewise.
31810         (_FP_FRAC_DISASSEMBLE_1): Likewise.
31811         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
31812         (__FP_CLZ_2): Likewise.
31813         (_FP_MUL_MEAT_2_wide): Likewise.
31814         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31815         (_FP_MUL_MEAT_2_gmp): Likewise.
31816         (_FP_MUL_MEAT_2_120_240_double): Likewise.
31817         (_FP_SQRT_MEAT_2): Likewise.
31818         (_FP_FRAC_ASSEMBLE_2): Likewise.
31819         (_FP_FRAC_DISASSEMBLE_2): Likewise.
31820         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
31821         (_FP_FRAC_CLZ_4): Likewise.
31822         (_FP_MUL_MEAT_4_wide): Likewise.
31823         (_FP_MUL_MEAT_4_gmp): Likewise.
31824         (_FP_SQRT_MEAT_4): Likewise.
31825         (_FP_FRAC_ASSEMBLE_4): Likewise.
31826         (_FP_FRAC_DISASSEMBLE_4): Likewise.
31827         * soft-fp/op-common.h (_FP_CMP): Likewise.
31828         (_FP_CMP_EQ): Likewise.
31829         (_FP_CMP_UNORD): Likewise.
31830         (_FP_TO_INT): Likewise.
31831         (_FP_FROM_INT): Likewise.
31832         [!__FP_CLZ] (__FP_CLZ): Likewise.
31833         (_FP_DIV_HELP_imm): Likewise.
31834         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
31835         Likewise.
31836         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
31837         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
31838         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
31839         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
31840         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
31841         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31842         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
31844         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
31845         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
31846         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
31847         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
31848         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
31849         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
31850         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
31851         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
31852         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
31853         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
31854         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
31855         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
31856         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
31857         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
31858         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
31859         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31860         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
31862         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
31863         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
31864         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
31865         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
31866         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
31867         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
31868         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
31869         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
31870         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
31871         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
31872         (FP_UNPACK_RAW_SP): Likewise.
31873         (FP_PACK_RAW_S): Likewise.
31874         (FP_PACK_RAW_SP): Likewise.
31875         (FP_UNPACK_S): Likewise.
31876         (FP_UNPACK_SP): Likewise.
31877         (FP_UNPACK_SEMIRAW_S): Likewise.
31878         (FP_UNPACK_SEMIRAW_SP): Likewise.
31879         (FP_PACK_S): Likewise.
31880         (FP_PACK_SP): Likewise.
31881         (FP_PACK_SEMIRAW_S): Likewise.
31882         (FP_PACK_SEMIRAW_SP): Likewise.
31883         (_FP_SQRT_MEAT_S): Likewise.
31884         (FP_CMP_S): Likewise.
31885         (FP_CMP_EQ_S): Likewise.
31886         (FP_CMP_UNORD_S): Likewise.
31887         (FP_TO_INT_S): Likewise.
31888         (FP_FROM_INT_S): Likewise.
31890         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31892         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31893         (FP_EX_INVALID_IMZ): Likewise.
31894         (FP_EX_INVALID_IMZ_FMA): Likewise.
31895         (FP_EX_INVALID_ISI): Likewise.
31896         (FP_EX_INVALID_ZDZ): Likewise.
31897         (FP_EX_INVALID_IDI): Likewise.
31898         (FP_EX_INVALID_SQRT): Likewise.
31899         (FP_EX_INVALID_CVI): Likewise.
31900         (FP_EX_INVALID_VC): Likewise.
31901         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31902         "invalid" exceptions.
31903         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31904         (_FP_ADD_INTERNAL): Likewise.
31905         (_FP_MUL): Likewise.
31906         (_FP_FMA): Likewise.
31907         (_FP_DIV): Likewise.
31908         (_FP_CMP_CHECK_NAN): Likewise.
31909         (_FP_SQRT): Likewise.
31910         (_FP_TO_INT): Likewise.
31911         (FP_EXTEND): Likewise.
31913 2014-10-09  Allan McRae  <allan@archlinux.org>
31915         * po/fr.po: Update French translation from translation project.
31917 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31919         [BZ #14132]
31920         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31921         of INTDEF.
31922         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31923         (__cxa_atexit): Use libc_hidden_proto.
31924         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31926         [BZ #14132]
31927         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31928         declaration.
31929         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31930         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31931         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31932         [!_ISOMAC] (__iswctype_internal): Likewise.
31933         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31934         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31935         alias.
31936         (fcntl): Remove __fcntl_internal alias.
31937         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31938         __connect_internal alias.
31939         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31940         Likewise.
31942         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31943         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31944         FP_DENORM_ZERO.
31945         (_FP_CHECK_FLUSH_ZERO): New macro.
31946         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31947         (_FP_CMP): Likewise.
31948         (_FP_CMP_EQ): Likewise.
31949         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31950         FP_DENORM_ZERO.
31951         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31952         (FP_TRUNC): Likewise.
31954         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31955         treated as invalid conversion, not as normal exponent.
31957         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31958         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31959         (_FP_CMP_EQ): Likewise.
31960         (_FP_CMP_UNORD): Likewise.
31961         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31962         (FP_CMP_EQ_D): Likewise.
31963         (FP_CMP_UNORD_D): Likewise.
31964         * soft-fp/extended.h (FP_CMP_E): Likewise.
31965         (FP_CMP_EQ_E): Likewise.
31966         (FP_CMP_UNORD_E): Likewise.
31967         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31968         (FP_CMP_EQ_Q): Likewise.
31969         (FP_CMP_UNORD_Q): Likewise.
31970         * soft-fp/single.h (FP_CMP_S): Likewise.
31971         (FP_CMP_EQ_S): Likewise.
31972         (FP_CMP_UNORD_S): Likewise.
31973         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31974         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31975         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31976         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31977         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31978         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31979         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31980         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31981         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31982         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31983         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31984         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31985         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31986         to FP_CMP_Q.
31987         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31988         FP_CMP_Q.
31989         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31990         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31991         FP_CMP_EQ_Q.
31992         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31993         FP_CMP_Q.
31994         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31995         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31996         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31997         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31998         FP_CMP_EQ_Q.
31999         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32000         FP_CMP_Q.
32001         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32002         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32003         FP_CMP_EQ_Q.
32004         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32005         FP_CMP_Q.
32006         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32007         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32008         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32009         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32010         FP_CMP_EQ_Q.
32012         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32013         a subnormal result, set the underflow exception if trapping on
32014         underflow is enabled.
32015         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32016         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32017         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32018         redefine to 0.
32019         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32020         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32021         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32022         * soft-fp/extendxftf2.c (__extendxftf2): Use
32023         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32025         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32026         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32027         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32028         FP_HANDLE_EXCEPTIONS.
32029         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32030         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32031         FP_HANDLE_EXCEPTIONS.
32032         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32033         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32034         FP_HANDLE_EXCEPTIONS.
32035         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32036         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32037         FP_HANDLE_EXCEPTIONS.
32039 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32041         [BZ #14132]
32042         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32043         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32044         use INTUSE.
32045         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32046         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32047         Remove alias.
32048         (__adjtimex): Define using libc_hidden_ver.
32049         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32050         Remove declaration.
32051         (ntp_gettime): Call __adjtimex directly.
32052         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32053         Remove declaration.
32054         (ntp_gettimex): Call __adjtimex directly.
32055         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32056         __adjtimex_internal alias.
32058 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32060         [BZ #17460]
32061         * nscd/nscd.c (more_help): Rewrite list of tables collection
32062         using xstrdup and asprintf.
32064         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32066 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32067             Roland McGrath  <roland@hack.frob.com>
32069         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32070         (do_lookup_unique): ... local function 'enter' here; update callers.
32072 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32074         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32075         compat_symbol calls on [SHARED].
32076         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32077         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32078         Remove.
32079         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32080         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32081         (oldsetrlimit): Remove.
32082         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32084         (lchown): New syscall entry.
32085         (oldsetrlimit): Remove.
32086         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32087         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32088         (oldsetrlimit): Remove.
32089         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32091         [BZ #14138]
32092         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32093         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32094         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32095         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32096         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32097         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32098         (fchown): Likewise.
32099         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32100         (fchown): Likewise.
32101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32102         Likewise.
32104 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32106         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32107         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32108         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32109         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32110         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32111         Likewise.
32112         (__old_sem_post): Likewise.
32114 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32116         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32117         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32118         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32119         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32120         Use INLINE_VSYSCALL macro.
32121         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32122         __vdso_clock_gettime.
32123         * sysdeps/unix/sysv/linux/tile/init-first.c
32124         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32125         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32126         __vdso_clock_gettime.
32128         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32129         to set up frame more cleanly.
32131         * sysdeps/tile/memcmp.c: New file.
32133         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32135         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32136         * sysdeps/tile/tilegx/strcasestr.c: New file.
32137         * sysdeps/tile/tilegx/strnlen.c: New file.
32138         * sysdeps/tile/tilegx/strstr.c: New file.
32140         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32142 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32144         * nptl/tst-setuid3.c: Write errors to stdout.
32146 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32148         * elf/dl-deps.c
32149         (preload): New functions broken out of _dl_map_object_deps.
32150         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32152 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32154         [BZ #14138]
32155         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32156         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32158 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32160         * sysdeps/mips/strcmp.S: New.
32162 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32164         [BZ #14138]
32165         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32166         (linkat): Likewise.
32167         (mkdirat): Likewise.
32168         (readlinkat): Likewise.
32169         (renameat): Likewise.
32170         (symlinkat): Likewise.
32171         (unlinkat): Likewise.
32172         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32173         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32174         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32175         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32176         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32177         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32178         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32180 2014-09-30  Will Newton  <will.newton@linaro.org>
32182         * math/math.h: Define long double math functions if
32183         _LIBC_TEST is defined.
32184         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32186         * localedata/Makefile: Move assignment to tests-special
32187         into an ifdef testing run-built-tests.
32188         * timezone/Makefile: Likewise.
32190 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32192         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32193         with $(BASH) not $(SHELL).
32195 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32196             Matthew LeGendre  <legendre1@llnl.gov>
32198         [BZ #17411]
32199         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32200         l_reloc_result.
32202 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32204         * stdio-common/printf_fp.c
32205         (hack_digit): New function, broken out of ...
32206         (__printf_fp): ... local function here.  Update call sites.
32207         hack_digit now takes an additional parameter that is a pointer
32208         to a struct of the referenced locals.  Those locals moved inside
32209         the struct and references updated.
32211 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32213         * aclocal.m4: Require autoconf 2.69.
32214         * configure: Regenerated.
32215         * sysdeps/aarch64/configure: Likewise.
32216         * sysdeps/alpha/configure: Likewise.
32217         * sysdeps/arm/armv7/configure: Likewise.
32218         * sysdeps/arm/configure: Likewise.
32219         * sysdeps/ia64/configure: Likewise.
32220         * sysdeps/mach/configure: Likewise.
32221         * sysdeps/mips/configure: Likewise.
32222         * sysdeps/s390/configure: Likewise.
32223         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32226         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32227         file.
32228         * sysdeps/ia64/configure.ac: Likewise.
32230 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
32232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32233         specify symbol version for ld.so.  Do not include entry for
32234         libpthread.
32235         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32236         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32237         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32239         [BZ #14171]
32240         * Makeconfig [$(build-shared) = yes]
32241         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32242         makefiles.
32243         [$(build-shared) = yes && $(soversions.mk-done) = t]
32244         ($(common-objpfx)gnu/lib-names.h): Remove rule.
32245         [$(build-shared) = yes && $(soversions.mk-done) = t]
32246         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
32247         to Makerules.
32248         [$(build-shared) = yes && $(soversions.mk-done) = t]
32249         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
32250         here.
32251         [$(build-shared) = yes && $(soversions.mk-done) = t]
32252         (common-generated): Don't append gnu/lib-names.h and
32253         gnu/lib-names.stmp here.
32254         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
32255         (lib-names-h-abi): New variable.
32256         [$(build-shared) = yes && $(soversions.mk-done) = t]
32257         (lib-names-stmp-abi): Likewise.
32258         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32259         abi-variants] (before-compile): Append
32260         $(common-objpfx)$(lib-names-h-abi).
32261         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32262         abi-variants] (common-generated): Append gnu/lib-names.h.
32263         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32264         abi-variants] (install-others-nosubdir): Depend on
32265         $(inst_includedir)/$(lib-names-h-abi).
32266         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32267         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
32268         [$(build-shared) = yes && $(soversions.mk-done) = t]
32269         ($(common-objpfx)$(lib-names-h-abi)): New rule.
32270         [$(build-shared) = yes && $(soversions.mk-done) = t]
32271         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
32272         [$(build-shared) = yes && $(soversions.mk-done) = t]
32273         (common-generated): Append $(lib-names-h-abi) and
32274         $(lib-names-stmp-abi).
32275         * scripts/lib-names.awk: Do not handle multi being set.
32276         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
32277         Remove variable.
32278         (abi-lp64_be-ld-soname): Likewise.
32279         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
32280         Likewise.
32281         (abi-hard-ld-soname): Likewise.
32282         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
32283         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
32284         Remove variable.
32285         (abi-o32_hard-ld-soname): Likewise.
32286         (abi-o32_soft_2008-ld-soname): Likewise.
32287         (abi-o32_hard_2008-ld-soname): Likewise.
32288         (abi-n32_soft-ld-soname): Likewise.
32289         (abi-n32_hard-ld-soname): Likewise.
32290         (abi-n32_soft_2008-ld-soname): Likewise.
32291         (abi-n32_hard_2008-ld-soname): Likewise.
32292         (abi-n64_soft-ld-soname): Likewise.
32293         (abi-n64_hard-ld-soname): Likewise.
32294         (abi-n64_soft_2008-ld-soname): Likewise.
32295         (abi-n64_hard_2008-ld-soname): Likewise.
32296         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
32297         Likewise.
32298         (abi-64-v2-ld-soname): Likewise.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
32300         ld.so entries.
32301         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
32302         variable.
32303         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
32304         entry.
32305         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
32306         variable.
32307         (abi-64-ld-soname): Likewise.
32308         (abi-x32-ld-soname): Likewise.
32309         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
32310         entry.
32311         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32313 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
32315         [BZ #14138]
32316         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
32317         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
32318         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
32319         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
32320         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
32321         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
32322         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
32323         syscall entry for GLIBC_2.2 symbol version.
32324         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
32325         Likewise.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32327         (setrlimit): Likewise.
32328         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
32329         Likewise.
32331 2014-09-23  Will Newton  <will.newton@linaro.org>
32333         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
32334         _LINUX_ARM_SYSDEP_H include guard too.
32335         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
32336         define.
32338 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32340         * sysdeps/unix/sysv/linux/eventfd.c:
32341         Make first argument unsigned.
32342         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
32343         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32345 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
32347         [BZ #16852]
32348         * socket/recvmmsg.c (recvmmsg): Drop const argument.
32349         * socket/sys/socket.h: Likewise.
32350         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
32352 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32354         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
32356 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
32358         * time/tst-ftime.c: New test.
32359         * time/Makefile (tests): Add tst-ftime.
32361 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
32363         * soft-fp/extended.h: Fix comment formatting.
32364         * soft-fp/op-1.h: Likewise.
32365         * soft-fp/op-2.h: Likewise.
32366         * soft-fp/op-4.h: Likewise.
32367         * soft-fp/op-8.h: Likewise.
32368         * soft-fp/op-common.h: Likewise.
32369         * soft-fp/soft-fp.h: Likewise.
32371         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
32373 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
32375         [BZ #6652]
32376         * Makeconfig (soversions-default-setname): Remove variable.
32377         ($(common-objpfx)soversions.i): Don't pass default_setname to
32378         soversions.awk.
32379         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
32380         oldest_abi to abi-versions.awk.
32381         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
32382         * config.make.in (oldest-abi): Remove variable.
32383         * configure.ac (--enable-oldest-abi): Remove configure option.
32384         * configure: Regenerated.
32385         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
32386         text.
32387         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
32388         * scripts/soversions.awk: Do not handle default_setname variable.
32389         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
32390         variable.
32391         * sysdeps/mach/hurd/configure: Regenerated.
32392         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
32393         variable.
32394         * sysdeps/unix/sysv/linux/configure: Regenerated.
32396 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32398         * elf/Makefile (CFLAGS-interp.c): Remove.
32399         ($(elf-objpfx)runtime-linker.h): Generate header with linker
32400         path string.
32401         * elf/interp.c: Include generated runtime-linker.h
32403         * Makerules (lib%.so): Don't include $(+interp) in
32404         prerequisites.
32405         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
32406         * dlfcn/eval.c: Remove file.
32408         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
32409         macros.
32411         [BZ #17266]
32412         * misc/sys/cdefs.h: Define __extern_always_inline for clang
32413         4.2 and newer.
32415         [BZ #17370]
32416         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32418 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32419             Jakub Jelinek  <jakub@redhat.com>
32421         [BZ #17266]
32422         * libio/stdio.h: Check definition of __fortify_function
32423         instead of __extern_always_inline to include bits/stdio2.h.
32424         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32425         check if __extern_always_inline is defined.
32426         [__USE_MISC || __USE_XOPEN]: Likewise.
32427         [__USE_ISOC99] Likewise.
32428         * misc/sys/cdefs.h (__fortify_function): Define only if
32429         __extern_always_inline is defined.
32430         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32431         __extern_always_inline and __extern_inline only for g++-4.3
32432         and newer or a compatible gcc.
32434 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
32436         [BZ #17371]
32437         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32438         last change to handle zero prefix length.
32440 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32442         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32443         _SC_REGEX_VERSION.
32445         * posix/getconf.c (vars): Add _POSIX_IPV6 and
32446         _POSIX_RAW_SOCKETS.
32448 2014-09-13  Allan McRae  <allan@archlinux.org>
32450         * po/ru.po: Update Russian translation from translation project.
32452 2014-09-12  Roland McGrath  <roland@hack.frob.com>
32454         * locale/programs/locale.c (show_locale_vars): Inline local function
32455         into its sole call site.  Clean up some style nits.
32456         (print_item): New function, broken out of ...
32457         (show_info): ... local function here.  Clean up style nits.
32459         * locale/programs/ld-ctype.c (set_one_default): New function, broken
32460         out of ...
32461         (set_class_defaults): ... local function set_default here.
32462         Define set_default as a macro locally to pass constant parameters.
32463         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32464         rather than a shared local.
32466         * stdlib/rpmatch.c (try): New function, broken out of ...
32467         (rpmatch): ... local function here.  Also, prototypify definition.
32469 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
32471         * scripts/soversions.awk: Do not handle configuration names.
32472         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32473         vendor and os variables to soversions.awk.
32474         * configure.ac: Do not modify gnu-* host_os.
32475         * configure: Regenerated
32476         * shlib-versions: Remove first column with configuration names.
32477         * nptl/shlib-versions: Likewise.
32478         * nptl_db/shlib-versions: Likewise.
32479         * sysdeps/hppa/shlib-versions: Likewise.
32480         * sysdeps/m68k/shlib-versions: Likewise.
32481         * sysdeps/mach/hurd/shlib-versions: Likewise.
32482         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32483         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32484         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32485         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32486         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32487         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32488         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32489         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32491         Likewise.
32492         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32493         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32494         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32495         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32496         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32497         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32498         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32499         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32502         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32504         Regenerated.
32505         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32507         Condition symbol version definitions on [HAVE_ELFV2_ABI].
32509         * shlib-versions: Remove OS-specific entries.  Moved to files in
32510         sysdeps.
32511         * sysdeps/mach/hurd/shlib-versions: New file.
32512         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32514         * nptl/shlib-versions: Remove architecture-specific entries.
32515         Moved to files in sysdeps.
32516         * shlib-versions: Likewise.
32517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
32518         file.
32519         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32520         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32521         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32522         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32524         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
32525         (UDP_NO_CHECK6_RX): Likewise.
32527 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32529         * sysdeps/posix/sysconf.c (__sysconf): Spell
32530         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
32532 2014-08-12  Florian Weimer  <fweimer@redhat.com>
32534         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
32535         loading.
32536         * iconv/Versions (__gconv_transliterate): Export for use from
32537         gconv modules.
32538         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
32539         (struct __gconv_trans_data, __gconv_trans_fct,
32540         __gconv_trans_context_fct, __gconv_trans_query_fct,
32541         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
32542         definitions.
32543         (struct __gconv_step_data): Remove __trans member.
32544         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
32545         longer hidden.  Remove unused trans_data argument.
32546         * iconv/gconv_int.h (struct trans_struct): Remove definition.
32547         (__gconv_translit_find): Remove declaration.
32548         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
32549         prototype.
32550         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
32551         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
32552         trans_data argument.  Add hidden definition.
32553         (__gconv_translit_find): Remove.
32554         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
32555         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
32556         * iconv/skeleton.c: Remove transliteration initialization.
32557         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32558         __gconv_step_data initialization.
32559         * libio/iofwide.c (__libio_translit_): Remove.
32560         (_IO_fwide): Adjust struct __gconv_step_data initialization.
32561         * wcsmbs/btowc.c (__btowc): Likewise.
32562         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32563         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32564         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
32565         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
32566         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
32567         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
32568         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
32569         * wcsmbs/wctob.c (wctob): Likewise.
32571 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32573         [BZ #16194]
32574         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
32575         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
32576         register usage.
32577         * sysdeps/x86/Makefile: Adjust.
32579 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32580             Roland McGrath  <roland@hack.frob.com>
32582         * locale/weight.h: Add include guard.
32583         (findidx): Make static rather than auto; take new parameters
32584         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
32585         * locale/weightwc.h: Likewise.
32586         * posix/fnmatch_loop.c
32587         (FCT): Change type of EXTRA from int32_t to wint_t.
32588         Don't include either header inside the function.
32589         Call FINDIDX rather than findidx, and pass new arguments.
32590         #undef FINDIDX at the end of the file.
32591         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
32592         FINDIDX before including fnmatch_loop.c for the non-wide version.
32593         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
32594         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
32595         for the wide version.
32596         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
32597         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
32598         Pass new arguments to findidx.
32599         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
32600         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
32601         Don't #include it inside the function.  Pass new arguments to findidx.
32602         * posix/regex_internal.h
32603         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
32604         (re_string_elem_size_at): Don't #include it inside the function.
32605         Pass new arguments to findidx.
32606         * string/strcoll_l.c: #include WEIGHT_H at top level.
32607         (get_next_seq): Don't #include it inside the function.
32608         Pass new arguments to findidx.
32609         (get_next_seq_nocache): Likewise.
32610         * string/strxfrm_l.c: #include WEIGHT_H at top level.
32611         (STRXFRM): Don't #include it inside the function.
32612         Pass new arguments to findidx.
32614 2014-09-11  Florian Weimer  <fweimer@redhat.com>
32616         [BZ #17344]
32617         * malloc/malloc.c (unlink): Turn asserts into a call to
32618         malloc_printerr.
32620 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
32622         [BZ #17370]
32623         * libio/wfileops (do_ftell_wide): Free OUT.
32625 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
32627         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
32629 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32631         [BZ #17363]
32632         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
32633         group if the current group is empty.
32635 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32637         * benchtests/bench-memset.c (test_main): Add more test from size
32638         from 32 to 512 bytes.
32639         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32640         Add POWER8 memset object.
32641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32642         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
32643         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
32644         implementation.
32645         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
32646         Likewise.
32647         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
32648         multiarch POWER8 memset optimization.
32649         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
32650         POWER8 memset optimization.
32652         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32653         Remove bzero multiarch objects.
32654         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
32655         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
32656         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
32657         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
32658         Remove define.
32659         [__bzero]: Redefine to specific name.
32660         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
32661         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
32662         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
32663         define.
32664         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32665         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32667 2014-09-10  Florian Weimer  <fweimer@redhat.com>
32669         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
32670         warnings into errors.
32672         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
32673         __cxa_thread_atexit_impl prototype.
32675 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32677         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
32678         Fix capitalization of error message.
32680 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32682         * sysdeps/mips/preconfigure: Modify ABI tests.
32684 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
32686         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
32688 2014-09-07  Roland McGrath  <roland@hack.frob.com>
32689             Carlos O'Donell  <carlos@systemhalted.org>
32691         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
32692         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
32693         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
32694         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
32695         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
32696         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
32697         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
32698         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
32699         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
32700         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
32701         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
32702         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
32703         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
32704         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
32705         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
32706         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
32707         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
32708         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
32709         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
32710         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
32711         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
32712         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
32713         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
32714         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
32715         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
32716         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
32717         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
32718         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
32719         Deconditionalize the code that was previously under [RESET_PID].
32720         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
32721         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
32722         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
32723         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
32724         include sysdep.h.
32726 2014-09-08  Allan McRae  <allan@archlinux.org>
32728         * version.h (RELEASE): Set to "development".
32729         (VERSION): Set to "2.20.90"
32731 2014-09-07  Allan McRae  <allan@archlinux.org
32733         * version.h (RELEASE): Set to "stable".
32734         (VERSION): Set to "2.20"
32735         * include/features.h (__GLIBC_MINOR__): Set to 20.
32737         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
32738         Liebler.
32740         * po/ko.po: Update Korean translation from translation project.
32742 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
32744         [BZ #17354]
32745         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
32746         macro for handling signed relocations.
32748 2014-09-03  Florian Weimer  <fweimer@redhat.com>
32750         [BZ #17325]
32751         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
32752         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
32753         assert.
32754         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
32755         * iconvdata/ibm935.c (BODY): Likewise.
32756         * iconvdata/ibm937.c (BODY): Likewise.
32757         * iconvdata/ibm939.c (BODY): Likewise.
32758         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
32759         assert.
32760         * iconvdata/Makefile (iconv-test.out): Pass module list to test
32761         script.
32762         * iconvdata/run-iconv-test.sh: New test loop for checking for
32763         decoder crashers.
32765 2014-09-02  Khem Raj  <raj.khem@gmail.com>
32767         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
32768         libm_hidden_ver.
32770 2014-09-01  Allan McRae  <allan@archlinux.org>
32772         * po/eo.po: Update Esperanto translation from translation project.
32774         * po/ca.po: Update Catalan translation from translation project.
32776 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32778         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
32779         __proc_dostop call.
32781 2014-08-27  Mark Wielaard  <mjw@redhat.com>
32783         [BZ #17319]
32784         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
32785         to call set_thread_area instead of hand written asm.
32786         (__NR_set_thread_area): Removed define.
32787         (TLS_FLAG_WRITABLE): Likewise.
32788         (__ASSUME_SET_THREAD_AREA): Remove check.
32789         (TLS_EBX_ARG): Remove define.
32790         (TLS_LOAD_EBX): Likewise.
32792 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32794         Simplify atomicity of socket creation in bind.
32796         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
32797         looking up the name after linking the file.
32799 2014-08-27  Allan McRae  <allan@archlinux.org>
32801         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32803 2014-08-26  Florian Weimer  <fweimer@redhat.com>
32805         [BZ #17187]
32806         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32807         trans_compare, open_translit, __gconv_translit_find):
32808         Remove module loading code.
32810 2014-08-26  Allan McRae  <allan@archlinux.org>
32812         * po/vi.po: Update Vietnamese translation from translation project.
32814         * po/uk.po: Update Ukrainian translation from translation project.
32816         * po/fr.po: Update French translation from translation project.
32818         * po/ru.po: Update Russian translation from translation project.
32820         * po/pl.po: Update Polish translation from translation project.
32822         * po/cs.po: Update Czech translation from translation project.
32824         * po/de.po: Update German translation from translation project.
32826         * po/bg.po: Update Bulgarian translation from translation project.
32828         * po/sv.po: Update Sweedish translation from translation project.
32830         * po/nl.po: Update Dutch translation from translation project.
32832         * po/es.po: Update Spanish translation from translation project.
32834 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32836         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
32838         * catgets/Makefile (CPPFLAGS-gencat): Remove.
32839         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
32840         (CPPFLAGS-iconvconfig): Likewise.
32841         * timezone/Makefile (CPPFLAGS-zic): Likewise.
32843         * include/libc-symbols.h: Remove unnecessary check for
32844         NOT_IN_libc.
32845         * nptl/pthreadP.h: Likewise.
32846         * sysdeps/aarch64/setjmp.S: Likewise.
32847         * sysdeps/alpha/setjmp.S: Likewise.
32848         * sysdeps/arm/sysdep.h: Likewise.
32849         * sysdeps/i386/setjmp.S: Likewise.
32850         * sysdeps/m68k/setjmp.c: Likewise.
32851         * sysdeps/posix/getcwd.c: Likewise.
32852         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32853         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32854         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32855         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32856         * sysdeps/sh/sh3/setjmp.S: Likewise.
32857         * sysdeps/sh/sh4/setjmp.S: Likewise.
32858         * sysdeps/unix/alpha/sysdep.h: Likewise.
32859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32860         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32861         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32862         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32865         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32866         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32867         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32870         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32872         * sysdeps/x86_64/setjmp.S: Likewise.
32874 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
32876         [BZ #17263]
32877         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
32878         <stdint.h>.
32879         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
32880         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
32882 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32884         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32886         [BZ #17262]
32887         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32888         and __x86_64__ when disabling x87 inline functions.
32890 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32892         [BZ #17259]
32893         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32894         asm statement with __cpuid_count.
32896 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32898         * configure.ac: Change __ehdr_start code to dereference the struct.
32899         Run readelf on the output to look for relocations.
32900         * configure: Regenerated.
32902 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32904         [BZ #17261]
32905         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32906         value to 0.
32907         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32909 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32911         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32913 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32915         [BZ #16892]
32916         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32917         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32919 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32921         * malloc/malloc.c: Fix typo in comment.
32923 2014-08-09  Allan McRae  <allan@archlinux.org>
32925         * Regenerate libc.po.
32927 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32929         * intl/tst-gettext2.sh: Check every lang file for creation.
32931 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32933         * sysdeps/aarch64/fpu/math_private.h
32934         (libc_feholdsetround_noex_aarch64_ctx): New function.
32936 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32938         * sysdeps/arm/armv6/strcpy.S (strcpy):
32939         Fix performance issue in misaligned cases.
32941 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32943         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32944         Move definition from termios.h.
32945         (struct termio): Likewise.
32946         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32947         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32948         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32949         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32950         Likewise.
32951         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32952         Move definition to ioctl-types.h
32953         (struct termio): Likewise.
32954         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32955         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32956         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32957         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32958         Likewise.
32960 2014-08-05  Richard Henderson  <rth@redhat.com>
32962         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32963         exceptions.
32964         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32965         Add fraiseexcpt.
32966         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32967         Use __feraiseexcept.
32968         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32969         Protect libm symbols with IS_IN_libm.
32971         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32973 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32975         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32977 2014-08-04  Will Newton  <will.newton@linaro.org>
32979         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32980         file.
32982 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32984         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32985         variants for each function.
32987 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32989         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32990         appended ...
32991         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32992         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32993         appended ...
32994         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32995         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32996         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32997         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32998         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32999         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33000         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33001         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33002         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33003         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33004         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33005         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33006         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33007         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33008         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33009         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33010         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33011         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33012         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33013         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33014         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33015         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33016         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33017         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33018         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33019         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33020         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33021         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33022         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33023         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33024         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33025         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33026         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33027         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33028         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33029         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33030         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33031         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33032         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33033         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33034         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33035         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33036         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33037         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33038         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33039         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33040         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33041         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33042         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33043         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33044         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33045         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33046         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33047         Update #include.
33048         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33049         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33051 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33053         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33054         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33055         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33056         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33057         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33058         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33060 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33062         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33063         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33064         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33065         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33067 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33069         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33070         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33071         (__libc_vfork): Define function under this name.
33072         (__vfork): Define as an alias.
33073         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33074         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33076 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33078         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33079         that was previously under [RESET_PID].
33080         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33082 2014-08-04  Andreas Schwab  <schwab@suse.de>
33084         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33086 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33088         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33089         (main): Likewise.
33091 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33093         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33095 2014-08-01  Richard Henderon  <rth@redhat.com>
33097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33098         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33099         typo in exact zero test.
33100         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33101         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33104 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33106         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33107         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33108         * sysdeps/arm/sysdep.h: ... here.
33109         [!__ASSEMBLER__]: Include <stdint.h>.
33111 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33113         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33114         (HAVE_WCTYPE_H): Likewise.
33115         (HAVE_ISWCTYPE): Likewise.
33116         (ENABLE_NLS): Likewise.
33117         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33118         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33120         * posix/regex_internal.c: Check if DEBUG is defined and is
33121         set.
33123         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33124         (HAVE_MBSRTOWCS): Likewise.
33125         * posix/fnmatch.c: Include string.h unconditionally.
33127 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33129         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33130         reversal.
33132 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33134         * sysdeps/generic/safe-fatal.h: New file.
33135         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33136         * nptl/forward.c: Include it.
33137         (__pthread_unwind): Use __safe_fatal as default action, rather
33138         than a bogus use of INTERNAL_SYSCALL that could never work.
33140         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33141         * configure.ac (libc_cv_builtin_trap): New test.
33142         * configure: Regenerated.
33143         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33144         (ABORT_INSTRUCTION): Define using __builtin_trap.
33146         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33147         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33148         * sysdeps/nptl/nptl-signals.h: New file.
33149         * nptl/pthreadP.h: Include <nptl-signals.h>.
33151 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33153         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33154         (ONE_DIRECTION): Define.
33155         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33156         (ONE_DIRECTION): Define.
33157         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33158         (ONE_DIRECTION): Define.
33160 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33162         * sysdeps/s390/Makefile: Delete file.
33163         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33164         * sysdeps/s390/__longjmp.c: Delete file.
33165         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33166         Remove fields __flags and __reserved.
33167         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33168         and add versioning.
33169         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33170         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33171         * sysdeps/s390/rtld-setjmp.S: Likewise.
33172         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33173         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33174         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33175         * sysdeps/s390/s390-32/setjmp.S: ... here.
33176         Add versioning.
33177         (__sigsetjmp): Remove setting __flags field.
33178         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33179         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33180         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33181         * sysdeps/s390/s390-64/setjmp.S: ... here.
33182         Add versioning.
33183         (__sigsetjmp): Remove setting __flags field.
33184         * sysdeps/s390/setjmp.S: Delete file.
33185         * sysdeps/s390/sigjmp.c: Likewise.
33186         * sysdeps/s390/v1-longjmp.c: Likewise.
33187         * sysdeps/s390/v1-setjmp.h: Likewise.
33188         * sysdeps/s390/v1-sigjmp.c: Likewise.
33189         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33190         Remove v1-longjmp_chk.
33191         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33192         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33193         Include debug/longjmp_chk.c and add versioning.
33194         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33195         Include nptl/pt-longjmp.c and add versioning.
33196         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33197         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33198         Include __longjmp.c.
33199         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33200         Move to ...
33201         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33202         (__getcontext): Remove setting __flags field.
33203         Add versioning.
33204         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33205         Don't restore upper high grps.
33206         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33207         Likewise.
33208         (__swapcontext): Remove setting uc_flags field.
33209         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33210         Delete file.
33211         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33212         Include __longjmp.c.
33213         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33214         Move to ...
33215         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33216         (__getcontext): Remove setting __flags field.
33217         Add versioning.
33218         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33219         (__swapcontext): Remove setting uc_flags field.
33220         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33221         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33222         Remove fields uc_high_gprs and __reserved.
33223         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33224         New file with reverted content.
33225         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33226         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33227         Regenerated.
33228         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33229         Regenerated.
33231 2014-07-31  Andreas Schwab  <schwab@suse.de>
33233         * config.h.in (HAVE_IFUNC): Define to 0.
33234         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
33235         definedness.
33237 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
33239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33240         memmove-avx-unaligned, memcpy-avx-unaligned and
33241         mempcpy-avx-unaligned.
33242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33243         Add tests for AVX memcpy functions.
33244         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
33245         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
33246         memcpy_chk.
33247         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
33248         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
33249         memmove_chk.
33250         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
33251         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
33252         mempcpy_chk.
33253         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
33254         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
33255         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
33257 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33259         [BZ #17213]
33260         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
33261         powerpc64le.
33263 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
33265         [BZ #16839]
33266         * manual/llio.texi: Add section about open file description locks.
33267         * manual/examples/ofdlocks.c: Example of open file description
33268         lock usage.
33269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
33270         F_OFD_SETLK, and F_OFD_SETLKW.
33272 2014-07-23  Allan McRae  <allan@archlinux.org>
33274         * po/es.po: Update Spanish translation from translation project.
33276 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
33278         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
33280 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
33282         [BZ #17078]
33283         * sysdeps/arm/dl-machine.h (elf_machine_rela)
33284         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
33285         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
33287 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
33289         [BZ #17088]
33290         * math/fesetenv.c (__fesetenv)
33291         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
33292         * math/feupdateenv.c (__feupdateenv)
33293         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33295         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
33296         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33297         (__ASSUME_SOCKETCALL): Do not define.
33299         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
33300         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
33301         (__ASSUME_SOCKETCALL): Do not define.
33302         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
33303         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33304         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33305         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33307         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33308         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33309         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33311         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33312         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
33313         (__ASSUME_SOCKETCALL): Do not define.
33314         (__ASSUME_IPC64): Define unconditionally.
33315         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33316         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33317         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33319         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
33320         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33321         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
33322         Likewise.
33324         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
33325         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
33326         (__ASSUME_SOCKETCALL): Do not define.
33327         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
33328         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33329         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33330         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33331         (__ASSUME_REQUEUE_PI): Define unconditionally.
33332         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
33333         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
33334         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33335         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
33336         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33337         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33339         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
33340         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
33341         (__ASSUME_SOCKETCALL): Do not define.
33342         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
33343         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33344         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33345         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
33346         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33347         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33349         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
33350         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
33351         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33352         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
33353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33354         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
33355         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33356         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
33357         (__ASSUME_GETCPU_SYSCALL): Likewise.
33359         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
33360         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
33361         cases for individual architectures.
33362         * sysdeps/gnu/configure: Regenerated.
33363         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
33364         LIBC_SLIBDIR_RTLDDIR.
33365         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
33366         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
33367         LIBC_SLIBDIR_RTLDDIR.
33368         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
33370         LIBC_SLIBDIR_RTLDDIR.
33371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33372         Regenerated.
33373         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
33374         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
33375         file.
33376         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
33377         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
33378         file.
33379         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
33380         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
33381         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
33382         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
33384         * sysdeps/aarch64/shlib-versions: Move to ...
33385         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
33386         * sysdeps/alpha/shlib-versions: Move to ...
33387         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
33388         * sysdeps/arm/shlib-versions: Move to ...
33389         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
33390         * sysdeps/hppa/shlib-versions: Move all contents except for
33391         libgcc_s entry to ...
33392         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
33393         entry from ...
33394         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
33395         * sysdeps/ia64/shlib-versions: Move to ...
33396         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
33397         entry from ...
33398         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
33399         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
33400         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
33401         * sysdeps/microblaze/shlib-versions: Move to ...
33402         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
33403         * sysdeps/mips/shlib-versions: Move to ...
33404         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
33405         entry from ...
33406         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
33407         * sysdeps/tile/shlib-versions: Move to ...
33408         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
33409         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
33410         from ...
33411         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
33412         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33413         entry from ...
33414         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
33416 2014-07-17  Will Newton  <will.newton@linaro.org>
33418         * sysdeps/arm/bits/atomic.h
33419         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33420         (__arch_compare_and_exchange_bool_16_int): Likewise.
33421         (__arch_compare_and_exchange_bool_64_int): Likewise.
33423         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33424         into an #else block.
33426 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33428         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33429         just Linux configurations.  Test empirically that the compiler sets
33430         __ARM_EABI__, rather than using the tuple to decide.
33431         * sysdeps/arm/preconfigure: Regenerated.
33432         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33433         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33434         contents appended ...
33435         * sysdeps/arm/configure.ac: ... here.
33436         * sysdeps/arm/configure: Regenerated.
33438 2014-07-15  Roland McGrath  <roland@hack.frob.com>
33440         * nptl/pthread_kill.c: New file.
33441         * nptl/pthread_sigmask.c: New file.
33442         * nptl/pthread_sigqueue.c: New file.
33444         * sysdeps/nptl/lowlevellock.h: New file.
33445         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33446         * sysdeps/nptl/lowlevellock-futex.h: New file.
33448         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33449         Remove dead declarations.
33451 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33453         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33454         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33455         config-cflags-avx2.
33456         * sysdeps/x86_64/configure.ac: Likewise.
33457         * sysdeps/i386/configure: Regenerated.
33458         * sysdeps/x86_64/configure: Likewise.
33459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33460         memset-avx2 only if config-cflags-avx2 is yes.
33461         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33462         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33463         defined.
33464         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33465         only if HAVE_AVX2_SUPPORT is defined.
33466         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33468 2014-07-14  Alan Modra  <amodra@gmail.com>
33470         [BZ #17153]
33471         * elf/elf.h (DT_PPC64_NUM): Correct value.
33472         * NEWS: Add to fixed bug list.
33474 2014-07-13  Jim Meyering  <meyering@fb.com>
33476         [BZ 17150]
33477         regex: don't deref NULL upon heap allocation failure
33478         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33479         failure in one more place.
33480         To trigger the segfault, configure grep -with-included-regex,
33481         build it, and run these commands:
33482         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33484 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
33486         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33488 2014-07-11  Richard Henderson  <rth@redhat.com>
33490         * sysdeps/aarch64/libm-test-ulps: Update.
33492 2014-07-10  Florian Weimer  <fweimer@redhat.com>
33494         [BZ #17135]
33495         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33496         * nptl/allocatestack.c (__nptl_setxid_error): New function.
33497         (__nptl_setxid): Initialize error member.  Call
33498         __nptl_setxid_error.
33499         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33500         * nptl/descr.h (struct xid_command): Add error member.
33501         * nptl/tst-setuid3.c: New file.
33502         * nptl/Makefile (tests): Add it.
33504 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33506         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33507         New define.
33508         (__lll_trylock): Use __lll_base_trylock.
33509         (__lll_cond_trylock): Likewise.
33511 2014-07-10  Roland McGrath  <roland@hack.frob.com>
33513         * nptl/pthread_create.c (start_thread): Use atomic_or and
33514         lll_futex_wake directly rather than lll_robust_dead.
33515         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33516         (lll_robust_dead): Macro removed.
33517         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
33518         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33519         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33520         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33521         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33522         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33523         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33524         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33525         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33526         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33527         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33528         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33529         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33530         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33531         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33533         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
33534         Use atomic_compare_and_exchange_val_acq directly rather than
33535         lll_robust_trylock.
33536         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33537         (__lll_robust_trylock, lll_robust_trylock): Removed.
33538         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33539         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33540         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33541         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33542         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33543         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33544         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33545         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33546         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33547         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33548         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33549         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33550         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33553 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33555         * manual/locale.texi (Locale Names): New section documenting
33556         locale name syntax.  Adjust menu and node chaining accordingly.
33557         (Choosing Locale): Reference Locale Names, Locale Categories.
33558         Mention setting LC_ALL=C.  Reflect that name syntax is now
33559         documented.
33560         (Locale Categories): New section title.  Reference Locale Names.
33561         LC_ALL is an environment variable, but not a category.
33562         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33563         description, now in Locale Name.  Reference that section.  Locale
33564         name syntax is now documented.
33566 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33568         [BZ #17137]
33569         * locale/findlocale.c (name_present, valid_locale_name): New
33570         functions.
33571         (_nl_find_locale): Use the loc_name variable to store name
33572         candidates.  Call name_present and valid_locale_name to check and
33573         validate locale names.  Return an error if the locale is invalid.
33575 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33577         * locale/setlocale.c (setlocale): Use strdup for allocating
33578         composite name copy.
33580 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33582         Sync up with gnulib.
33583         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
33584         [!_LIBC && ENABLE_NLS]: Include gettext.h.
33585         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
33586         and _GL_ARG_NONNULL.
33587         [USE_UNLOCKED_IO]: Include unlocked-io.h.
33588         [!_LIBC]: Include code for Windows and Cygwin.
33589         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
33590         Include prototype for int strerror_r.
33591         [!_LIBC] (is_open): New function.
33592         (flush_stdout): New function.
33593         (print_errno_message): Use it.
33594         (error): Likewise.
33595         (error_at_line): Likewise.
33596         (error_tail) Add function attribute macros.  Use
33597         __builtin_expect.
33599         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
33601         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
33603         * io/ftw.c: Include sys/param.h unconditionally.
33605         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
33607         [BZ #17125]
33608         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
33609         libc_freeres_ptr.
33610         (freecache): New function to free CACHE on exit.
33612         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
33613         initialization.
33615 2014-07-09  David S. Miller  <davem@davemloft.net>
33617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33619         * sysdeps/sparc/nptl/internaltypes.h: Delete.
33620         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
33621         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
33622         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
33623         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
33624         * sysdeps/sparc/nptl/sem_init.c: Likewise.
33625         * sysdeps/sparc/nptl/sem_post.c: Likewise.
33626         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
33627         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
33628         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
33629         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
33630         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
33631         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
33633 2014-07-09  Andreas Schwab  <schwab@suse.de>
33635         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
33636         output.
33637         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
33638         (do_test): Likewise.
33640         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33642 2014-07-09  Will Newton  <will.newton@linaro.org>
33644         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
33645         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
33646         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33647         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33648         * sysdeps/hppa/start.S (_start): Likewise.
33650 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33652         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
33654         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
33655         defined.
33657 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33659         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
33660         after checking that it is non-NULL.
33662         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
33664 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33666         * sysdeps/powerpc/memmove.c: Remove file.
33667         * sysdeps/powerpc/powerpc32/power4/memcopy.h
33668         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
33669         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33670         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
33671         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
33672         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
33673         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
33674         string memmove instead of removed powerpc one.
33676         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33677         [weak_alias]: Fix compiler warning due trailing data.
33678         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
33679         [weak_alias]: Likewise.
33680         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
33681         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
33683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33684         (__libc_ifunc_impl_list): Add memmove functions.
33686 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33688         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
33689         Remove code.
33690         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
33691         Likewise.
33692         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
33693         Likewise.
33694         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
33695         Likewise.
33696         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
33697         Likewise.
33698         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
33699         Likewise.
33700         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
33701         Likewise.
33702         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
33703         Likewise.
33704         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
33705         Likewise.
33706         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
33707         Likewise.
33708         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
33709         Likewise.
33710         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
33711         Likewise.
33712         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
33713         Likewise.
33714         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
33715         Likewise.
33716         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
33717         Likewise.
33718         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
33719         Likewise.
33720         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
33721         Likewise.
33723 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33725         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
33726         to avoid alignment traps in non-cacheable memory.
33727         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
33730         multiarch objects.
33731         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
33732         file: multiarch power7 memmove.
33733         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
33734         multiarch default memmove.
33735         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
33736         multiarch memove for powerpc32/power4.
33738         * string/bcopy.c: Use full path to include memmove.c.
33739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
33740         multiarch objects.
33741         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
33742         bcopy for powerpc64.
33743         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
33744         bcopy for powerpc64.
33745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
33746         and memmove implementations.
33747         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
33748         optimized multiarch memmove for POWER7/powerpc64.
33749         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
33750         default multiarch memmove for powerpc64.
33751         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
33752         multiarch for powerpc64.
33753         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
33754         for POWER7/powerpc64.
33755         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
33756         memmove for POWER7/powerpc64.
33758         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
33759         glibc default one.
33761         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
33762         __ELF_NATIVE_CLASS equal to 64.
33764 2014-07-07  Roland McGrath  <roland@hack.frob.com>
33766         * sysdeps/nptl/lowlevellock.h: File removed.
33768         * NEWS: NPTL is no longer an add-on!
33769         * nptl/internaltypes.h: Moved ...
33770         * sysdeps/nptl/internaltypes.h: ... here.
33771         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
33772         * sysdeps/nptl/fork.c: Likewise.
33773         * sysdeps/nptl/gai_misc.h: Likewise.
33774         * sysdeps/nptl/librt-cancellation.c: Likewise.
33775         * sysdeps/nptl/jmp-unwind.c: Likewise.
33776         * sysdeps/nptl/setxid.h: Likewise.
33777         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
33778         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
33779         * sysdeps/unix/sysv/linux/arm/Implies: New file.
33780         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
33781         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
33782         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
33783         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
33784         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
33785         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
33786         * sysdeps/unix/sysv/linux/mips/Implies: New file.
33787         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
33788         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
33789         * sysdeps/unix/sysv/linux/sh/Implies: New file.
33790         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
33791         * sysdeps/unix/sysv/linux/tile/Implies: New file.
33792         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
33793         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
33794         * nptl/Makeconfig: Moved ...
33795         * sysdeps/nptl/Makeconfig: ... here.
33796         * nptl/configure: File removed.
33797         * nptl/ANNOUNCE: File removed.
33798         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
33799         * sysdeps/unix/sysv/linux/configure: Regenerated.
33801         * nptl/Makefile (routines): Add libc_pthread_init,
33802         libc_multiple_threads, register-atfork and unregister-atfork.
33803         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
33804         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
33805         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
33806         pthread-pi-defines.sym, structsem.sym.
33807         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
33808         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
33809         [$(subdir) = nptl] (tests): Add tst-setgetname.
33810         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
33811         * sysdeps/unix/sysv/linux/sigaction.c: Just include
33812         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
33813         [!LIBC_SIGACTION]: Remove aliases.
33814         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33815         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33816         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33817         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
33818         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33819         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
33820         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33821         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33822         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33823         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
33824         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
33825         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
33826         __libc_allocate_rtsig_private.
33827         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
33828         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
33829         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
33830         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
33831         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
33832         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
33833         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
33834         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
33835         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
33836         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
33837         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
33838         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
33839         * nptl/internaltypes.h: ... here.
33840         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
33841         * sysdeps/nptl/jmp-unwind.c: ... here.
33842         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
33843         * nptl/libc-lowlevellock.c: ... here.
33844         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
33845         * nptl/libc_multiple_threads.c: ... here.
33846         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
33847         * nptl/libc_pthread_init.c: ... here.
33848         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
33849         * nptl/lowlevelbarrier.sym: ... here.
33850         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
33851         * nptl/lowlevelcond.sym: ... here.
33852         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
33853         * nptl/lowlevellock.c: ... here.
33854         * nptl/lowlevellock.h: Moved ...
33855         * sysdeps/nptl/lowlevellock.h: ... here.
33856         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
33857         * nptl/lowlevelrobustlock.c: ... here.
33858         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
33859         * nptl/lowlevelrobustlock.sym: ... here.
33860         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
33861         * nptl/lowlevelrwlock.sym: ... here.
33862         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
33863         * nptl/pt-fork.c: ... here.
33864         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
33865         * nptl/pthread-pi-defines.sym: ... here.
33866         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
33867         * nptl/pthread_attr_getaffinity.c: ... here.
33868         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
33869         * nptl/pthread_attr_setaffinity.c: ... here.
33870         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
33871         * nptl/pthread_mutex_cond_lock.c: ... here.
33872         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33873         Update #include.
33874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
33875         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
33876         * nptl/pthread_once.c: ... here, replacing old file.
33877         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
33878         * nptl/pthread_yield.c: ... here.
33879         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
33880         * nptl/register-atfork.c: ... here.
33881         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
33882         * nptl/sem_post.c: ... here.
33883         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33884         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33885         * nptl/sem_timedwait.c: ... here.
33886         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33887         * nptl/sem_trywait.c: ... here.
33888         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33889         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33890         * nptl/sem_wait.c: ... here.
33891         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33892         * nptl/structsem.sym: ... here.
33893         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33894         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33895         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33896         * nptl/unregister-atfork.c: ... here.
33897         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33898         * nptl/unwindbuf.sym: ... here.
33899         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33900         * sysdeps/nptl/fork.c: ... here.
33901         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33902         * sysdeps/nptl/fork.h: ... here.
33903         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33904         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33905         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33906         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33907         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33908         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33909         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33910         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33911         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33912         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33913         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33914         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33915         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33916         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33917         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33918         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33919         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33920         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33921         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33922         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33923         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33924         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33925         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33926         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33927         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33928         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33929         * sysdeps/unix/sysv/linux/raise.c: ... here.
33930         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33931         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33932         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33933         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33934         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33935         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33936         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33937         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33938         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33939         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33940         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33941         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33942         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33943         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33944         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33946 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33948         * sysdeps/generic/memcopy.h: Add comment for
33949         MEMCPY_OK_FOR_FWD_MEMMOVE.
33951 2014-07-04  Will Newton  <will.newton@linaro.org>
33953         * string/memchr.c: Merge from gnulib.
33954         [_LIBC]: Remove conditionals.
33955         (__ptr_t): Remove define.
33956         (LONG_MAX_32_BITS): Likewise.
33957         (LONG_MAX): Likewise.
33958         (MEMCHR): Use ANSI prototype and optimize algorithm.
33960         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33962 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33964         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33965         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33967         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33968         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33969         in a bare environment with no <stdlib.h> installed.
33970         * sysdeps/nptl/configure: Regenerated.
33972         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33974         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33975         AC_EGREP_CPP for kernel header checks, so they only succeed if
33976         including <linux/version.h> actually works right.
33977         * sysdeps/unix/sysv/linux/configure: Regenerated.
33979         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33980         value so it's not diagnosed as unused.
33982         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33983         thing) with "ifeq ($(subdir),rt)".
33985 2014-07-03  Richard Henderson  <rth@redhat.com>
33987         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33988         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33989         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33991         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33992         (math_force_eval): New.
33994         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33995         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33997         * sysdeps/alpha/fpu/s_round.c: Remove file.
33998         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34000         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34001         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34002         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34003         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34004         (_dl_start, print_statistics): Likewise.
34005         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34006         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34008         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34009         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34010         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34011         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34012         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34013         (HP_SMALL_TIMING_AVAIL): Define.
34014         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34015         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34016         (HP_SMALL_TIMING_AVAIL): Define.
34017         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34018         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34020         * sysdeps/aarch64/hp-timing.h: New file.
34022         * sysdeps/generic/hp-timing.h: Remove dead comment.
34023         * sysdeps/generic/hp-timing-common.h: New file.
34024         * sysdeps/alpha/hp-timing.h: Include it.
34025         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34026         * sysdeps/i386/i686/hp-timing.h: Likewise.
34027         * sysdeps/ia64/hp-timing.h: Likewise.
34028         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34029         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34030         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34031         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34032         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34033         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34034         (hp_timing_t): New.
34036         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34037         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34038         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34039         * elf/rtld.c (_dl_start_final): Likewise.
34040         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34041         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34042         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34043         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34044         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34045         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34046         (HP_TIMING_DIFF_INIT): Remove.
34047         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34048         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34049         (HP_TIMING_DIFF_INIT): Remove.
34050         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34051         * sysdeps/i386/i686/hp-timing.c: Remove file.
34052         * sysdeps/x86_64/hp-timing.c: Remove file.
34053         * sysdeps/ia64/hp-timing.c: Remove file.
34054         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34055         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34056         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34057         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34059         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34060         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34061         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34062         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34064         (HP_TIMING_ACCUM): Remove.
34065         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34067         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34069         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34070         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34071         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34072         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34073         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34074         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34075         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34076         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34078         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34080 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34082         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34084 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34086         Sync up with gettext.
34087         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34088         [_MSC_VER]: Include malloc.h
34089         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34090         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34091         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34092         TEMP_FAILURE_RETRY.  Cast return of alloca.
34093         [!_LIBC] Call gl_rwlock_init.
34094         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34096 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34098         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34099         before checking its value.
34101 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34103         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34105         * debug/memcpy_chk.c: Don't include pagecopy.h.
34106         * debug/mempcpy_chk.c: Likewise.
34107         * string/memcpy.c: Likewise.
34108         * string/memmove.c: Likewise.
34109         * sysdeps/powerpc/memmove.c: Likewise.
34110         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34111         definition of PAGE_COPY_FWD_MAYBE here...
34112         * sysdeps/generic/pagecopy.h: ... from here.
34113         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34115 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34116             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34118         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34120         optimizations.
34121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34122         (__libc_ifunc_impl_list): Likewise.
34123         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34124         multiarch strcat for PPC64.
34125         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34126         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34128 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34130         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34132 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34134         * intl/loadmsgcat.c: Remove declaration of
34135         get_sysdep_segment_value.
34136         (get_sysdep_segment_value): Use ISO C style.
34137         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34138         semicolon.  Fix typo and formatting in comment.
34139         (_nl_unload_domain): Use ISO C style.
34141         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34143 2014-07-02  Will Newton  <will.newton@linaro.org>
34145         * malloc/obstack.c: Merge from gnulib master.
34146         [HAVE_CONFIG_H]: Remove conditional code.
34147         [!_LIBC]: Include config.h.
34148         [!ELIDE_CODE]: Don't include inttypes.h, include
34149         stdint.h unconditionally.
34150         (print_and_abort): Mark as _Noreturn.
34151         (_obstack_allocated_p): Mark as __attribute_pure__.
34152         (obstack_free): Rename to __obstack_free.
34153         [!__attribute__]: Remove conditional code.
34154         * malloc/obstack.h: Merge from gnulib master.
34155         [__cplusplus]: Move conditional down.
34156         [!__attribute_pure__]: Define __attribute_pure__ here
34157         if it is not already defined.
34158         (_obstack_memory_used): Mark as __attribute_pure__.
34159         [!__obstack_free]: Define as obstack_free.
34160         [__GNUC__]: Remove check for ancient NeXT gcc.
34162 2014-07-02  Will Newton  <will.newton@linaro.org>
34163             Paul Eggert  <eggert@cs.ucla.edu>
34165         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34167 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34169         * resolv/gethnamaddr.c: Add comment warning that the file is
34170         not maintained.
34172 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34174         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34175         entries.
34177         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34178         entry for aio_cancel and aio_cancel64.
34179         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34180         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34181         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34182         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34183         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34184         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34185         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34186         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34187         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34188         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34189         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34190         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34191         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34193 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34195         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34196         * nptl/pthread_mutex_lock.c: Likewise.
34197         * nptl/pthread_mutex_timedlock.c: Likewise.
34198         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34200 2014-07-01  Richard henderson  <rth@redhat.com>
34202         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34203         (__isnan, __isnanl): Remove.
34204         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34206         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34208 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34210         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34212 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34214         * resolv/nss_dns/dns-host.c (getanswer_r)
34215         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34217 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34220         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34221         undefine.
34222         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34223         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34225 2014-07-01  Roland McGrath <roland@hack.frob.com>
34227         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34228         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34230         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34231         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34233         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
34234         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
34235         ... here.
34236         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34237         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
34239         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
34240         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
34241         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
34242         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
34244         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34245         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
34246         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
34247         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
34248         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34249         Moved ...
34250         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
34251         ... here.
34252         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
34253         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
34254         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
34255         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
34256         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
34257         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34258         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
34259         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
34260         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
34261         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
34262         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
34263         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
34264         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
34265         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
34266         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
34267         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
34268         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
34269         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
34270         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
34271         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
34272         ... here.
34273         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
34274         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
34275         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
34276         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
34277         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
34278         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
34279         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
34280         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
34282 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
34284         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
34285         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
34286         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
34287         Add sysdep.
34289 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34293 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34295         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34296         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34298         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34300         * sysdeps/arm/libm-test-ulps: Regenerated.
34302 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34303             Roland McGrath <roland@hack.frob.com>
34305         * test-skeleton.c (signal_handler): Kill the whole process group
34306         before killing the child individually.
34307         (main): Report any failure on `setpgid'.
34309 2014-06-30  Roland McGrath  <roland@hack.frob.com>
34311         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
34312         from _TLS_H to _ARM_NPTL_TLS_H.
34313         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
34314         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
34316 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34318         [BZ #16539]
34319         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
34320         (__expm1l): Return argument unchanged when small but not
34321         subnormal.
34323         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
34324         include macro name.
34325         (_FP_UNPACK_RAW_1_P): Likewise.
34326         (_FP_PACK_RAW_1): Likewise.
34327         (_FP_PACK_RAW_1_P): Likewise.
34328         (_FP_MUL_MEAT_1_wide): Likewise.
34329         (_FP_MUL_MEAT_DW_1_hard): Likewise.
34330         (_FP_MUL_MEAT_1_hard): Likewise.
34331         (_FP_DIV_MEAT_1_imm): Likewise.
34332         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
34333         (_FP_DIV_MEAT_1_udiv): Likewise.
34334         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
34335         (_FP_UNPACK_RAW_2): Likewise.
34336         (_FP_UNPACK_RAW_2_P): Likewise.
34337         (_FP_PACK_RAW_2): Likewise.
34338         (_FP_PACK_RAW_2_P): Likewise.
34339         (_FP_MUL_MEAT_DW_2_wide): Likewise.
34340         (_FP_MUL_MEAT_2_wide): Likewise.
34341         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34342         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34343         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
34344         (_FP_MUL_MEAT_2_gmp): Likewise.
34345         (_FP_DIV_MEAT_2_udiv): Likewise.
34346         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
34347         (_FP_FRAC_SRL_4): Likewise.
34348         (_FP_FRAC_SRST_4): Likewise.
34349         (_FP_FRAC_SRS_4): Likewise.
34350         (_FP_UNPACK_RAW_4): Likewise.
34351         (_FP_UNPACK_RAW_4_P): Likewise.
34352         (_FP_PACK_RAW_4): Likewise.
34353         (_FP_PACK_RAW_4_P): Likewise.
34354         (_FP_MUL_MEAT_DW_4_wide): Likewise.
34355         (_FP_MUL_MEAT_4_wide): Likewise.
34356         (_FP_MUL_MEAT_4_gmp): Likewise.
34357         (umul_ppppmnnn): Likewise.
34358         (_FP_DIV_MEAT_4_udiv): Likewise.
34359         (__FP_FRAC_ADD_4): Likewise.
34360         (__FP_FRAC_SUB_3): Likewise.
34361         (__FP_FRAC_SUB_4): Likewise.
34362         (__FP_FRAC_DEC_3): Likewise.
34363         (__FP_FRAC_DEC_4): Likewise.
34364         (__FP_FRAC_ADDI_4): Likewise.
34365         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
34366         (_FP_FRAC_SRL_8): Likewise.
34367         (_FP_FRAC_SRS_8): Likewise.
34369         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
34370         include macro name.
34371         (FP_UNPACK_RAW_EP): Likewise.
34372         (FP_PACK_RAW_E): Likewise.
34373         (FP_PACK_RAW_EP): Likewise.
34374         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
34375         (_FP_ISSIGNAN): Likewise.
34376         (_FP_ADD_INTERNAL): Likewise.
34377         (_FP_FMA): Likewise.
34378         (_FP_CMP): Likewise.
34379         (_FP_SQRT): Likewise.
34380         (_FP_TO_INT): Likewise.
34381         (_FP_FROM_INT): Likewise.
34382         (FP_EXTEND): Likewise.
34383         (_FP_DIV_MEAT_N_loop): Likewise.
34385 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34387         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
34388         throughout.
34390 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
34392         [BZ #17097]
34393         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
34394         result with correct sign in case of exponents that produce
34395         overflow except for X very close to 1.
34397 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
34399         mktime: merge #if/#ifdef usage from glibc
34400         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
34401         as that works with both Glibc's and Gnulib's style.
34402         See thread starting at Siddhesh Poyarekar's bug report at:
34403         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
34405 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34407         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
34408         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
34409         * sysdeps/tile/tilegx/memmove.c: Remove file.
34411 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34413         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34414         abi-name definition.
34415         * scripts/soversions.awk: Do not handle or generate ABI lines.
34416         * shlib-versions: Remove ABI entries.
34417         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34418         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34420 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34423         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34424         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34425         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34427         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34429         Moved ...
34430         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34431         ... here.
34432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34433         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34435         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34437         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34439         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34441         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34442         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34443         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34445         Moved ...
34446         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34448         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34449         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34450         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34451         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34452         Moved ...
34453         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34455         Moved ...
34456         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34458         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34460         Moved ...
34461         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34463         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34465         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34467         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34469         Moved ...
34470         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34472         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34473         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34474         Moved ...
34475         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34477         Moved ...
34478         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34479         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34480         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34481         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34482         Moved ...
34483         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34484         ... here.
34485         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34486         Identical file removed.
34487         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34488         Moved ...
34489         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34490         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34491         Identical file removed.
34492         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34493         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34494         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34495         Moved ...
34496         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34497         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34498         Identical file removed.
34499         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34500         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34501         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34502         Identical file removed.
34503         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34504         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34506         Identical file removed.
34507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34508         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34510         Identical file removed.
34511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34512         Moved ...
34513         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34514         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34515         Identical file removed.
34516         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34517         Moved ...
34518         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
34519         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
34520         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
34521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
34522         Identical file removed.
34523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
34524         Moved ...
34525         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
34526         ... here.
34527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
34528         Identical file removed.
34529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
34530         Moved ...
34531         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
34532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
34533         Identical file removed.
34534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
34535         Moved ...
34536         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
34537         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
34538         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
34539         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
34540         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
34541         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
34542         Moved ...
34543         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
34544         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
34545         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
34547         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
34548         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
34549         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
34550         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
34551         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
34553 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
34555         [BZ #17092]
34556         * nscd/nscd.c (monitor_child): Return exit status of child
34557         instead of return value from wait syscall.
34559 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34561         * configure.ac (libc_commonpagesize): Remove variable.
34562         (libc_relro_required): Likewise.
34563         (libc_cv_z_relro): Remove configure test.
34564         * configure: Regenerated.
34565         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
34566         variable.
34567         (libc_relro_required): Likewise.
34568         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
34569         (libc_relro_required): Likewise.
34570         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
34571         (libc_relro_required): Likewise.
34572         * sysdeps/arm/preconfigure: Regenerated.
34573         * sysdeps/ia64/preconfigure: Remove file.
34574         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
34575         variable.
34576         (libc_relro_required): Likewise.
34578         [BZ #16561]
34579         [BZ #16562]
34580         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
34581         (__ieee754_yn): Set FE_TONEAREST mode internally and then
34582         recompute overflowing results in original rounding mode.
34583         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
34584         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
34585         recompute overflowing results in original rounding mode.
34586         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
34587         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34588         recompute overflowing results in original rounding mode.
34589         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
34590         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34591         recompute overflowing results in original rounding mode.
34592         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
34593         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34594         recompute overflowing results in original rounding mode.
34595         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
34596         (libc_feholdsetround_ctx): New macro.
34597         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
34598         * sysdeps/i386/fpu/libm-test-ulps: Update.
34599         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
34601 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34603         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
34604         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
34605         corresponding .cpsetup call.
34607 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34609         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
34610         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
34611         * sysdeps/arm/Makefile [$(subdir) = csu]
34612         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
34613         (static-only-routines): Add aeabi_read_tp here.
34614         (shared-only-routines): Add libc-aeabi_read_tp here.
34615         (CFLAGS-libc-start.c): Add -fexceptions here.
34616         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
34617         (sysdep_routines, static-only-routines, shared-only-routines):
34618         Don't add to these here.
34619         (CFLAGS-libc-start.c): Likewise.
34621         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
34622         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34623         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
34624         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34625         * sysdeps/arm/Makefile [$(subdir) = rt]
34626         (librt-sysdep_routines, librt-shared-only-routines):
34627         Append rt-aeabi_unwind_cpp_pr1 here.
34628         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
34629         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
34630         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
34631         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34632         Append nptl-aeabi_unwind_cpp_pr1 here.
34633         (tests): Filter out tst-cleanupx4 here.
34634         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
34635         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
34636         Don't do those here.
34638 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34640         * scripts/list-sources.sh: Do not handle ports specially.
34642 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34644         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
34645         * sysdeps/arm/feupdateenv.c: Likewise.
34647         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
34649 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34651         * manual/texinfo.tex: Update to version 2014-05-05.10 with
34652         trailing whitespace removed.
34653         * scripts/config.guess: Update to version 2014-03-23.
34654         * scripts/config.sub: Update to version 2014-05-01
34655         * scripts/install-sh: Update to version 2013-12-25.23.
34656         * scripts/move-if-change: Update from gnulib.
34658 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34660         * debug/memmove_chk.c: Remove pagecopy.h include.
34662 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
34664         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
34665         identical to gnulib mktime.
34667 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34669         * configure.ac: Do not test for machine being rs6000.  Do not test
34670         for powerpc*-*soft.
34671         * configure: Regenerated.
34673         [BZ #11505]
34674         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
34675         test.
34676         * configure: Regenerated.
34677         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
34678         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
34679         Remove configure test.
34680         * sysdeps/arm/configure: Regenerated.
34681         * sysdeps/nptl/configure.ac: Do not check
34682         libc_cv_asm_cfi_directives.
34683         * sysdeps/nptl/configure: Regenerated.
34684         * sysdeps/x86_64/nptl/configure.ac: Remove file.
34685         * sysdeps/x86_64/nptl/configure: Remove generated file.
34686         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
34687         unconditional.
34688         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
34690 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34692         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
34693         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
34694         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
34695         it is defined.
34697         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
34698         instead of whether it is defined.
34699         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
34700         * sysdeps/hppa/dl-machine.h: Likewise.
34701         * sysdeps/ia64/dl-machine.h: Likewise.
34702         * sysdeps/m68k/dl-machine.h: Likewise.
34703         * sysdeps/microblaze/dl-machine.h: Likewise.
34704         * sysdeps/mips/dl-machine.: Likewise.
34705         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34706         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34707         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34708         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34709         * sysdeps/sh/dl-machine.h: Likewise.
34710         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34711         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34712         * sysdeps/tile/dl-machine.h: Likewise.
34713         * sysdeps/x86_64/dl-machine.h: Likewise.
34715         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
34716         code.
34717         (verify_persistent_db): Likewise.
34719 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
34722         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
34723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
34724         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
34725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34726         Moved ...
34727         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
34728         ... here.
34729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
34730         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
34731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
34732         Identical file removed.
34733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
34734         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
34735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
34736         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
34737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
34738         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
34739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
34740         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
34741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
34742         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
34743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34744         Moved ...
34745         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
34746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
34747         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
34748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
34749         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
34750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34751         Moved ...
34752         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
34753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
34754         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
34755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
34756         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
34757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34758         Identical file removed.
34759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
34760         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
34761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
34762         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
34763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34764         Moved ...
34765         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
34766         ... here.
34767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
34768         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
34769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
34770         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
34771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
34772         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
34773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
34774         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
34775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
34776         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
34777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34778         Moved ...
34779         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
34780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
34781         Moved ...
34782         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
34783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
34784         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
34785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34786         Moved ...
34787         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
34788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
34789         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
34791         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
34792         folded into ...
34793         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
34794         * sysdeps/unix/sysv/linux/s390/Versions
34795         (libpthread: GLIBC_2.19): New version set.
34796         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
34797         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
34798         (librt: GLIBC_2.3.3): New version set.
34799         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
34800         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
34801         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
34802         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
34803         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
34804         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
34805         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
34806         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
34807         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
34808         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
34809         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
34810         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
34811         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
34812         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
34813         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
34814         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
34815         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
34816         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
34817         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
34818         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
34819         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
34820         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
34821         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
34822         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
34823         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
34824         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
34825         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
34826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
34827         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
34828         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
34829         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
34830         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
34831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
34832         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
34833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
34834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
34835         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
34836         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
34837         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
34838         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
34839         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
34840         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
34841         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
34842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
34843         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
34845         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
34846         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
34847         (__libc_vfork): Define the function under this name.
34848         [!NOT_IN_libc] (__vfork): Make this an alias.
34849         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
34851         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
34852         (__libc_vfork): Define the function under this name.
34853         [!NOT_IN_libc] (__vfork): Make this an alias.
34854         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34855         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
34856         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
34857         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
34858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
34859         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34861         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
34862         code that was previously under [RESET_PID].
34863         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
34864         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
34865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
34867         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
34868         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
34869         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
34870         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
34871         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
34872         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
34873         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
34874         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
34875         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34876         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
34877         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
34878         Moved ...
34879         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
34880         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
34881         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
34882         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
34883         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34884         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34885         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34886         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34887         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34888         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34889         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34890         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34891         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34892         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34893         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34894         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34895         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34896         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34897         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34898         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34899         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34900         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34901         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34902         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34903         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34904         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34905         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34906         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34907         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34909 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34911         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34912         that was previously under [RESET_PID].
34913         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34915 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34917         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34918         not undefine and redefine.
34919         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34920         [O_CLOEXEC]: Make code unconditional.
34921         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34922         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34923         <kernel-features.h>.
34924         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34925         conditional variable definition.
34926         (shm_open) [O_CLOEXEC]: Make code unconditional.
34927         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34928         code.
34930         * configure.ac (USE_REGPARMS): Don't define here.
34931         * configure: Regenerated.
34932         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34933         * sysdeps/i386/configure: Regenerated.
34935         * nptl/createthread.c: Don't include kernel-features.h.
34936         * nptl/pthread_cancel.c: Likewise.
34937         * nptl/pthread_condattr_setclock.c: Likewise.
34938         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34939         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34940         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34941         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34942         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34943         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34944         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34945         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34946         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34947         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34948         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34949         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34950         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34951         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34952         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34953         * nscd/gai.c: Likewise.
34954         * nss/nss_db/db-open.c: Likewise.
34955         * sysdeps/generic/ldsodefs.h: Likewise.
34956         * sysdeps/sh/nptl/tls.h: Likewise.
34957         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34958         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34959         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34960         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34961         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34962         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34963         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34964         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34965         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34966         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34967         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34968         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34969         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34970         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34971         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34972         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34973         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34974         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34975         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34976         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34979         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34980         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34982         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34984         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34985         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34986         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34987         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34988         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34989         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34990         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34991         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34992         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34993         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34994         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34995         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34996         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34997         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34998         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34999         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35000         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35001         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35002         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35003         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35004         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35005         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35006         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35007         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35008         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35009         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35010         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35011         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35012         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35013         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35014         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35037         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35038         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35039         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35040         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35041         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35042         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35043         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35044         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35045         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35046         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35047         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35048         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35049         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35050         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35051         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35052         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35053         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35054         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35055         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35056         * sysdeps/unix/sysv/linux/system.c: Likewise.
35057         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35058         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35059         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35060         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35061         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35062         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35063         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35065         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35066         * configure: Regenerated.
35067         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35069         * configure.ac (base_machine): Do not set specially for particular
35070         machines here.
35071         * configure: Regenerated.
35072         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35073         settings from configure.ac.
35074         * sysdeps/i386/preconfigure: New file.
35075         * sysdeps/s390/preconfigure: Likewise.
35076         * sysdeps/sh/preconfigure: Likewise.
35077         * sysdeps/sparc/preconfigure: Likewise.
35079 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35081         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35082         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35083         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35084         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35085         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35086         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35087         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35088         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35089         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35090         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35091         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35092         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35093         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35094         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35095         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35096         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35097         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35098         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35099         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35101         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35102         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35103         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35104         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35105         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35106         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35107         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35108         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35109         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35110         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35111         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35112         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35113         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35114         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35115         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35116         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35117         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35118         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35119         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35120         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35121         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35122         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35123         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35124         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35126         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35127         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35128         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35129         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35130         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35131         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35132         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35133         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35134         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35135         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35136         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35137         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35138         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35141         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35143         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35145         Moved ...
35146         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35147         ... here.
35148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35149         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35151         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35153         Moved ...
35154         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35156         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35158         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35160         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35162         Moved ...
35163         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35165         Moved ...
35166         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35168         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35170         Moved ...
35171         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35173         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35175         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35177         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35179         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35181         Moved ...
35182         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35183         ... here.
35184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35185         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35187         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35189         Moved ...
35190         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35192         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35194         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35196         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35198         Moved ...
35199         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35201         Moved ...
35202         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35204         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35206         Moved ...
35207         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35209         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35211         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35213 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35215         * timezone/checktab.awk: Update from tzcode 2014e.
35216         * timezone/private.h: Likewise.
35217         * timezone/tzfile.h: Likewise.
35218         * timezone/zdump.c: Likewise.
35219         * timezone/zic.c: Likewise.
35221         * sysdeps/unix/sysv/linux/kernel-features.h
35222         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35223         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35224         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35225         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35226         Remove conditional code.
35228 2014-06-25  Will Newton  <will.newton@linaro.org>
35230         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35231         (_dl_arm_cap_flags): Add HWCAP2 values.
35232         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35233         (_DL_HWCAP_COUNT): Increase to 37.
35234         (_DL_HWCAP_LAST): New define.
35235         (_DL_HWCAP2_LAST): New define.
35236         (_dl_procinfo): Add support for printing
35237         AT_HWCAP2 entries.
35238         (_dl_string_hwcap): Use _dl_hwcap_string.
35240 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35244 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35246         * README: Do not mention ports directory.
35248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
35249         Remove macro.
35250         * sysdeps/unix/sysv/linux/futimes.c: Do not include
35251         <kernel-features.h>.
35252         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35253         conditional variable definition.
35254         (__futimes): Update comment.
35255         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
35256         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
35258         [BZ #16560]
35259         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
35260         arguments close to 0.
35261         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35262         Likewise.
35263         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
35264         Likewise.
35265         * math/auto-libm-test-in: Add more tests of exp10.
35266         * math/auto-libm-test-out: Regenerated.
35267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35269         * sysdeps/unix/sysv/linux/kernel-features.h
35270         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
35271         * sysdeps/unix/sysv/linux/readv.c: Do not include
35272         <kernel-features.h>.
35273         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35274         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35275         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35276         unconditional.
35277         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35278         conditional code.
35279         * sysdeps/unix/sysv/linux/writev.c: Do not include
35280         <kernel-features.h>.
35281         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35282         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35283         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35284         unconditional.
35285         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35286         conditional code.
35288 2014-06-25  Will Newton  <will.newton@linaro.org>
35290         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
35291         comment changes throughout the file.  Remove checks
35292         for HAVE_*_H definitions that are not required.
35293         (__gen_tempname): Call abort if an unknown kind value is
35294         passed.
35296 2014-06-25  Andreas Schwab  <schwab@suse.de>
35298         [BZ #17086]
35299         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
35300         scalbln, scalblnf, scalblnl in libc.
35302 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35304         [BZ #17086]
35305         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
35306         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35307         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35309 2014-06-24  Roland McGrath  <roland@hack.frob.com>
35311         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
35312         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
35313         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
35314         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
35315         Update #include.
35316         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
35317         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
35318         Update #include.
35319         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
35320         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
35321         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35322         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
35323         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
35324         * sysdeps/x86/bits/pthreadtypes.h: ... here.
35325         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
35326         * sysdeps/x86/bits/semaphore.h: ... here.
35327         * sysdeps/x86/nptl/elide.h: Moved ...
35328         * sysdeps/x86/elide.h: ... here.
35329         * sysdeps/x86_64/nptl/Implies: File removed.
35330         * sysdeps/i386/nptl/Implies: File removed.
35332 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
35334         [BZ #16539]
35335         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
35336         return the argument for normal arguments with exponent below -64.
35337         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35338         Likewise.
35339         * math/auto-libm-test-in: Add another test of expm1.
35340         * math/auto-libm-test-out: Regenerated.
35342         [BZ #16287]
35343         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
35344         calling __erfcl for arguments at least 16.
35345         * math/auto-libm-test-in: Add more tests of erf.
35346         * math/auto-libm-test-out: Regenerated.
35348         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
35349         individual architectures.
35350         * sysdeps/unix/sysv/linux/configure: Regenerated.
35351         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
35352         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
35353         * sysdeps/unix/sysv/linux/powerpc/configure.ac
35354         (ldd_rewrite_script): Define variable.
35355         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
35357         file.
35358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
35359         generated file.
35360         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
35361         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
35362         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
35363         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
35364         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
35365         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35366         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
35367         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
35369 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35371         [BZ #17084]
35372         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
35373         Rename member __data.d to __data.__elision_data.
35375 2014-06-24  Wilco  <wdijkstr@arm.com>
35377         * NEWS: Add 16918 to fixed bug list.
35379 2014-06-24  Wilco  <wdijkstr@arm.com>
35381         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
35383 2014-06-24  Wilco  <wdijkstr@arm.com>
35385         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
35386         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
35387         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
35388         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
35389         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
35390         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
35391         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
35392         Use _FPU_MASK_RM.
35394 2014-06-24  Wilco  <wdijkstr@arm.com>
35396         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
35398 2014-06-24  Wilco  <wdijkstr@arm.com>
35400         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
35401         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
35402         * sysdeps/arm/fesetround.c (fesetround): Remove space.
35403         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
35405 2014-06-24  Wilco  <wdijkstr@arm.com>
35407         [BZ #16918]
35408         * sysdeps/arm/feupdateenv.c (feupdateenv):
35409         Rewrite to reduce FPSCR accesses and fix return value.
35411 2014-06-24  Wilco  <wdijkstr@arm.com>
35413         * sysdeps/arm/fclrexcpt.c (feclearexcept):
35414         Optimize to avoid unnecessary FPSCR writes.
35415         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35416         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35417         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35418         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35420 2014-06-24  Wilco  <wdijkstr@arm.com>
35422         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35423         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35424         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35425         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35426         Call libc_fetestexcept_vfp.
35427         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35428         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35429         __SOFTFP__ ifdef so that they can be built for softfp.
35431 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35433         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35434         argument type signed char.
35436         * Makerules (check-abi): Dump diff of symlist if the test
35437         fails.
35439 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35441         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35442         using abort.
35444         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35445         Remove unused variable ST.
35447 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35449         [BZ #16354]
35450         [BZ #17061]
35451         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35452         small arguments before calling __expm1.
35453         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35454         small arguments before calling __expm1f.
35455         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35456         small arguments before calling __expm1l.
35457         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35458         Likewise.
35459         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35460         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
35461         spurious underflow for some cosh tests.
35462         * math/auto-libm-test-out: Regenerated.
35463         * sysdeps/i386/fpu/libm-test-ulps: Update.
35465         [BZ #17050]
35466         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35467         (__ieee754_y1): Set errno if return value overflows.
35468         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35469         (__ieee754_y1f): Set errno if return value overflows.
35470         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35471         (__ieee754_y1l): Set errno if return value overflows.
35472         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35473         (__ieee754_y1l): Set errno if return value overflows.
35474         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35475         * math/auto-libm-test-out: Regenerated.
35477         * math/gen-auto-libm-tests.c: Document use of
35478         ignore-zero-inf-sign.
35479         (input_flag_type): Add value flag_ignore_zero_inf_sign.
35480         (input_flags): Add ignore-zero-inf-sign.
35481         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35482         * math/gen-libm-test.pl (generate_testfile): Handle
35483         ignore-zero-inf-sign.
35484         * math/auto-libm-test-in: Mark some cpow tests with
35485         ignore-zero-inf-sign and some with xfail-rounding.
35486         * math/auto-libm-test-out: Regenerated.
35487         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35488         * sysdeps/i386/fpu/libm-test-ulps: Update.
35489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35491         [BZ #16315]
35492         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35493         overflowing or underflowing operations take place with sign of
35494         result.
35495         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35496         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35497         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35498         (__ieee754_pow): Recompute overflowing and underflowing results in
35499         original rounding mode.
35500         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35501         (__powl_helper): Allow negative argument X and scale negated value
35502         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
35503         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35504         overflowing or underflowing operations take place with sign of
35505         result.
35506         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35507         Include <math.h>.
35508         * math/auto-libm-test-in: Add more tests of pow.
35509         * math/auto-libm-test-out: Regenerated.
35510         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35511         (pow_tonearest_test_data): Remove.
35512         (pow_test_tonearest): Likewise.
35513         (pow_towardzero_test_data): Likewise.
35514         (pow_test_towardzero): Likewise.
35515         (pow_downward_test_data): Likewise.
35516         (pow_test_downward): Likewise.
35517         (pow_upward_test_data): Likewise.
35518         (pow_test_upward): Likewise.
35519         (main): Don't call removed functions.
35520         * sysdeps/i386/fpu/libm-test-ulps: Update.
35521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35523 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
35526         Moved ...
35527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
35528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35529         Moved ...
35530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
35531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35532         Moved ...
35533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
35534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35535         Moved ...
35536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
35537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35538         File removed.
35539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35540         File removed.
35541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
35542         File removed.
35543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
35544         File removed.
35545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
35546         File removed.
35547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
35548         File removed.
35549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
35550         File removed.
35551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35552         File removed.
35553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
35554         File removed.
35555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35556         File removed.
35557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
35558         File removed.
35559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
35560         File removed.
35561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
35562         Moved ...
35563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
35564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
35565         Moved ...
35566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
35567         ... here.
35568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
35569         Moved ...
35570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
35571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
35572         Moved ...
35573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
35574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
35575         Moved ...
35576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
35577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
35578         Moved ...
35579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
35580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
35581         Moved ...
35582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
35583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
35584         Moved ...
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
35586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
35587         Moved ...
35588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
35590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
35591         ... here.
35592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
35593         Moved ...
35594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
35595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35596         Moved ...
35597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
35598         ... here.
35599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
35600         Moved ...
35601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
35602         ... here.
35603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35604         Moved ...
35605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35606         ... here.
35607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35608         Moved ...
35609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
35610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35611         Moved ...
35612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
35613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
35614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
35615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35616         Moved ...
35617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
35618         ... here.
35619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35620         Moved ...
35621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
35622         ... here.
35623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35624         Moved ...
35625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
35626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35627         Moved ...
35628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
35629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35630         Moved ...
35631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
35632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35633         Moved ...
35634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
35635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35636         Moved ...
35637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
35638         ... here.
35639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35640         Moved ...
35641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
35642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35643         Moved ...
35644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
35645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35646         Moved ...
35647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
35648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35649         Moved ...
35650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
35652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
35653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35654         Moved ...
35655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35657         Moved ...
35658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
35659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35660         Moved ...
35661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
35662         ... here.
35663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35664         Moved ...
35665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
35666         ... here.
35667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35668         Moved ...
35669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
35670         ... here.
35671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35672         Moved ...
35673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
35674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35675         Moved ...
35676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
35677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35678         Moved ...
35679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
35680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35681         Moved ...
35682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
35683         ... here.
35684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35685         Moved ...
35686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
35687         ... here.
35688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35689         Moved ...
35690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
35691         ... here.
35692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35693         Moved ...
35694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
35695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35696         Moved ...
35697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
35699 2014-06-23  Will Newton  <will.newton@linaro.org>
35700             Wilco  <wdijkstr@arm.com>
35702         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
35703         implementation.  Include get-rounding-mode.h.
35704         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
35705         [!libc_feholdsetround_noex_ctx]: Define
35706         libc_feholdsetround_noex_ctx.
35707         [!libc_feholdsetround_noexf_ctx]: Define
35708         libc_feholdsetround_noexf_ctx.
35709         [!libc_feholdsetround_noexl_ctx]: Define
35710         libc_feholdsetround_noexl_ctx.
35711         (libc_feholdsetround_ctx): New function.
35712         (libc_feresetround_ctx): New function.
35713         (libc_feholdsetround_noex_ctx): New function.
35714         (libc_feresetround_noex_ctx): New function.
35716 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35718         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
35719         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
35720         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
35721         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
35722         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
35723         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
35725         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
35726         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
35727         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
35728         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
35729         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
35730         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
35731         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
35732         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
35733         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
35734         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
35735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
35736         Moved ...
35737         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
35738         ... here.
35739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
35740         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
35741         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
35742         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
35743         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
35744         Moved ...
35745         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
35746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
35747         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
35748         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
35749         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
35750         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
35751         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
35752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
35753         Moved ...
35754         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
35755         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
35756         Moved ...
35757         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
35758         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
35759         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
35760         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
35761         Moved ...
35762         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
35763         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
35764         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
35765         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
35766         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
35767         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
35768         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
35769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
35770         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
35771         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
35772         Moved ...
35773         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
35774         ... here.
35775         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
35776         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
35777         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
35778         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
35779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
35780         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
35781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
35782         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
35783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
35784         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
35785         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
35786         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
35787         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
35788         Moved ...
35789         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
35790         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
35791         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
35792         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
35793         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
35794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
35795         Moved ...
35796         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
35797         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
35798         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
35799         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
35800         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
35802         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
35803         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
35804         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
35805         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
35806         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
35807         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
35808         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
35809         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
35810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
35811         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
35812         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
35813         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
35814         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
35815         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
35816         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
35817         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
35818         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
35819         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
35820         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
35821         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
35822         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
35823         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
35824         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
35825         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
35826         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
35827         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
35828         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
35829         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
35831 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35833         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
35834         (FALLOC_FL_COLLAPSE_RANGE): New macro.
35835         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
35836         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
35837         (IPV6_PMTUDISC_INTERFACE): Likewise.
35838         (IPV6_PMTUDISC_OMIT): Likewise.
35840 2014-06-23  Andreas Schwab  <schwab@suse.de>
35842         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
35843         Remove unused errout label.
35845 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35847         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
35848         macro: hardware supports Vector Crypto instructions.
35850 2014-06-23  Will Newton  <will.newton@linaro.org>
35852         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
35853         rather than __builtin_expect.
35855         * elf/dl-lookup.c (undefined_msg): Remove variable.
35856         (_dl_lookup_symbol_x): Replace undefined_msg with string
35857         literal.
35859         * elf/dl-lookup.c (do_lookup_unique): New function.
35860         (do_lookup_x): Move STB_GNU_UNIQUE handling code
35861         to a separate function.
35863 2014-06-23  Andreas Schwab  <schwab@suse.de>
35865         [BZ #17079]
35866         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
35867         before reading the next line.
35869 2014-06-23  Will Newton  <will.newton@linaro.org>
35871         * test-skeleton.c (signal_handler): Use printf and %m
35872         rather than perror.  Use printf rather than fprintf to
35873         stderr.  Use puts rather than fputs to stderr.
35874         (main): Likewise.
35876 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
35878         * nscd/nscd.c (thread_info_t): Remove typedef.
35879         (thread_info): Remove variable.
35881 2014-06-21  Allan McRae  <allan@archlinux.org>
35883         * NEWS: Mention CVE-2014-4043.
35885 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35887         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35888         * nptl/smp.h: ... here.
35890         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35892         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35893         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35894         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35895         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35897         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35898         * nptl/stack-aliasing.h: New file.
35899         * sysdeps/i386/i686/stack-aliasing.h: New file.
35900         * sysdeps/i386/i686/nptl/Makefile: File removed.
35901         * sysdeps/x86_64/stack-aliasing.h: New file.
35902         * sysdeps/x86_64/nptl/Makefile
35903         (CFLAGS-pthread_create.c): Variable removed.
35905         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35906         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35907         old file.
35908         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35909         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35910         old file.
35912 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35914         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35915         (__ASSUME_SIGFRAME_V2): Remove macro.
35916         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35917         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35918         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35919         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35920         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35921         Declare as function.  Remove conditional macro definitions.
35922         (__default_rt_sa_restorer): Likewise.
35923         (__default_sa_restorer_v1): Remove declaration.
35924         (__default_sa_restorer_v2): Likewise.
35925         (__default_rt_sa_restorer_v1): Likewise.
35926         (__default_rt_sa_restorer_v2): Likewise.
35927         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35928         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35929         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35931 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35933         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35934         (libpthread-routines): Add sysdep.
35935         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35936         * sysdeps/unix/sysv/linux/sparc/Versions
35937         (libpthread: GLIBC_2.3.3): New version set.
35938         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35939         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35940         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35941         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35942         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35943         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35944         Moved ...
35945         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35946         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35947         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35948         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35949         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35950         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35951         * sysdeps/sparc/nptl/sem_init.c: ... here.
35952         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35953         * sysdeps/sparc/nptl/sem_post.c: ... here.
35954         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35955         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35956         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35957         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35958         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35959         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35960         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35961         (libpthread-routines): Add cpu_relax.
35962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35963         File removed.
35964         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35965         (librt: GLIBC_2.3.3): New version set.
35966         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35967         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35968         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35969         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35972         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35974         Moved ...
35975         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35977         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35979         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35981         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35983         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35985         Moved ...
35986         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35987         Update #include.
35988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35989         Moved ...
35990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35991         Update #include.
35992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35993         Moved ...
35994         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35995         Update #include.
35996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35997         Moved ...
35998         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35999         Update #include.
36000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36001         Moved ...
36002         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36003         Update #include.
36004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36005         Moved ...
36006         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36007         Update #include.
36008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36009         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36011         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36015         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36017         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36019         Moved ...
36020         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36022         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36024         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36026 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36028         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36029         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36030         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36031         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36032         * nscd/nscd.c: Likewise.
36033         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36034         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36035         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36036         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36038         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36039         <kernel-features.h>.
36040         (init_mq_netlink): Remove conditional have_sock_cloexec
36041         definitions.  Remove code conditional on have_sock_cloexec < 0.
36042         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36043         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36044         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36045         <kernel-features.h>.
36046         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36047         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36049 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36052         Add tests for memset_chk and memset.
36054         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36055         with AVX2_Usable.
36057 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36059         [BZ #16046]
36060         * elf/tst-dl-iter-static.c: New file.
36061         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36063         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36064         error.
36066 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36068         * sysdeps/unix/sysv/linux/kernel-features.h
36069         (__ASSUME_F_GETOWN_EX): Remove macro.
36070         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36071         <kernel-features.h>.
36072         (miss_F_GETOWN_EX): Remove variable or macro.
36073         (do_fcntl): Do not check miss_F_GETOWN_EX.
36074         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36076         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36077         Remove macro.
36078         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36079         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36080         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36082         * sysdeps/unix/sysv/linux/kernel-features.h
36083         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36084         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36085         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36086         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36088 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36090         [BZ #17075]
36091         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36092         Fix calculation of the symbol's value.
36093         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36094         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36095         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36096         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36097         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36098         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36099         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36100         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36101         (modules-names): Add `tst-armtlsdescmod',
36102         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36103         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36104         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36105         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36106         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36107         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36108         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36109         ($(objpfx)tst-armtlsdescloc): New dependency.
36110         ($(objpfx)tst-armtlsdescextnow): Likewise.
36111         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36112         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36113         TLS scheme support.
36114         * sysdeps/arm/configure: Regenerate.
36116 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36118         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36119         (__atfct_seterrno_2): Likewise.
36120         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36121         <kernel-features.h>.
36122         (__ASSUME_ATFCTS): Do not undefine and redefine.
36123         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36124         (__have_atfcts): Remove conditional definition.
36125         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36126         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36127         unreachable if [__ASSUME_ATFCTS].
36128         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36129         not undefine and redefine.
36130         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36131         <kernel-features.h>.
36132         (faccessat) [__NR_faccessat]: Make code unconditional.
36133         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36134         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36135         <kernel-features.h>.
36136         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36137         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36138         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36139         <kernel-features.h>.
36140         (fchownat) [__NR_fchownat]: Make code unconditional.
36141         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36142         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36143         <kernel-features.h>.
36144         (futimesat) [__NR_futimesat]: Make code unconditional.
36145         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36146         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36147         <kernel-features.h>.
36148         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36149         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36150         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36151         <kernel-features.h>.
36152         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36153         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36154         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36155         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36156         <kernel-features.h>.
36157         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36158         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36159         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36160         <kernel-features.h>.
36161         (linkat) [__NR_linkat]: Make code unconditional.
36162         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36163         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36164         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36165         <kernel-features.h>.
36166         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36167         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36168         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36169         <kernel-features.h>.
36170         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36171         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36172         * sysdeps/unix/sysv/linux/openat.c: Do not include
36173         <kernel-features.h>.
36174         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36175         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36176         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36177         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36178         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36179         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36180         <kernel-features.h>.
36181         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36182         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36183         result of INLINE_SYSCALL directly, not via int variable.
36184         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36185         <kernel-features.h>.
36186         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36187         (renameat) [__NR_renameat]: Make code unconditional.
36188         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36189         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36190         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36191         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36192         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36193         (__ASSUME_ATFCTS): Do not undefine and redefine.
36194         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36195         <kernel-features.h>.
36196         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36197         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36198         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36199         <kernel-features.h>.
36200         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36201         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36202         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36203         (__ASSUME_ATFCTS): Do not undefine and redefine.
36204         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36205         <kernel-features.h>.
36206         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36207         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36208         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36209         <kernel-features.h>.
36210         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36211         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36213 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36215         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36217 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36219         [BZ #17069]
36220         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36221         constructed tree before returning error.
36222         * posix/bug-regexp36.c: Expand test case.
36224 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36226         [BZ #6803]
36227         * math/libm-test.inc (scalbln_test_date):
36228         Add errno expectations.
36229         * math/w_scalblnf.c: New File.
36230         Add wrapper which checks for setting errno to ERANGE.
36231         Add weak_alias for corresponding scalbln function.
36232         * math/w_scalbln.c: Likewise.
36233         * math/w_scalblnl.c: Likewise.
36234         * math/Makefile (libm-calls): Add w_scalbln.
36235         * sysdeps/ieee754/flt-32/s_scalblnf.c:
36236         Remove weak_alias for corresponding scalbln function.
36237         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36238         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36239         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36240         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36241         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
36242         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36243         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
36244         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36245         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
36246         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
36247         Remove long_double_symbol for scalblnl function in libm, libc.
36248         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
36249         Add wrapper which checks for setting errno to ERANGE.
36250         Add long_double_symbol for scalblnl function in libm, libc.
36251         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
36252         Remove long_double_symbol for scalblnl in libm.
36253         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
36254         Add wrapper which checks for setting errno to ERANGE.
36255         Add long_double_symbol for scalblnl function in libm.
36256         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
36257         Do not use wrapper because of own implementation.
36259 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
36261         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
36262         3 bytes for __pad1 for x32.
36263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
36265 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
36266             H.J. Lu  <hongjiu.lu@intel.com>
36268         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
36269         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
36270         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36271         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36272         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
36274 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
36276         [BZ #17069]
36277         * posix/regcomp.c (parse_expression): Deallocate partially
36278         constructed tree before returning error.
36279         * posix/Makefile.c (tests): Add bug-regex36.
36280         (generated): Add bug-regex36.mtrace.
36281         (tests-special): Add $(objpfx)bug-regex36-mem.out
36282         (bug-regex36-ENV): New variable.
36283         ($(objpfx)bug-regex36-mem.out): New rule.
36284         * posix/bug-regex36.c: New file.
36286 2014-06-19  Will Newton  <will.newton@linaro.org>
36288         * malloc/malloc.c (systrim): If extra is zero then return
36289         early.
36291 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36293         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
36295 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
36297         * sysdeps/aarch64/strchr.S: New file.
36299 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36301         [BZ #17022]
36302         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
36303         from arguments -2 or below.
36304         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36305         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
36307 2014-06-18  Andreas Schwab  <schwab@suse.de>
36309         [BZ #17062]
36310         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
36311         of a bracket expr not to run off the end of the string.
36312         * posix/Makefile (tests): Add tst-fnmatch3.
36313         * posix/tst-fnmatch3.c: New file.
36315 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36317         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
36318         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36319         [$(cross-compiling) = no]: Likewise.
36320         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36321         [$(cross-compiling) = no]: Likewise.
36323 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36325         [BZ #17031]
36326         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
36327         double, adjusted for any remainder from the high double.
36328         * math/libm-test.inc (nearbyint): Add tests.
36329         (rint): Likewise.
36331 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36333         * nptl/sysdeps/powerpc/Makefile: Moved ...
36334         * sysdeps/powerpc/nptl/Makefile: ... here.
36335         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
36336         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
36337         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
36338         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
36339         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
36340         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
36341         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36342         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
36343         * nptl/sysdeps/powerpc/tls.h: Moved ...
36344         * sysdeps/powerpc/nptl/tls.h: ... here.
36346 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
36348         [BZ #16681]
36349         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
36350         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
36351         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
36352         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
36353         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
36354         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
36355         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
36356         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
36357         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
36359 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
36361         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36363 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
36365         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
36366         defined operator.
36368         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
36369         $TIMEOUTFACTOR.
36371 2014-06-16  Florian Weimer  <fweimer@redhat.com>
36373         [BZ #17058]
36374         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
36375         non-executed part of the test.
36377 2014-06-16  Andreas Schwab  <schwab@suse.de>
36379         * string/bits/string2.h (strdup, strndup): Update feature guard.
36381 2014-06-14  David S. Miller  <davem@davemloft.net>
36383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36385 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
36387         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
36388         that was previously under [RESET_PID].
36389         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
36391         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
36392         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
36393         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
36394         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36395         (__libc_vfork): New strong alias.
36396         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36398 2014-06-14 Andi Kleen  <ak@linux.intel.com>
36400         * sysdeps/generic/elide.h: New file.
36402 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36404         * Makefile (installed-headers): Adjust path of pthread.h header.
36406 2014-06-13  Roland McGrath  <roland@hack.frob.com>
36408         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
36409         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
36410         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
36411         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36413         * nptl/sysdeps/s390/Makefile: Moved ...
36414         * sysdeps/s390/nptl/Makefile: ... here.
36415         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36416         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36417         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36418         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36419         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36420         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36421         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36422         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36423         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36424         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36425         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36426         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36427         * nptl/sysdeps/s390/tls.h: Moved ...
36428         * sysdeps/s390/nptl/tls.h: ... here.
36430         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36431         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36433 2014-06-13  David S. Miller  <davem@davemloft.net>
36435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36438         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36442         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36443         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36444         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36445         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36446         Remove RESET_PID cpp guards.
36447         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36448         Remove RESET_PID cpp guards.
36449         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36451 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
36453         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36454         __sp to uintptr_t.
36456 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36458         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36459         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36460         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36461         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36462         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36463         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36464         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36465         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36466         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36467         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36468         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36469         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36470         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36471         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36472         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36473         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36474         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36475         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36476         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36477         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36479         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36480         (pthread_rwlock_rdlock): Add elision.
36481         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36482         (pthread_rwlock_wrlock): Add elision.
36483         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36484         (pthread_rwlock_trywrlock): Add elision.
36485         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36486         (pthread_rwlock_tryrdlock): Add elision.
36487         * nptl/pthread_rwlock_unlock.c: Include elide.h.
36488         (pthread_rwlock_tryrdlock): Add elision unlock.
36489         * nptl/sysdeps/pthread/pthread.h:
36490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36491         (PTHREAD_RWLOCK_INITIALIZER,
36492         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36493         Handle new elision field.
36494         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36495         * sysdeps/arm/nptl/bits/pthreadtypes.h
36496         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36497         * sysdeps/sh/nptl/bits/pthreadtypes.h
36498         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36499         * sysdeps/tile/nptl/bits/pthreadtypes.h
36500         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36501         * sysdeps/a/nptl/bits/pthreadtypes.h
36502         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36503         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36504         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36505         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36506         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36507         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36508         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36509         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36511         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36513         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36514         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36515         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36516         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36517         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
36518         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36519         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
36520         (elision_init): Set try_xbegin to zero when no RTM.
36521         * sysdeps/x86/nptl/bits/pthreadtypes.h
36522         (pthread_rwlock_t): Change __pad1 to __rwelision.
36523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36525 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36527         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
36528         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
36529         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
36530         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
36532 2014-06-13  Meador Inge  <meadori@codesourcery.com>
36534         [BZ #16996]
36535         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
36536         that the cached result has been set before returning it.
36538 2014-06-12  Roland McGrath  <roland@hack.frob.com>
36540         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
36541         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
36542         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
36543         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
36544         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
36545         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
36547         * nptl/sysdeps/sparc/Makefile: Moved ...
36548         * sysdeps/sparc/nptl/Makefile: ... here.
36549         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
36550         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
36551         * nptl/sysdeps/sparc/tls.h: Moved ...
36552         * sysdeps/sparc/nptl/tls.h: ... here.
36553         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
36554         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
36555         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
36556         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
36557         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
36558         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
36559         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
36560         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
36561         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
36562         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
36563         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
36564         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
36565         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
36566         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
36567         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
36568         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
36569         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
36570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
36571         Update #include.
36572         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36573         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
36574         Update #include.
36575         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
36576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
36577         Update #include.
36578         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
36579         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36580         Update #include.
36582         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36584         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
36585         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
36587         * sysdeps/pthread/posix-timer.h: Include <list.h>.
36588         (struct list_links): Type removed.
36589         (struct thread_node, struct timer_node): Replace struct list_links
36590         with struct list_head.
36591         (list_unlink_ip): Likewise.
36592         * sysdeps/pthread/timer_routines.c
36593         (timer_free_list, thread_free_list, thread_active_list): Likewise.
36594         (list_append, list_insbefore): Likewise.
36595         (list_init): Function removed.
36596         (thread_init, init_module): Use INIT_LIST_HEAD instead.
36597         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
36598         * sysdeps/pthread/Makefile: ... here, new file.
36600         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
36601         * sysdeps/nptl/Implies: ... here.
36602         * sysdeps/unix/sysv/linux/Implies: Add nptl.
36603         * nptl/sysdeps/pthread/list.h: Moved ...
36604         * include/list.h: ... here.
36605         * nptl/sysdeps/pthread/createthread.c: Moved ...
36606         * nptl/createthread.c: ... here.
36607         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
36608         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
36609         * nptl/pt-longjmp.c: ... here.
36610         * nptl/sysdeps/pthread/Makefile: Moved ...
36611         * sysdeps/nptl/Makefile: ... here.
36612         * nptl/sysdeps/pthread/Subdirs: Moved ...
36613         * sysdeps/nptl/Subdirs: ... here.
36614         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
36615         * sysdeps/nptl/aio_misc.h: ... here.
36616         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36617         * sysdeps/nptl/bits/libc-lock.h: ... here.
36618         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
36619         * sysdeps/nptl/bits/libc-lockP.h: ... here.
36620         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
36621         * sysdeps/nptl/bits/stdio-lock.h: ... here.
36622         * nptl/sysdeps/pthread/configure: Moved ...
36623         * sysdeps/nptl/configure: ... here.
36624         * nptl/sysdeps/pthread/configure.ac: Moved ...
36625         * sysdeps/nptl/configure.ac: ... here.
36626         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
36627         * sysdeps/nptl/gai_misc.h: ... here.
36628         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
36629         * sysdeps/nptl/librt-cancellation.c: ... here.
36630         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
36631         * sysdeps/nptl/malloc-machine.h: ... here.
36632         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
36633         * sysdeps/nptl/pthread-functions.h: ... here.
36634         * nptl/sysdeps/pthread/pthread.h: Moved ...
36635         * sysdeps/nptl/pthread.h: ... here.
36636         * nptl/sysdeps/pthread/setxid.h: Moved ...
36637         * sysdeps/nptl/setxid.h: ... here.
36638         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
36639         * sysdeps/nptl/sigfillset.c: ... here.
36640         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
36641         * sysdeps/nptl/tcb-offsets.h: ... here.
36642         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
36643         * sysdeps/nptl/tst-mqueue8x.c: ... here.
36644         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
36645         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
36646         * nptl/sysdeps/pthread/allocalim.h: Moved ...
36647         * sysdeps/pthread/allocalim.h: ... here.
36648         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
36649         * sysdeps/pthread/bits/sigthread.h: ... here.
36650         * nptl/sysdeps/pthread/flockfile.c: Moved ...
36651         * sysdeps/pthread/flockfile.c: ... here.
36652         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
36653         * sysdeps/pthread/ftrylockfile.c: ... here.
36654         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
36655         * sysdeps/pthread/funlockfile.c: ... here.
36656         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
36657         * sysdeps/pthread/posix-timer.h: ... here.
36658         * nptl/sysdeps/pthread/timer_create.c: Moved ...
36659         * sysdeps/pthread/timer_create.c: ... here.
36660         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
36661         * sysdeps/pthread/timer_delete.c: ... here.
36662         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
36663         * sysdeps/pthread/timer_getoverr.c: ... here.
36664         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
36665         * sysdeps/pthread/timer_gettime.c: ... here.
36666         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
36667         * sysdeps/pthread/timer_routines.c: ... here.
36668         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
36669         * sysdeps/pthread/timer_settime.c: ... here.
36670         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
36671         * sysdeps/pthread/tst-timer.c: ... here.
36672         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
36673         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
36675         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
36676         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
36678         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
36679         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
36680         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
36681         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
36682         Update #include target.
36683         * nptl/sysdeps/i386/i686/Makefile: Moved ...
36684         * sysdeps/i386/i686/nptl/Makefile: ... here.
36685         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
36686         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
36687         Update #include target.
36688         * nptl/sysdeps/i386/i686/tls.h: Moved ...
36689         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
36690         * nptl/sysdeps/i386/Makefile: Moved ...
36691         * sysdeps/i386/nptl/Makefile: ... here.
36692         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
36693         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
36694         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
36695         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
36696         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
36697         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
36698         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
36699         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
36700         * sysdeps/i386/nptl/pthreaddef.h: ... here.
36701         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
36702         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
36703         * nptl/sysdeps/i386/tls.h: Moved ...
36704         * sysdeps/i386/nptl/tls.h: ... here.
36706         * sysdeps/sh/Makefile [$(subdir) = csu]
36707         (gen-as-const-headers): Add tcb-offsets.sym.
36708         * nptl/sysdeps/sh/Makefile: File removed.
36709         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
36710         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
36711         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
36712         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
36713         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
36714         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
36715         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
36716         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
36717         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
36718         * sysdeps/sh/nptl/pthreaddef.h: ... here.
36719         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
36720         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
36721         * nptl/sysdeps/sh/tls.h: Moved ...
36722         * sysdeps/sh/nptl/tls.h: ... here.
36723         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
36724         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
36725         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
36726         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
36727         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
36728         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
36729         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
36730         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
36731         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
36732         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
36733         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
36734         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
36735         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
36736         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
36737         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
36738         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
36739         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
36740         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
36741         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
36742         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
36743         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
36744         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
36745         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
36746         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
36747         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
36748         Moved ...
36749         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
36750         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
36751         Moved ...
36752         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
36753         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
36754         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
36755         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
36756         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
36757         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
36758         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
36759         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
36760         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
36761         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
36762         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
36763         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
36764         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
36765         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
36766         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
36767         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
36768         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
36769         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
36770         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
36772 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36774         * posix/spawn_faction_addopen.c: Include string.h.
36776 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36778         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
36779         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
36780         * nptl/sysdeps/x86_64/Makefile: Moved ...
36781         * sysdeps/x86_64/nptl/Makefile: ... here.
36782         * nptl/sysdeps/x86_64/configure: Moved ...
36783         * sysdeps/x86_64/nptl/configure: ... here.
36784         * nptl/sysdeps/x86_64/configure.ac: Moved ...
36785         * sysdeps/x86_64/nptl/configure.ac: ... here.
36786         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
36787         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
36788         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
36789         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
36790         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
36791         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
36792         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
36793         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
36794         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
36795         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
36796         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
36797         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
36798         * nptl/sysdeps/x86_64/tls.h: Moved ...
36799         * sysdeps/x86_64/nptl/tls.h: ... here.
36800         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
36801         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
36802         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
36803         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
36805         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
36807 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36811 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
36813         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
36814         type.
36815         [POSIX] (off_t): Likewise.
36816         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
36817         [POSIX] (S_ISBLK): Require macro.
36818         [POSIX] (S_ISCHR): Likewise.
36819         [POSIX] (S_ISDIR): Likewise.
36820         [POSIX] (S_ISFIFO): Likewise.
36821         [POSIX] (S_ISREG): Likewise.
36822         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
36823         optional-macro.
36824         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
36825         type.
36826         [POSIX] (time_t): Likewise.
36827         [POSIX] (timer_t): Likewise.
36829 2014-06-11  Florian Weimer  <fweimer@redhat.com>
36831         [BZ #17048]
36832         * posix/spawn_int.h (struct __spawn_action): Make the path string
36833         non-const to support deallocation.
36834         * posix/spawn_faction_addopen.c
36835         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
36836         * posix/spawn_faction_destroy.c
36837         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
36838         path in all spawn_do_open actions.
36839         * posix/tst-spawn.c (do_test): Exercise the copy operation in
36840         posix_spawn_file_actions_addopen.
36842 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
36844         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
36845         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36846         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
36847         conditional code always true.
36848         (__libc_vfork): New alias.
36850 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36852         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36853         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
36855         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
36857         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36858         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
36860         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36861         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
36863         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36864         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
36866 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36868         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
36869         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
36870         multiarch strcmp for PPC64.
36871         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
36872         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
36873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
36874         multiarch optimizations.
36875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36876         (__libc_ifunc_impl_list): Likewise.
36878 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36880         * benchtests/scripts/validate_benchout.py: New script.
36881         * benchtests/Makefile (bench-func): Call it.
36882         * benchtests/scripts/benchout.schema.json: New file.
36884 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
36886         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36887         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36888         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36889         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36890         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36891         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36892         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36893         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36894         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36895         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36896         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36897         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36898         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36899         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36900         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36901         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36903         Moved ...
36904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36905         ... here.
36906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36907         Moved ...
36908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36910         Moved ...
36911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36912         ... here.
36913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36914         Moved ...
36915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36916         ... here.
36917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36918         Moved ...
36919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36921         Moved ...
36922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36923         ... here.
36924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36925         Moved ...
36926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36927         ... here.
36928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36929         Moved ...
36930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36932         Moved ...
36933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36934         ... here.
36935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36936         Moved ...
36937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36938         ... here.
36939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36940         Moved ...
36941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36942         ... here.
36943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36944         Moved ...
36945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36947         Moved ...
36948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36949         ... here.
36950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36951         Moved ...
36952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36953         ... here.
36954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36955         Moved ...
36956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36957         ... here.
36958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36959         Moved ...
36960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36962         Moved ...
36963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36964         ... here.
36965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36966         Moved ...
36967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36968         ... here.
36969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36970         Moved ...
36971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36973         Moved ...
36974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36975         ... here.
36976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36977         Moved ...
36978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36980         Moved ...
36981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36983         Moved ...
36984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36985         ... here.
36986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36987         Moved ...
36988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36989         ... here.
36990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36991         Moved ...
36992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36993         ... here.
36994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36995         Moved ...
36996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36998         Moved ...
36999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37000         ... here.
37001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37002         Moved ...
37003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37004         ... here.
37005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37006         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37007         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37008         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37009         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37010         Moved ...
37011         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37012         ... here.
37013         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37014         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37015         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37016         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37018         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37019         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37020         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37021         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37022         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37023         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37024         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37026         Moved ...
37027         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37029         Moved ...
37030         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37031         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37032         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37034         Moved ...
37035         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37037         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37038         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37039         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37040         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37041         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37043 2014-06-10  Wilco  <wdijkstr@arm.com>
37045         * math/test-fenv-return.c: New file.
37046         * math/Makefile: Add new test test-fenv-return.
37048 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37050         [BZ #17042]
37051         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37052         when x - 1 is zero.
37053         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37054         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37055         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37056         0.0L for an argument of 1.0L.
37057         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37058         Likewise.
37059         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37060         value when x - 1 is zero.
37061         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37062         * sysdeps/i386/fpu/libm-test-ulps: Update.
37063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37065 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37067         [BZ #15119]
37068         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37070 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37072         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37073         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37075 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37077         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37078         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37080         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37081         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37083         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37084         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37086         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37087         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37089         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37090         if not already defined.
37091         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37092         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37093         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37094         (TLS_INIT_TP): Use it.
37095         (TLS_DEFINE_INIT_TP): New macro.
37096         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37098 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37100         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37101         constant.
37102         [POSIX] (IXANY): Likewise.
37103         [POSIX] (OLCUC): Likewise.
37104         [POSIX || POSIX2008] (CBAUD): Do not allow.
37105         [POSIX || POSIX2008] (DEFECHO): Likewise.
37106         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37107         [POSIX || POSIX2008] (ECHOKE): Likewise.
37108         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37109         [POSIX || POSIX2008] (EXTA): Likewise.
37110         [POSIX || POSIX2008] (EXTB): Likewise.
37111         [POSIX || POSIX2008] (FLUSHO): Likewise.
37112         [POSIX || POSIX2008] (LOBLK): Likewise.
37113         [POSIX || POSIX2008] (PENDIN): Likewise.
37114         [POSIX || POSIX2008] (SWTCH): Likewise.
37115         [POSIX || POSIX2008] (VDISCARD): Likewise.
37116         [POSIX || POSIX2008] (VDSUSP): Likewise.
37117         [POSIX || POSIX2008] (VLNEXT): Likewise.
37118         [POSIX || POSIX2008] (VREPRINT): Likewise.
37119         [POSIX || POSIX2008] (VSTATUS): Likewise.
37120         [POSIX || POSIX2008] (VWERASE): Likewise.
37121         (B*): Change to B[0123456789]*.
37122         * conform/data/time.h-data [POSIX || UNIX98]
37123         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37124         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37125         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37126         [POSIX] (tm_*): Do not allow.
37128 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37130         * Makefile (install): Don't set LANGUAGE.
37131         * Makefile.in (install): Likewise.
37132         * assert/Makefile (test-assert-ENV): Remove variable.
37133         (test-assert-perr-ENV): Likewise.
37134         * elf/Makefile (neededtest4-ENV): Likewise.
37135         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37136         [$(cross-compiling) = no]: Don't set LANGUAGE.
37137         * io/ftwtest-sh (LANG): Remove variable.
37138         * libio/Makefile (tst-widetext-ENV): Likewise.
37139         * manual/install.texi (Running make install): Don't refer to
37140         environment settings for make install.
37141         * INSTALL: Regenerated.
37142         * nptl/tst-tls6.sh: Don't set LANG.
37143         * posix/globtest.sh (LANG): Remove variable.
37144         * string/Makefile (tester-ENV): Likewise.
37145         (inl-tester-ENV): Likewise.
37146         (noinl-tester-ENV): Likewise.
37147         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37148         [$(cross-compiling) = no]: Don't set LANGUAGE.
37149         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37150         without explicit environment settings.
37152 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37154         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37155         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37156         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37157         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37159 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37161         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37162         other files in the crypt directory.
37163         * crypt/crypt.c: Remove duplicate includes.
37164         * crypt/crypt-entry.c: Likewise.
37165         * crypt/crypt_util.c: Likewise.
37167 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37169         * Makeconfig (run-program-env): New variable.
37170         (run-program-prefix-before-env): Likewise.
37171         (run-program-prefix-after-env): Likewise.
37172         (run-program-prefix): Define in terms of new variables.
37173         (built-program-cmd-before-env): New variable.
37174         (built-program-cmd-after-env): Likewise.
37175         (built-program-cmd): Define in terms of new variables.
37176         (test-program-prefix-before-env): New variable.
37177         (test-program-prefix-after-env): Likewise.
37178         (test-program-prefix): Define in terms of new variables.
37179         (test-program-cmd-before-env): New variable.
37180         (test-program-cmd-after-env): Likewise.
37181         (test-program-cmd): Define in terms of new variables.
37182         * Rules (make-test-out): Use $(run-program-env).
37183         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37184         (help): Do not mention environment variables.  Mention
37185         --timeoutfactor option.
37186         (timeoutfactor): New variable.
37187         (blacklist_exports): Remove function.
37188         (exports): Remove variable.
37189         (command): Do not include ${exports}.
37190         * manual/install.texi (Configuring and compiling): Do not mention
37191         test wrappers preserving environment variables.  Mention that last
37192         assignment to a variable must take precedence.
37193         * INSTALL: Regenerated.
37194         * benchtests/Makefile (run-bench): Use $(run-program-env).
37195         * catgets/Makefile ($(objpfx)test1.cat): Use
37196         $(built-program-cmd-before-env), $(run-program-env) and
37197         $(built-program-cmd-after-env).
37198         ($(objpfx)test2.cat): Do not specify environment variables
37199         explicitly.
37200         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37201         $(run-program-env) and $(built-program-cmd-after-env).
37202         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37203         $(run-program-env) and $(test-program-cmd-after-env).
37204         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37205         explicitly.
37206         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37207         run_program_env and test_program_cmd_after_env arguments.
37208         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37209         * elf/tst-pathopt.sh: Use run_program_env argument.
37210         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37211         $(test-wrapper-env) and $(run-program-env).
37212         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37213         run_program_env arguments.
37214         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37215         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37216         $(test-program-prefix-before-env), $(run-program-env) and
37217         $(test-program-prefix-after-env).
37218         ($(objpfx)tst-gettext2.out): Likewise.
37219         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37220         run_program_env and test_program_prefix_after_env arguments.
37221         * intl/tst-gettext2.sh: Likewise.
37222         * intl/tst-gettext4.sh: Do not set environment variables
37223         explicitly.
37224         * intl/tst-gettext6.sh: Likewise.
37225         * intl/tst-translit.sh: Likewise.
37226         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37227         $(test-program-prefix-before-env), $(run-program-env) and
37228         $(test-program-prefix-after-env).
37229         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37230         run_program_env and test_program_prefix_after_env arguments.
37231         * math/Makefile (run-regen-ulps): Use $(run-program-env).
37232         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37233         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
37234         explicitly with each use of ${test_wrapper_env}.
37235         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
37236         $(test-program-prefix-before-env), $(run-program-env) and
37237         $(test-program-prefix-after-env).
37238         * posix/tst-getconf.sh: Do not set environment variables
37239         explicitly.
37240         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
37241         run_program_env and test_program_prefix_after_env arguments.
37242         * stdio-common/tst-printf.sh: Do not set environment variables
37243         explicitly.
37244         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
37245         $(test-program-prefix-before-env), $(run-program-env) and
37246         $(test-program-prefix-after-env).
37247         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
37248         run_program_env and test_program_prefix_after_env arguments.
37249         Split $test calls into $test_pre and $test.
37250         * timezone/Makefile (build-testdata): Use
37251         $(built-program-cmd-before-env), $(run-program-env) and
37252         $(built-program-cmd-after-env).
37254 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37256         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
37257         strlen for non SHARED builds.
37259 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37261         * nptl/allocatestack.c (check_list): Inlined function...
37262         (__reclaim_stacks): ... here.
37264 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37266         [BZ #15698]
37267         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37268         memory overrun.
37270 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
37272         * Rules (make-test-out): Include
37273         LOCPATH=$(common-objpfx)localedata in default environment.
37274         * debug/Makefile (tst-chk1-ENV): Remove variable.
37275         (tst-chk2-ENV): Likewise.
37276         (tst-chk3-ENV): Likewise.
37277         (tst-chk4-ENV): Likewise.
37278         (tst-chk5-ENV): Likewise.
37279         (tst-chk6-ENV): Likewise.
37280         (tst-lfschk1-ENV): Likewise.
37281         (tst-lfschk2-ENV): Likewise.
37282         (tst-lfschk3-ENV): Likewise.
37283         (tst-lfschk4-ENV): Likewise.
37284         (tst-lfschk5-ENV): Likewise.
37285         (tst-lfschk6-ENV): Likewise.
37286         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
37287         (tst-iconv7-ENV): Likewise.
37288         * intl/Makefile (LOCPATH-ENV): Likewise.
37289         (tst-codeset-ENV): Likewise.
37290         (tst-gettext3-ENV): Likewise.
37291         (tst-gettext5-ENV): Likewise.
37292         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
37293         (tst-fopenloc-ENV): Likewise.
37294         (tst-fgetws-ENV): Remove variable.
37295         (tst-ungetwc1-ENV): Likewise.
37296         (tst-ungetwc2-ENV): Likewise.
37297         (bug-ungetwc2-ENV): Likewise.
37298         (tst-swscanf-ENV): Likewise.
37299         (bug-ftell-ENV): Likewise.
37300         (tst-fgetwc-ENV): Likewise.
37301         (tst-fseek-ENV): Likewise.
37302         (tst-ftell-partial-wide-ENV): Likewise.
37303         (tst-ftell-active-handler-ENV): Likewise.
37304         (tst-ftell-append-ENV): Likewise.
37305         * posix/Makefile (tst-fnmatch-ENV): Likewise.
37306         (tst-regexloc-ENV): Likewise.
37307         (bug-regex1-ENV): Likewise.
37308         (tst-regex-ENV): Likewise.
37309         (tst-regex2-ENV): Likewise.
37310         (bug-regex5-ENV): Likewise.
37311         (bug-regex6-ENV): Likewise.
37312         (bug-regex17-ENV): Likewise.
37313         (bug-regex18-ENV): Likewise.
37314         (bug-regex19-ENV): Likewise.
37315         (bug-regex20-ENV): Likewise.
37316         (bug-regex22-ENV): Likewise.
37317         (bug-regex23-ENV): Likewise.
37318         (bug-regex25-ENV): Likewise.
37319         (bug-regex26-ENV): Likewise.
37320         (bug-regex30-ENV): Likewise.
37321         (bug-regex32-ENV): Likewise.
37322         (bug-regex33-ENV): Likewise.
37323         (bug-regex34-ENV): Likewise.
37324         (bug-regex35-ENV): Likewise.
37325         (tst-rxspencer-ENV): Likewise.
37326         (tst-rxspencer-no-utf8-ENV): Likewise.
37327         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
37328         (tst-sscanf-ENV): Likewise.
37329         (tst-swprintf-ENV): Likewise.
37330         (tst-swscanf-ENV): Likewise.
37331         (test-vfprintf-ENV): Likewise.
37332         (scanf13-ENV): Likewise.
37333         (bug14-ENV): Likewise.
37334         (tst-grouping-ENV): Likewise.
37335         * stdlib/Makefile (tst-strtod-ENV): Likewise.
37336         (tst-strtod3-ENV): Likewise.
37337         (tst-strtod4-ENV): Likewise.
37338         (tst-strtod5-ENV): Likewise.
37339         (testmb2-ENV): Likewise./
37340         * string/Makefile (tst-strxfrm-ENV): Likewise.
37341         (tst-strxfrm2-ENV): Likewise.
37342         (bug-strcoll1-ENV): Likewise.
37343         (test-strcasecmp-ENV): Likewise.
37344         (test-strncasecmp-ENV): Likewise.
37345         * time/Makefile (tst-strptime-ENV): Likewise.
37346         (tst-ftime_l-ENV): Likewise.
37347         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
37348         (tst-mbrtowc-ENV): Likewise.
37349         (tst-wcrtomb-ENV): Likewise.
37350         (tst-mbrtowc2-ENV): Likewise.
37351         (tst-c16c32-1-ENV): Likewise.
37352         (tst-mbsnrtowcs-ENV): Likewise.
37354 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37356         * manual/resource.texi (How to get information about the memory
37357         subsystem?): Fix typo.
37358         Reported by Peon de la Parra Ivan <peon@keba.com>
37360 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
37362         [BZ #16882]
37363         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
37364         (pthread_spin_lock): Branch out of spin loop to proper location.
37365         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
37366         (pthread_spin_lock): Likewise.
37368         * nptl/tst-spin4.c: New test.
37369         * nptl/Makefile (tests): Add tst-spin4.
37371 2014-06-03  Andreas Schwab  <schwab@suse.de>
37373         [BZ #15946]
37374         * resolv/res_send.c (send_dg): Reload file descriptor after
37375         calling reopen.
37377 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
37379         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37381 2014-06-03  Richard Henderson  <rth@redhat.com>
37383         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
37384         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
37385         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
37386         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
37387         in the SAVE_PID block.
37388         (__libc_vfork): New alias.
37389         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
37391         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
37392         child in registers, not on the stack.  Remove RESET_PID conditionals.
37393         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
37395 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37397         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37399 2014-06-03  Wilco  <wdijkstr@arm.com>
37401         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
37402         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
37403         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37404         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
37405         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
37406         Likewise.
37408 2014-06-03  Wilco  <wdijkstr@arm.com>
37410         * sysdeps/aarch64/fpu/math_private.h
37411         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
37412         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37413         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37414         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37415         Fix declarations.
37417 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37419         * crypt/crypt-private.h: Include ufc-crypt.h.
37420         (__b64_from_24bit): Declare extern.
37421         * crypt/crypt_util.c(__b64_from_24bit): New function.
37422         (b64t): New static const variable.
37423         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37424         (b64t): Remove variable.
37425         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37426         * crypt/sha256-crypt.c: Include crypt-private.h.
37427         (b64t): Remove variable.
37428         (__sha256_crypt_r): Remove b64_from_24bit and replace
37429         with __b64_from_24bit.
37430         * crypt/sha512-crypt.c: Likewise.
37432 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37434         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37435         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37436         Label the code __libc_vfork rather than __vfork.
37437         [!NOT_IN_libc] (vfork): Define as weak alias.
37438         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37439         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37440         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37442 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37444         * malloc/malloc.c (malloc_info): Fix format specifier for
37445         n_mmaps.
37447 2014-06-02  Wilco  <wdijkstr@arm.com>
37449         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37450         FPCR write.
37452 2014-06-02  Wilco  <wdijkstr@arm.com>
37454         [BZ #17009]
37455         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37456         Rewrite to reduce FPCR/FPSR accesses.
37458 2014-06-01  David S. Miller  <davem@davemloft.net>
37460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37462 2014-05-31  David S. Miller  <davem@davemloft.net>
37464         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37465         to occur in round to nearest mode when |x| >= 2.0
37467 2014-05-30  Richard Henderson  <rth@twiddle.net>
37469         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37470         (PSEUDO_RET_NOERRNO): Remove.
37471         (ret): Don't redefine.
37472         (ret_NOERRNO): Define in terms of ret.
37473         (ret_ERRVAL): Likewise.
37475         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37476         use of PSEUDO_RET; perform the error check directly.
37478 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
37480         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37481         with __int128_t.
37483 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37485         * malloc/malloc (malloc_info): Fix formatting.
37487 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37488             Roland McGrath  <roland@hack.frob.com>
37490         * malloc/malloc (malloc_info): Also print mmapped statistics.
37492 2014-05-30  Roland McGrath  <roland@hack.frob.com>
37494         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37495         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37497 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37499         * malloc/malloc.c (malloc_info): Inline mi_arena.
37501 2014-05-29  Richard Henderson  <rth@twiddle.net>
37503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37504         Remove comma before expanding ASM_ARGS_##nr.
37505         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37506         Make _x0 a strict output; make _x8 a strict input; adjust expansion
37507         of ASM_ARGS_##nr.
37508         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37509         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37510         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37511         (ASM_ARGS_1): Add leading comma.
37513         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37514         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37515         to __errno_location.
37516         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37517         Remove the expected plt for __errno_location.
37519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37520         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
37521         call to __read_tp.
37523         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37524         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
37525         it and break it down.
37526         (DOCARGS_0, DOCARGS_1): Do nothing.
37527         (DOCARGS_2): Update to store into the new stack frame.
37528         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
37529         (UNDOCARGS_1): Update to restore from the new stack frame.
37530         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
37531         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37533         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37534         (SINGLE_THREAD_P): New parameter for result regno.
37535         (PSEUDO): Update to match; use cbz instead of beq.
37537         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37538         Use ENTRY to define the _nocancel entry point.  Share the syscall
37539         and syscall error check paths with the cancel path.
37540         (PSEUDO_END): New.
37542         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
37543         whitespace; tabs before and after asm mnemonics.
37545 2014-05-29  Eric Wong  <normalperson@yhbt.net>
37547         [BZ #15132]
37548         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37549         Call fstat64 or stat64 internally, depending on arguments passed.
37550         Replace stat buffer argument with file descriptor argument.
37551         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
37552         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37553         Pass fd to __internal_statvfs instead of calling fstat64.
37554         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
37555         Pass fd to __internal_statvfs64 instead of calling fstat64.
37556         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37557         Pass -1 to __internal_statvfs instead of calling stat64.
37558         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
37559         Pass -1 to __internal_statvfs64 instead of calling stat64.
37561 2014-05-28  Roland McGrath  <roland@hack.frob.com>
37563         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
37564         that was previously under [RESET_PID].
37565         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
37567         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
37568         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
37570 2014-05-27  Roland McGrath  <roland@hack.frob.com>
37572         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
37574         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
37575         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37577 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
37579         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37581 2014-05-27  Andreas Schwab  <schwab@suse.de>
37583         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
37584         TLS_INIT_TP macro.
37585         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
37586         * elf/rtld.c (init_tls, dl_main): Likewise.
37587         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
37588         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
37589         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
37590         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
37591         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
37592         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
37593         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
37594         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
37595         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
37596         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
37597         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
37598         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
37599         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
37600         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
37601         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
37602         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
37603         * sysdeps/generic/tls.h: Update description.
37605 2014-05-27  Will Newton  <will.newton@linaro.org>
37607         [BZ #16990]
37608         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
37609         and restore r2 rather than just restoring.
37611 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37613         [BZ #16724]
37614         * libio/tst-ftell-append.c: New test case.
37615         * libio/Makefile (tests): Add test case.
37616         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
37617         append mode.
37618         * libio/wfileops.c (do_ftell_wide): Likewise.
37620 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37624         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
37625         ...
37626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
37627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37628         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
37629         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
37630         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
37631         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
37632         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
37633         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
37634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37635         Moved ...
37636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
37637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37638         Moved ...
37639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
37640         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
37641         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
37642         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
37643         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
37644         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
37645         ...
37646         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
37647         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
37648         Moved ...
37649         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
37650         here.
37651         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
37652         ...
37653         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
37654         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
37655         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
37657         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
37658         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
37659         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
37660         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
37662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
37663         merge into ...
37664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
37665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
37666         ...
37667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
37668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
37669         ...
37670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
37671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37672         Moved ...
37673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
37674         here.
37675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37676         Moved ...
37677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
37678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37679         Moved ...
37680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
37682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
37683         conditional [RESET_PID].
37684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
37685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
37686         removed.
37687         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
37688         removed.
37690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
37691         <tcb-offsets.h>.
37692         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37693         (__libc_vfork): New strong alias.
37694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
37695         removed.
37696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
37697         Removed.
37699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
37700         <tcb-offsets.h>.
37701         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
37702         (__libc_vfork): New strong alias.
37703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
37704         removed.
37705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
37706         removed.
37708 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
37710         * malloc/malloc.c (mi_arena): New function.
37711         (malloc_info): Remove nested function mi_arena. Call non-nosted
37712         function mi_arena.
37714 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37716         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
37717         by insrwi.
37718         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37719         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37720         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
37721         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
37722         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
37723         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
37724         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
37726 2014-05-26  Andreas Schwab  <schwab@suse.de>
37728         [BZ #16984]
37729         * locale/programs/repertoire.c (repertoire_read): Add slash
37730         between I18NPATH element and file name.
37731         * locale/programs/locfile.c (locfile_read): Likewise.
37733 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37735         * nptl/pthread_mutexattr_settype.c
37736         (__pthread_mutexattr_settype):
37737         Disable lock elision for PTHREAD_MUTEX_NORMAL.
37739 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37741         * nptl/tst-mutex5 (do_test):
37742         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
37744 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37746         * benchtests/README: Document 'init' directive.
37747         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
37748         BENCH_INIT.
37749         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
37750         (parse_file): Recognize 'init' directive.
37752 2014-05-26  Kyle McMartin  <kyle@redhat.com>
37754         [BZ #16796]
37755         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
37756         alignment of struct pthread.
37758 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37760         [BZ #16878]
37761         * nscd/netgroupcache.c (addgetnetgrentX): Look for
37762         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37763         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
37764         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37766 2014-05-25  Richard Henderson  <rth@twiddle.net>
37768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37769         (SINGLE_THREAD_P_PIC): Remove.
37770         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
37771         (SINGLE_THREAD_P_PIC): Remove.
37773         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
37774         branch to syscall error ...
37775         (PSEUDO): ... here.
37776         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
37777         from __local_syscall_error to .Lsyscall_error.
37778         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
37779         (SYSCALL_ERROR): Update label name.
37781         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37782         Do not use DOARGS/UNDOARGS.
37783         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
37784         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
37785         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
37786         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
37787         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
37789         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
37790         block comment.
37792         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
37793         define if !NOT_IN_libc.
37794         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
37795         define with non-default symbol versions.
37797 2014-05-23  Richard Henderson  <rth@twiddle.net>
37799         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
37800         (vfork, __vfork): Define via compat_symbol.
37802         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
37803         [!HAVE_IFUNC] (vfork_compat): Remove.
37804         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
37806 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37808         [BZ #16978]
37809         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
37810         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
37811         variable.
37813 2014-05-23  Richard Henderson  <rth@twiddle.net>
37815         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
37816         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
37817         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
37818         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
37820         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
37821         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
37822         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
37823         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
37824         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
37825         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
37826         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
37827         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
37828         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
37829         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
37830         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
37831         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
37832         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
37833         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
37834         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
37835         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
37836         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
37837         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
37838         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
37839         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
37840         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
37841         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
37842         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
37843         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
37844         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
37845         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
37846         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
37847         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
37848         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37849         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
37850         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
37851         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
37852         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
37853         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
37854         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
37855         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
37856         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
37857         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
37858         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
37859         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
37860         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
37861         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
37862         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
37863         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
37864         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
37865         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
37866         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
37867         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
37868         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
37869         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
37870         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
37871         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
37872         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
37873         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
37874         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
37875         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
37877         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
37878         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
37879         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
37880         before exiting on error.
37881         (__libc_vfork): New strong alias.
37882         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
37883         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37885         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37886         that was previously under [RESET_PID].
37887         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37889         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37891 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37893         [BZ #16977]
37894         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37895         value when x - 1 is zero.
37896         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37897         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37898         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37899         0.0L for an argument of 1.0L.
37900         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37901         Likewise.
37902         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37903         value when x - 1 is zero.
37904         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37905         * sysdeps/i386/fpu/libm-test-ulps: Update.
37906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37908 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37910         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37911         alphasort and versionsort.
37913 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37915         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37916         macro.
37917         [copysignf]: Likewise.
37919 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37921         * crypt/md5-crypt.c: Fix formatting.
37923 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37925         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37926         (b64_from_24bit): New function.
37928 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37930         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37931         libc_hidden_builtin_def to ifunc.
37932         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37933         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37935 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37937         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37938         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37940 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37942         * nscd/Depend (linuxthreads): Remove.
37943         (nptl): Add.
37944         * resolv/Depend (linuxthreads): Remove.
37945         * rt/Depend (linuxthreads): Remove.
37947         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37948         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37949         $(common-objpfx)elf/.
37950         (link-libc-before-gnulib): Likewise.
37951         (elfobjdir): Remove variable.
37952         * Makefile (install): Use $(elf-objpfx) instead of
37953         $(common-objpfx)elf/.
37954         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37955         $(elfobjdir)/.
37956         (link-libc-deps): Likewise.
37957         ($(common-objpfx)libc.so): Likewise.
37958         ($(common-objpfx)linkobj/libc.so): Likewise.
37959         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37960         instead of $(common-objpfx)elf/.
37961         (symbolic-link-list): Likewise.
37962         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37963         [$(cross-compiling) = no]: Likewise.
37964         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37965         $(elfobjdir)/.
37966         (static-gnulib-arch): Likewise.
37967         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37968         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37969         $(common-objpfx)elf/.
37971 2014-05-21  Richard Henderson  <rth@redhat.com>
37973         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37974         (SINGLE_THREAD_P): Use the correct width load.  Fold
37975         into the ldr offset.
37977         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37978         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37980 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37982         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37983         (libgcc_s_resume): Use __attribute_used__.
37984         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37985         Likewise.
37987 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37989         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37990         optimization when used with float constants.
37992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37994 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37996         [BZ #16915]
37997         * locale/nl_langinfo_l.c: Make direct reference to every
37998         _nl_current_CATEGORY symbol.
37999         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38000         (tests-static): Add tst-langinfo-static.
38001         (tests-special): Add tst-langinfo-static.out.
38002         ($(objpfx)tst-langinfo.out): Redirect output.
38003         ($(objpfx)tst-langinfo-static.out): New.
38004         * localedata/tst-langinfo.sh: Send output to stdout.
38005         * localedata/tst-langinfo-static.c: New file.
38007         [BZ #16965]
38008         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38009         when the shift amount is modulo the limb size.
38011 2014-05-20  Richard Henderson  <rth@redhat.com>
38013         [BZ #16967]
38014         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38015         Change type of sa_flags from unsigned int to int.
38017         [BZ #16966]
38018         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38020         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38022 2014-05-20  Will Newton  <will.newton@linaro.org>
38024         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38025         Test the return value of the system call in the nocancel case.
38027 2014-05-20  Will Newton  <will.newton@linaro.org>
38028             Yvan Roux  <yvan.roux@linaro.org>
38030         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38031         #include of asm/ptrace.h.
38032         (PTRACE_GET_THREAD_AREA): Remove #undef.
38033         (PTRACE_GETHBPREGS): Likewise.
38034         (PTRACE_SETHBPREGS): Likewise.
38035         (struct user_regs_struct): New structure.
38036         (struct user_fpsimd_struct): New structure.
38037         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38038         #include of asm/ptrace.h and second #include of sys/user.h.
38039         (PTRACE_GET_THREAD_AREA): Remove #undef.
38040         (PTRACE_GETHBPREGS): Likewise.
38041         (PTRACE_SETHBPREGS): Likewise.
38042         (ELF_NGREG): Use new struct user_regs_struct.
38043         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38045 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38047         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38048         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38050 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38052         [BZ #16958]
38053         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38054         membar to avoid block loads/stores to overlap previous stores.
38056 2014-05-17  Richard Henderson  <rth@redhat.com>
38058         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38059         Create the __##syscall_name##_nocancel entry point.
38060         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38061         Remove; let the sysdep-cancel.h code create it.
38063 2014-05-17  David S. Miller  <davem@davemloft.net>
38065         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38066         Protect with __USE_GNU.
38067         (TIOCSET_TEMPT): Likewise.
38068         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38069         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38070         these are already provided in bits/ioctl-types.h
38072 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38074         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38075         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38077         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38078         Use wait4 regardless of [__NR_waitpid].
38080 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38082         PR libgcc/60166
38083         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38084         (_FP_NANSIGN_Q): Set the quiet bit.
38086 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38088         * benchtests/Makefile
38089         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38090         not $(common-objpfx)math/libm.so.
38091         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38092         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38093         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38094         $(common-objpfx)dlfcn/libdl.so.
38095         ($(objpfx)tst-audit8): Depend on $(libm), not
38096         $(common-objpfx)math/libm.so.
38097         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38098         not $(common-objpfx)dlfcn/libdl.so.
38099         * math/Makefile
38100         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38101         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38102         [$(build-shared) = yes].
38103         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38104         $(common-objpfx)nptl/libpthread.so.
38105         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38106         $(common-objpfx)math/libm.so$(libm.so-version) or
38107         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38108         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38109         $(common-objpfx)dlfcn/libdl.so.
38110         * setjmp/Makefile (link-libm): Remove variable.
38111         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38112         * stdio-common/Makefile (link-libm): Remove variable.
38113         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38114         * stdlib/Makefile (link-libm): Remove variable.
38115         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38116         ($(objpfx)tst-strtod-round): Likewise.
38117         ($(objpfx)tst-tininess): Likewise.
38118         ($(objpfx)tst-strtod-underflow): Likewise.
38119         ($(objpfx)tst-strtod6): Likewise.
38120         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38121         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38122         $(common-objpfx)dlfcn/libdl.so.
38124 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38126         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38127         BSD terminal modes definitions.
38129 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38131         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38132         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38134         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38135         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38136         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38137         Don't do #include_next.
38138         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38139         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38140         Don't do #include_next.
38141         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38142         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38143         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38144         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38146 2014-05-16  Allan McRae  <allan@archlinux.org>
38148         * po/sv.po: Update Swedish translation from translation project.
38150         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38151         in sed expression.
38153 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38155         [BZ #16917]
38156         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38157         errno if the TIOCGPTN ioctl fails with an error different than
38158         EINVAL.
38159         * login/tst-ptsname.c: New file.
38160         * login/Makefile (tests): Add tst-ptsname.
38162         [BZ #16943]
38163         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38164         and prlimit64.
38166 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38168         [BZ #16849]
38169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38170         herrno to return EAI_AGAIN.
38172 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38174         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38175         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38176         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38177         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38178         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38179         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38180         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38181         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38182         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38183         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38184         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38185         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38186         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38187         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38188         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38189         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38190         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38191         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38192         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38193         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38194         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38195         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38196         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38197         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38198         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38199         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38200         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38201         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38202         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38203         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38205         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38207         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38209         Moved ...
38210         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38212         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38214         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38216         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38218         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38220         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38222         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38224         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38226         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38228         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38230         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38232         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
38234         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
38235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
38236         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
38237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38238         Moved ...
38239         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
38240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
38241         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
38242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
38243         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
38244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
38245         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
38246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
38247         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
38248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
38249         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
38250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
38251         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
38252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
38253         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
38254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
38255         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
38256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
38257         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
38258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38259         Moved ...
38260         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
38261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
38262         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
38264         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
38265         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
38266         (libpthread-sysdep_routines): Add elision-related stuff here instead.
38267         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
38268         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
38269         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
38270         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
38271         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
38272         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
38273         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
38274         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
38275         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
38276         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
38277         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
38278         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
38279         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
38280         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
38281         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
38282         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
38283         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
38284         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
38285         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
38286         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
38287         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
38288         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
38289         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
38290         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
38291         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
38292         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
38293         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
38294         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
38296         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
38297         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
38299         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
38300         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
38301         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
38302         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
38303         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
38304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
38305         Moved ...
38306         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
38307         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
38308         Moved ...
38309         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
38310         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
38311         Moved ...
38312         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
38313         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
38314         Moved ...
38315         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
38316         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
38317         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
38318         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
38319         Moved ...
38320         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
38321         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
38322         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
38323         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
38324         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
38325         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
38326         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
38327         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
38328         Moved ...
38329         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
38330         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38331         Moved ...
38332         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38333         ... here.
38334         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
38335         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
38336         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
38337         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
38338         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38339         Moved ...
38340         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38341         ... here.
38342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
38343         Moved ...
38344         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
38345         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
38346         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
38347         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
38348         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
38349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
38350         Moved ...
38351         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
38352         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
38353         Moved ...
38354         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
38355         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
38356         Moved ...
38357         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
38358         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
38359         Moved ...
38360         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
38361         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
38362         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
38363         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
38364         Moved ...
38365         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
38366         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
38367         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
38368         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
38369         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
38370         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
38371         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
38372         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
38373         Moved ...
38374         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
38375         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38376         Moved ...
38377         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38378         ... here.
38379         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
38380         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
38381         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
38382         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
38383         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38384         Moved ...
38385         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38386         ... here.
38387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
38388         Moved ...
38389         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
38390         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
38391         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
38392         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
38393         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
38394         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
38395         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
38396         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
38397         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
38398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
38399         Moved ...
38400         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
38401         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
38402         Moved ...
38403         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
38404         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
38405         Moved ...
38406         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
38407         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
38408         Moved ...
38409         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
38410         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
38411         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
38412         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38413         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38414         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38415         Moved ...
38416         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38417         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38418         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38419         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38420         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38421         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38422         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38423         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38424         Moved ...
38425         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38426         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38427         Moved ...
38428         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38429         ... here.
38430         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38431         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38432         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38433         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38434         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38435         Moved ...
38436         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38437         ... here.
38438         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38439         Moved ...
38440         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38441         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38442         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38443         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38444         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38445         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38446         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38447         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38448         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38449         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38450         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38452         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38453         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38455         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38456         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38458         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38459         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38460         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38461         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38462         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38463         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38464         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38465         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38466         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38467         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38468         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38469         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38470         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38471         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38472         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38473         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38474         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38475         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38476         Moved ...
38477         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38479         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38480         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38481         Moved ...
38482         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38484         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38485         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38486         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38487         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38488         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38489         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38490         Moved ...
38491         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38492         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38493         Moved ...
38494         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38495         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38496         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38497         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38498         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38499         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38500         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38501         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38502         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38503         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38504         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38505         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38506         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38507         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38508         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38509         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38510         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38512         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38513         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38514         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38515         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38516         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
38518         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
38519         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
38520         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
38521         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
38522         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
38523         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
38524         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
38525         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
38526         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
38527         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
38529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
38530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
38532         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
38533         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
38534         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
38535         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
38536         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
38537         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
38538         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
38539         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
38540         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
38541         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
38542         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
38543         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
38544         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
38545         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
38546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38547         Update #include.
38548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
38549         Likewise.
38550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38551         Likewise.
38552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38553         Likewise.
38554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38555         Likewise.
38556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
38557         Likewise.
38558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
38559         Likewise.
38560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38561         Likewise.
38562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
38563         Likewise.
38564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
38565         Likewise.
38566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
38567         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
38568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
38569         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
38570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
38571         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
38572         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
38573         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
38574         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
38575         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
38576         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
38577         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
38578         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
38579         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
38580         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
38582         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
38583         that was previously under [RESET_PID].
38584         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38585         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
38586         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
38588         * sysdeps/i386/nptl/Implies: New file.
38589         * sysdeps/x86_64/nptl/Implies: New file.
38590         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
38591         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
38592         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
38593         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
38595         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
38596         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38597         (__libc_vfork): New strong alias.
38598         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
38599         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
38601         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
38602         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38603         (__libc_vfork): New strong alias.
38604         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
38605         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
38607         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
38608         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38609         (__libc_vfork): New strong alias.
38610         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
38611         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
38612         * nptl/pt-vfork.c: New file.
38613         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
38614         (libpthread: GLIBC_2.20): New version set (empty).
38616 2014-05-14  Will Newton  <will.newton@linaro.org>
38618         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
38619         rather than #if.
38621 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38623         [BZ #16564]
38624         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
38625         arguments with exponent 65 or above.
38626         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
38627         arguments 0x1p113L or above.
38628         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
38629         to arguments 0x1p107L or above.
38630         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
38631         positive arguments with exponent 65 or above.
38632         * math/auto-libm-test-in: Add more tests of log1p.
38633         * math/auto-libm-test-out: Regenerated.
38635         [BZ #16928]
38636         * math/s_cacos.c (__cacos): Ensure zero real part of result from
38637         non-finite arguments is +0.
38638         * math/s_cacosf.c (__cacosf): Likewise.
38639         * math/s_cacosl.c (__cacosl): Likewise.
38640         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
38641         * sysdeps/i386/fpu/libm-test-ulps: Update.
38642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38644         [BZ #16927]
38645         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
38646         value.
38647         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
38648         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
38649         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
38650         for explicit high bit of mantissa when testing for argument equal
38651         to 1.
38652         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
38653         * sysdeps/i386/fpu/libm-test-ulps: Update.
38654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38656         [BZ #16516]
38657         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
38658         (__erf): Scale by 16 instead of 8 in potentially underflowing
38659         case.  Ensure exception if result actually underflows.
38660         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
38661         (__erff): Scale by 16 instead of 8 in potentially underflowing
38662         case.  Ensure exception if result actually underflows.
38663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
38664         (efx8): Remove variable.
38665         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38666         case.  Ensure exception if result actually underflows.
38667         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
38668         (efx8): Remove variable.
38669         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38670         case.  Ensure exception if result actually underflows.
38671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
38672         (efx8): Remove variable.
38673         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38674         case.  Ensure exception if result actually underflows.
38675         * math/auto-libm-test-in: Add more tests of erf.
38676         * math/auto-libm-test-out: Regenerated.
38678 2014-05-14  Andreas Schwab  <schwab@suse.de>
38680         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
38681         Remove code conditionalized on USE___THREAD.
38683         * config.h.in (HAVE_PT_CHOWN): Define as 0.
38684         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
38685         not definedness.
38687 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38689         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
38690         Define unconditionally.
38691         (__ASSUME_O_CLOEXEC): Likewise.
38692         (__ASSUME_SOCK_CLOEXEC): Likewise.
38693         (__ASSUME_IN_NONBLOCK): Likewise.
38694         (__ASSUME_PIPE2): Likewise.
38695         (__ASSUME_EVENTFD2): Likewise.
38696         (__ASSUME_SIGNALFD4): Likewise.
38697         (__ASSUME_DUP3): Likewise.
38698         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38699         (__ASSUME_DUP3): Do not define.
38700         (__ASSUME_EVENTFD2): Likewise.
38701         (__ASSUME_IN_NONBLOCK): Likewise.
38702         (__ASSUME_O_CLOEXEC): Likewise.
38703         (__ASSUME_PIPE2): Likewise.
38704         (__ASSUME_SIGNALFD4): Likewise.
38705         (__ASSUME_SOCK_CLOEXEC): Likewise.
38706         (__ASSUME_UTIMES): Undefine.
38707         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38708         (__ASSUME_UTIMES): Do not define.
38709         (__ASSUME_O_CLOEXEC): Likewise.
38710         (__ASSUME_SOCK_CLOEXEC): Likewise.
38711         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
38712         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
38713         0x020621].
38714         (__ASSUME_PIPE2): Likewise.
38715         (__ASSUME_EVENTFD2): Likewise.
38716         (__ASSUME_SIGNALFD4): Likewise.
38717         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
38718         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
38719         Do not define.
38720         (__ASSUME_EVENTFD2): Likewise.
38721         (__ASSUME_SIGNALFD4): Likewise.
38722         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38723         (__ASSUME_32BITUIDS): Likewise.
38724         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38725         (__ASSUME_IPC64): Likewise.
38726         (__ASSUME_ST_INO_64_BIT): Likewise.
38727         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
38728         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
38729         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38730         (__ASSUME_UTIMES): Do not define.
38731         (__ASSUME_PSELECT): Likewise.
38732         (__ASSUME_PPOLL): Likewise.
38733         (__ASSUME_O_CLOEXEC): Likewise.
38734         (__ASSUME_SOCK_CLOEXEC): Likewise.
38735         (__ASSUME_IN_NONBLOCK): Likewise.
38736         (__ASSUME_PIPE2): Likewise.
38737         (__ASSUME_EVENTFD2): Likewise.
38738         (__ASSUME_SIGNALFD4): Likewise.
38739         (__ASSUME_DUP3): Likewise.
38740         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38741         (__ASSUME_UTIMES): Likewise.
38742         (__ASSUME_O_CLOEXEC): Likewise.
38743         (__ASSUME_SOCK_CLOEXEC): Likewise.
38744         (__ASSUME_IN_NONBLOCK): Likewise.
38745         (__ASSUME_PIPE2): Likewise.
38746         (__ASSUME_EVENTFD2): Likewise.
38747         (__ASSUME_SIGNALFD4): Likewise.
38748         (__ASSUME_DUP3): Likewise.
38749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38750         (__ASSUME_UTIMES): Likewise.
38751         (__ASSUME_O_CLOEXEC): Likewise.
38752         (__ASSUME_SOCK_CLOEXEC): Likewise.
38753         (__ASSUME_IN_NONBLOCK): Likewise.
38754         (__ASSUME_PIPE2): Likewise.
38755         (__ASSUME_EVENTFD2): Likewise.
38756         (__ASSUME_SIGNALFD4): Likewise.
38757         (__ASSUME_DUP3): Likewise.
38758         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
38759         Likewise.
38760         (__ASSUME_UTIMES): Likewise.
38761         (__ASSUME_EVENTFD2): Likewise.
38762         (__ASSUME_SIGNALFD4): Likewise.
38763         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38764         (__ASSUME_O_CLOEXEC): Likewise.
38765         (__ASSUME_SOCK_CLOEXEC): Likewise.
38766         (__ASSUME_IN_NONBLOCK): Likewise.
38767         (__ASSUME_PIPE2): Likewise.
38768         (__ASSUME_EVENTFD2): Likewise.
38769         (__ASSUME_SIGNALFD4): Likewise.
38770         (__ASSUME_DUP3): Likewise.
38771         (__ASSUME_UTIMES): Undefine.
38773         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
38774         feclearexcept.  Remove symbol versioning code.
38775         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
38776         symbol versioning code.
38777         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
38778         symbol versioning code.
38779         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
38780         feupdateenv.  Remove symbol versioning code.
38781         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
38782         fegetexceptflag.  Remove symbol versioning code.
38783         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
38784         fesetexceptflag.  Remove symbol versioning code.
38785         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
38786         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
38787         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
38788         (__posix_fadvise64_l32): Remove prototype.
38789         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
38790         code.
38792 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38794         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
38795         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
38796         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
38797         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
38799 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
38801         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
38802         current working directory
38804 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38806         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
38807         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
38808         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
38809         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
38810         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
38811         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
38812         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
38813         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
38814         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
38815         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
38816         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
38817         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
38818         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
38819         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
38820         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
38821         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
38822         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
38823         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
38824         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
38825         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
38826         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
38827         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
38828         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
38829         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
38830         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
38831         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
38832         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
38833         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
38834         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
38835         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
38836         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
38837         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
38838         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
38839         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
38840         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
38841         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
38842         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
38843         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
38844         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
38845         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
38846         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
38847         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
38849         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
38850         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
38852         * sysdeps/unix/sysv/linux/arm/Makefile
38853         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38854         Add rt-aeabi_unwind_cpp_pr1.
38855         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
38856         Add nptl-aeabi_unwind_cpp_pr1.
38857         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
38858         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
38859         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
38860         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38861         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
38862         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38864         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
38865         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
38866         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
38867         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
38869         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
38870         Deconditionalize the code that was previously under [RESET_PID].
38871         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
38873         * sysdeps/generic/exit-thread.h: New file.
38874         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
38875         * include/unistd.h (__exit_thread): Remove declaration.
38876         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
38877         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
38878         * csu/libc-start.c: Include <exit-thread.h>.
38879         (LIBC_START_MAIN): Pass no argument to __exit_thread.
38880         * nptl/pthread_create.c: Include <exit-thread.h>.
38881         (start_thread): Call __exit_thread in place of __exit_thread_inline.
38882         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
38883         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38884         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38885         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38886         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38887         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38888         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38889         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38890         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38891         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38892         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38893         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38894         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38895         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38896         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38897         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38899 2014-05-13  Andreas Schwab  <schwab@suse.de>
38901         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38903 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38905         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38906         (__ASSUME_UTIMES): Do not condition on kernel version.
38907         (__ASSUME_PSELECT): Define unconditionally.
38908         (__ASSUME_PPOLL): Likewise.
38909         (__ASSUME_ATFCTS): Likewise.
38910         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38911         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38912         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38913         (__ASSUME_UTIMENSAT): Define unconditionally.
38914         (__ASSUME_PRIVATE_FUTEX): Likewise.
38915         (__ASSUME_FALLOCATE): Likewise.
38916         (__ASSUME_O_CLOEXEC): Likewise.
38917         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38918         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38919         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38920         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38921         (__ASSUME_IN_NONBLOCK): Likewise.
38922         (__ASSUME_PIPE2): Likewise.
38923         (__ASSUME_EVENTFD2): Likewise.
38924         (__ASSUME_SIGNALFD4): Likewise.
38925         (__ASSUME_DUP3): Likewise.
38926         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38927         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38928         (__ASSUME_AT_RANDOM): Likewise.
38929         (__ASSUME_PREADV): Likewise.
38930         (__ASSUME_PWRITEV): Likewise.
38931         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38932         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38933         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38934         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38935         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38936         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38937         (__ASSUME_O_CLOEXEC): Define unconditionally.
38938         (__ASSUME_PSELECT): Do not undefine conditionally.
38939         (__ASSUME_PPOLL): Likewise.
38940         (__ASSUME_ATFCTS): Likewise.
38941         (__ASSUME_SET_ROBUST_LIST): Likewise.
38942         (__ASSUME_UTIMENSAT): Likewise.
38943         (__ASSUME_FDATASYNC): Define unconditionally.
38944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38945         (__ASSUME_SIGFRAME_V2): Likewise.
38946         )__ASSUME_EVENTFD2): Likewise.
38947         (__ASSUME_SIGNALFD4): Likewise.
38948         (__ASSUME_PSELECT): Do not undefine conditionally.
38949         (__ASSUME_PPOLL): Likewise.
38950         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38951         (__ASSUME_PSELECT): Define unconditionally.
38952         (__ASSUME_PPOLL): Likewise.
38953         (__ASSUME_O_CLOEXEC): Likewise.
38954         (__ASSUME_SOCK_CLOEXEC): Likewise.
38955         (__ASSUME_IN_NONBLOCK): Likewise.
38956         (__ASSUME_PIPE2): Likewise.
38957         (__ASSUME_EVENTFD2): Likewise.
38958         (__ASSUME_SIGNALFD4): Likewise.
38959         (__ASSUME_DUP3): Likewise.
38960         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38961         (__ASSUME_O_CLOEXEC): Likewise.
38962         (__ASSUME_SOCK_CLOEXEC): Likewise.
38963         (__ASSUME_IN_NONBLOCK): Likewise.
38964         (__ASSUME_PIPE2): Likewise.
38965         (__ASSUME_EVENTFD2): Likewise.
38966         (__ASSUME_SIGNALFD4): Likewise.
38967         (__ASSUME_DUP3): Likewise.
38968         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38969         (__ASSUME_EVENTFD2): Likewise.
38970         (__ASSUME_SIGNALFD4): Likewise.
38971         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38973 2014-05-12  Andreas Schwab  <schwab@suse.de>
38975         [BZ #16932]
38976         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38977         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38978         than maximum RPC packet size.
38979         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38980         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38981         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38982         (_nss_nis_getservbyport_r): Likewise.
38984 2014-05-12  Will Newton  <will.newton@linaro.org>
38986         * malloc/Makefile (tests): Add tst-mallopt.
38987         * malloc/tst-mallopt.c: New file.
38989 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38991         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38992         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38994 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38996         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38997         (tst-tlsmod6.so): Likewise.
38999 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39001         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39003 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39005         [BZ #16064]
39006         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39007         and <dl-procinfo.h>.
39008         (__fegetenv): Save SSE state in envp->__eip if supported.
39009         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39010         envp->__eip if supported.
39011         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39012         and <dl-procinfo.h>.
39013         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39014         __data_offset and __data_selector in environment to 0.  Set SSE
39015         state if supported.
39016         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39017         test-fenv-sse.
39018         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39019         -mfpmath=sse.
39020         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39022 2014-05-09  Will Newton  <will.newton@linaro.org>
39024         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39025         and libc_relro_required for ARM.
39026         * sysdeps/arm/preconfigure: Regenerate.
39028 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39029             Stefan Liebler  <stli@linux.vnet.ibm.com>
39031         * config.make.in (enable-lock-elision): New Makefile variable.
39032         * configure.ac: Likewise.
39033         * configure: Regenerate.
39034         * sysdeps/s390/configure.ac:
39035         Add check for gcc transactions support.
39036         * sysdeps/s390/configure: Regenerate.
39037         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39038         Build elision files if enabled.
39039         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39040         Add lock elision support for s390.
39041         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39042         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39043         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39044         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39045         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39046         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39047         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39048         Likewise.
39049         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39050         Likewise.
39051         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39052         Likewise.
39053         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39054         Likewise.
39055         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39056         (__lll_timedlock_elision, __lll_lock_elision)
39057         (__lll_unlock_elision, __lll_trylock_elision)
39058         (lll_timedlock_elision, lll_lock_elision)
39059         (lll_unlock_elision, lll_trylock_elision): Add.
39060         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39061         (pthread_mutex_t): Add lock elision support for s390.
39063 2014-05-14  Wilco  <wdijkstr@arm.com>
39065         * sysdeps/arm/fclrexcpt.c: Cleanup.
39066         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39067         * sysdeps/arm/feenablxcpt.c: Cleanup.
39068         * sysdeps/arm/fegetenv.c: Cleanup.
39069         * sysdeps/arm/fegetexcept.c: Cleanup.
39070         * sysdeps/arm/fegetround.c: Cleanup.
39071         * sysdeps/arm/feholdexcpt.c: Cleanup.
39072         * sysdeps/arm/fesetenv.c: Cleanup.
39073         * sysdeps/arm/fesetround.c: Cleanup.
39074         * sysdeps/arm/feupdateenv.c: Cleanup.
39075         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39076         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39077         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39078         * sysdeps/arm/ftestexcept.c: Cleanup.
39079         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39080         * sysdeps/arm/setfpucw.c: Cleanup.
39082 2014-05-09  Will Newton  <will.newton@linaro.org>
39084         * sysdeps/arm/armv7/strcmp.S: New file.
39085         * NEWS: Mention addition of ARMv7 optimized strcmp.
39087 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39089         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39090         look for %.ac rather than %.in.
39092         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39093         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39094         * sysdeps/mach/hurd/configure: Regenerated.
39095         * sysdeps/unix/sysv/linux/configure: Regenerated.
39097         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39099 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39101         [BZ# 16922]
39102         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39103         (LONG_SUB): Ditto.
39104         (PTR_SUB): Ditto.
39106 2014-05-07  Andreas Schwab  <schwab@suse.de>
39108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39109         when skipping over non-matching result from nscd.
39111 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39113         [BZ #16876]
39114         * nptl/sockperf.c (client): Check socket return value.
39116         [BZ #16877]
39117         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39118         nscd security class.
39120 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39122         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39123         * sysdeps/arm/unwind.h: ... here.
39125 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39127         [BZ# 16916]
39128         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39129         Define.
39131 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39133         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39134         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39135         multiarch strncpy for PPC64.
39136         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39137         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39139         multiarch optimizations.
39140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39141         (__libc_ifunc_impl_list): Likewise.
39142         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39143         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39144         multiarch stpncpy for PPC64.
39145         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39146         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39148 2014-05-06  Andreas Schwab  <schwab@suse.de>
39150         [BZ #16912]
39151         * gmon/mcount.c (_MCOUNT_DECL): Use
39152         atomic_compare_and_exchange_bool_acq instead of
39153         catomic_compare_and_exchange_bool_acq.
39155 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39157         * elf/Makefile (others, install-bin): Remove pldd.
39158         (pldd-modules): Variable removed.
39159         ($(objpfx)pldd): Target removed.
39160         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39161         (others, install-bin): Append pldd here.
39162         ($(objpfx)pldd): New target.
39164         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39165         to 0, so the first #if test emitted later doesn't see it undefined.
39166         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39167         * sysdeps/gnu/errlist.c: Regenerated.
39169 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39171         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39172         [libc_hidden_builtin_def]: Define to empty value.
39173         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39174         [libc_hidden_builtin_def]: Likewise.
39175         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39176         [libc_hidden_builtin_def]: Likewise.
39177         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39178         [libc_hidden_builtin_def]: Likewise.
39179         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39180         __redirect_memcpy and define ifunc as default hidden symbol.
39181         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39182         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39184 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39186         * locale/iso-4217.def: Reintroduce XDR currency.
39188 2014-05-04  Allan McRae  <allan@archlinux.org>
39190         * po/eo.po: Update Esperanto translation from translation project.
39192 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39194         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39195         and FEATURE_INDEX_MAX to 1.
39196         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39198 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39200         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39201         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39202         * iconvdata/big5.c (ONE_DIRECTION): Define.
39203         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39204         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39205         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39206         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39207         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39208         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39209         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39210         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39211         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39212         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39213         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39214         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39215         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39216         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39217         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39218         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39219         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39220         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39221         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39222         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39223         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39224         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39225         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39226         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39227         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39228         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39229         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39230         * iconvdata/iso646.c (ONE_DIRECTION): Define.
39231         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39232         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39233         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
39234         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
39235         * iconvdata/johab.c (ONE_DIRECTION): Define.
39236         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
39237         * iconvdata/sjis.c (ONE_DIRECTION): Define.
39238         * iconvdata/t.61.c (ONE_DIRECTION): Define.
39239         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
39240         * iconvdata/tscii.c (ONE_DIRECTION): Define.
39241         * iconvdata/uhc.c (ONE_DIRECTION): Define.
39242         * iconvdata/unicode.c (ONE_DIRECTION): Define.
39243         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
39244         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
39245         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
39247 2014-05-01  Roland McGrath  <roland@hack.frob.com>
39249         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
39250         (_IO_JUMPS_OFFSET): Define to 0.
39252         * nptl/sysdeps/pthread/bits/libc-lock.h
39253         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39254         (__libc_lock_define_initialized_recursive): Always define using
39255         initializer.  Modern compilers treat uninitialized (implicit zero) and
39256         explicit zero initializers the same (i.e. put the datum in bss).
39258 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39260         * nscd/nscd-client.h: Include <string.h>.
39262 2014-05-01  David S. Miller  <davem@davemloft.net>
39264         [BZ #16885]
39265         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
39266         multiple zero bytes exist at the end of a string.
39267         Reported by Aurelien Jarno <aurelien@aurel32.net>
39269         * string/test-strcmp.c (check): Add explicit test for situations where
39270         there are multiple zero bytes after the first.
39272 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39274         [BZ #16890]
39275         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
39276         when compiling wprintf.
39277         * stdio-common/tstdiomisc.c (t3): New function.
39278         (main): Call it.
39280 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39282         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
39283         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
39284         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39285         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
39287 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39289         * stdlib/longlong.h: Updated from GCC.
39291 2014-05-01  Will Newton  <will.newton@linaro.org>
39292             Bernard Ogden  <bernie.ogden@linaro.org>
39294         * NEWS: Update fixed bug list.
39296         [BZ #15119]
39297         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
39299 2014-04-30  David S. Miller  <davem@davemloft.net>
39301         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
39302         (libc_feholdexcept_setround_sparc_ctx): New function.
39303         (libc_fesetenv_sparc_ctx): Likewise.
39304         (libc_feupdateenv_sparc_ctx): Likewise.
39305         (libc_feholdsetround_sparc_ctx): Likewise.
39306         (libc_feholdexcept_setround_ctx): Define.
39307         (libc_feholdexcept_setroundf_ctx): Likewise.
39308         (libc_feholdexcept_setroundl_ctx): Likewise.
39309         (libc_fesetenv_ctx): Likewise.
39310         (libc_fesetenvf_ctx): Likewise.
39311         (libc_fesetenvl_ctx): Likewise.
39312         (libc_feupdateenv_ctx): Likewise.
39313         (libc_feupdateenvf_ctx): Likewise.
39314         (libc_feupdateenvl_ctx): Likewise.
39315         (libc_feresetround_ctx): Likewise.
39316         (libc_feresetroundf_ctx): Likewise.
39317         (libc_feresetroundl_ctx): Likewise.
39318         (libc_feholdsetround_ctx): Likewise.
39319         (libc_feholdsetroundf_ctx): Likewise.
39320         (libc_feholdsetroundl_ctx): Likewise.
39322         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39323         with __USE_GNU instead of XOPEN cpp guards.
39325         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
39326         0.
39328         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39329         with XOPEN cpp guards.
39331 2014-04-30  Julian Brown  <julian@codesourcery.com>
39333         [BZ #16888]
39334         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
39335         handling.
39337 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
39339         [BZ #9894]
39340         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
39341         Change to 2.6.32.
39342         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
39343         * sysdeps/unix/sysv/linux/configure: Regenerated.
39344         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
39345         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
39346         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
39347         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
39348         * README: Update reference to required Linux kernel version.
39349         * manual/install.texi (Linux): Update reference to required Linux
39350         kernel headers version.
39351         * INSTALL: Regenerated.
39353         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
39354         header inclusion.
39355         [POSIX] (limits.h): Likewise.
39356         [POSIX] (math.h): Likewise.
39357         [POSIX] (sys/wait.h): Likewise.
39358         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
39359         function.
39360         [POSIX] (stddef.h): Do not allow header inclusion.
39362 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39364         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
39366 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
39368         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
39369         Return immediately after lll_futex_wake.
39371 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39373         [BZ #16791]
39374         * nscd/nscd-client.h (datahead_init_common): Initialize entire
39375         structure.
39376         (datahead_init_pos): Call datahead_init_common early.
39377         (datahead_init_neg): Likewise.
39379         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
39380         datahead_init_neg): New functions.
39381         * nscd/aicache.c (addhstaiX): Use them.
39382         * nscd/grpcache.c (cache_addgr): Likewise.
39383         * nscd/hstcache.c (cache_addhst): Likewise.
39384         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39385         * nscd/netgroupcache.c (do_notfound): Likewise.
39386         (addgetnetgrentX): Likewise.
39387         (addinnetgrX): Likewise.
39388         * nscd/pwdcache.c (cache_addpw): Likewise.
39389         * nscd/servicescache.c (cache_addserv): Likewise.
39391 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39392             Atsushi Onoe  <atsushi@onoe.org>
39394         [BZ #14308]
39395         [BZ #12994]
39396         [BZ #13651]
39397         * resolv/res_query.c (__libc_res_nsearch): Return if at least
39398         one response is valid.
39399         * resolv/res_send.c (send_dg): Check for validity of other
39400         response if the current response is a referral.
39402 2014-04-29  Steve Ellcey  <sellcey@mips.com>
39404         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
39406 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
39408         [BZ #16823]
39409         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
39410         Always divide by positive zero when computing -Inf result.
39411         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39412         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39414 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39416         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39417         FPSCR if value do not change.
39418         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39419         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39420         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39421         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39422         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39423         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39424         function.
39426 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39428         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39429         * sysdeps/unix/sysv/linux/hppa: Move directory from
39430         ports/systeps/unix/sysv/linux/hppa.
39431         * README: Update listing for hppa-*-linux-gnu.
39433 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39435         [BZ #16754]
39436         * manual/stdio.texi (Hook functions): Fix types of stream hook
39437         functions.
39438         [BZ #16854]
39439         * socket/sys/socket.h: Fix typo in comment.
39441 2014-04-28  Wilco  <wdijkstr@arm.com>
39443         * sysdeps/arm/fenv_private.h: New file.
39444         * sysdeps/arm/math_private.h: New file.
39445         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39447 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
39449         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39450         with __int128_t.
39451         (La_x86_64_retval): Likewise.
39453 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
39455         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39456         fpsr if value didn't change.
39457         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39458         to fpcr if value didn't change.
39459         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39460         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39461         fpsr or fpcr if value didn't change.
39462         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39463         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39464         fpcr if value didn't change.
39465         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39466         to fpsr if value didn't change.
39468 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39470         * nptl/tst-sem3.c: Use test-skeleton.c
39471         (main): Rename to do_test.  Use return instead of
39472         exit.
39473         * nptl/tst-sem4.c: Use test-skeleton.c
39474         (main): Rename to do_test.
39476 2014-04-22  David S. Miller  <davem@davemloft.net>
39478         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39479         (struct sigaction): New struct member __glibc_reserved0, change
39480         type of sa_flags to int.
39482 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
39484         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39485         (COUNT_LEADING_ZEROS_0): Define for AArch64.
39487 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39489         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39490         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39492 2014-04-22  Will Newton  <will.newton@linaro.org>
39493             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
39495         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39496         (__longjmp): Add longjmp and longjmp_target SystemTap
39497         probes.
39498         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39499         (__sigsetjmp): Add setjmp SystemTap probe.
39501 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
39503         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39504         match manual order.
39506 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39508         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39510         * sysdeps/powerpc/fpu/fenv_private.h
39511         (libc_feholdexcept_setroundl_ctx): Define to
39512         libc_feholdexcept_setround_ppc_ctx.
39513         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39514         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39515         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39516         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
39518 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39520         * sysdeps/aarch64/math-tests.h: New file.
39522 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
39524         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
39525         New.
39526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39527         Check and set bit_AVX2_Usable.
39528         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
39529         macro.
39530         (bit_AVX2): Likewise.
39531         (index_AVX2_Usable): Likewise.
39532         (CPUID_AVX2): Likewise.
39533         (HAS_AVX2): Likewise.
39535 2014-04-17  Will Newton  <will.newton@linaro.org>
39537         * manual/setjmp.texi (System V contexts): Add note that
39538         calling setcontext on a context created by a call to a
39539         signal handler is undefined.  Update text to note that
39540         setcontext from a signal handler is possible but not
39541         recommended.
39543         [BZ #16629]
39544         * stdlib/tst-setcontext.c: Include signal.h.
39545         (main): Check that the signal stack before and
39546         after swapcontext is the same.
39548         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
39549         Re-implement to restore registers in user code and avoid
39550         rt_sigreturn system call.
39552 2014-04-17  Wilco  <wdijkstr@arm.com>
39554         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
39555         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
39556         * math/test-fenv.c: Skip exception trap tests on targets which only
39557         support non-stop mode.
39559 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39560             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39562         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
39563         (libc_feholdsetround_aarch64_ctx)
39564         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
39565         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
39566         (libc_feresetround_ctx, libc_feresetroundf_ctx)
39567         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
39568         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
39569         (libc_feresetround_noexl_ctx): Define.
39571 2014-04-16  Richard Henderson  <rth@redhat.com>
39573         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
39575         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
39576         unwind tables.
39578         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
39579         const from the non-libc, non-ldso copy.
39581         * sysdeps/alpha/libm-test-ulps: Regenerate.
39583 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
39584             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39586         * sysdeps/aarch64/fpu/math_private.h: New file.
39588 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39590         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39592 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
39594         [BZ #16275]
39595         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
39596         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
39597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
39598         Intel MPX bound registers before _dl_profile_fixup.
39599         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
39600         registers after _dl_profile_fixup.  Save and restore bound
39601         registers bnd0/bnd1 when calling _dl_call_pltexit.
39602         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
39603         (LR_BND_OFFSET): Likewise.
39604         (LRV_BND0_OFFSET): Likewise.
39605         (LRV_BND1_OFFSET): Likewise.
39607 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39609         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
39610         to...
39611         * sysdeps/mach/hurd/i386/tls.h: ... here.
39612         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
39613         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
39614         fields.
39616 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39618         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
39620 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39622         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39624 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39626         [BZ #14770]
39627         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
39628         * sysdeps/s390/configure: Regenerate.
39630         [BZ #16824]
39631         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
39632         Set round-to-nearest internally to reduce error accumulation.
39634 2014-04-16  Alan Modra  <amodra@gmail.com>
39636         [BZ #16740]
39637         [BZ #16619]
39638         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
39639         * math/libm-test.inc (frexp_test_data): Add tests.
39640         * NEWS: Update fixed bug list.
39642 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39644         * benchtests/Makefile: Depend on libraries in build directory.
39645         (bench-math): Separate out math tests.
39646         (bench-pthread): Separate out pthread tests.
39647         (bench): Include math and pthread tests.
39649 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
39651         [BZ #16831]
39652         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
39653         _dl_debug_initialize.
39655         * configure.ac: Remove SELinux header check.
39656         * configure: Regenerate.
39657         * nscd/selinux.c (perms): Array of const char* to permission names.
39658         (nscd_request_avc_has_perm): Call security_deny_unknown to find
39659         default policy. Call string_to_security_class and string_to_av_perm to
39660         translate strings. Enforce default policy and call avs_has_perm with
39661         results of translated strings.
39663 2014-04-13  David S. Miller  <davem@davemloft.net>
39665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39667 2014-04-12  Allan McRae  <allan@archlinux.org>
39669         [BZ #16838]
39670         * manual/string.texi (Collation Functions): Fix qsort argument
39671         order in example.
39672         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39674 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
39676         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
39677         Make the test a no-op if there are no exceptions defined.
39679 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
39681         * elf/Makefile (tests): make tst-dlopen-aout conditional on
39682         enable-hardcoded-path-in-tests
39684 2014-04-11  Will Newton  <will.newton@linaro.org>
39686         * benchtests/Makefile (extra-objs): Add json-lib.o.
39687         (bench-func): Tidy up JSON output.
39688         * benchtests/bench-skeleton.c: Include json-lib.h.
39689         (main): Use JSON library functions to do output of
39690         benchmark results.
39691         * benchtests/bench-timing-type.c (main): Output the
39692         timing type simply, leaving formatting to the user.
39693         * benchtests/json-lib.c: New file.
39694         * benchtests/json-lib.h: Likewise.
39696 2014-04-11  Torvald Riegel  <triegel@redhat.com>
39698         [BZ #15215]
39699         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
39700         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
39701         memory barriers.  Add comments.
39702         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
39703         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
39704         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
39705         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
39706         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
39707         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
39709 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39711         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
39712         * sysdeps/s390/s390-64/configure.ac: ... this ...
39713         * sysdeps/s390/configure.ac: ... to here.
39714         * sysdeps/s390/s390-32/configure: Delete file.
39715         * sysdeps/s390/s390-64/configure: Delete file.
39716         * sysdeps/s390/configure: Regenerate.
39718 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
39720         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
39722 2014-04-11  Will Newton  <will.newton@linaro.org>
39724         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
39725         to zero if it is not defined elsewhere.  (mtrim): Test
39726         the value of MALLOC_DEBUG with #if rather than #ifdef.
39728 2014-04-10 Torvald Riegel  <triegel@redhat.com>
39730         * benchtests/pthread_once-inputs: New file.
39731         * benchtests/pthread_once-source.c: New file.
39732         * benchtests/README: Update documentation.
39734 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
39735             H.J. Lu  <hongjiu.lu@intel.com>
39737         [BZ #16275]
39738         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
39739         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
39740         * sysdeps/x86_64/configure: Regenerated.
39741         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
39742         macro.
39743         (REGISTER_SAVE_RAX): Likewise.
39744         (REGISTER_SAVE_RCX): Likewise.
39745         (REGISTER_SAVE_RDX): Likewise.
39746         (REGISTER_SAVE_RSI): Likewise.
39747         (REGISTER_SAVE_RDI): Likewise.
39748         (REGISTER_SAVE_R8): Likewise.
39749         (REGISTER_SAVE_R9): Likewise.
39750         (REGISTER_SAVE_BND0): Likewise.
39751         (REGISTER_SAVE_BND1): Likewise.
39752         (REGISTER_SAVE_BND2): Likewise.
39753         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
39754         bound registers when calling _dl_fixup.
39756 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39758         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
39759         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
39760         of its definition.
39761         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
39762         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
39763         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
39764         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
39765         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
39766         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
39767         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
39769 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
39771         [BZ #15514]
39772         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
39773         pathconf(_PC_NAME_MAX).
39775 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39777         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
39778         Remove macro usage.
39779         (__PTHREAD_SPINS): Move definition to ...
39780         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39781         (__PTHREAD_SPINS): ... here.
39782         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39783         (__PTHREAD_SPIN): Likewise.
39784         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
39785         (__PTHREAD_SPIN): Likewise.
39786         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
39787         (__PTHREAD_SPIN): Likewise.
39788         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
39789         (__PTHREAD_SPIN): Likewise.
39790         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39791         (__PTHREAD_SPIN): Likewise.
39792         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39793         (__PTHREAD_SPIN): Likewise.
39794         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
39795         (__PTHREAD_SPIN): Likewise.
39796         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39797         (__PTHREAD_SPIN): Likewise.
39798         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39799         (__PTHREAD_SPIN): Likewise.
39800         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39801         (__PTHREAD_SPIN): Likewise.
39802         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39803         (__PTHREAD_SPIN): Likewise.
39804         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
39805         (__PTHREAD_SPIN): Likewise.
39807         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
39808         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
39809         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
39810         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
39811         imply folder.
39812         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
39813         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
39814         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
39815         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
39816         correct imply path.
39817         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
39818         strlen symbol for non multi-arch builds.
39819         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
39820         missing hidden_def and weak_alias.
39822 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
39824         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
39826 2014-04-07  Will Newton  <will.newton@linaro.org>
39828         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
39829         and contents.  [!_LIBC] Remove #ifndef and contents.
39830         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
39831         * string/memccpy.c (__memccpy): Use ANSI prototype.
39832         * string/memfrob.c (memfrob): Likewise.
39833         * string/strcoll.c (STRCOLL): Likewise.
39834         * string/strlen.c (strlen): Likewise.
39835         * string/strtok.c (STRTOK): Likewise.
39836         * string/strcat.c: Remove unused #include of memcopy.h.
39837         (strcat): Use ANSI prototype.
39838         * string/strchr.c: Remove unused #include of memcopy.h.
39839         (strchr): Use ANSI prototype.
39840         * string/strcmp.c: Remove unused #include of memcopy.h.
39841         (strcmp): Use ANSI prototype.
39842         * string/strcpy.c: Remove unused #include of memcopy.h.
39843         (strcpy): Use ANSI prototype.
39845 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39847         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
39848         * config.make.in (config-extra-cppflags): Set it from
39849         libc_extra_cppflags.
39850         * configure.ac (libc_extra_cflags): Make it accumulate over
39851         configure fragments.
39852         (libc_extra_cppflags): New flag.
39853         * configure. Regenerate.
39854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39855         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
39856         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
39857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
39859         [BZ #16815]
39860         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
39861         result for FE_DOWNWARD rounding mode.
39862         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
39863         Likewise.
39864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39866 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
39868         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
39869         in function argument name.
39871 2014-04-03  David Svoboda  <svoboda@cert.org>
39873         [BZ #5666]
39874         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
39875         explicitly.
39877 2014-04-03  Roland McGrath  <roland@hack.frob.com>
39879         * elf/dl-unmap-segments.h: New file.
39880         * sysdeps/generic/ldsodefs.h
39881         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
39882         * elf/dl-close.c: Include <dl-unmap-segments.h>.
39883         * elf/dl-fptr.c: Likewise.
39884         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39885         * sysdeps/aarch64/tlsdesc.c: Likewise.
39886         * sysdeps/arm/tlsdesc.c: Likewise.
39887         * sysdeps/i386/tlsdesc.c: Likewise.
39888         * sysdeps/tile/dl-runtime.c: Likewise.
39889         * sysdeps/x86_64/tlsdesc.c: Likewise.
39890         * elf/dl-load.h: New file.
39891         * elf/dl-load.c: Include it.
39892         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39893         Macros moved to dl-load.h.
39894         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39895         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39896         Use _dl_unmap_segments in place of __munmap.
39897         Break out segment-mapping loop into ...
39898         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39900 2014-04-03  Will Newton  <will.newton@linaro.org>
39902         * elf/dl-lookup.c (do_lookup_x): Remove comment
39903         referring to nested function and move variable
39904         declarations down to before first use.
39906 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39908         [BZ #16799]
39909         [BZ #16800]
39910         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39911         with 0 numerator.
39912         * math/s_catanf.c (__catanf): Likewise.
39913         * math/s_catanh.c (__catanh): Likewise.
39914         * math/s_catanhf.c (__catanhf): Likewise.
39915         * math/s_catanhl.c (__catanhl): Likewise.
39916         * math/s_catanl.c (__catanl): Likewise.
39917         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39918         by positive zero when computing -Inf result.
39919         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39920         (catanh_test): Likewise.
39921         * sysdeps/i386/fpu/libm-test-ulps: Update.
39922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39924         [BZ #16789]
39925         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39926         instead of using underflowing value in computing result.
39927         * math/s_clog10.c (__clog10): Likewise.
39928         * math/s_clog10f.c (__clog10f): Likewise.
39929         * math/s_clog10l.c (__clog10l): Likewise.
39930         * math/s_clogf.c (__clogf): Likewise.
39931         * math/s_clogl.c (__clogl): Likewise.
39932         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39933         (clog10_test): Likewise.
39934         * sysdeps/i386/fpu/libm-test-ulps: Update.
39935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39937 2014-04-02  Alan Modra  <amodra@gmail.com>
39939         [BZ #16739]
39940         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39941         output when value is near a power of two.  Use int64_t for lx and
39942         remove casts.  Use decimal rather than hex exponent constants.
39943         Don't use long double multiplication when double will suffice.
39944         * math/libm-test.inc (nextafter_test_data): Add tests.
39945         * NEWS: Add 16739 and 16786 to bug list.
39947         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39949         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39951 2014-04-01  Will Newton  <will.newton@linaro.org>
39953         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39954         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39956 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39958         [BZ #13347]
39959         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39960         * nptl/tst-setuid2.c: New file.
39961         * nptl/Makefile (xtests): Add tst-setuid2.
39963 2014-04-01  Alan Modra  <amodra@gmail.com>
39965         [BZ #16786]
39966         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39968 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39970         [BZ #6803]
39971         [BZ #6804]
39972         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39973         set errno as appropriate.
39974         * math/w_scalbf.c (__scalbf): Likewise.
39975         * math/w_scalbl.c (__scalbl): Likewise.
39976         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39977         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39978         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39979         Add more NaN tests.
39981         [BZ #16349]
39982         * math/w_atan2.c: Include <errno.h>.
39983         (__atan2): Set errno for result underflowing to zero.
39984         * math/w_atan2f.c: Include <errno.h>.
39985         (__atan2f): Set errno for result underflowing to zero.
39986         * math/w_atan2l.c: Include <errno.h>.
39987         (__atan2l): Set errno for result underflowing to zero.
39988         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39989         tests.
39990         * math/auto-libm-test-out: Regenerated.
39992 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39994         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39995         Encode instruction correctly in little endian.
39996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39997         Likewise.
39998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39999         Likewise.
40000         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40001         Likewise.
40002         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40003         Likewise.
40005 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40007         [BZ #9894]
40008         * sysdeps/unix/sysv/linux/kernel-features.h
40009         [__sparc__ && !__arch64__ && !__sparc_v9__]
40010         (__ASSUME_SET_ROBUST_LIST): Do not define.
40011         [__sparc__ && !__arch64__ && !__sparc_v9__]
40012         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40013         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40014         Likewise.
40015         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40016         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40017         (__ASSUME_REQUEUE_PI): Likewise.
40018         (__ASSUME_SET_ROBUST_LIST): Likewise.
40019         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40020         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40021         Undefine.
40022         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40023         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40024         Likewise.
40025         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40026         Likewise.
40027         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40028         Likewise.
40029         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40030         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40031         Undefine.
40032         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40033         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40034         Likewise.
40036         [BZ #16648]
40037         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40038         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40039         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40041 2014-03-31  Will Newton  <will.newton@linaro.org>
40043         * benchtests/Makefile (bench): Add ffs and ffsll to list
40044         of tests.
40045         * benchtests/ffs-inputs: New file.
40046         * benchtests/ffsll-inputs: Likewise.
40048 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40050         [BZ #16770]
40051         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40052         too large before casting to int.
40053         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40054         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40055         * math/libm-test.inc (scalb_test_data): Add more tests.
40057 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40059         * benchtests/Makefile (DETAILED_OPT): New make option.
40060         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40061         set.
40062         * benchtests/bench-skeleton.c: Include stdbool.h.
40063         (main): Store and print timings per input.
40064         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40065         member to each argument value.
40066         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40067         (_print_arg_data): Initialize per-input timing to 0.
40069         * benchtests/Makefile (timing-type): New binary.
40070         (bench-clean): Also remove bench-timing-type.
40071         (bench): New target for timing-type.
40072         (bench-func): Print output in JSON format.
40073         * benchtests/bench-skeleton.c (main): Print output in JSON
40074         format.
40075         * benchtests/bench-timing-type.c: New file.
40076         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40077         (TIMING_PRINT_STATS): Remove.
40078         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40079         name separately.
40081         * benchtests/bench-modf.c: Remove.
40082         * benchtests/modf-inputs: New inputs file.
40084 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40086         [BZ #16362]
40087         * math/s_clog10.c (M_PI_LOG10E): New macro.
40088         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40089         imaginary parts are 0.
40090         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40091         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40092         imaginary parts are 0.
40093         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40094         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40095         imaginary parts are 0.
40096         * math/libm-test.inc (clog10_test_data): Update expected results
40097         for when real and imaginary parts are 0.
40099 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40101         * elf/dl-load.c: Finish conversion of __builtin_expect into
40102         __glibc_{un}likely.
40104 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40106         [BZ #16348]
40107         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40108         1+x for argument with exponent below -67.
40109         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40110         Likewise.
40111         * math/auto-libm-test-in: Add more tests of exp.
40112         * math/auto-libm-test-out: Regenerated.
40114 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40116         [BZ #16759]
40117         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40118         (nscd_getnetgrent): Use it.
40120         [BZ #16760]
40121         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40122         of stpcpy.
40124 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40126         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40127         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40128         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40129         (lll_robust_unlock): Remove out of line section. Use cfi
40130         intrinsics.
40131         (LLL_STUB_UNWIND_INFO*): Remove.
40132         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40133         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40134         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40135         (lll_robust_unlock): Remove out of line section. Use cfi
40136         intrinsics.
40137         (LLL_STUB_UNWIND_INFO*): Remove.
40139 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40141         [BZ #16758]
40142         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40143         blank values.
40145 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40147         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40149 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40151         [BZ #16198]
40152         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40153         fnstenv.
40154         * math/test-fenv-preserve.c: New file.
40155         * math/Makefile (tests): Add test-fenv-preserve.
40157 2014-03-26  Will Newton <will.newton@linaro.org>
40159         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40161 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40163         * scripts/versionlist.awk: Partition the version sets and emit all
40164         GLIBC_* (sorted) before all others (sorted).
40166 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40168         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40169         GLIBC_2.2.5 version.
40171 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40173         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40174         calls.
40176         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40177         previous change.
40179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40181 2014-03-25  Andreas Schwab  <schwab@suse.de>
40183         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40184         label to be used after in6ailist is initialized.
40186 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40188         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40189         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40191 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40193         [BZ #16357]
40194         [BZ #16599]
40195         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40196         min_plus_half.
40197         (fp_formats): Update initializers.
40198         (init_fp_formats): Initialize new field.
40199         (output_for_one_input_case): Allow underflow for results up to
40200         min_plus_half.
40201         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40202         * math/auto-libm-test-in: Don't mark some underflows from asin and
40203         atanh as spurious.
40204         * math/auto-libm-test-out: Regenerated.
40205         * sysdeps/i386/fpu/libm-test-ulps: Update.
40206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40208 2014-03-25  Andreas Schwab  <schwab@suse.de>
40210         * libio/Makefile (tst-ftell-partial-wide-ENV)
40211         (tst-ftell-active-handler-ENV): Define.
40213 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40215         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40217 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40219         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40221 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40223         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40224         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40225         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40227 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40229         [BZ #16634]
40230         * elf/dl-load.c (open_verify): Add mode parameter.
40231         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40232         (open_path): Change from boolean 'secure' to complete flag 'mode'
40233         (_dl_map_object): Adjust.
40234         * elf/Makefile (tests): Add tst-dlopen-aout.
40235         * elf/tst-dlopen-aout.c: New test.
40237 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
40239         [BZ #16714]
40240         * sysdeps/unix/sysv/linux/s390/bits/stat.h
40241         (struct stat): Rename member pad0 to __glibc_reserved0.
40243         [BZ #16712]
40244         * sysdeps/s390/s390-32/bits/wordsize.h
40245         (__WORDSIZE32_SIZE_ULONG): New define.
40246         * sysdeps/s390/s390-64/bits/wordsize.h
40247         (__WORDSIZE32_SIZE_ULONG): Likewise.
40248         * sysdeps/generic/stdint.h (SIZE_MAX):
40249         Define as UL if __WORDSIZE32_SIZE_ULONG.
40251         [BZ #16713]
40252         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
40253         (__glibc_reserved0): New variable.
40254         (sa_flags): Change type to int.
40256         * posix/Makefile (before-compile): Use += before-compile instead
40257         of a :=.
40259         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40260         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40262 2014-03-20  Andreas Schwab  <schwab@suse.de>
40264         [BZ #16743]
40265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
40266         non-matching result from nscd.
40268 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40270         * scripts/bench.py: Moved to ...
40271         * benchtests/scripts/bench.py: ... here.
40272         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
40274 2014-03-24  Andreas Schwab  <schwab@suse.de>
40276         [BZ #16002]
40277         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
40278         alloca_account and account alloca use for struct in6ailist.
40280 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40282         [BZ #16284]
40283         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40284         rounding mode to recompute results that overflow to infinity or
40285         underflow to zero.
40286         * math/auto-libm-test-in: Don't mark tests as expected to fail for
40287         bug 16284.
40288         * math/auto-libm-test-out: Regenerated.
40289         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
40290         (ccosh_test): Likewise.
40291         (csin_test_data): Use plus_oflow.
40292         (csin_test): Use ALL_RM_TEST.
40293         (csinh_test_data): Use plus_oflow.
40294         (csinh_test): Use ALL_RM_TEST.
40295         * sysdeps/i386/fpu/libm-test-ulps: Update.
40296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40298 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
40300         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
40301         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
40302         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
40304         [BZ #16731]
40305         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
40306         when x - 1 is zero.
40307         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
40308         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
40309         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40310         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
40311         argument is 1.
40312         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40313         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
40314         zero.
40315         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
40316         * sysdeps/i386/fpu/libm-test-ulps: Update.
40317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40319 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40321         * scripts/bench.pl: Remove file.
40322         * scripts/bench.py: New benchmark script.
40323         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
40324         * benchtests/README: Mention python dependency.
40325         * scripts/pylintrc: New file.
40326         * scripts/pylint: New file.
40328         * bits/mathdef.h: Use #ifdef instead of #if.
40329         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
40330         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40331         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
40332         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40333         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
40334         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40336 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40337             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40339         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
40340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
40341         and strpbrk-ppc64 objects.
40342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40343         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
40344         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
40345         multiarch strpbrk for POWER7.
40346         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
40347         multiarch strpbrk for PPC64.
40348         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
40349         ifunc selector.
40350         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
40351         strpbrk for POWER7.
40353 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40355         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
40356         (atan_test): Likewise.
40357         (atanh_test_data): Use NO_TEST_INLINE for two tests.
40358         (atanh_test): Use ALL_RM_TEST.
40359         (atan2_test_data): Likewise.
40360         (cabs_test): Likewise.
40361         (cacosh_test): Likewise.
40362         (carg_test): Likewise.
40363         (casin_test): Likewise.
40364         (casinh_test): Likewise.
40365         (cbrt_test): Likewise.
40366         (csqrt_test): Likewise.
40367         (erf_test): Likewise.
40368         (erfc_test): Likewise.
40369         (pow10_test): Likewise.
40370         (exp2_test): Likewise.
40371         (hypot_test): Likewise.
40372         (j0_test): Likewise.
40373         (j1_test): Likewise.
40374         (lgamma_test): Likewise.
40375         (gamma_test): Likewise.
40376         (sincos_test): Likewise.
40377         (tanh_test): Likewise.
40378         (y0_test): Likewise.
40379         (y1_test): Likewise.
40380         * sysdeps/i386/fpu/libm-test-ulps: Update.
40381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40383 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40385         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
40386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
40387         and strcspn-ppc64 objects.
40388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40389         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
40390         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
40391         multiarch strcspn for POWER7.
40392         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
40393         multiarch strcspn for PPC64.
40394         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
40395         ifunc selector.
40396         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
40397         strcspn for POWER7.
40399 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40401         * math/gen-libm-test.pl (generate_testfile): Expect only function
40402         name as argument to AUTO_TESTS_* and pass results for all rounding
40403         modes to parse_args.
40404         (parse_auto_input): Separate inputs of automatic tests from
40405         outputs before storing in %auto_tests.
40406         * math/libm-test.inc (acos_test_data): Update call to
40407         AUTO_TESTS_f_f.
40408         (acos_test): Use ALL_RM_TEST.
40409         (acos_tonearest_test_data): Remove.
40410         (acos_test_tonearest): Likewise.
40411         (acos_towardzero_test_data): Likewise.
40412         (acos_test_towardzero): Likewise.
40413         (acos_downward_test_data): Likewise.
40414         (acos_test_downward): Likewise.
40415         (acos_upward_test_data): Likewise.
40416         (acos_test_upward): Likewise.
40417         (acosh_test_data): Update call to AUTO_TESTS_f_f.
40418         (asin_test_data): Likewise.
40419         (asin_test): Use ALL_RM_TEST.
40420         (asin_tonearest_test_data): Remove.
40421         (asin_test_tonearest): Likewise.
40422         (asin_towardzero_test_data): Likewise.
40423         (asin_test_towardzero): Likewise.
40424         (asin_downward_test_data): Likewise.
40425         (asin_test_downward): Likewise.
40426         (asin_upward_test_data): Likewise.
40427         (asin_test_upward): Likewise.
40428         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40429         (atan_test_data): Likewise.
40430         (atanh_test_data): Likewise.
40431         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40432         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40433         (carg_test_data): Likewise.
40434         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40435         (ccos_test_data): Update call to AUTO_TESTS_c_c.
40436         (ccosh_test_data): Likewise.
40437         (cexp_test_data): Likewise.
40438         (clog_test_data): Likewise.
40439         (clog10_test_data): Likewise.
40440         (cos_test_data): Update call to AUTO_TESTS_f_f.
40441         (cos_test): Use ALL_RM_TEST.
40442         (cos_tonearest_test_data): Remove.
40443         (cos_test_tonearest): Likewise.
40444         (cos_towardzero_test_data): Likewise.
40445         (cos_test_towardzero): Likewise.
40446         (cos_downward_test_data): Likewise.
40447         (cos_test_downward): Likewise.
40448         (cos_upward_test_data): Likewise.
40449         (cos_test_upward): Likewise.
40450         (cosh_test_data): Update call to AUTO_TESTS_f_f.
40451         (cosh_test): Use ALL_RM_TEST.
40452         (cosh_tonearest_test_data): Remove.
40453         (cosh_test_tonearest): Likewise.
40454         (cosh_towardzero_test_data): Likewise.
40455         (cosh_test_towardzero): Likewise.
40456         (cosh_downward_test_data): Likewise.
40457         (cosh_test_downward): Likewise.
40458         (cosh_upward_test_data): Likewise.
40459         (cosh_test_upward): Likewise.
40460         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40461         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40462         (ctan_test_data): Likewise.
40463         (ctan_test): Use ALL_RM_TEST.
40464         (ctan_tonearest_test_data): Remove.
40465         (ctan_test_tonearest): Likewise.
40466         (ctan_towardzero_test_data): Likewise.
40467         (ctan_test_towardzero): Likewise.
40468         (ctan_downward_test_data): Likewise.
40469         (ctan_test_downward): Likewise.
40470         (ctan_upward_test_data): Likewise.
40471         (ctan_test_upward): Likewise.
40472         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40473         (ctanh_test): Use ALL_RM_TEST.
40474         (ctanh_tonearest_test_data): Remove.
40475         (ctanh_test_tonearest): Likewise.
40476         (ctanh_towardzero_test_data): Likewise.
40477         (ctanh_test_towardzero): Likewise.
40478         (ctanh_downward_test_data): Likewise.
40479         (ctanh_test_downward): Likewise.
40480         (ctanh_upward_test_data): Likewise.
40481         (ctanh_test_upward): Likewise.
40482         (erf_test_data): Update call to AUTO_TESTS_f_f.
40483         (erfc_test_data): Likewise.
40484         (exp_test_data): Likewise.
40485         (exp_test): Use ALL_RM_TEST.
40486         (exp_tonearest_test_data): Remove.
40487         (exp_test_tonearest): Likewise.
40488         (exp_towardzero_test_data): Likewise.
40489         (exp_test_towardzero): Likewise.
40490         (exp_downward_test_data): Likewise.
40491         (exp_test_downward): Likewise.
40492         (exp_upward_test_data): Likewise.
40493         (exp_test_upward): Likewise.
40494         (exp10_test_data): Update call to AUTO_TESTS_f_f.
40495         (exp10_test): Use ALL_RM_TEST.
40496         (exp10_tonearest_test_data): Remove.
40497         (exp10_test_tonearest): Likewise.
40498         (exp10_towardzero_test_data): Likewise.
40499         (exp10_test_towardzero): Likewise.
40500         (exp10_downward_test_data): Likewise.
40501         (exp10_test_downward): Likewise.
40502         (exp10_upward_test_data): Likewise.
40503         (exp10_test_upward): Likewise.
40504         (exp2_test_data): Update call to AUTO_TESTS_f_f.
40505         (expm1_test_data): Likewise.
40506         (expm1_test): Use ALL_RM_TEST.
40507         (expm1_tonearest_test_data): Remove.
40508         (expm1_test_tonearest): Likewise.
40509         (expm1_towardzero_test_data): Likewise.
40510         (expm1_test_towardzero): Likewise.
40511         (expm1_downward_test_data): Likewise.
40512         (expm1_test_downward): Likewise.
40513         (expm1_upward_test_data): Likewise.
40514         (expm1_test_upward): Likewise.
40515         (fma_test_data): Update call to AUTO_TESTS_fff_f.
40516         (fma_test): Use ALL_RM_TEST.
40517         (fma_towardzero_test_data): Remove.
40518         (fma_test_towardzero): Likewise.
40519         (fma_downward_test_data): Likewise.
40520         (fma_test_downward): Likewise.
40521         (fma_upward_test_data): Likewise.
40522         (fma_test_upward): Likewise.
40523         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
40524         (j0_test_data): Update call to AUTO_TESTS_f_f.
40525         (j1_test_data): Likewise.
40526         (jn_test_data): Update call to AUTO_TESTS_if_f.
40527         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
40528         (log_test_data): Update call to AUTO_TESTS_f_f.
40529         (log10_test_data): Likewise.
40530         (log1p_test_data): Likewise.
40531         (log2_test_data): Likewise.
40532         (pow_test_data): Update call to AUTO_TESTS_ff_f.
40533         (pow_tonearest_test_data): Likewise.
40534         (sin_test_data): Update call to AUTO_TESTS_f_f.
40535         (sin_test): Use ALL_RM_TEST.
40536         (sin_tonearest_test_data): Remove.
40537         (sin_test_tonearest): Likewise.
40538         (sin_towardzero_test_data): Likewise.
40539         (sin_test_towardzero): Likewise.
40540         (sin_downward_test_data): Likewise.
40541         (sin_test_downward): Likewise.
40542         (sin_upward_test_data): Likewise.
40543         (sin_test_upward): Likewise.
40544         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
40545         (sinh_test_data): Update call to AUTO_TESTS_f_f.
40546         (sinh_test): Use ALL_RM_TEST.
40547         (sinh_tonearest_test_data): Remove.
40548         (sinh_test_tonearest): Likewise.
40549         (sinh_towardzero_test_data): Likewise.
40550         (sinh_test_towardzero): Likewise.
40551         (sinh_downward_test_data): Likewise.
40552         (sinh_test_downward): Likewise.
40553         (sinh_upward_test_data): Likewise.
40554         (sinh_test_upward): Likewise.
40555         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
40556         (sqrt_test): Use ALL_RM_TEST.
40557         (sqrt_tonearest_test_data): Remove.
40558         (sqrt_test_tonearest): Likewise.
40559         (sqrt_towardzero_test_data): Likewise.
40560         (sqrt_test_towardzero): Likewise.
40561         (sqrt_downward_test_data): Likewise.
40562         (sqrt_test_downward): Likewise.
40563         (sqrt_upward_test_data): Likewise.
40564         (sqrt_test_upward): Likewise.
40565         (tan_test_data): Update call to AUTO_TESTS_f_f.
40566         (tan_test): Use ALL_RM_TEST.
40567         (tan_tonearest_test_data): Remove.
40568         (tan_test_tonearest): Likewise.
40569         (tan_towardzero_test_data): Likewise.
40570         (tan_test_towardzero): Likewise.
40571         (tan_downward_test_data): Likewise.
40572         (tan_test_downward): Likewise.
40573         (tan_upward_test_data): Likewise.
40574         (tan_test_upward): Likewise.
40575         (tanh_test_data): Update call to AUTO_TESTS_f_f.
40576         (tgamma_test_data): Likewise.
40577         (y0_test_data): Likewise.
40578         (y1_test_data): Likewise.
40579         (yn_test_data): Update call to AUTO_TESTS_if_f.
40580         (main): Do not call removed functions.
40582 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40584         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
40585         (ldexp_test_data): Remove.
40586         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
40587         scalbn_test_data.
40588         (scalb_test): Use ALL_RM_TEST.
40590 2014-03-19  Andreas Schwab  <schwab@suse.de>
40592         * nscd/nscd.service: Also invalidate netgroup cache on reload.
40594 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40596         [BZ #16649]
40597         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40598         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
40599         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
40600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40601         (__ASSUME_PREADV): Undefine.
40602         (__ASSUME_PWRITEV): Likewise.
40604 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40606         * bits/mman-linux.h: Add comment about non-Linux use.
40607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
40608         bits/mman-linux.h resting place.
40610         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
40611         * bits/mman-linux.h: ... here.
40613 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40615         * conform/conformtest.pl: Add standard definition when calling C
40616         preprocessor on data files.
40617         (checknamespace): Remove unused variable.
40619 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40621         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
40622         minus_oflow, plus_uflow and minus_uflow in expected results.
40623         * math/libm-test.inc (scalbn_test_data): Add more tests of
40624         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
40625         minus_uflow.
40626         (scalbn_test): Use ALL_RM_TEST.
40627         (scalbln_test_data): Add more tests of negative arguments.  Use
40628         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
40629         (scalbln_test): Use ALL_RM_TEST.
40631 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40633         * scripts/abilist.awk: Ignore symbols marked with .hidden.
40635 2014-03-18  Will Newton  <will.newton@linaro.org>
40637         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
40638         inaccurate comment.
40640 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40642         * Makerules [!subdir] (check-abi): Exit with error status if a
40643         test failed.
40645 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40647         * math/libm-test.inc (nearbyint_test_data): Include all tests used
40648         for rint.  Include results for all rounding modes.
40649         (nearbyint_test): Use ALL_RM_TEST.
40650         (rint_test_data): Include all tests used for nearbyint.
40652 2014-03-17  Will Newton  <will.newton@linaro.org>
40654         * nptl/sysdeps/pthread/pthread.h: Revert previous
40655         change.
40657         * sysdeps/generic/ldsodefs.h: Revert previous
40658         change.
40660         * libio/genops.c: Revert previous change.
40661         * libio/libioP.h: Likewise.
40662         * stdio-common/vfprintf.c: Likewise.
40664         * sysdeps/generic/math_private.h: Revert previous
40665         change.
40667         * sysdeps/generic/math_private.h: Check whether
40668         HAVE_RM_CTX is defined with #ifdef rather
40669         than #if.
40671         * argp/argp-fmtstream.h: Check whether
40672         __STRICT_ANSI__ is defined with #ifdef rather
40673         than #if.
40674         * argp/argp.h: Likewise.
40676         * libio/genops.c: Check whether
40677         _IO_JUMPS_OFFSET is defined with #ifdef rather
40678         than #if.
40679         * libio/libioP.h: Likewise.
40680         * stdio-common/vfprintf.c: Likewise.
40682         * sysdeps/generic/ldsodefs.h: Check whether
40683         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
40684         than #if.
40686         * nptl/sysdeps/pthread/pthread.h: Check
40687         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
40688         its value.
40690 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40692         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
40693         setting O_APPEND.
40694         * libio/tst-ftell-active-handler.c (do_append_test): Add a
40695         test case.
40697         [BZ #16680]
40698         * libio/fileops.c (_IO_file_open): Seek to end of file but
40699         don't cache the offset.
40700         (get_file_offset): Remove function.
40701         (do_ftell): Use cached offset when available.
40702         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
40703         don't cache the offset.
40704         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
40705         case.
40706         (do_one_test): Call it.
40707         (do_ftell_test): Fix up expected old offset for a+ mode.
40708         * libio/wfileops.c (do_ftell_wide): Used cached offset when
40709         available.
40711         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
40712         up test status with function return status.
40713         (do_write_test): Likewise.
40714         (do_append_test): Likewise.
40716         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
40717         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
40718         Remove.
40720 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40722         * math/gen-libm-test.pl (parse_args): Handle results specified for
40723         each rounding mode separately.
40724         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
40725         tests and results from lrint_tonearest_test_data,
40726         lrint_towardzero_test_data, lrint_downward_test_data and
40727         lrint_upward_test_data.
40728         (lrint_test): Use ALL_RM_TEST.
40729         (lrint_tonearest_test_data): Remove.
40730         (lrint_test_tonearest): Likewise.
40731         (lrint_towardzero_test_data): Likewise.
40732         (lrint_test_towardzero): Likewise.
40733         (lrint_downward_test_data): Likewise.
40734         (lrint_test_downward): Likewise.
40735         (lrint_upward_test_data): Likewise.
40736         (lrint_test_upward): Likewise.
40737         (llrint_test_data): Merge in per-rounding-mode tests and results
40738         from llrint_tonearest_test_data, llrint_towardzero_test_data,
40739         llrint_downward_test_data and llrint_upward_test_data.
40740         (llrint_test): Use ALL_RM_TEST.
40741         (llrint_tonearest_test_data): Remove.
40742         (llrint_test_tonearest): Likewise.
40743         (llrint_towardzero_test_data): Likewise.
40744         (llrint_test_towardzero): Likewise.
40745         (llrint_downward_test_data): Likewise.
40746         (llrint_test_downward): Likewise.
40747         (llrint_upward_test_data): Likewise.
40748         (llrint_test_upward): Likewise.
40749         (rint_test_data): Merge in per-rounding-mode tests and results
40750         from rint_tonearest_test_data, rint_towardzero_test_data,
40751         rint_downward_test_data and rint_upward_test_data.  Add
40752         per-rounding-mode results for tests not in those arrays.
40753         (rint_test): Use ALL_RM_TEST.
40754         (rint_tonearest_test_data): Remove.
40755         (rint_test_tonearest): Likewise.
40756         (rint_towardzero_test_data): Likewise.
40757         (rint_test_towardzero): Likewise.
40758         (rint_downward_test_data): Likewise.
40759         (rint_test_downward): Likewise.
40760         (rint_upward_test_data): Likewise.
40761         (rint_test_upward): Likewise.
40762         (main): Don't call removed functions.
40764 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40766         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
40767         "Compiled on ..." crapola.  It is anti-useful.
40769 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
40771         * scripts/evaluate-test.sh: Handle fourth argument to determine
40772         whether test run should stop on failure.
40773         * Makeconfig (stop-on-test-failure): New variable.
40774         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
40775         $(stop-on-test-failure).
40776         * Makefile (tests): Give a summary of results from testing and
40777         exit with failure status if they include an ERROR or FAIL.
40778         (xtests): Likewise.
40779         * manual/install.texi (Configuring and compiling): Mention
40780         stop-on-test-failure=y.
40781         * INSTALL: Regenerated.
40783 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40785         * scripts/versionlist.awk: New file.
40786         * Makerules [$(build-shared) = yes]
40787         (postclean-generated): Add Versions.def, not Versions.def.v and
40788         Versions.def.v.i.
40789         ($(common-objpfx)Versions.def.v.i): Target removed.
40790         ($(common-objpfx)Versions.def): New target.
40791         ($(common-objpfx)Versions.all): Depend on that rather that
40792         $(common-objpfx)Versions.def.v.
40793         * Versions.def: File removed.
40795         * Makeconfig (+gccwarn): Add -Wundef.
40796         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
40797         a dl-sysdep.h breaking its contract.
40798         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
40799         * include/stackinfo.h: New file.
40800         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
40801         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
40802         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
40803         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
40804         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
40805         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
40806         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40807         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40808         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40809         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40810         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40811         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
40812         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40813         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40814         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40816 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40818         [BZ #16707]
40819         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
40820         implementation.
40821         * math/libm-test.inc (round_test_data): Add more tests.
40823         [BZ #16706]
40824         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
40825         implementation.
40826         * math/libm-test.inc (nearbyint_test_data): Add more tests.
40828         [BZ #16701]
40829         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
40830         implementation.
40831         * math/libm-test.inc (ceil_test_data): Add more tests.
40833         * math/libm-test.inc (trunc_test_data): Add more tests related to
40834         BZ#16414.
40836 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40838         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
40839         with #if rather than #ifdef.
40840         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
40842 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
40844         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
40845         first.  Disable AVX-512 GCC support if assembler doesn't support
40846         it.
40847         * sysdeps/x86_64/configure: Regenerated.
40849 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
40851         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
40852         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
40853         (__old_pthread_attr_setstack): Likewise.
40854         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
40855         [!_STACK_GROWS_DOWN]: Likewise.
40857 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
40859         * config.make.in (have-bash2): Delete.
40860         * configure.ac (libc_cv_have_bash2): Delete.
40861         * configure: Regenerate.
40862         * elf/Makefile (common-ldd-rewrite): Rename to ...
40863         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
40864         (sh-ldd-rewrite): Delete.
40865         (bash-ldd-rewrite): Delete.
40866         (have-bash2): Delete checks.
40867         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
40868         ldd-rewrite.
40870         * config.make.in (have-ksh): Delete.
40871         (KSH): Delete.
40872         * configure.ac (libc_cv_have_ksh): Delete.
40873         * configure: Regenerate.
40875         * elf/Makefile: Delete $(have-ksh) check.
40876         ($(objpfx)sotruss): Change KSH to BASH.
40877         * elf/sotruss.ksh: Rename to ...
40878         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
40879         function style to match POSIX.  Drop ksh vim mode setting.
40881         * manual/time.texi (Specifying the Time Zone with TZ): Change
40882         Tuesday to Thursday.
40884         * debug/tst-longjmp_chk2.c: Update header comment.
40885         (stackoverflow_handler): Add comment.  Call assert on pass value.
40887 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40889         [BZ #16194]
40890         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40891         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40892         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40893         (La_x86_64_vector): Add zmm.
40894         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40895         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40896         ($(objpfx)tst-audit10): New target.
40897         ($(objpfx)tst-audit10.out): Likewise.
40898         (tst-audit10-ENV): New.
40899         (AVX512-CFLAGS): Likewise.
40900         (CFLAGS-tst-audit10.c): Likewise.
40901         (CFLAGS-tst-auditmod10a.c): Likewise.
40902         (CFLAGS-tst-auditmod10b.c): Likewise.
40903         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40904         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40905         * sysdeps/x86_64/configure: Regenerated.
40906         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40907         AVX-512 zmm register support.
40908         (_dl_x86_64_save_sse): Likewise.
40909         (_dl_x86_64_restore_sse): Likewise.
40910         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40911         size vector registers.
40912         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40913         (ZMM_SIZE): Likewise.
40914         * sysdeps/x86_64/tst-audit10.c: New file.
40915         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40916         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40918 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40920         * configure.ac (HAVE_EHDR_START): New check.
40921         * configure: Regenerated.
40922         * config.h.in (HAVE_EHDR_START): New #undef.
40923         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40924         assuming the lowest-addressed segment maps the start of the file.
40926 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40928         * INSTALL: Regenerated.
40930 2014-03-13  Will Newton  <will.newton@linaro.org>
40932         * manual/setjmp.texi (System V contexts): Improve
40933         clarity and grammar of documentation.
40935 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40937         [BZ #16381]
40938         * elf/Makefile (tests): Add tst-pie2.
40939         (tests-pie): Add tst-pie2.
40940         * elf/tst-pie2.c: New file.
40941         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40942         for ET_EXEC.
40943         * elf/rtld.c (map_doit): Load executable as lt_executable.
40944         (dl_main): Likewise.
40946 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40948         [BZ #16642]
40949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40950         (__ASSUME_PSELECT): Undefine.
40952 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40954         [BZ #16689]
40955         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40956         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40957         static build.
40958         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40959         selector for static builds.
40961 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40963         [BZ #16695]
40964         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40965         key in the buffer.
40967 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40969         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40970         IFUNC selector for static builds.
40972 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40974         * sysdeps/mips/math_private.h [__mips_hard_float]
40975         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40976         libc_feresetround_mips_ctx.
40977         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40978         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40979         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40981         [BZ #16677]
40982         * math/s_nextafter.c (__nextafter): Do not return value from
40983         overflowing computation.
40984         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40985         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40986         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40987         Likewise.
40988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40989         Likewise.
40990         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40991         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40993 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40995         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40996         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40997         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40998         the new mov targetting sp.
41000 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41002         [BZ #16683]
41003         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41004         Define it for static builds as well.
41005         (NO_BZERO_IMPL): Likewise.
41007 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41009         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41010         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41011         multiarch strspn for PPC64.
41012         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41013         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41015         (__libc_ifunc_impl_list): Likewise.
41016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41017         multiarch optimizations
41018         * string/strspn.c (strspn): Using macro to redefine symbol name.
41020 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41021             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41023         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41024         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41025         multiarch strncat for PPC64.
41026         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41027         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41029         (__libc_ifunc_impl_list): Likewise.
41030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41031         multiarch optimizations
41033 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41035         [BZ #16639]
41036         * nscd/nscd.service: Make service type forking.
41038 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41040         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41041         sign in non default rounding modes.
41042         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41044 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41046         * math/libm-test.inc (ALL_RM_TEST): New macro.
41047         (ceil_test): Use ALL_RM_TEST.
41048         (cimag_test): Likewise.
41049         (conj_test): Likewise.
41050         (copysign_test): Likewise.
41051         (cproj_test): Likewise.
41052         (creal_test): Likewise.
41053         (fabs_test): Likewise.
41054         (floor_test): Likewise.
41055         (fmax_test): Likewise.
41056         (fmin_test): Likewise.
41057         (fmod_test): Likewise.
41058         (fpclassify_test): Likewise.
41059         (frexp_test): Likewise.
41060         (ilogb_test): Likewise.
41061         (isfinite_test): Likewise.
41062         (finite_test): Likewise.
41063         (isgreater_test): Likewise.
41064         (isgreaterequal_test): Likewise.
41065         (isinf_test): Likewise.
41066         (isless_test): Likewise.
41067         (islessequal_test): Likewise.
41068         (islessgreater_test): Likewise.
41069         (isnan_test): Likewise.
41070         (isnormal_test): Likewise.
41071         (issignaling_test): Likewise.
41072         (isunordered_test): Likewise.
41073         (logb_test): Likewise.
41074         (logb_downward_test_data): Remove.
41075         (logb_test_downward): Likewise.
41076         (lround_test): Use ALL_RM_TEST.
41077         (llround_test): Likewise.
41078         (modf_test): Likewise.
41079         (nexttoward_test): Likewise.
41080         (remainder_test): Likewise.
41081         (drem_test): Likewise.
41082         (remainder_tonearest_test_data): Likewise.
41083         (remainder_test_tonearest): Likewise.
41084         (drem_test_tonearest): Likewise.
41085         (remainder_towardzero_test_data): Likewise.
41086         (remainder_test_towardzero): Likewise.
41087         (drem_test_towardzero): Likewise.
41088         (remainder_downward_test_data): Likewise.
41089         (remainder_test_downward): Likewise.
41090         (drem_test_downward): Likewise.
41091         (remainder_upward_test_data): Likewise.
41092         (remainder_test_upward): Likewise.
41093         (drem_test_upward): Likewise.
41094         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41095         (round_test): Use ALL_RM_TEST.
41096         (signbit_test): Likewise.
41097         (trunc_test): Likewise.
41098         (significand_test): Likewise.
41099         (main): Don't call removed functions.
41101 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41103         [BZ #16674]
41104         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41105         || __USE_XOPEN2K8].
41106         (ILL_ILLOPN): Likewise.
41107         (ILL_ILLADR): Likewise.
41108         (ILL_ILLTRP): Likewise.
41109         (ILL_PRVOPC): Likewise.
41110         (ILL_PRVREG): Likewise.
41111         (ILL_COPROC): Likewise.
41112         (ILL_BADSTK): Likewise.
41113         (FPE_INTDIV): Likewise.
41114         (FPE_INTOVF): Likewise.
41115         (FPE_FLTDIV): Likewise.
41116         (FPE_FLTOVF): Likewise.
41117         (FPE_FLTUND): Likewise.
41118         (FPE_FLTRES): Likewise.
41119         (FPE_FLTINV): Likewise.
41120         (FPE_FLTSUB): Likewise.
41121         (SEGV_MAPERR): Likewise.
41122         (SEGV_ACCERR): Likewise.
41123         (BUS_ADRALN): Likewise.
41124         (BUS_ADRERR): Likewise.
41125         (BUS_OBJERR): Likewise.
41126         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41127         (TRAP_TRACE): Likewise.
41128         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41129         __USE_XOPEN2K8].
41130         (CLD_KILLED): Likewise.
41131         (CLD_DUMPED): Likewise.
41132         (CLD_TRAPPED): Likewise.
41133         (CLD_STOPPED): Likewise.
41134         (CLD_CONTINUED): Likewise.
41135         (POLL_IN): Likewise.
41136         (POLL_OUT): Likewise.
41137         (POLL_MSG): Likewise.
41138         (POLL_ERR): Likewise.
41139         (POLL_PRI): Likewise.
41140         (POLL_HUP): Likewise.
41141         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41142         Likewise.
41143         (ILL_ILLOPN): Likewise.
41144         (ILL_ILLADR): Likewise.
41145         (ILL_ILLTRP): Likewise.
41146         (ILL_PRVOPC): Likewise.
41147         (ILL_PRVREG): Likewise.
41148         (ILL_COPROC): Likewise.
41149         (ILL_BADSTK): Likewise.
41150         (FPE_INTDIV): Likewise.
41151         (FPE_INTOVF): Likewise.
41152         (FPE_FLTDIV): Likewise.
41153         (FPE_FLTOVF): Likewise.
41154         (FPE_FLTUND): Likewise.
41155         (FPE_FLTRES): Likewise.
41156         (FPE_FLTINV): Likewise.
41157         (FPE_FLTSUB): Likewise.
41158         (SEGV_MAPERR): Likewise.
41159         (SEGV_ACCERR): Likewise.
41160         (BUS_ADRALN): Likewise.
41161         (BUS_ADRERR): Likewise.
41162         (BUS_OBJERR): Likewise.
41163         (BUS_MCEERR_AR): Likewise.
41164         (BUS_MCEERR_AO): Likewise.
41165         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41166         (TRAP_TRACE): Likewise.
41167         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41168         __USE_XOPEN2K8].
41169         (CLD_KILLED): Likewise.
41170         (CLD_DUMPED): Likewise.
41171         (CLD_TRAPPED): Likewise.
41172         (CLD_STOPPED): Likewise.
41173         (CLD_CONTINUED): Likewise.
41174         (POLL_IN): Likewise.
41175         (POLL_OUT): Likewise.
41176         (POLL_MSG): Likewise.
41177         (POLL_ERR): Likewise.
41178         (POLL_PRI): Likewise.
41179         (POLL_HUP): Likewise.
41180         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41181         (ILL_ILLOPN): Likewise.
41182         (ILL_ILLADR): Likewise.
41183         (ILL_ILLTRP): Likewise.
41184         (ILL_PRVOPC): Likewise.
41185         (ILL_PRVREG): Likewise.
41186         (ILL_COPROC): Likewise.
41187         (ILL_BADSTK): Likewise.
41188         (FPE_INTDIV): Likewise.
41189         (FPE_INTOVF): Likewise.
41190         (FPE_FLTDIV): Likewise.
41191         (FPE_FLTOVF): Likewise.
41192         (FPE_FLTUND): Likewise.
41193         (FPE_FLTRES): Likewise.
41194         (FPE_FLTINV): Likewise.
41195         (FPE_FLTSUB): Likewise.
41196         (SEGV_MAPERR): Likewise.
41197         (SEGV_ACCERR): Likewise.
41198         (BUS_ADRALN): Likewise.
41199         (BUS_ADRERR): Likewise.
41200         (BUS_OBJERR): Likewise.
41201         (BUS_MCEERR_AR): Likewise.
41202         (BUS_MCEERR_AO): Likewise.
41203         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41204         (TRAP_TRACE): Likewise.
41205         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41206         __USE_XOPEN2K8].
41207         (CLD_KILLED): Likewise.
41208         (CLD_DUMPED): Likewise.
41209         (CLD_TRAPPED): Likewise.
41210         (CLD_STOPPED): Likewise.
41211         (CLD_CONTINUED): Likewise.
41212         (POLL_IN): Likewise.
41213         (POLL_OUT): Likewise.
41214         (POLL_MSG): Likewise.
41215         (POLL_ERR): Likewise.
41216         (POLL_PRI): Likewise.
41217         (POLL_HUP): Likewise.
41218         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41219         Likewise.
41220         (ILL_ILLOPN): Likewise.
41221         (ILL_ILLADR): Likewise.
41222         (ILL_ILLTRP): Likewise.
41223         (ILL_PRVOPC): Likewise.
41224         (ILL_PRVREG): Likewise.
41225         (ILL_COPROC): Likewise.
41226         (ILL_BADSTK): Likewise.
41227         (ILL_BADIADDR): Likewise.
41228         (ILL_BREAK): Likewise.
41229         (FPE_INTDIV): Likewise.
41230         (FPE_INTOVF): Likewise.
41231         (FPE_FLTDIV): Likewise.
41232         (FPE_FLTOVF): Likewise.
41233         (FPE_FLTUND): Likewise.
41234         (FPE_FLTRES): Likewise.
41235         (FPE_FLTINV): Likewise.
41236         (FPE_FLTSUB): Likewise.
41237         (FPE_DECOVF): Likewise.
41238         (FPE_DECDIV): Likewise.
41239         (FPE_DECERR): Likewise.
41240         (FPE_INVASC): Likewise.
41241         (FPE_INVDEC): Likewise.
41242         (SEGV_MAPERR): Likewise.
41243         (SEGV_ACCERR): Likewise.
41244         (SEGV_PSTKOVF): Likewise.
41245         (BUS_ADRALN): Likewise.
41246         (BUS_ADRERR): Likewise.
41247         (BUS_OBJERR): Likewise.
41248         (BUS_MCEERR_AR): Likewise.
41249         (BUS_MCEERR_AO): Likewise.
41250         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41251         (TRAP_TRACE): Likewise.
41252         (TRAP_BRANCH): Likewise.
41253         (TRAP_HWBKPT): Likewise.
41254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41255         __USE_XOPEN2K8].
41256         (CLD_KILLED): Likewise.
41257         (CLD_DUMPED): Likewise.
41258         (CLD_TRAPPED): Likewise.
41259         (CLD_STOPPED): Likewise.
41260         (CLD_CONTINUED): Likewise.
41261         (POLL_IN): Likewise.
41262         (POLL_OUT): Likewise.
41263         (POLL_MSG): Likewise.
41264         (POLL_ERR): Likewise.
41265         (POLL_PRI): Likewise.
41266         (POLL_HUP): Likewise.
41267         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
41268         (ILL_ILLOPN): Likewise.
41269         (ILL_ILLADR): Likewise.
41270         (ILL_ILLTRP): Likewise.
41271         (ILL_PRVOPC): Likewise.
41272         (ILL_PRVREG): Likewise.
41273         (ILL_COPROC): Likewise.
41274         (ILL_BADSTK): Likewise.
41275         (FPE_INTDIV): Likewise.
41276         (FPE_INTOVF): Likewise.
41277         (FPE_FLTDIV): Likewise.
41278         (FPE_FLTOVF): Likewise.
41279         (FPE_FLTUND): Likewise.
41280         (FPE_FLTRES): Likewise.
41281         (FPE_FLTINV): Likewise.
41282         (FPE_FLTSUB): Likewise.
41283         (SEGV_MAPERR): Likewise.
41284         (SEGV_ACCERR): Likewise.
41285         (BUS_ADRALN): Likewise.
41286         (BUS_ADRERR): Likewise.
41287         (BUS_OBJERR): Likewise.
41288         (BUS_MCEERR_AR): Likewise.
41289         (BUS_MCEERR_AO): Likewise.
41290         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41291         (TRAP_TRACE): Likewise.
41292         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41293         __USE_XOPEN2K8].
41294         (CLD_KILLED): Likewise.
41295         (CLD_DUMPED): Likewise.
41296         (CLD_TRAPPED): Likewise.
41297         (CLD_STOPPED): Likewise.
41298         (CLD_CONTINUED): Likewise.
41299         (POLL_IN): Likewise.
41300         (POLL_OUT): Likewise.
41301         (POLL_MSG): Likewise.
41302         (POLL_ERR): Likewise.
41303         (POLL_PRI): Likewise.
41304         (POLL_HUP): Likewise.
41305         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
41306         (ILL_ILLOPN): Likewise.
41307         (ILL_ILLADR): Likewise.
41308         (ILL_ILLTRP): Likewise.
41309         (ILL_PRVOPC): Likewise.
41310         (ILL_PRVREG): Likewise.
41311         (ILL_COPROC): Likewise.
41312         (ILL_BADSTK): Likewise.
41313         (FPE_INTDIV): Likewise.
41314         (FPE_INTOVF): Likewise.
41315         (FPE_FLTDIV): Likewise.
41316         (FPE_FLTOVF): Likewise.
41317         (FPE_FLTUND): Likewise.
41318         (FPE_FLTRES): Likewise.
41319         (FPE_FLTINV): Likewise.
41320         (FPE_FLTSUB): Likewise.
41321         (SEGV_MAPERR): Likewise.
41322         (SEGV_ACCERR): Likewise.
41323         (BUS_ADRALN): Likewise.
41324         (BUS_ADRERR): Likewise.
41325         (BUS_OBJERR): Likewise.
41326         (BUS_MCEERR_AR): Likewise.
41327         (BUS_MCEERR_AO): Likewise.
41328         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41329         (TRAP_TRACE): Likewise.
41330         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41331         __USE_XOPEN2K8].
41332         (CLD_KILLED): Likewise.
41333         (CLD_DUMPED): Likewise.
41334         (CLD_TRAPPED): Likewise.
41335         (CLD_STOPPED): Likewise.
41336         (CLD_CONTINUED): Likewise.
41337         (POLL_IN): Likewise.
41338         (POLL_OUT): Likewise.
41339         (POLL_MSG): Likewise.
41340         (POLL_ERR): Likewise.
41341         (POLL_PRI): Likewise.
41342         (POLL_HUP): Likewise.
41343         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
41344         (ILL_ILLOPN): Likewise.
41345         (ILL_ILLADR): Likewise.
41346         (ILL_ILLTRP): Likewise.
41347         (ILL_PRVOPC): Likewise.
41348         (ILL_PRVREG): Likewise.
41349         (ILL_COPROC): Likewise.
41350         (ILL_BADSTK): Likewise.
41351         (FPE_INTDIV): Likewise.
41352         (FPE_INTOVF): Likewise.
41353         (FPE_FLTDIV): Likewise.
41354         (FPE_FLTOVF): Likewise.
41355         (FPE_FLTUND): Likewise.
41356         (FPE_FLTRES): Likewise.
41357         (FPE_FLTINV): Likewise.
41358         (FPE_FLTSUB): Likewise.
41359         (SEGV_MAPERR): Likewise.
41360         (SEGV_ACCERR): Likewise.
41361         (BUS_ADRALN): Likewise.
41362         (BUS_ADRERR): Likewise.
41363         (BUS_OBJERR): Likewise.
41364         (BUS_MCEERR_AR): Likewise.
41365         (BUS_MCEERR_AO): Likewise.
41366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41367         (TRAP_TRACE): Likewise.
41368         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41369         __USE_XOPEN2K8].
41370         (CLD_KILLED): Likewise.
41371         (CLD_DUMPED): Likewise.
41372         (CLD_TRAPPED): Likewise.
41373         (CLD_STOPPED): Likewise.
41374         (CLD_CONTINUED): Likewise.
41375         (POLL_IN): Likewise.
41376         (POLL_OUT): Likewise.
41377         (POLL_MSG): Likewise.
41378         (POLL_ERR): Likewise.
41379         (POLL_PRI): Likewise.
41380         (POLL_HUP): Likewise.
41381         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
41382         (ILL_ILLOPN): Likewise.
41383         (ILL_ILLADR): Likewise.
41384         (ILL_ILLTRP): Likewise.
41385         (ILL_PRVOPC): Likewise.
41386         (ILL_PRVREG): Likewise.
41387         (ILL_COPROC): Likewise.
41388         (ILL_BADSTK): Likewise.
41389         (ILL_DBLFLT): Likewise.
41390         (ILL_HARDWALL): Likewise.
41391         (FPE_INTDIV): Likewise.
41392         (FPE_INTOVF): Likewise.
41393         (FPE_FLTDIV): Likewise.
41394         (FPE_FLTOVF): Likewise.
41395         (FPE_FLTUND): Likewise.
41396         (FPE_FLTRES): Likewise.
41397         (FPE_FLTINV): Likewise.
41398         (FPE_FLTSUB): Likewise.
41399         (SEGV_MAPERR): Likewise.
41400         (SEGV_ACCERR): Likewise.
41401         (BUS_ADRALN): Likewise.
41402         (BUS_ADRERR): Likewise.
41403         (BUS_OBJERR): Likewise.
41404         (BUS_MCEERR_AR): Likewise.
41405         (BUS_MCEERR_AO): Likewise.
41406         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41407         (TRAP_TRACE): Likewise.
41408         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41409         __USE_XOPEN2K8].
41410         (CLD_KILLED): Likewise.
41411         (CLD_DUMPED): Likewise.
41412         (CLD_TRAPPED): Likewise.
41413         (CLD_STOPPED): Likewise.
41414         (CLD_CONTINUED): Likewise.
41415         (POLL_IN): Likewise.
41416         (POLL_OUT): Likewise.
41417         (POLL_MSG): Likewise.
41418         (POLL_ERR): Likewise.
41419         (POLL_PRI): Likewise.
41420         (POLL_HUP): Likewise.
41421         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41422         (ILL_ILLOPN): Likewise.
41423         (ILL_ILLADR): Likewise.
41424         (ILL_ILLTRP): Likewise.
41425         (ILL_PRVOPC): Likewise.
41426         (ILL_PRVREG): Likewise.
41427         (ILL_COPROC): Likewise.
41428         (ILL_BADSTK): Likewise.
41429         (FPE_INTDIV): Likewise.
41430         (FPE_INTOVF): Likewise.
41431         (FPE_FLTDIV): Likewise.
41432         (FPE_FLTOVF): Likewise.
41433         (FPE_FLTUND): Likewise.
41434         (FPE_FLTRES): Likewise.
41435         (FPE_FLTINV): Likewise.
41436         (FPE_FLTSUB): Likewise.
41437         (SEGV_MAPERR): Likewise.
41438         (SEGV_ACCERR): Likewise.
41439         (BUS_ADRALN): Likewise.
41440         (BUS_ADRERR): Likewise.
41441         (BUS_OBJERR): Likewise.
41442         (BUS_MCEERR_AR): Likewise.
41443         (BUS_MCEERR_AO): Likewise.
41444         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41445         (TRAP_TRACE): Likewise.
41446         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41447         __USE_XOPEN2K8].
41448         (CLD_KILLED): Likewise.
41449         (CLD_DUMPED): Likewise.
41450         (CLD_TRAPPED): Likewise.
41451         (CLD_STOPPED): Likewise.
41452         (CLD_CONTINUED): Likewise.
41453         (POLL_IN): Likewise.
41454         (POLL_OUT): Likewise.
41455         (POLL_MSG): Likewise.
41456         (POLL_ERR): Likewise.
41457         (POLL_PRI): Likewise.
41458         (POLL_HUP): Likewise.
41459         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41460         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41462         [BZ #16670]
41463         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41464         before #include of <time.h>.
41465         [!__USE_XOPEN2K] (__need_timespec): Likewise.
41466         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41467         (test-xfail-UNIX98/sched.h/conform): Likewise.
41469 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41471         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41472         error absence of trapping exception support.
41473         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41475 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41477         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41478         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41479         * timezone/Makefile (testdata): Move definition above include of
41480         Rules.
41481         (test-zones): New variable.
41482         (tests-special): Add zone files.
41483         (build-testdata): Use $(evaluate-test).
41485         * elf/Makefile (tests-special): Rename tests to end with .out.
41486         ($(objpfx)noload-mem): Likewise.
41487         ($(objpfx)tst-leaks1-mem): Likewise.
41488         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41489         * iconv/Makefile (xtests-special): Change test-iconvconfig to
41490         $(objpfx)test-iconvconfig.out.
41491         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
41492         set -e inside subshell and redirect output to file.
41493         * iconvdata/Makefile (generated): Rename tests to end with .out.
41494         Correct type.
41495         (tests-special): Rename tests to end with .out.
41496         ($(objpfx)mtrace-tst-loading): Likewise.
41497         * intl/Makefile (generated): Likewise.
41498         (tests-special): Likewise.
41499         ($(objpfx)mtrace-tst-gettext): Likewise.
41500         * misc/Makefile (generated): Likewise.
41501         (tests-special): Likewise.
41502         ($(objpfx)tst-error1-mem): Likewise.
41503         * nptl/Makefile (tests-special): Likewise.
41504         ($(objpfx)tst-stack3-mem): Likewise.
41505         (generated): Likewise.
41506         * posix/Makefile (generated): Likewise.
41507         (tests-special): Likewise.
41508         (xtests-special): Likewise.
41509         ($(objpfx)tst-fnmatch-mem): Likewise.
41510         ($(objpfx)bug-regex2-mem): Likewise.
41511         ($(objpfx)bug-regex14-mem): Likewise.
41512         ($(objpfx)bug-regex21-mem): Likewise.
41513         ($(objpfx)bug-regex31-mem): Likewise.
41514         ($(objpfx)tst-vfork3-mem): Likewise.
41515         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41516         ($(objpfx)tst-pcre-mem): Likewise.
41517         ($(objpfx)tst-boost-mem): Likewise.
41518         ($(objpfx)bug-ga2-mem): Likewise.
41519         ($(objpfx)bug-glob2-mem): Likewise.
41520         * resolv/Makefile (generate): Likewise.
41521         (tests-special): Likewise.
41522         (xtests-special): Likewise.
41523         (generated): Likewise.
41524         ($(objpfx)mtrace-tst-leaks): Likewise.
41525         ($(objpfx)mtrace-tst-leaks2): Likewise.
41527         * scripts/merge-test-results.sh: New file.
41528         * Makefile (tests-special-notdir): New variable.
41529         (tests): Run merge-test-results.sh.
41530         (xtests): Likewise.
41531         * Rules (tests-special-notdir): New variable.
41532         (xtests-special-notdir): Likewise.
41533         (tests): Run merge-test-results.sh
41534         (xtests): Likewise.
41536         * Makeconfig (test-xfail-name): New variable.
41537         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
41538         compute variable name for expected failures.
41539         * conform/Makefile (conformtest-headers-data): New variable.
41540         (conformtest-standards): Likewise.
41541         (conformtest-headers-ISO): Likewise.
41542         (conformtest-headers-ISO99): Likewise.
41543         (conformtest-headers-ISO11): Likewise.
41544         (conformtest-headers-POSIX): Likewise.
41545         (conformtest-headers-XPG3): Likewise.
41546         (conformtest-headers-XPG4): Likewise.
41547         (conformtest-headers-UNIX98): Likewise.
41548         (conformtest-headers-XOPEN2K): Likewise.
41549         (conformtest-headers-POSIX2008): Likewise.
41550         (conformtest-headers-XOPEN2K8): Likewise.
41551         (conformtest-header-list-base): Likewise.
41552         (conformtest-header-list-tests): Likewise.
41553         (conformtest-header-base): Likewise.
41554         (conformtest-header-tests): Likewise.
41555         (tests-special): Add $(conformtest-header-list-tests).  If
41556         [$(fast-check) && !$(cross-compiling)], add
41557         $(conformtest-header-tests) instead of
41558         $(objpfx)run-conformtest.out.
41559         (generated): Add $(conformtest-header-list-base).  If
41560         [$(fast-check) && !$(cross-compiling)], add
41561         $(conformtest-header-base).  Remove previous setting.
41562         ($(conformtest-header-list-tests)): New target.
41563         (test-xfail-run-conformtest): Remove variable.
41564         ($(objpfx)run-conformtest.out): Remove target.
41565         (test-xfail-ISO11/complex.h/conform): New variable.
41566         (test-xfail-ISO11/stdalign.h/conform): Likewise.
41567         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
41568         (test-xfail-XPG3/varargs.h/conform): Likewise.
41569         (test-xfail-XPG4/varargs.h/conform): Likewise.
41570         (test-xfail-UNIX98/varargs.h/conform): Likewise.
41571         (test-xfail-XPG4/ndbm.h/conform): Likewise.
41572         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
41573         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
41574         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
41575         (test-xfail-XPG3/fcntl.h/conform): Likewise.
41576         (test-xfail-XPG3/ftw.h/conform): Likewise.
41577         (test-xfail-XPG3/grp.h/conform): Likewise.
41578         (test-xfail-XPG3/langinfo.h/conform): Likewise.
41579         (test-xfail-XPG3/limits.h/conform): Likewise.
41580         (test-xfail-XPG3/pwd.h/conform): Likewise.
41581         (test-xfail-XPG3/search.h/conform): Likewise.
41582         (test-xfail-XPG3/signal.h/conform): Likewise.
41583         (test-xfail-XPG3/stdio.h/conform): Likewise.
41584         (test-xfail-XPG3/stdlib.h/conform): Likewise.
41585         (test-xfail-XPG3/string.h/conform): Likewise.
41586         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
41587         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
41588         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
41589         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
41590         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
41591         (test-xfail-XPG3/sys/types.h/conform): Likewise.
41592         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
41593         (test-xfail-XPG3/termios.h/conform): Likewise.
41594         (test-xfail-XPG3/time.h/conform): Likewise.
41595         (test-xfail-XPG3/unistd.h/conform): Likewise.
41596         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
41597         (test-xfail-XPG4/fcntl.h/conform): Likewise.
41598         (test-xfail-XPG4/langinfo.h/conform): Likewise.
41599         (test-xfail-XPG4/netdb.h/conform): Likewise.
41600         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
41601         (test-xfail-XPG4/signal.h/conform): Likewise.
41602         (test-xfail-XPG4/stdio.h/conform): Likewise.
41603         (test-xfail-XPG4/stdlib.h/conform): Likewise.
41604         (test-xfail-XPG4/stropts.h/conform): Likewise.
41605         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
41606         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
41607         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
41608         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
41609         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
41610         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
41611         (test-xfail-XPG4/sys/time.h/conform): Likewise.
41612         (test-xfail-XPG4/sys/types.h/conform): Likewise.
41613         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
41614         (test-xfail-XPG4/termios.h/conform): Likewise.
41615         (test-xfail-XPG4/ucontext.h/conform): Likewise.
41616         (test-xfail-XPG4/unistd.h/conform): Likewise.
41617         (test-xfail-XPG4/utmpx.h/conform): Likewise.
41618         (test-xfail-POSIX/sched.h/conform): Likewise.
41619         (test-xfail-POSIX/signal.h/conform): Likewise.
41620         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41621         (test-xfail-POSIX/tar.h/conform): Likewise.
41622         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
41623         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
41624         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
41625         (test-xfail-UNIX98/netdb.h/conform): Likewise.
41626         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
41627         (test-xfail-UNIX98/sched.h/conform): Likewise.
41628         (test-xfail-UNIX98/signal.h/conform): Likewise.
41629         (test-xfail-UNIX98/stdio.h/conform): Likewise.
41630         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
41631         (test-xfail-UNIX98/stropts.h/conform): Likewise.
41632         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
41633         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
41634         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
41635         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
41636         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
41637         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
41638         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
41639         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
41640         (test-xfail-UNIX98/unistd.h/conform): Likewise.
41641         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
41642         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
41643         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
41644         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
41645         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
41646         (test-xfail-XOPEN2K/math.h/conform): Likewise.
41647         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
41648         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
41649         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
41650         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
41651         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
41652         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
41653         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
41654         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
41655         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
41656         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
41657         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
41658         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
41659         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
41660         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
41661         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
41662         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
41663         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
41664         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
41665         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
41666         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
41667         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
41668         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
41669         (test-xfail-POSIX2008/signal.h/conform): Likewise.
41670         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
41671         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
41672         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
41673         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
41674         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
41675         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
41676         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
41677         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
41678         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
41679         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
41680         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
41681         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
41682         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
41683         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
41684         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
41685         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
41686         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
41687         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
41688         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
41689         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
41690         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
41691         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
41692         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
41693         (conformtest-cc-flags): Likewise.
41694         ($(conformtest-header-tests): New target.
41695         * conform/check-header-lists.sh: New file.
41696         * conform/run-conformtest.sh: Remove.
41698         * conform/conformtest.pl: Allow ' and \ in values given for
41699         constants.
41700         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
41701         inclusion.
41702         [POSIX] (sys/types.h): Likewise.
41703         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
41704         inclusion.
41705         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
41706         inclusion.
41707         * conform/data/signal.h-data (SIGIO): Remove expectation.
41708         [XPG3] (SIGBUS): Do not expect.
41709         [POSIX || XPG3] (SIGPOLL): Likewise.
41710         [POSIX || XPG3] (SIGPROF): Likewise.
41711         [POSIX || XPG3] (SIGSYS): Likewise.
41712         [XPG3] (SIGTRAP): Likewise.
41713         [POSIX || XPG3] (SIGURG): Likewise.
41714         [POSIX || XPG3] (SIGVTALRM): Likewise.
41715         [POSIX || XPG3] (SIGXCPU): Likewise.
41716         [POSIX || XPG3] (SIGXFSZ): Likewise.
41717         [POSIX] (SA_SIGINFO): Expect.
41718         [XPG3] (siginfo_t): Do not expect type or contents.
41719         [POSIX] (si_pid): Do not expect element.
41720         [POSIX] (si_uid): Likewise.
41721         [POSIX] (si_addr): Likewise.
41722         [POSIX] (si_status): Likewise.
41723         [POSIX] (si_band): Likewise.
41724         [XPG4] (si_value): Likewise.
41725         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
41726         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
41727         [POSIX || XPG3] (ILL_ILLADR): Likewise.
41728         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
41729         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
41730         [POSIX || XPG3] (ILL_PRVREG): Likewise.
41731         [POSIX || XPG3] (ILL_COPROC): Likewise.
41732         [POSIX || XPG3] (ILL_BADSTK): Likewise.
41733         [POSIX || XPG3] (FPE_INTDIV): Likewise.
41734         [POSIX || XPG3] (FPE_INTOVF): Likewise.
41735         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
41736         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
41737         [POSIX || XPG3] (FPE_FLTUND): Likewise.
41738         [POSIX || XPG3] (FPE_FLTRES): Likewise.
41739         [POSIX || XPG3] (FPE_FLTINV): Likewise.
41740         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
41741         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
41742         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
41743         [POSIX || XPG3] (BUS_ADRALN): Likewise.
41744         [POSIX || XPG3] (BUS_ADRERR): Likewise.
41745         [POSIX || XPG3] (BUS_OBJERR): Likewise.
41746         [POSIX || XPG3] (CLD_EXITED): Likewise.
41747         [POSIX || XPG3] (CLD_KILLED): Likewise.
41748         [POSIX || XPG3] (CLD_DUMPED): Likewise.
41749         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
41750         [POSIX || XPG3] (CLD_STOPPED): Likewise.
41751         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
41752         [POSIX || XPG3] (POLL_IN): Likewise.
41753         [POSIX || XPG3] (POLL_OUT): Likewise.
41754         [POSIX || XPG3] (POLL_MSG): Likewise.
41755         [POSIX || XPG3] (POLL_ERR): Likewise.
41756         [POSIX || XPG3] (POLL_PRI): Likewise.
41757         [POSIX || XPG3] (POLL_HUP): Likewise.
41758         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
41759         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
41760         (SIG*): Do not allow.
41761         [XPG3] (si_*): Likewise.
41762         [XPG3] (SI_*): Likewise.
41763         [XPG3 || XPG4] (sigev_*): Likewise.
41764         [XPG3 || XPG4] (SIGEV_*): Likewise.
41765         [XPG3 || XPG4] (sival_*): Likewise.
41766         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
41767         [POSIX || XPG3] (BUS_*): Likewise.
41768         [POSIX || XPG3] (CLD_*): Likewise.
41769         [POSIX || XPG3] (FPE_*): Likewise.
41770         [POSIX || XPG3] (ILL_*): Likewise.
41771         [POSIX || XPG3] (POLL_*): Likewise.
41772         [POSIX || XPG3] (SEGV_*): Likewise.
41773         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
41774         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
41775         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
41776         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
41777         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
41778         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
41779         Specify type and value.
41780         (TVERSLEN): Likewise.
41781         (REGTYPE): Likewise.
41782         (AREGTYPE): Likewise.
41783         (LNKTYPE): Likewise.
41784         (SYMTYPE): Likewise.
41785         (CHRTYPE): Likewise.
41786         (BLKTYPE): Likewise.
41787         (DIRTYPE): Likewise.
41788         (FIFOTYPE): Likewise.
41789         (CONTTYPE): Likewise.
41790         (TSUID): Likewise.
41791         (TSGID): Likewise.
41792         (TSVTX): Likewise.
41793         (TUREAD): Likewise.
41794         (TUWRITE): Likewise.
41795         (TUEXEC): Likewise.
41796         (TGREAD): Likewise.
41797         (TGWRITE): Likewise.
41798         (TGEXEC): Likewise.
41799         (TOREAD): Likewise.
41800         (TOWRITE): Likewise.
41801         (TOEXEC): Likewise.
41802         [POSIX] (TSVTX): Expect constant.
41804 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
41806         * Makefile (tests): Change dependencies to ....
41807         (tests-special): ... additions to this variable.
41808         (tests): Depend on $(tests-special).
41809         * Makerules (check-abi-list): New variable.
41810         (check-abi): Depend on $(check-abi-list).
41811         [$(subdir) = elf] (tests-special): Add
41812         $(objpfx)check-abi-libc.out.
41813         [$(build-shared) = yes && subdir] (tests-special): Add
41814         $(check-abi-list).
41815         [$(build-shared) = yes && subdir] (tests): Do not depend on
41816         check-abi.
41817         * Rules (tests): Depend on $(tests-special).
41818         (xtests): Depend on $(xtests-special).
41819         * catgets/Makefile (tests): Change dependencies to ....
41820         (tests-special): ... additions to this variable.
41821         * conform/Makefile (tests): Change dependencies to ....
41822         (tests-special): ... additions to this variable.
41823         * elf/Makefile (tests): Change dependencies to ....
41824         (tests-special): ... additions to this variable.
41825         * grp/Makefile (tests): Change dependencies to ....
41826         (tests-special): ... additions to this variable.
41827         * iconv/Makefile (xtests): Change dependencies to ....
41828         (xtests-special): ... additions to this variable.
41829         * iconvdata/Makefile (tests): Change dependencies to ....
41830         (tests-special): ... additions to this variable.
41831         * intl/Makefile (tests): Change dependencies to ....
41832         (tests-special): ... additions to this variable.  Also add
41833         $(objpfx)tst-gettext.out.
41834         * io/Makefile (tests): Change dependencies to ....
41835         (tests-special): ... additions to this variable.
41836         * libio/Makefile (tests): Change dependencies to ....
41837         (tests-special): ... additions to this variable.
41838         * malloc/Makefile (tests): Change dependencies to ....
41839         (tests-special): ... additions to this variable.
41840         * misc/Makefile (tests): Change dependencies to ....
41841         (tests-special): ... additions to this variable.
41842         * nptl/Makefile (tests): Change dependencies to ....
41843         (tests-special): ... additions to this variable.
41844         * nptl_db/Makefile (tests): Change dependencies to ....
41845         (tests-special): ... additions to this variable.
41846         * posix/Makefile (tests): Change dependencies to ....
41847         (tests-special): ... additions to this variable.
41848         (xtests): Change dependencies to ....
41849         (xtests-special): ... additions to this variable.
41850         * resolv/Makefile (tests): Change dependencies to ....
41851         (tests-special): ... additions to this variable.
41852         (xtests): Change dependencies to ....
41853         (xtests-special): ... additions to this variable.
41854         * stdio-common/Makefile (tests): Change dependencies to ....
41855         (tests-special): ... additions to this variable.
41856         (do-tst-unbputc): Remove target.
41857         (do-tst-printf): Likewise.
41858         * stdlib/Makefile (tests): Change dependencies to ....
41859         (tests-special): ... additions to this variable.
41860         * string/Makefile (tests): Change dependencies to ....
41861         (tests-special): ... additions to this variable.
41862         * sysdeps/x86/Makefile (tests): Change dependencies to ....
41863         (tests-special): ... additions to this variable.
41865         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
41866         whole file.
41867         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
41868         whole file.
41869         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
41870         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
41872         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
41873         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
41874         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
41875         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
41876         * conform/data/libgen.h-data [XPG3]: Likewise.
41877         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
41878         * conform/data/ndbm.h-data [XPG3]: Likewise.
41879         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41880         * conform/data/netdb.h-data [XPG3]: Likewise.
41881         * conform/data/netinet/in.h-data [XPG3]: Likewise.
41882         * conform/data/poll.h-data [XPG3]: Likewise.
41883         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41884         * conform/data/strings.h-data [XPG3]: Likewise.
41885         * conform/data/stropts.h-data [XPG3]: Likewise.
41886         * conform/data/sys/mman.h-data [XPG3]: Likewise.
41887         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41888         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41889         Likewise.
41890         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41891         * conform/data/sys/time.h-data [XPG3]: Likewise.
41892         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41893         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41894         * conform/data/sys/un.h-data [XPG3]: Likewise.
41895         * conform/data/syslog.h-data [XPG3]: Likewise.
41896         * conform/data/ucontext.h-data [XPG3]: Likewise.
41897         * conform/data/utmpx.h-data [XPG3]: Likewise.
41898         * conform/data/varargs.h-data [UNIX98]: Enable file.
41900         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41902         * math/libm-test.inc (struct test_f_f_data): Move expected results
41903         into structure for each rounding mode.
41904         (struct test_ff_f_data): Likewise.
41905         (struct test_ff_f_data_nexttoward): Likewise.
41906         (struct test_fi_f_data): Likewise.
41907         (struct test_fl_f_data): Likewise.
41908         (struct test_if_f_data): Likewise.
41909         (struct test_fff_f_data): Likewise.
41910         (struct test_c_f_data): Likewise.
41911         (struct test_f_f1_data): Likewise.
41912         (struct test_fF_f1_data): Likewise.
41913         (struct test_ffI_f1_data): Likewise.
41914         (struct test_c_c_data): Likewise.
41915         (struct test_cc_c_data): Likewise.
41916         (struct test_f_i_data): Likewise.
41917         (struct test_ff_i_data): Likewise.
41918         (struct test_f_l_data): Likewise.
41919         (struct test_f_L_data): Likewise.
41920         (struct test_fFF_11_data): Likewise.
41921         (RM_): New macro.
41922         (RM_FE_DOWNWARD): Likewise.
41923         (RM_FE_TONEAREST): Likewise.
41924         (RM_FE_TOWARDZERO): Likewise.
41925         (RM_FE_UPWARD): Likewise.
41926         (RUN_TEST_LOOP_f_f): Update references to expected results.
41927         (RUN_TEST_LOOP_2_f): Likewise.
41928         (RUN_TEST_LOOP_fff_f): Likewise.
41929         (RUN_TEST_LOOP_c_f): Likewise.
41930         (RUN_TEST_LOOP_f_f1): Likewise.
41931         (RUN_TEST_LOOP_fF_f1): Likewise.
41932         (RUN_TEST_LOOP_fI_f1): Likewise.
41933         (RUN_TEST_LOOP_ffI_f1): Likewise.
41934         (RUN_TEST_LOOP_c_c): Likewise.
41935         (RUN_TEST_LOOP_cc_c): Likewise.
41936         (RUN_TEST_LOOP_f_i): Likewise.
41937         (RUN_TEST_LOOP_f_i_tg): Likewise.
41938         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41939         (RUN_TEST_LOOP_f_b): Likewise.
41940         (RUN_TEST_LOOP_f_b_tg): Likewise.
41941         (RUN_TEST_LOOP_f_l): Likewise.
41942         (RUN_TEST_LOOP_f_L): Likewise.
41943         (RUN_TEST_LOOP_fFF_11): Likewise.
41944         * math/gen-libm-test.pl (parse_args): Output four copies of
41945         expected results for each test.
41947         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41948         (__ASSUME_UTIMES): Remove.
41949         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41950         (__ASSUME_UTIMES): Likewise.
41952         * math/gen-auto-libm-tests.c: Update comment on output format.
41953         (output_for_one_input_case): Generate before-rounding and
41954         after-rounding information as conditions on output flags not
41955         floating-point format.
41956         * math/auto-libm-test-out: Regenerated.
41957         * math/gen-libm-test.pl (cond_value): New function.
41958         (or_cond_value): Use cond_value.
41959         (generate_testfile): Handle conditional exceptions.
41961 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41963         * math/libm-test.inc (max_valid_error): New variable.
41964         (init_max_error): Take new argument specifying whether function
41965         results are exactly determined.  Set max_valid_error and bound
41966         other variables for errors based on this argument.
41967         (set_max_error): Do not record results above max_valid_error.
41968         (check_float_internal): Only accept errors of up to 0.5ulps if
41969         also at most max_valid_error.
41970         (START): Take new argument EXACT and pass it to init_max_error.
41971         (acos_test): Update call to START.
41972         (acos_test_tonearest): Likewise.
41973         (acos_test_towardzero): Likewise.
41974         (acos_test_downward): Likewise.
41975         (acos_test_upward): Likewise.
41976         (acosh_test): Likewise.
41977         (asin_test): Likewise.
41978         (asin_test_tonearest): Likewise.
41979         (asin_test_towardzero): Likewise.
41980         (asin_test_downward): Likewise.
41981         (asin_test_upward): Likewise.
41982         (asinh_test): Likewise.
41983         (atan_test): Likewise.
41984         (atanh_test): Likewise.
41985         (atan2_test): Likewise.
41986         (cabs_test): Likewise.
41987         (cacos_test): Likewise.
41988         (cacosh_test): Likewise.
41989         (carg_test): Likewise.
41990         (casin_test): Likewise.
41991         (casinh_test): Likewise.
41992         (catan_test): Likewise.
41993         (catanh_test): Likewise.
41994         (cbrt_test): Likewise.
41995         (ccos_test): Likewise.
41996         (ccosh_test): Likewise.
41997         (ceil_test): Likewise.
41998         (cexp_test): Likewise.
41999         (cimag_test): Likewise.
42000         (clog_test): Likewise.
42001         (clog10_test): Likewise.
42002         (conj_test): Likewise.
42003         (copysign_test): Likewise.
42004         (cos_test): Likewise.
42005         (cos_test_tonearest): Likewise.
42006         (cos_test_towardzero): Likewise.
42007         (cos_test_downward): Likewise.
42008         (cos_test_upward): Likewise.
42009         (cosh_test): Likewise.
42010         (cosh_test_tonearest): Likewise.
42011         (cosh_test_towardzero): Likewise.
42012         (cosh_test_downward): Likewise.
42013         (cosh_test_upward): Likewise.
42014         (cpow_test): Likewise.
42015         (cproj_test): Likewise.
42016         (creal_test): Likewise.
42017         (csin_test): Likewise.
42018         (csinh_test): Likewise.
42019         (csqrt_test): Likewise.
42020         (ctan_test): Likewise.
42021         (ctan_test_tonearest): Likewise.
42022         (ctan_test_towardzero): Likewise.
42023         (ctan_test_downward): Likewise.
42024         (ctan_test_upward): Likewise.
42025         (ctanh_test): Likewise.
42026         (ctanh_test_tonearest): Likewise.
42027         (ctanh_test_towardzero): Likewise.
42028         (ctanh_test_downward): Likewise.
42029         (ctanh_test_upward): Likewise.
42030         (erf_test): Likewise.
42031         (erfc_test): Likewise.
42032         (exp_test): Likewise.
42033         (exp_test_tonearest): Likewise.
42034         (exp_test_towardzero): Likewise.
42035         (exp_test_downward): Likewise.
42036         (exp_test_upward): Likewise.
42037         (exp10_test): Likewise.
42038         (exp10_test_tonearest): Likewise.
42039         (exp10_test_towardzero): Likewise.
42040         (exp10_test_downward): Likewise.
42041         (exp10_test_upward): Likewise.
42042         (pow10_test): Likewise.
42043         (exp2_test): Likewise.
42044         (expm1_test): Likewise.
42045         (expm1_test_tonearest): Likewise.
42046         (expm1_test_towardzero): Likewise.
42047         (expm1_test_downward): Likewise.
42048         (expm1_test_upward): Likewise.
42049         (fabs_test): Likewise.
42050         (fdim_test): Likewise.
42051         (floor_test): Likewise.
42052         (fma_test): Likewise.
42053         (fma_test_towardzero): Likewise.
42054         (fma_test_downward): Likewise.
42055         (fma_test_upward): Likewise.
42056         (fmax_test): Likewise.
42057         (fmin_test): Likewise.
42058         (fmod_test): Likewise.
42059         (fpclassify_test): Likewise.
42060         (frexp_test): Likewise.
42061         (hypot_test): Likewise.
42062         (ilogb_test): Likewise.
42063         (isfinite_test): Likewise.
42064         (finite_test): Likewise.
42065         (isgreater_test): Likewise.
42066         (isgreaterequal_test): Likewise.
42067         (isinf_test): Likewise.
42068         (isless_test): Likewise.
42069         (islessequal_test): Likewise.
42070         (islessgreater_test): Likewise.
42071         (isnan_test): Likewise.
42072         (isnormal_test): Likewise.
42073         (issignaling_test): Likewise.
42074         (isunordered_test): Likewise.
42075         (j0_test): Likewise.
42076         (j1_test): Likewise.
42077         (jn_test): Likewise.
42078         (ldexp_test): Likewise.
42079         (lgamma_test): Likewise.
42080         (gamma_test): Likewise.
42081         (lrint_test): Likewise.
42082         (lrint_test_tonearest): Likewise.
42083         (lrint_test_towardzero): Likewise.
42084         (lrint_test_downward): Likewise.
42085         (lrint_test_upward): Likewise.
42086         (llrint_test): Likewise.
42087         (llrint_test_tonearest): Likewise.
42088         (llrint_test_towardzero): Likewise.
42089         (llrint_test_downward): Likewise.
42090         (llrint_test_upward): Likewise.
42091         (log_test): Likewise.
42092         (log10_test): Likewise.
42093         (log1p_test): Likewise.
42094         (log2_test): Likewise.
42095         (logb_test): Likewise.
42096         (logb_test_downward): Likewise.
42097         (lround_test): Likewise.
42098         (llround_test): Likewise.
42099         (modf_test): Likewise.
42100         (nearbyint_test): Likewise.
42101         (nextafter_test): Likewise.
42102         (nexttoward_test): Likewise.
42103         (pow_test): Likewise.
42104         (pow_test_tonearest): Likewise.
42105         (pow_test_towardzero): Likewise.
42106         (pow_test_downward): Likewise.
42107         (pow_test_upward): Likewise.
42108         (remainder_test): Likewise.
42109         (drem_test): Likewise.
42110         (remainder_test_tonearest): Likewise.
42111         (drem_test_tonearest): Likewise.
42112         (remainder_test_towardzero): Likewise.
42113         (drem_test_towardzero): Likewise.
42114         (remainder_test_downward): Likewise.
42115         (drem_test_downward): Likewise.
42116         (remainder_test_upward): Likewise.
42117         (drem_test_upward): Likewise.
42118         (remquo_test): Likewise.
42119         (rint_test): Likewise.
42120         (rint_test_tonearest): Likewise.
42121         (rint_test_towardzero): Likewise.
42122         (rint_test_downward): Likewise.
42123         (rint_test_upward): Likewise.
42124         (round_test): Likewise.
42125         (scalb_test): Likewise.
42126         (scalbn_test): Likewise.
42127         (scalbln_test): Likewise.
42128         (signbit_test): Likewise.
42129         (sin_test): Likewise.
42130         (sin_test_tonearest): Likewise.
42131         (sin_test_towardzero): Likewise.
42132         (sin_test_downward): Likewise.
42133         (sin_test_upward): Likewise.
42134         (sincos_test): Likewise.
42135         (sinh_test): Likewise.
42136         (sinh_test_tonearest): Likewise.
42137         (sinh_test_towardzero): Likewise.
42138         (sinh_test_downward): Likewise.
42139         (sinh_test_upward): Likewise.
42140         (sqrt_test): Likewise.
42141         (sqrt_test_tonearest): Likewise.
42142         (sqrt_test_towardzero): Likewise.
42143         (sqrt_test_downward): Likewise.
42144         (sqrt_test_upward): Likewise.
42145         (tan_test): Likewise.
42146         (tan_test_tonearest): Likewise.
42147         (tan_test_towardzero): Likewise.
42148         (tan_test_downward): Likewise.
42149         (tan_test_upward): Likewise.
42150         (tanh_test): Likewise.
42151         (tgamma_test): Likewise.
42152         (trunc_test): Likewise.
42153         (y0_test): Likewise.
42154         (y1_test): Likewise.
42155         (yn_test): Likewise.
42156         (significand_test): Likewise.
42158         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42159         individual tests in comment.
42160         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42161         (prev_max_error): New variable.
42162         (prev_real_max_error): Likewise.
42163         (prev_imag_max_error): Likewise.
42164         (compare_ulp_data): Don't refer to test names in comment.
42165         (find_test_ulps): Remove function.
42166         (find_function_ulps): Likewise.
42167         (find_complex_function_ulps): Likewise.
42168         (init_max_error): Take function name as argument.  Look up ulps
42169         for that function.
42170         (print_ulps): Remove function.
42171         (print_max_error): Use prev_max_error instead of calling
42172         find_function_ulps.
42173         (print_complex_max_error): Use prev_real_max_error and
42174         prev_imag_max_error instead of calling find_complex_function_ulps.
42175         (check_float_internal): Take max_ulp parameter instead of calling
42176         find_test_ulps.  Don't call print_ulps.
42177         (check_float): Update call to check_float_internal.
42178         (check_complex): Update calls to check_float_internal.
42179         (START): Pass argument to init_max_error.
42180         * math/gen-libm-test.pl (%results): Don't include "kind"
42181         information.
42182         (parse_ulps): Don't handle ulps of individual tests.
42183         (print_ulps_file): Likewise.
42184         (output_ulps): Likewise.
42185         * math/README.libm-test: Update.
42186         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42187         individual tests.
42188         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42189         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42190         * sysdeps/arm/libm-test-ulps: Likewise.
42191         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42192         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42193         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42194         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42195         * sysdeps/microblaze/libm-test-ulps: Likewise.
42196         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42197         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42198         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42199         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42200         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42201         * sysdeps/sh/libm-test-ulps: Likewise.
42202         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42203         * sysdeps/tile/libm-test-ulps: Likewise.
42204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42206 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42208         * math/libm-test.inc (print_complex_max_error): Check separately
42209         whether real and imaginary errors are within allowed range and
42210         pass 0 to print_complex_function_ulps instead of value within
42211         allowed range.
42213 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42215         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42216         formatting.
42217         (get_handles_fopen): Likewise.
42218         (do_write_test): Likewise.
42220         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42222         * libio/fileops.c (do_ftell): Use cached offset when
42223         available.
42224         * libio/iofwide.c (do_ftell_wide): Likewise.
42225         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42226         _IO_file_attach.
42227         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42229         [BZ #16532]
42230         * libio/libioP.h (get_file_offset): New function.
42231         * libio/fileops.c (get_file_offset): Likewise.
42232         (do_ftell): Likewise.
42233         (_IO_new_file_seekoff): Split out ftell logic.
42234         * libio/wfileops.c (do_ftell_wide): Likewise.
42235         (_IO_wfile_seekoff): Split out ftell logic.
42236         * libio/tst-ftell-active-handler.c: New test case.
42237         * libio/Makefile (tests): Add it.
42239 2014-03-03  Roland McGrath  <roland@hack.frob.com>
42241         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
42242         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
42244 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42246         [BZ #16639]
42247         * nscd/connections.c (nscd_init): Call do_exit.
42248         (start_threads): Call do_exit and notify_parent.
42249         (begin_drop_privileges): Call do_exit.
42250         (finish_drop_privileges): Likewise.
42251         * nscd/selinux.c (preserve_capabilities): Likewise.
42252         (install_real_capabilities): Likewise.
42253         (nscd_selinux_enabled): Likewise.
42254         (avc_create_thread): Likewise.
42255         (avc_alloc_lock): Likewise.
42256         (nscd_avc_init): Likewise.
42257         * nscd/nscd.c (parent_fd): New static variable.
42258         (main): Create a pipe between parent and child processes.
42259         Skip closing parent_fd.
42260         (monitor_child): New function.
42261         (do_exit): Likewise.
42262         (notify_parent): Likewise.
42263         * nscd/nscd.h (notify_parent): Likewise.
42264         (do_exit): Likewise.
42266 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
42268         * malloc/malloc.c (__libc_calloc): Revert last change.
42270 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42274 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42276         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
42277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
42278         implementation.
42279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42280         (__libc_ifunc_impl_list): Likewise.
42281         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
42282         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
42283         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
42284         * string/strrchr.c: Define STRRCHR.
42286 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
42288         * benchtest/bench-strtok.c (simple_strtok): Delete.
42289         (strtok_string): Use as benchmark.
42290         * string/strtok (STRTOK): New macro.
42292 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
42294         * manual/threads.texi: Add header and standard comments to all
42295         functions.
42297         * elf/dl-lookup.c (check_match): New function.
42298         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
42299         (do_lookup_x): Remove nested function check_match. Use non-nested
42300         function check_match.
42302 2014-02-28  Roland McGrath  <roland@hack.frob.com>
42304         * csu/Makefile (generated, before-compile): Use += rather than =.
42305         * catgets/Makefile (generated, generated-dirs): Likewise.
42306         * debug/Makefile (generated): Likewise.
42307         * dlfcn/Makefile (generated): Likewise.
42308         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
42309         * iconvdata/Makefile (before-compile, generated): Likewise.
42310         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
42311         * libio/Makefile (generated): Likewise.
42312         * malloc/Makefile (generated): Likewise.
42313         * manual/Makefile (generated, generated-dirs): Likewise.
42314         * misc/Makefile (generated): Likewise.
42315         * posix/Makefile (generated): Likewise.
42316         * resolv/Makefile (generated): Likewise.
42317         * sunrpc/Makefile (generated, generated-dirs): Likewise.
42318         * timezone/Makefile (generated, generated-dirs): Likewise.
42320         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
42322 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42324         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42325         power8 implementation.
42326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
42327         file: POWER8 llround ifunc implementation.
42328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
42329         (__lllround): Add POWER8 implementation.
42330         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
42331         POWER8 llround implementation.
42333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
42334         power8 implementation.
42335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
42336         file: POWER8 llrint ifunc implementation.
42337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
42338         Add POWER8 implementation.
42339         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
42340         POWER8 llrint implementation.
42342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
42343         power8 implementation.
42344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
42345         file: POWER8 finite ifunc implementation.
42346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
42347         Add POWER8 implementation.
42348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
42349         Likewise.
42350         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
42351         POWER8 finite implementation.
42352         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
42354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
42355         power8 implementation.
42356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
42357         file: POWER8 isinf ifunc implementation.
42358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
42359         POWER8 implementation.
42360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
42361         Likewise.
42362         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
42363         isinf implementation.
42364         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
42366         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
42367         (INIT_ARCH): Add hwcap2 initialization.
42368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42369         power8 implementation.
42370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
42371         file: POWER8 isnan ifunc implementation.
42372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
42373         POWER8 implementation.
42374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
42375         Likewise.
42376         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
42377         isnan implementation.
42378         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
42380 2014-02-27  Joey Ye  <joey.ye@arm.com>
42382         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42383         (_FP_NANFRAC_Q): Set to zero.
42385 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42387         [BZ #16623]
42388         * math/auto-libm-test-in: New test inputs.
42389         * math/auto-libm-test-out: Regenerate.
42390         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
42391         and DA.
42392         (__cos): Likewise.
42393         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42395 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
42397         * scripts/evaluate-test.sh: Take new argument indicating whether
42398         failure is expected.
42399         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
42400         indicating whether failure is expected.
42401         * conform/Makefile (test-xfail-run-conformtest): New variable.
42402         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
42403         level.
42404         * posix/Makefile (test-xfail-annexc): New variable.
42405         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
42407 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
42409         * argp/Makefile: Include Makeconfig immediately after defining
42410         subdir.
42411         * assert/Makefile: Likewise.
42412         * benchtests/Makefile: Likewise.
42413         * catgets/Makefile: Likewise.
42414         * conform/Makefile: Likewise.
42415         * crypt/Makefile: Likewise.
42416         * csu/Makefile: Likewise.
42417         (all): Remove target.
42418         * ctype/Makefile: Include Makeconfig immediately after defining
42419         subdir.
42420         * debug/Makefile: Likewise.
42421         * dirent/Makefile: Likewise.
42422         * dlfcn/Makefile: Likewise.
42423         * gmon/Makefile: Likewise.
42424         * gnulib/Makefile: Likewise.
42425         * grp/Makefile: Likewise.
42426         * gshadow/Makefile: Likewise.
42427         * hesiod/Makefile: Likewise.
42428         * hurd/Makefile: Likewise.
42429         (all): Remove target.
42430         * iconvdata/Makefile: Include Makeconfig immediately after
42431         defining subdir.
42432         * inet/Makefile: Likewise.
42433         * intl/Makefile: Likewise.
42434         * io/Makefile: Likewise.
42435         * libio/Makefile: Likewise.
42436         (all): Remove target.
42437         * locale/Makefile: Include Makeconfig immediately after defining
42438         subdir.
42439         * login/Makefile: Likewise.
42440         * mach/Makefile: Likewise.
42441         (all): Remove target.
42442         * malloc/Makefile: Include Makeconfig immediately after defining
42443         subdir.
42444         (all): Remove target.
42445         * manual/Makefile: Include Makeconfig immediately after defining
42446         subdir.
42447         * math/Makefile: Likewise.
42448         * misc/Makefile: Likewise.
42449         * nis/Makefile: Likewise.
42450         * nss/Makefile: Likewise.
42451         * po/Makefile: Likewise.
42452         (all): Remove target.
42453         * posix/Makefile: Include Makeconfig immediately after defining
42454         subdir.
42455         * pwd/Makefile: Likewise.
42456         * resolv/Makefile: Likewise.
42457         * resource/Makefile: Likewise.
42458         * rt/Makefile: Likewise.
42459         * setjmp/Makefile: Likewise.
42460         * shadow/Makefile: Likewise.
42461         * signal/Makefile: Likewise.
42462         * socket/Makefile: Likewise.
42463         * soft-fp/Makefile: Likewise.
42464         * stdio-common/Makefile: Likewise.
42465         * stdlib/Makefile: Likewise.
42466         * streams/Makefile: Likewise.
42467         * string/Makefile: Likewise.
42468         * sunrpc/Makefile: Likewise.
42469         (all): Remove target.
42470         * sysvipc/Makefile: Include Makeconfig immediately after defining
42471         subdir.
42472         * termios/Makefile: Likewise.
42473         * time/Makefile: Likewise.
42474         * timezone/Makefile: Likewise.
42475         (all): Remove target.
42476         * wcsmbs/Makefile: Include Makeconfig immediately after defining
42477         subdir.
42478         * wctype/Makefile: Likewise.
42480 2014-02-26  Steve Ellcey  <sellcey@mips.com>
42482         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42483         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42484         (libc_feholdexcept_setround_mips): Ditto.
42485         (libc_feholdsetround): New.
42486         (libc_feholdsetroundf): New.
42487         (libc_feholdsetroundl): New.
42488         (libc_feupdateenv_test_mips): New.
42489         (libc_feupdateenv_test): New.
42490         (libc_feupdateenv_testf): New.
42491         (libc_feupdateenv_testl): New.
42492         (libc_feresetround): New.
42493         (libc_feresetroundf): New.
42494         (libc_feresetroundl): New.
42495         (libc_fetestexcept_mips): New.
42496         (libc_fetestexcept): New.
42497         (libc_fetestexceptf): New.
42498         (libc_fetestexceptl): New.
42499         (HAVE_RM_CTX): New.
42500         (libc_feholdexcept_setround_mips_ctx): New.
42501         (libc_feholdexcept_setround_ctx): New.
42502         (libc_feholdexcept_setroundf_ctx): New.
42503         (libc_feholdexcept_setroundl_ctx): New.
42504         (libc_fesetenv_mips_ctx): New.
42505         (libc_fesetenv_ctx): New.
42506         (libc_fesetenv_ctxf): New.
42507         (libc_fesetenv_ctxl): New.
42508         (libc_feupdateenv_mips_ctx): New.
42509         (libc_feupdateenv_ctx): New.
42510         (libc_feupdateenvf_ctx): New.
42511         (libc_feupdateenvl_ctx): New.
42512         (libc_feholdsetround_mips_ctx): New.
42513         (libc_feholdsetround_ctx): New.
42514         (libc_feholdsetroundf_ctx): New.
42515         (libc_feholdsetroundl_ctx): New.
42516         (libc_feresetround_mips_ctx): New.
42517         (libc_feresetround_ctx): New.
42518         (libc_feresetroundf_ctx): New.
42519         (libc_feresetroundl_ctx): New.
42521 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
42523         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
42525         * manual/ipc.texi: New file.
42526         * manual/Makefile (chapters): Add ipc.
42527         * manual/job.texi: Add "Inter-Process Communication" to next.
42528         * manual/process.texi: Add "Inter-Process Communication" to prev.
42530 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42534 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
42536         * malloc/malloc.c (__libc_calloc): Simplify implementation.
42538         * manual/arith.texi: Fix spaces after sentences.
42539         * manual/charset.texi: Likewise.
42540         * manual/errno.texi: Likewise.
42541         * manual/install.texi: Likewise.
42542         * manual/llio.texi: Likewise.
42543         * manual/locale.texi: Likewise.
42544         * manual/maint.texi: Likewise.
42545         * manual/math.texi: Likewise.
42546         * manual/memory.texi: Likewise.
42547         * manual/message.texi: Likewise.
42548         * manual/probes.texi: Likewise.
42549         * manual/resource.texi: Likewise.
42550         * manual/signal.texi: Likewise.
42551         * manual/socket.texi: Likewise.
42552         * manual/stdio.texi: Likewise.
42553         * manual/string.texi: Likewise.
42554         * manual/time.texi: Likewise.
42555         * manual/users.texi: Likewise.
42557 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
42559         [BZ #16632]
42560         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
42561         _DEFAULT_SOURCE is defined.
42563 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
42564             Carlos O'Donell  <carlos@redhat.com>
42566         [BZ #16613]
42567         * elf/dl-tls.c (_dl_count_modids): New function.
42568         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
42569         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
42570         audit library and increment generation counter.
42571         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
42572         * elf/tst-audit9.c: New file.
42573         * elf/tst-auditmod9a.c: New file.
42574         * elf/tst-auditmod9b.c: New file.
42575         * elf/Makefile: Add rules to build and run tst-audit9.
42577 2014-02-25  Florian Weimer  <fweimer@redhat.com>
42579         [BZ #15347]
42580         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
42582 2014-02-25  Will Newton  <will.newton@linaro.org>
42584         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
42585         (__longjmp): Restore sp and lr before restoring callee
42586         saved registers.  Add longjmp and longjmp_target
42587         SystemTap probe point.
42588         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
42589         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
42590         Define to zero to match jmpbuf layout.
42591         * sysdeps/arm/setjmp.S: Include stap-probe.h.
42592         (__sigsetjmp): Save sp and lr before saving callee
42593         saved registers.  Add setjmp SystemTap probe point.
42595 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
42597         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42599 2014-02-24  Andreas Schwab  <schwab@suse.de>
42601         [BZ #15804]
42602         * elf/pldd.c (wait_for_ptrace_stop): New function.
42603         (main): Call it after attaching.
42605 2014-02-22  Roland McGrath  <roland@hack.frob.com>
42607         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
42608         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
42609         Versions files is now verboten.
42610         * hurd/Versions (libc: GLIBC_2.0):
42611         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
42612         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
42613         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
42614         * mach/Versions: Likewise.
42616         * csu/Versions: Remove unused %include.
42617         * resolv/Versions: Likewise.
42619 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
42621         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
42622         ($(objpfx)check-local-headers.out): Likewise.
42623         ($(objpfx)begin-end-check.out): Likewise.
42624         * Makerules (check-abi-%.out): Likewise.
42625         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
42626         ($(objpfx)test2.cat): Likewise.
42627         ($(objpfx)de/libc.cat): Likewise.
42628         ($(objpfx)test-gencat.out): Likewise.
42629         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
42630         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
42631         ($(objpfx)noload-mem): Likewise.
42632         ($(objpfx)tst-pathopt.out): Likewise.
42633         ($(objpfx)tst-rtld-load-self.out): Likewise.
42634         ($(objpfx)tst-array1-cmp.out): Likewise.
42635         ($(objpfx)tst-array1-static-cmp.out): Likewise.
42636         ($(objpfx)tst-array2-cmp.out): Likewise.
42637         ($(objpfx)tst-array3-cmp.out): Likewise.
42638         ($(objpfx)tst-array4-cmp.out): Likewise.
42639         ($(objpfx)tst-array5-cmp.out): Likewise.
42640         ($(objpfx)tst-array5-static-cmp.out): Likewise.
42641         ($(objpfx)check-textrel.out): Likewise.
42642         ($(objpfx)check-execstack.out): Likewise.
42643         ($(objpfx)check-localplt.out): Likewise.
42644         ($(objpfx)order2-cmp.out): Likewise.
42645         ($(objpfx)tst-leaks1-mem): Likewise.
42646         ($(objpfx)tst-leaks1-static-mem): Likewise.
42647         ($(objpfx)tst-initorder-cmp.out): Likewise.
42648         ($(objpfx)tst-initorder2-cmp.out): Likewise.
42649         ($(objpfx)tst-unused-dep.out): Likewise.
42650         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
42651         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
42652         * iconv/Makefile (test-iconvconfig): Likewise.
42653         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
42654         ($(objpfx)iconv-test.out): Likewise.
42655         ($(objpfx)tst-tables.out): Likewise.
42656         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
42657         ($(objpfx)tst-gettext.out): Likewise.
42658         ($(objpfx)tst-translit.out): Likewise.
42659         ($(objpfx)tst-gettext2.out): Likewise.
42660         ($(objpfx)tst-gettext4.out): Likewise.
42661         ($(objpfx)tst-gettext6.out): Likewise.
42662         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
42663         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
42664         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
42665         ($(objpfx)tst-fopenloc-mem.out): Likewise.
42666         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
42667         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
42668         * posix/Makefile ($(objpfx)globtest.out): Likewise.
42669         ($(objpfx)wordexp-tst.out): Likewise.
42670         ($(objpfx)annexc.out): Likewise.
42671         ($(objpfx)tst-fnmatch-mem): Likewise.
42672         ($(objpfx)bug-regex2-mem): Likewise.
42673         ($(objpfx)bug-regex14-mem): Likewise.
42674         ($(objpfx)bug-regex21-mem): Likewise.
42675         ($(objpfx)bug-regex31-mem): Likewise.
42676         ($(objpfx)tst-vfork3-mem): Likewise.
42677         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42678         ($(objpfx)tst-pcre-mem): Likewise.
42679         ($(objpfx)tst-boost-mem): Likewise.
42680         ($(objpfx)tst-getconf.out): Likewise.
42681         ($(objpfx)bug-ga2-mem): Likewise.
42682         ($(objpfx)bug-glob2-mem): Likewise.
42683         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
42684         ($(objpfx)mtrace-tst-leaks2): Likewise.
42685         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
42686         ($(objpfx)tst-printf.out): Likewise.
42687         ($(objpfx)tst-setvbuf1.out): Likewise.
42688         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
42689         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
42690         ($(objpfx)tst-fmtmsg.out): Likewise.
42691         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
42692         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
42694         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
42695         * bits/sigaction.h [__USE_MISC]: Likewise.
42696         * bits/waitstatus.h: Update #endif comments.
42697         * ctype/ctype.h: Likewise.
42698         * dirent/dirent.h: Likewise.
42699         [__USE_MISC]: Remove redundant conditionals.
42700         * grp/grp.h: Update #endif comments.
42701         [__USE_GNU]: Remove redundant conditionals.
42702         [__USE_MISC]: Likewise.
42703         * inet/netinet/in.h [__USE_GNU]: Likewise.
42704         * io/sys/stat.h [__USE_MISC]: Likewise.
42705         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
42706         * libio/bits/stdio.h: Update #endif comments.
42707         [__USE_MISC]: Remove redundant conditionals.
42708         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
42709         * libio/stdio.h: Update #endif comments.
42710         [__USE_MISC]: Remove redundant conditionals.
42711         * math/bits/math-finite.h [__USE_MISC]: Likewise.
42712         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
42713         * math/math.h: Update #else and #endif comments.
42714         [__USE_MISC]: Remove redundant conditionals.
42715         * misc/sys/uio.h: Update #endif comments.
42716         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
42717         * posix/glob.h [__USE_MISC]: Likewise.
42718         * posix/sys/types.h: Update #endif comments.
42719         [__USE_MISC]: Remove redundant conditionals.
42720         * posix/sys/wait.h: Update #endif comments.
42721         [__USE_MISC]: Remove redundant conditionals.
42722         * posix/unistd.h: Update #endif comments.
42723         [__USE_MISC]: Remove redundant conditionals.
42724         * pwd/pwd.h [__USE_GNU]: Likewise.
42725         [__USE_MISC]: Likewise.
42726         * resolv/netdb.h [__USE_GNU]: Likewise.
42727         * signal/signal.h: Update #endif comments.
42728         [__USE_MISC]: Remove redundant conditionals.
42729         * stdlib/stdlib.h: Update #else and #endif comments.
42730         [__USE_MISC]: Remove redundant conditionals.
42731         [__USE_GNU]: Likewise.
42732         * string/bits/string2.h [__USE_MISC]: Likewise.
42733         * string/string.h: Update #endif comments.
42734         [__USE_MISC]: Remove redundant conditionals.
42735         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
42736         Likewise.
42737         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
42738         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
42739         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
42740         Likewise.
42741         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
42742         Likewise.
42743         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
42744         comments.
42745         [__USE_MISC]: Remove redundant conditionals.
42746         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
42747         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
42748         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
42749         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
42750         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
42751         Likewise.
42752         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
42753         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
42754         Likewise.
42755         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
42756         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
42757         Likewise.
42758         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
42759         Likewise.
42760         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
42761         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
42762         Likewise.
42763         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
42764         Likewise.
42765         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
42766         * sysdeps/x86/bits/string.h: Update #endif comments.
42767         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
42768         conditionals.
42769         * time/sys/time.h: Update #endif comments.
42770         * time/time.h: Likewise.
42771         [__USE_MISC]: Remove redundant conditionals.
42773 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
42775         [BZ #16600]
42776         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
42778 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
42780         * Versions.def (librt): Add GLIBC_2.17.
42782 2014-02-21  Adam Conrad  <adconrad@0c3.net>
42784         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
42785         synonym for _SYS_AUXV_H to allow direct inclusion.
42786         * sysdeps/sparc/bits/hwcap.h: Likewise.
42787         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
42788         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
42789         * sysdeps/sparc/sysdep.h: Likewise.
42791 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42793         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
42795 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42797         * benchtests/bench-strrchr.c: Print length instead of position.
42799 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
42801         [BZ #16611]
42802         * sysdeps/unix/sysv/linux/kernel-features.h
42803         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
42804         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
42805         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
42806         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
42807         Likewise.
42808         [__i386__ || __powerpc__ || __sh__ || __sparc__]
42809         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42810         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
42811         (__ASSUME_SENDMMSG): Define instead of using previous
42812         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
42813         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42814         (__ASSUME_SENDMMSG_SYSCALL): Define.
42815         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42816         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
42817         Likewise.
42818         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42819         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42820         Likewise.
42821         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42822         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42823         Likewise.
42824         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
42825         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42826         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42827         [__ASSUME_SENDMMSG]: Change conditionals to
42828         [__ASSUME_SENDMMSG_SOCKETCALL].
42829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42830         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
42831         Define.
42832         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42833         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
42834         Likewise.
42835         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
42836         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42837         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42838         [!__ASSUME_SENDMMSG]: Change conditional to
42839         [!__ASSUME_SENDMMSG_SOCKETCALL].
42840         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42841         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42842         Define.
42844         [BZ #16610]
42845         * sysdeps/unix/sysv/linux/kernel-features.h
42846         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
42847         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
42848         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
42849         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
42850         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42851         [__i386__ || __sparc__]
42852         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42853         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
42854         (__ASSUME_RECVMMSG): Define instead of using previous
42855         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
42856         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42857         (__ASSUME_RECVMMSG_SYSCALL): Define.
42858         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42859         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42860         Likewise.
42861         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42862         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42863         Likewise.
42864         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42865         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42866         Likewise.
42867         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
42868         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42869         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42870         [__ASSUME_RECVMMSG]: Change condition to
42871         [__ASSUME_RECVMMSG_SOCKETCALL].
42872         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42873         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42874         Define.
42875         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42876         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42877         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42878         Likewise.
42879         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
42880         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42881         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42882         [!__ASSUME_RECVMMSG]: Change condition to
42883         [!__ASSUME_RECVMMSG_SOCKETCALL].
42884         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42885         (__ASSUME_RECVMMSG_SYSCALL): Define.
42887         [BZ #16609]
42888         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42889         __powerpc__ || __s390__ || __sh__ || __sparc__]
42890         (__ASSUME_SOCKETCALL): Define.
42891         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42892         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42893         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42894         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42895         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42896         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42897         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42898         (__ASSUME_ACCEPT4): Define instead of using previous
42899         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42900         __powerpc__ || __sparc__ || __s390__)] condition.
42901         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42902         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42903         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42904         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42905         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42906         [!__ASSUME_ACCEPT4]: Change condition to
42907         [!__ASSUME_ACCEPT4_SOCKETCALL].
42908         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42909         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42910         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42911         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42912         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42913         __ASSUME_ACCEPT4_SYSCALL.
42914         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42915         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42916         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42917         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42918         __ASSUME_ACCEPT4_SYSCALL.
42919         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42920         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42921         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42922         [__ASSUME_ACCEPT4]: Change condition to
42923         [__ASSUME_ACCEPT4_SOCKETCALL].
42924         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42925         (__ASSUME_SOCKETCALL): Define.
42926         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42927         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42928         (__ASSUME_SOCKETCALL): Define.
42929         (__ASSUME_ACCEPT4): Remove.
42930         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42931         Define.
42932         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42933         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42934         Likewise.
42935         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42936         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42938         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42939         macro.
42940         (HWCAP_ARM_LPAE): Likewise.
42941         (HWCAP_ARM_EVTSTRM): Likewise.
42942         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42943         Add vpfd32, lpae and evtstrm.
42944         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42945         Increase to 22.
42947 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42949         * math/auto-libm-test-in: Add tests of clog10.
42950         * math/auto-libm-test-out: Regenerated.
42951         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42952         * sysdeps/i386/fpu/libm-test-ulps: Update.
42953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42955 2014-02-18  Andreas Schwab  <schwab@suse.de>
42957         [BZ #16574]
42958         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42959         Store non-zero if the second buffer was newly allocated.
42960         (send_dg): Likewise.
42961         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42962         to send_vc and send_dg.
42963         (res_nsend): Pass NULL for ansp2_malloced.
42964         * resolv/res_query.c (__libc_res_nquery): Add parameter
42965         answerp2_malloced and pass it down to __libc_res_nsend.
42966         (res_nquery): Pass additional NULL to __libc_res_nquery.
42967         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42968         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42969         second answer buffer if answerp2_malloced was set.
42970         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42971         (__libc_res_nquerydomain): Add parameter
42972         answerp2_malloced and pass it down to __libc_res_nquery.
42973         (res_nquerydomain): Pass additional NULL to
42974         __libc_res_nquerydomain.
42975         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42976         additional NULL to __libc_res_nsend and __libc_res_nquery.
42977         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42978         additional NULL to __libc_res_nsearch.
42979         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42980         parameter of __libc_res_nsearch to check for separately allocated
42981         second buffer.
42982         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42983         __libc_res_nquery.
42984         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42985         additional NULL to __libc_res_nquery.
42986         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42987         __libc_res_nsearch.
42988         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42989         * include/resolv.h: Update prototypes of __libc_res_nquery,
42990         __libc_res_nsearch, __libc_res_nsend.
42992 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42994         * math/auto-libm-test-in: Add tests of fma.
42995         * math/auto-libm-test-out: Regenerated.
42996         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42997         (fma_towardzero_test_data): Likewise.
42998         (fma_downward_test_data): Likewise.
42999         (fma_upward_test_data): Likewise.
43000         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43001         mpc_mode.
43002         (rounding_modes): Add values for new field.
43003         (func_calc_method): Add value mpfr_fff_f.
43004         (func_calc_desc): Add mpfr_fff_f union field.
43005         (test_function): Add field exact_args.
43006         (FUNC): Add macro argument EXACT_ARGS.
43007         (FUNC_mpfr_f_f): Update call to FUNC.
43008         (FUNC_mpfr_f_f): Likewise.
43009         (FUNC_mpfr_ff_f): Likewise.
43010         (FUNC_mpfr_if_f): Likewise.
43011         (FUNC_mpc_c_f): Likewise.
43012         (FUNC_mpc_c_c): Likewise.
43013         (test_functions): Add fma.  Update calls to FUNC.
43014         (handle_input_arg): Add argument exact_args.
43015         (add_test): Update call to handle_input_arg.
43016         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43017         (output_for_one_input_case): Update call to calc_generic_results.
43018         Recalculate exact zero results in each rounding mode.
43020         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43021         non-negative before setting low bit.
43022         * math/auto-libm-test-in: Mark one asin test possibly having
43023         spurious underflow.
43024         * math/auto-libm-test-out: Regenerated.
43025         * sysdeps/i386/fpu/libm-test-ulps: Update.
43026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43028 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43030         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43031         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43032         ports/sysdeps/unix/sysv/linux/microblaze.
43033         * README: Add missing listing for microblaze*-*-linux-gnu.
43035 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43037         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43038         duplicate code
43040 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43042         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43043         * sysdeps/unix/sysv/linux/ia64: Move directory from
43044         ports/sysdeps/unix/sysv/linux/ia64.
43045         * README: Update listing for ia64-*-linux-gnu.
43047 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43048             Joseph Myers  <joseph@codesourcery.com>
43050         * Makeconfig (test-name): New variable.
43051         (evaluate-test): Likewise.
43052         * Makerules (do-test-clean): Remove .test-result files.
43053         (common-mostlyclean): Likewise.
43054         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43055         * scripts/evaluate-test.sh: New file.
43057 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43059         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43060         separate $(objpfx)tst-fopenloc-cmp.out and
43061         $(objpfx)tst-fopenloc-mem.out targets.
43062         (tests): Update dependencies.
43063         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43064         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43065         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43066         (tst-rxspencer-no-utf8-ARGS): New variable.
43067         (tst-rxspencer-no-utf8-ENV): Likewise.
43068         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43069         instead of $(objpfx)tst-rxspencer-mem.
43070         ($(objpfx)tst-rxspencer-mem): Change target to
43071         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43072         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43073         * posix/tst-rxspencer-no-utf8.c: New file.
43075         * elf/Makefile ($(objpfx)order.out): Remove rule.
43076         [$(run-built-tests) = yes] (tests): Depend on
43077         $(objpfx)order-cmp.out.
43078         ($(objpfx)order-cmp.out): New rule.
43079         [$(run-built-tests) = yes] (tests): Depend on
43080         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43081         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43082         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43083         $(objpfx)tst-array5-static-cmp.out.
43084         ($(objpfx)tst-array1.out): Remove rule.
43085         ($(objpfx)tst-array1-cmp.out): New rule.
43086         ($(objpfx)tst-array1-static.out): Remove rule.
43087         ($(objpfx)tst-array1-static-cmp.out): New rule.
43088         ($(objpfx)tst-array2.out): Remove rule.
43089         ($(objpfx)tst-array2-cmp.out): New rule.
43090         ($(objpfx)tst-array3.out): Remove rule.
43091         ($(objpfx)tst-array3-cmp.out): New rule.
43092         ($(objpfx)tst-array4.out): Remove rule.
43093         ($(objpfx)tst-array4-cmp.out): New rule.
43094         ($(objpfx)tst-array5.out): Remove rule.
43095         ($(objpfx)tst-array5-cmp.out): New rule.
43096         ($(objpfx)tst-array5-static.out): Remove rule.
43097         ($(objpfx)tst-array5-static-cmp.out): New rule.
43098         [$(run-built-tests) = yes] (tests): Depend on
43099         $(objpfx)order2-cmp.out.
43100         ($(objpfx)order2.out): Remove rule.
43101         ($(objpfx)order2-cmp.out): New rule.
43102         ($(objpfx)tst-initorder.out): Remove rule.
43103         [$(run-built-tests) = yes] (tests): Depend on
43104         $(objpfx)tst-initorder-cmp.out.
43105         ($(objpfx)tst-initorder-cmp.out): New rule.
43106         ($(objpfx)tst-initorder2.out): Remove rule.
43107         [$(run-built-tests) = yes] (tests): Depend on
43108         $(objpfx)tst-initorder2-cmp.out.
43109         ($(objpfx)tst-initorder2-cmp.out): New rule.
43110         [$(run-built-tests) = yes] (tests): Depend on
43111         $(objpfx)tst-unused-dep-cmp.out.
43112         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43113         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43114         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43115         on $(objpfx)tst-setvbuf1-cmp.out.
43116         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43117         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43118         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43119         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43120         ($(objpfx)tst-svc.out): Remove rule.
43121         ($(objpfx)tst-svc-cmp.out): New rule.
43123 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43125         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43126         * ctype/ctype.h [__USE_MISC]: Likewise.
43127         * dirent/dirent.h [__USE_MISC]: Likewise.
43128         * grp/grp.h [__USE_MISC]: Likewise.
43129         * io/fcntl.h [__USE_MISC]: Likewise.
43130         * io/sys/stat.h [__USE_MISC]: Likewise.
43131         * libio/stdio.h [__USE_MISC]: Likewise.
43132         * posix/unistd.h [__USE_MISC]: Likewise.
43133         * pwd/pwd.h [__USE_MISC]: Likewise.
43134         * stdlib.h [__USE_MISC]: Likewise.
43135         * string/bits/string2.h [__USE_MISC]: Likewise.
43136         * string/string.h [__USE_MISC]: Likewise.
43137         * time/time.h [__USE_MISC]: Likewise.
43139 2014-02-13  Andreas Schwab  <schwab@suse.de>
43141         [BZ #16574]
43142         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43143         second answer buffer if it was separately allocated.
43145 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43147         * sysdeps/mips/math-tests.h: Include <features.h>.
43148         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43149         (ROUNDING_TESTS_long_double): Do not define.
43150         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43151         (EXCEPTION_TESTS_long_double): Likewise.
43152         * sysdeps/mips/mips64/libm-test-ulps: Update.
43154         * include/features.h (__USE_BSD): Remove macro definitions.
43155         (__USE_SVID): Likewise.
43156         (_BSD_SOURCE): Likewise.
43157         (_SVID_SOURCE): Likewise.
43158         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43159         from definition of _DEFAULT_SOURCE.
43160         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43161         [_DEFAULT_SOURCE].
43162         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43163         * bits/mman.h [__USE_BSD]: Likewise.
43164         * bits/termios.h [__USE_BSD]: Likewise.
43165         * bits/waitstatus.h [__USE_BSD]: Likewise.
43166         * ctype/ctype.h [__USE_SVID]: Likewise.
43167         * dirent/dirent.h [__USE_BSD]: Likewise.
43168         * grp/grp.h [__USE_SVID]: Likewise.
43169         [__USE_BSD]: Likewise.
43170         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43171         * io/fcntl.h [__USE_BSD]: Likewise.
43172         * io/ftw.h [__USE_BSD]: Likewise.
43173         * io/sys/stat.h [__USE_BSD]: Likewise.
43174         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43175         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43176         * libio/stdio.h [__USE_SVID]: Likewise.
43177         [__USE_BSD]: Likewise.
43178         * math/math.h [__USE_SVID]: Likewise.
43179         [__USE_BSD]: Likewise.
43180         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43181         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43182         * misc/search.h [__USE_SVID]: Likewise.
43183         * misc/sys/mman.h [__USE_BSD]: Likewise.
43184         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43185         * misc/sys/uio.h [__USE_BSD]: Likewise.
43186         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43187         * posix/glob.h [__USE_BSD]: Likewise.
43188         * posix/regex.h [__USE_BSD]: Likewise.
43189         * posix/sys/types.h [__USE_BSD]: Likewise.
43190         [__USE_SVID]: Likewise.
43191         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43192         * posix/sys/wait.h [__USE_BSD]: Likewise.
43193         [__USE_SVID]: Likewise.
43194         * posix/unistd.h [__USE_BSD]: Likewise.
43195         [__USE_SVID]: Likewise.
43196         * pwd/pwd.h [__USE_SVID]: Likewise.
43197         * resolv/netdb.h [__USE_BSD]: Likewise.
43198         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43199         * signal/signal.h [__USE_BSD]: Likewise.
43200         [__USE_SVID]: Likewise.
43201         * socket/sys/socket.h [__USE_BSD]: Likewise.
43202         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43203         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43204         [__USE_SVID]: Likewise.
43205         * string/bits/string2.h [__USE_BSD]: Likewise.
43206         [__USE_SVID]: Likewise.
43207         * string/bits/string3.h [__USE_BSD]: Likewise.
43208         * string/endian.h [__USE_BSD]: Likewise.
43209         * string/string.h [__USE_SVID]: Likewise.
43210         [__USE_BSD]: Likewise.
43211         * string/strings.h [__USE_BSD]: Likewise.
43212         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43213         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43214         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43215         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43216         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43217         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43218         Likewise.
43219         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43220         Likewise.
43221         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43222         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43223         Likewise.
43224         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43225         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43226         Likewise.
43227         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43228         Likewise.
43229         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43230         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43231         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43232         Likewise.
43233         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
43234         Likewise.
43235         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
43236         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
43237         * termios/termios.h [__USE_BSD]: Likewise.
43238         * time/sys/time.h [__USE_BSD]: Likewise.
43239         * time/time.h [__USE_BSD]: Likewise.
43240         [__USE_SVID]: Likewise.
43242         * Makefile (subdir_targets): Remove subdir_lint.out.
43244         * stdio-common/Makefile (do-tst-unbputc): Remove target.
43245         (do-tst-printf): Likewise.
43246         (tests): Depend directly on $(objpfx)tst-unbputc.out and
43247         $(objpfx)tst-printf.out.
43249         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
43251         * Makerules (check-abi-%): Change target to
43252         $(objpfx)check-abi-%.out.
43253         (check-abi target): Update dependencies.
43254         (check-abi-pattern variable): Redirect output of diff to $@.
43255         (check-abi variable): Likewise.
43256         * elf/Makefile (check-abi): Update dependencies.
43258         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
43259         unused.
43260         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
43261         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
43262         subnormal range.
43263         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
43264         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
43265         value has largest subnormal exponent.
43266         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
43267         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
43268         * sysdeps/aarch64/soft-fp/sfp-machine.h
43269         (_FP_TININESS_AFTER_ROUNDING): New macro.
43270         * sysdeps/alpha/soft-fp/sfp-machine.h
43271         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43272         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43273         Likewise.
43274         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
43275         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43276         * sysdeps/mips/soft-fp/sfp-machine.h
43277         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43278         * sysdeps/powerpc/soft-fp/sfp-machine.h
43279         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43280         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43281         Likewise.
43282         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43283         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43284         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43285         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43286         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43287         Likewise.
43289 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
43291         [BZ #16545]
43292         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
43293         model 1.
43295 2014-02-12  Richard Henderson  <rth@redhat.com>
43297         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43298         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
43299         * sysdeps/unix/sysv/linux/alpha: Move directory from
43300         ports/sysdeps/unix/sysv/linux/alpha.
43301         * README: Update listing for alpha-*-linux-gnu.
43303 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
43305         * include/features.h: Update comment documenting feature test
43306         macros.
43307         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
43308         _DEFAULT_SOURCE.
43309         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
43310         (_SVID_SOURCE): Likewise.
43311         (_DEFAULT_SOURCE): Update description of default features.
43312         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
43313         with _GNU_SOURCE.
43314         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
43315         (S_ISVTX): Likewise.
43316         * manual/math.texi (Mathematical Constants): Likewise.
43317         * manual/signal.texi (Interrupted Primitives): Likewise.
43318         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
43319         * math/test-matherr.c (_SVID_SOURCE): Do not define.
43320         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
43321         Don't refer to _SVID_SOURCE in warning text.
43323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43325         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
43326         already defined.
43327         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
43328         * sysdeps/mips/dl-lookup.c: Remove.
43329         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
43331 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43333         [BZ #16447]
43334         * math/auto-libm-test-in: Add testcase for expl.
43335         * math/auto-libm-test-out: Regenerate.
43336         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43337         calculation of unsafe.
43338         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
43340 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43342         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
43343         * sysdeps/unix/sysv/linux/aarch64: Move directory from
43344         ports/sysdeps/unix/sysv/linux/aarch64.
43345         * README: Update listing for aarch64*-*-linux-gnu.
43347 2014-02-11  Will Newton  <will.newton@linaro.org>
43349         * manual/probes.texi (Mathematical Function Probes): Use
43350         "triggered" instead of "hit".
43352         * manual/probes.texi (Internal Probes): Add documentation
43353         of setjmp, longjmp and longjmp_target probes.
43355         * include/stap-probe.h: Add comment about probe argument
43356         format.
43358         * malloc/mtrace.c (attribute_hidden): Remove unused macro
43359         definition.  (tr_where, tr_freehook, tr_mallochook,
43360         tr_reallochook, tr_memalignhook): Use ANSI protoype.
43362 2014-02-11  David S. Miller  <davem@davemloft.net>
43364         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
43365         processing int_tests.
43367 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
43369         * sysdeps/mips: Move directory from ports/sysdeps/mips.
43370         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
43371         * sysdeps/unix/sysv/linux/mips: Move directory from
43372         ports/sysdeps/unix/sysv/linux/mips.
43373         * README: Update listing for mips-*-linux-gnu and
43374         mips64-*-linux-gnu.
43376 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
43378         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
43379         * sysdeps/unix/sysv/linux/m68k: Move directory from
43380         ports/sysdeps/unix/sysv/linux/m68k.
43381         * README: Update listing for m68k-*-linux-gnu.
43383 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
43385         * sysdeps/tile: Move directory from ports/sysdeps/tile.
43386         * sysdeps/unix/sysv/linux/generic: Move directory from
43387         ports/sysdeps/unix/sysv/linux/generic.
43388         * sysdeps/unix/sysv/linux/tile: Move directory from
43389         ports/sysdeps/unix/sysv/linux/tile.
43390         * README: Update listing for tile*-*-linux-gnu.
43392 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
43394         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
43395         __builtin_expect.
43396         * benchtests/bench-memmem.c (simple_memmem): Likewise.
43397         * catgets/open_catalog.c (__open_catalog): Likewise.
43398         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43399         * debug/confstr_chk.c: Likewise.
43400         * debug/fread_chk.c (__fread_chk): Likewise.
43401         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
43402         * debug/getgroups_chk.c: Likewise.
43403         * debug/mbsnrtowcs_chk.c: Likewise.
43404         * debug/mbsrtowcs_chk.c: Likewise.
43405         * debug/mbstowcs_chk.c: Likewise.
43406         * debug/memcpy_chk.c: Likewise.
43407         * debug/memmove_chk.c: Likewise.
43408         * debug/mempcpy_chk.c: Likewise.
43409         * debug/memset_chk.c: Likewise.
43410         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43411         * debug/strcat_chk.c (__strcat_chk): Likewise.
43412         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43413         * debug/strncat_chk.c (__strncat_chk): Likewise.
43414         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43415         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43416         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43417         * debug/wcpncpy_chk.c: Likewise.
43418         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43419         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43420         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43421         * debug/wcsncpy_chk.c: Likewise.
43422         * debug/wcsnrtombs_chk.c: Likewise.
43423         * debug/wcsrtombs_chk.c: Likewise.
43424         * debug/wcstombs_chk.c: Likewise.
43425         * debug/wmemcpy_chk.c: Likewise.
43426         * debug/wmemmove_chk.c: Likewise.
43427         * debug/wmempcpy_chk.c: Likewise.
43428         * debug/wmemset_chk.c: Likewise.
43429         * dirent/scandirat.c (SCANDIRAT): Likewise.
43430         * dlfcn/dladdr1.c (dladdr1): Likewise.
43431         * dlfcn/dladdr.c (dladdr): Likewise.
43432         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43433         * dlfcn/dlerror.c (__dlerror): Likewise.
43434         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43435         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43436         * dlfcn/dlopen.c (dlopen_doit): Likewise.
43437         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43438         * dlfcn/dlsym.c (dlsym_doit): Likewise.
43439         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43440         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43441         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43442         Likewise.
43443         * elf/dl-conflict.c: Likewise.
43444         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43445         * elf/dl-dst.h: Likewise.
43446         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43447         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43448         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43449         * elf/dl-init.c (call_init, _dl_init): Likewise.
43450         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43451         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43452         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43453         Likewise.
43454         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43455         Likewise.
43456         * elf/dl-minimal.c (__libc_memalign): Likewise.
43457         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43458         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43459         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43460         * elf/dl-sym.c (do_sym): Likewise.
43461         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43462         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43463         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43464         * elf/dl-writev.h (_dl_writev): Likewise.
43465         * elf/ldconfig.c (search_dir): Likewise.
43466         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43467         (dl_main): Likewise.
43468         * elf/setup-vdso.h (setup_vdso): Likewise.
43469         * grp/compat-initgroups.c (compat_call): Likewise.
43470         * grp/fgetgrent.c (fgetgrent): Likewise.
43471         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43472         * grp/putgrent.c (putgrent): Likewise.
43473         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43474         Likewise.
43475         * hurd/hurdinit.c: Likewise.
43476         * iconvdata/8bit-gap.c (struct): Likewise.
43477         * iconvdata/ansi_x3.110.c : Likewise.
43478         * iconvdata/big5.c : Likewise.
43479         * iconvdata/big5hkscs.c : Likewise.
43480         * iconvdata/cp1255.c: Likewise.
43481         * iconvdata/cp1258.c : Likewise.
43482         * iconvdata/cp932.c : Likewise.
43483         * iconvdata/euc-cn.c: Likewise.
43484         * iconvdata/euc-jisx0213.c : Likewise.
43485         * iconvdata/euc-jp.c: Likewise.
43486         * iconvdata/euc-jp-ms.c : Likewise.
43487         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43488         * iconvdata/gb18030.c : Likewise.
43489         * iconvdata/gbbig5.c (const): Likewise.
43490         * iconvdata/gbgbk.c: Likewise.
43491         * iconvdata/gbk.c : Likewise.
43492         * iconvdata/ibm1364.c : Likewise.
43493         * iconvdata/ibm930.c : Likewise.
43494         * iconvdata/ibm932.c: Likewise.
43495         * iconvdata/ibm933.c : Likewise.
43496         * iconvdata/ibm935.c : Likewise.
43497         * iconvdata/ibm937.c : Likewise.
43498         * iconvdata/ibm939.c : Likewise.
43499         * iconvdata/ibm943.c: Likewise.
43500         * iconvdata/iso_11548-1.c: Likewise.
43501         * iconvdata/iso-2022-cn.c : Likewise.
43502         * iconvdata/iso-2022-cn-ext.c : Likewise.
43503         * iconvdata/iso-2022-jp-3.c: Likewise.
43504         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43505         * iconvdata/iso-2022-kr.c : Likewise.
43506         * iconvdata/iso646.c (gconv_end): Likewise.
43507         * iconvdata/iso_6937-2.c : Likewise.
43508         * iconvdata/iso_6937.c : Likewise.
43509         * iconvdata/iso8859-1.c: Likewise.
43510         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43511         * iconvdata/shift_jisx0213.c : Likewise.
43512         * iconvdata/sjis.c : Likewise.
43513         * iconvdata/t.61.c : Likewise.
43514         * iconvdata/tcvn5712-1.c : Likewise.
43515         * iconvdata/tscii.c: Likewise.
43516         * iconvdata/uhc.c : Likewise.
43517         * iconvdata/unicode.c (gconv_end): Likewise.
43518         * iconvdata/utf-16.c (gconv_end): Likewise.
43519         * iconvdata/utf-32.c (gconv_end): Likewise.
43520         * iconvdata/utf-7.c (base64): Likewise.
43521         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
43522         * iconv/gconv_close.c (__gconv_close): Likewise.
43523         * iconv/gconv_open.c (__gconv_open): Likewise.
43524         * iconv/gconv_simple.c (internal_ucs4_loop_single)
43525         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
43526         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
43527         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
43528         (ucs4le_internal_loop_single): Likewise.
43529         * iconv/iconv.c (iconv): Likewise.
43530         * iconv/iconv_close.c: Likewise.
43531         * iconv/loop.c (SINGLE): Likewise.
43532         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
43533         * include/atomic.h: Likewise.
43534         * inet/inet6_option.c (option_alloc): Likewise.
43535         * intl/bindtextdom.c (set_binding_values): Likewise.
43536         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
43537         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
43538         * intl/localealias.c (read_alias_file): Likewise.
43539         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
43540         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
43541         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
43542         * libio/fmemopen.c (fmemopen): Likewise.
43543         * libio/iofgets.c (_IO_fgets): Likewise.
43544         * libio/iofgets_u.c (fgets_unlocked): Likewise.
43545         * libio/iofgetws.c (fgetws): Likewise.
43546         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
43547         * libio/iogetdelim.c (_IO_getdelim): Likewise.
43548         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
43549         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
43550         * locale/findlocale.c (_nl_find_locale): Likewise.
43551         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
43552         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
43553         Likewise.
43554         * locale/setlocale.c (setlocale): Likewise.
43555         * login/programs/pt_chown.c (main): Likewise.
43556         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
43557         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
43558         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
43559         (mmap, mmap64, mremap, munmap): Likewise.
43560         * math/e_exp2l.c: Likewise.
43561         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
43562         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
43563         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
43564         * math/s_catan.c (__catan): Likewise.
43565         * math/s_catanf.c (__catanf): Likewise.
43566         * math/s_catanh.c (__catanh): Likewise.
43567         * math/s_catanhf.c (__catanhf): Likewise.
43568         * math/s_catanhl.c (__catanhl): Likewise.
43569         * math/s_catanl.c (__catanl): Likewise.
43570         * math/s_ccosh.c (__ccosh): Likewise.
43571         * math/s_ccoshf.c (__ccoshf): Likewise.
43572         * math/s_ccoshl.c (__ccoshl): Likewise.
43573         * math/s_cexp.c (__cexp): Likewise.
43574         * math/s_cexpf.c (__cexpf): Likewise.
43575         * math/s_cexpl.c (__cexpl): Likewise.
43576         * math/s_clog10.c (__clog10): Likewise.
43577         * math/s_clog10f.c (__clog10f): Likewise.
43578         * math/s_clog10l.c (__clog10l): Likewise.
43579         * math/s_clog.c (__clog): Likewise.
43580         * math/s_clogf.c (__clogf): Likewise.
43581         * math/s_clogl.c (__clogl): Likewise.
43582         * math/s_csin.c (__csin): Likewise.
43583         * math/s_csinf.c (__csinf): Likewise.
43584         * math/s_csinh.c (__csinh): Likewise.
43585         * math/s_csinhf.c (__csinhf): Likewise.
43586         * math/s_csinhl.c (__csinhl): Likewise.
43587         * math/s_csinl.c (__csinl): Likewise.
43588         * math/s_csqrt.c (__csqrt): Likewise.
43589         * math/s_csqrtf.c (__csqrtf): Likewise.
43590         * math/s_csqrtl.c (__csqrtl): Likewise.
43591         * math/s_ctan.c (__ctan): Likewise.
43592         * math/s_ctanf.c (__ctanf): Likewise.
43593         * math/s_ctanh.c (__ctanh): Likewise.
43594         * math/s_ctanhf.c (__ctanhf): Likewise.
43595         * math/s_ctanhl.c (__ctanhl): Likewise.
43596         * math/s_ctanl.c (__ctanl): Likewise.
43597         * math/w_pow.c: Likewise.
43598         * math/w_powf.c: Likewise.
43599         * math/w_powl.c: Likewise.
43600         * math/w_scalb.c (sysv_scalb): Likewise.
43601         * math/w_scalbf.c (sysv_scalbf): Likewise.
43602         * math/w_scalbl.c (sysv_scalbl): Likewise.
43603         * misc/error.c (error_tail): Likewise.
43604         * misc/pselect.c (__pselect): Likewise.
43605         * nis/nis_callback.c (__nis_create_callback): Likewise.
43606         * nis/nis_call.c (__nisfind_server): Likewise.
43607         * nis/nis_creategroup.c (nis_creategroup): Likewise.
43608         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
43609         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
43610         * nis/nis_getservlist.c (nis_getservlist): Likewise.
43611         * nis/nis_lookup.c (nis_lookup): Likewise.
43612         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
43613         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
43614         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
43615         * nis/nis_xdr.c (xdr_endpoint): Likewise.
43616         * nis/nss_compat/compat-grp.c (getgrent_next_file)
43617         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
43618         * nis/nss_compat/compat-initgroups.c (add_group)
43619         (internal_getgrent_r): Likewise.
43620         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
43621         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
43622         * nis/nss_compat/compat-spwd.c (getspent_next_file)
43623         (internal_getspnam_r): Likewise.
43624         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
43625         (_nss_nis_getaliasbyname_r): Likewise.
43626         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
43627         (_nss_nis_getntohost_r): Likewise.
43628         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
43629         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
43630         (_nss_nis_getgrgid_r): Likewise.
43631         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
43632         (internal_nis_gethostent_r, internal_gethostbyname2_r)
43633         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
43634         (_nss_nis_gethostbyname4_r): Likewise.
43635         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
43636         (initgroups_netid): Likewise.
43637         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
43638         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
43639         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
43640         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
43641         (_nss_nis_getprotobynumber_r): Likewise.
43642         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
43643         (_nss_nis_getsecretkey): Likewise.
43644         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
43645         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
43646         (_nss_nis_getpwuid_r): Likewise.
43647         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
43648         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
43649         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
43650         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
43651         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
43652         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
43653         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
43654         Likewise.
43655         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
43656         (_nss_nisplus_getntohost_r): Likewise.
43657         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
43658         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
43659         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
43660         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
43661         Likewise.
43662         * nis/nss_nisplus/nisplus-initgroups.c
43663         (_nss_nisplus_initgroups_dyn): Likewise.
43664         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
43665         (_nss_nisplus_getnetbyaddr_r): Likewise.
43666         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
43667         (_nss_nisplus_getprotobynumber_r): Likewise.
43668         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
43669         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
43670         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
43671         Likewise.
43672         * nis/nss_nisplus/nisplus-service.c
43673         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
43674         (_nss_nisplus_getservbyport_r): Likewise.
43675         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
43676         (_nss_nisplus_getspnam_r): Likewise.
43677         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
43678         Likewise.
43679         * nscd/aicache.c (addhstaiX): Likewise.
43680         * nscd/cache.c (cache_search, prune_cache): Likewise.
43681         * nscd/connections.c (register_traced_file, send_ro_fd)
43682         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
43683         (main_loop_epoll): Likewise.
43684         * nscd/grpcache.c (addgrbyX): Likewise.
43685         * nscd/hstcache.c (addhstbyX): Likewise.
43686         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43687         * nscd/mem.c (gc, mempool_alloc): Likewise.
43688         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
43689         (addinnetgrX): Likewise.
43690         * nscd/nscd-client.h (__nscd_acquire_maplock)
43691         (__nscd_drop_map_ref): Likewise.
43692         * nscd/nscd_getai.c (__nscd_getai): Likewise.
43693         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
43694         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
43695         Likewise.
43696         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
43697         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43698         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
43699         (__nscd_get_map_ref): Likewise.
43700         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
43701         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
43702         Likewise.
43703         * nscd/pwdcache.c (addpwbyX): Likewise.
43704         * nscd/selinux.c (preserve_capabilities): Likewise.
43705         * nscd/servicescache.c (addservbyX): Likewise.
43706         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
43707         * posix/fnmatch.c (fnmatch): Likewise.
43708         * posix/getopt.c (_getopt_internal_r): Likewise.
43709         * posix/glob.c (glob, glob_in_dir): Likewise.
43710         * posix/wordexp.c (exec_comm_child): Likewise.
43711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
43712         (getanswer_r, gaih_getanswer_slice): Likewise.
43713         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
43714         * resolv/res_init.c: Likewise.
43715         * resolv/res_mkquery.c (res_nmkquery): Likewise.
43716         * resolv/res_query.c (__libc_res_nquery): Likewise.
43717         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
43718         Likewise.
43719         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
43720         * stdio-common/perror.c (perror): Likewise.
43721         * stdio-common/printf_fp.c (___printf_fp): Likewise.
43722         * stdio-common/tmpnam.c (tmpnam): Likewise.
43723         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43724         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
43725         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
43726         Likewise.
43727         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
43728         * stdlib/putenv.c (putenv): Likewise.
43729         * stdlib/setenv.c (__add_to_environ): Likewise.
43730         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43731         * stdlib/strtol_l.c (INTERNAL): Likewise.
43732         * string/memmem.c (memmem): Likewise.
43733         * string/strerror.c (strerror): Likewise.
43734         * string/strnlen.c (__strnlen): Likewise.
43735         * string/test-memmem.c (simple_memmem): Likewise.
43736         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
43737         * sunrpc/pm_getport.c (__get_socket): Likewise.
43738         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
43739         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
43740         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
43741         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
43742         Likewise.
43743         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
43744         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
43745         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
43746         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
43747         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
43748         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
43749         Likewise.
43750         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
43751         Likewise.
43752         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
43753         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
43754         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43755         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
43756         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
43757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
43758         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43759         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
43760         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
43761         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
43762         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43763         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
43764         Likewise.
43765         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
43766         Likewise.
43767         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
43768         Likewise.
43769         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
43770         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43771         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
43772         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
43773         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
43774         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
43775         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43776         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
43777         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
43778         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
43779         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
43780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43781         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43782         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
43783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43784         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
43785         Likewise.
43786         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
43787         Likewise.
43788         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
43789         Likewise.
43790         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
43791         Likewise.
43792         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43794         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
43795         Likewise.
43796         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
43797         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
43798         * sysdeps/posix/opendir.c (__opendirat): Likewise.
43799         * sysdeps/posix/sleep.c: Likewise.
43800         * sysdeps/posix/tempname.c: Likewise.
43801         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
43802         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43803         Likewise.
43804         * sysdeps/powerpc/powerpc32/dl-machine.h
43805         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
43806         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43807         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43808         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
43809         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
43810         Likewise.
43811         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
43812         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
43813         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43814         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
43815         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43816         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
43817         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
43818         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
43819         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43820         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
43821         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
43822         (elf_machine_lazy_rel): Likewise.
43823         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43824         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
43825         (elf_machine_lazy_rel): Likewise.
43826         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
43827         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
43828         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
43829         * sysdeps/unix/grantpt.c (grantpt): Likewise.
43830         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
43831         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
43832         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
43833         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43834         Likewise.
43835         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
43836         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
43837         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
43838         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
43839         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43840         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43841         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
43842         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
43843         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
43844         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43845         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43846         Likewise.
43847         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
43848         (__posix_fallocate64_l64): Likewise.
43849         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
43850         (posix_fallocate): Likewise.
43851         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
43852         Likewise.
43853         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43854         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
43855         (getifaddrs_internal): Likewise.
43856         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
43857         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
43858         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
43859         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
43860         * sysdeps/unix/sysv/linux/posix_fallocate64.c
43861         (__posix_fallocate64_l64): Likewise.
43862         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
43863         Likewise.
43864         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
43865         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
43866         (__get_clockfreq): Likewise.
43867         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
43868         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
43869         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
43870         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43872         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
43873         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
43874         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
43875         Likewise.
43876         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
43877         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
43878         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
43879         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
43880         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43881         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
43882         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
43883         Likewise.
43884         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43885         (posix_fallocate): Likewise.
43886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43887         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43888         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43889         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43890         (elf_machine_rela, elf_machine_rela_relative)
43891         (elf_machine_lazy_rel): Likewise.
43892         * time/asctime.c (asctime_internal): Likewise.
43893         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43894         * time/tzset.c (__tzset_parse_tz): Likewise.
43895         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43896         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43897         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43898         * wcsmbs/wcsmbsload.h: Likewise.
43900         [BZ #15894]
43901         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43903         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43904         (arena_get2): Remove THREAD_STATS conditionals.
43905         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43906         (__malloc_stats, int): Likewise.
43908 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43910         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43911         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43913         * manual/setjmp.texi: Fix typos/grammar errors.
43915         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43916         Only return early when n is <= 0.  Delete unused return statement.
43918         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43919         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43920         * debug/tst-longjmp_chk3.c: New file.
43922         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43923         (test_main): Replace code with set_fortify_handler call.
43924         * debug/test-strcpy_chk.c: Likewise.
43925         * debug/tst-chk1.c: Likewise.
43926         * debug/tst-longjmp_chk.c: Likewise.
43927         * test-skeleton.c: Include fcntl.h & paths.h
43928         (set_fortify_handler): Define.
43930         * debug/tst-longjmp_chk.c: Add header comment and include
43931         ../test-skeleton.c.
43932         (do_test): Mark static.
43933         (TEST_FUNCTION): Define.
43935         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43936         (IP_PMTUDISC_INTERFACE): Likewise.
43937         (IP_MULTICAST_IF): Likewise.
43938         (IP_MULTICAST_TTL): Likewise.
43939         (IP_MULTICAST_LOOP): Likewise.
43940         (IP_ADD_MEMBERSHIP): Likewise.
43941         (IP_DROP_MEMBERSHIP): Likewise.
43942         (IP_UNBLOCK_SOURCE): Likewise.
43943         (IP_BLOCK_SOURCE): Likewise.
43944         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43945         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43946         (IP_MSFILTER): Likewise.
43947         (MCAST_JOIN_GROUP): Likewise.
43948         (MCAST_BLOCK_SOURCE): Likewise.
43949         (MCAST_UNBLOCK_SOURCE): Likewise.
43950         (MCAST_LEAVE_GROUP): Likewise.
43951         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43952         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43953         (MCAST_MSFILTER): Likewise.
43954         (IP_MULTICAST_ALL): Likewise.
43955         (IP_UNICAST_IF): Likewise.
43957         * timezone/Makefile: Delete $(have-ksh) check.
43958         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43959         * timezone/tzselect.ksh: Add +x mode bits.
43961         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43962         (ANON_INODE_FS_MAGIC): Likewise.
43963         (BDEVFS_MAGIC): Likewise.
43964         (BINFMTFS_MAGIC): Likewise.
43965         (BTRFS_TEST_MAGIC): Likewise.
43966         (CRAMFS_MAGIC_WEND): Likewise.
43967         (DEBUGFS_MAGIC): Likewise.
43968         (ECRYPTFS_SUPER_MAGIC): Likewise.
43969         (EXT3_SUPER_MAGIC): Likewise.
43970         (EXT4_SUPER_MAGIC): Likewise.
43971         (FUTEXFS_SUPER_MAGIC): Likewise.
43972         (HOSTFS_SUPER_MAGIC): Likewise.
43973         (HUGETLBFS_MAGIC): Likewise.
43974         (MINIX3_SUPER_MAGIC): Likewise.
43975         (MTD_INODE_FS_MAGIC): Likewise.
43976         (NILFS_SUPER_MAGIC): Likewise.
43977         (OPENPROM_SUPER_MAGIC): Likewise.
43978         (PIPEFS_MAGIC): Likewise.
43979         (PSTOREFS_MAGIC): Likewise.
43980         (QNX6_SUPER_MAGIC): Likewise.
43981         (RAMFS_MAGIC): Likewise.
43982         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43983         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43984         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43985         (SECURITYFS_MAGIC): Likewise.
43986         (SELINUX_MAGIC): Likewise.
43987         (SMACK_MAGIC): Likewise.
43988         (SOCKFS_MAGIC): Likewise.
43989         (SQUASHFS_MAGIC): Likewise.
43990         (STACK_END_MAGIC): Likewise.
43991         (TMPFS_MAGIC): Likewise.
43992         (USBDEVICE_SUPER_MAGIC): Likewise.
43993         (V9FS_MAGIC): Likewise.
43994         (XENFS_SUPER_MAGIC): Likewise.
43995         (CRAMFS_MAGIC): Fix typo in comment.
43996         (EXT2_SUPER_MAGIC): Update comment.
43997         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43999 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44001         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44002         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44003         * sysdeps/unix/sysv/linux/arm: Move directory from
44004         ports/sysdeps/unix/sysv/linux/arm.
44005         * README: Update listing for arm-*-linux-gnueabi.
44007         * README: Remove mention of am33.
44009 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44011         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44012         than the comma operator, to avoid "rhs of comma has no effect"
44013         compiler warnings.
44014         (__sigfillset, __sigandset, __sigorset): Likewise.
44015         * include/signal.h (__sigemptyset): Likewise.
44016         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44018 2014-02-07  Allan McRae  <allan@archlinux.org>
44020         * version.h (RELEASE): Set to "development".
44021         (VERSION): Set to "2.19.90"
44022         * NEWS: Add 2.20 section.
44024 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44026         [BZ #16529]
44027         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44029 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44031         * manual/contrib.texi: Update entry for Carlos O'Donell,
44032         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44034 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44036         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44038         * sysdeps/unix/sysv/linux/kernel-features.h
44039         [__LINUX_KERNEL_VERSION >= 0x020621]
44040         (__ASSUME_PROC_PID_TASK_COMM): Define.
44042 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44044         [BZ #16398]
44045         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44046         conversion when destination buffer does not have enough space.
44047         * libio/tst-ftell-partial-wide.c: New test case.
44048         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44050         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44051         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44052         Leonard and Allan McRae.
44054 2014-02-04  David S. Miller  <davem@davemloft.net>
44056         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44057         32-bit.
44059 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44062         New file
44063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44064         New file
44065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44066         New file.
44067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44068         New file.
44069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44070         New file.
44071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44072         New file.
44073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44074         New file.
44075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44076         New file.
44077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44078         New file.
44079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44080         New file.
44081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44082         New file.
44083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44084         New file.
44085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44086         New file.
44088 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44090         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44091         * shlib-versions: Likewise.
44093 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44094             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44096         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44097         (abilist-pattern): New variable, set to %-le.abilist.
44099         * Makerules (abilist-pattern): New variable.
44100         (vpath): Use $(abilist-pattern) in place of %.abilist.
44101         (check-abi-% pattern rule): Likewise.
44102         (check-abi, update-abi): Likewise.
44104 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44108 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44110         * manual/startup.texi: Add next, previous, and top entries for
44111         the `Program Arguments' and `Environment Variables' nodes.
44113 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44115         * manual/macros.texi: Add comments before MTASC-safety macros.
44117         * manual/users.texi: Document MTASC-safety properties.
44119         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44120         (pthread_getspecific, pthread_setspecific): Format with
44121         @deftypefun, and add @safety note.
44122         * manual/signal.texi: Move comments that analyze the above
44123         functions to their home place.
44125 2014-02-03  Allan McRae  <allan@archlinux.org>
44127         * po/sl.po: Update Slovenian translation from translation project.
44129 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44131         * manual/time.texi (timegm): Add missing blank after @c.
44132         Reported by Joseph Myers <joseph@codesourcery.com>.
44134 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44136         * manual/check-safety.sh: New.
44137         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44139         * manual/terminal.texi: Document MTASC-safety properties.
44141         * manual/filesys.texi: Document MTASC-safety properties.
44143         * manual/errno.texi: Document MTASC-safety properties.
44145         * manual/intro.texi: Document safety identifiers and
44146         conditionals.
44148         * manual/string.texi (wcstok): Fix prototype.
44149         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44151         * manual/time.texi: Document MTASC-safety properties.
44153         * manual/string.texi: Document MTASC-safety properties.
44155         * manual/threads.texi: Document MTASC-safety properties.
44157         * manual/stdio.texi: Document MTASC-safety properties.
44159         * manual/syslog.texi: Document MTASC-safety properties.
44161         * manual/sysinfo.texi: Document MTASC-safety properties.
44163         * manual/startup.texi: Document MTASC-safety properties.
44165         * manual/socket.texi: Document MTASC-safety properties.
44167         * manual/signal.texi: Document MTASC-safety properties.
44169 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44171         * manual/setjmp.texi: Document MTASC-safety properties.
44173         * manual/search.texi: Document MTASC-safety properties.
44175         * manual/resource.texi: Document MTASC-safety properties.
44177         * manual/process.texi: Document MTASC-safety properties.
44179         * manual/platform.texi: Document MTASC-safety properties.
44181         * manual/pipe.texi: Document MTASC-safety properties.
44183         * manual/pattern.texi: Document MTASC-safety properties.
44185         * manual/message.texi: Document MTASC-safety properties.
44187         [BZ #12751]
44188         * manual/memory.texi: Document MTASC-safety properties.
44190         * manual/math.texi: Document MTASC-safety properties.
44192         * manual/locale.texi: Document MTASC-safety properties.
44194         * manual/llio.texi: Document MTASC-safety properties.
44196         * manual/libdl.texi: New.
44198         * manual/lang.texi: Document MTASC-safety properties.
44200         * manual/job.texi: Document MTASC-safety properties.
44202         * manual/getopt.texi: Document MTASC-safety properties.
44204         * manual/ctype.texi: Document MTASC-safety properties.
44206 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44208         [BZ #16046]
44209         * csu/libc-tls.c (static_map): Remove variable.
44210         (__libc_setup_tls): Use main executable's link map for TLS data.
44211         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44212         casing for LM_ID_BASE and GL(dl_nns).
44213         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44214         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44215         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44216         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44217         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44218         member.
44219         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44220         l_phnum members.
44222 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44224         * manual/debug.texi: Document MTASC-safety properties.
44226 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44228         [BZ #16510]
44229         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44230         of __x86_64__ when disabling x87 inline functions.
44232 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
44234         * manual/charset.texi: Document MTASC-safety properties.
44236         * manual/crypt.texi: Document MTASC-safety properties.
44238         * manual/conf.texi: Document MTASC-safety properties.
44240         * manual/arith.texi: Document MTASC-safety properties.
44242         * manual/argp.texi: Document MTASC-safety properties.
44244         * manual/macros.texi: Introduce macros to document multi
44245         thread, asynchronous signal and asynchronous cancellation
44246         safety properties.
44247         * manual/intro.texi: Introduce the properties themselves.
44249 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44251         * sysdeps/sh/sh4/Makefile: New file.
44253 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
44255         * math/gen-libm-test.pl ($srcdir): New variable.
44256         ($auto_input): Use it.
44258 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44260         [BZ #16506]
44261         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
44262         access beyond array bounds when parsing netgroups file.
44264         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
44265         the old buffer before realloc.
44267 2014-01-27  Allan McRae  <allan@archlinux.org>
44269         * po/fr.po: Update French translation from translation project.
44271 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44273         * sysdeps/sh/libm-test-ulps: Regenerate.
44275 2014-01-24  David S. Miller  <davem@davemloft.net>
44277         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
44279 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44281         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
44282         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
44284 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44286         [BZ #16474]
44287         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
44288         string pointers after reallocation.
44290 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44292         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
44293         __SH4A__ instead of __SH_FPU_ANY__.
44295 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44297         * sysdeps/sh/fpu_control.h: New file.
44298         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
44299         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
44300         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44301         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
44302         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
44303         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
44304         * sysdeps/sh/sys/ucontext.h: Remove.
44305         * sysdeps/sh/sys: Remove directory.
44307 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44309         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44310         s390/sys/ucontext.h.
44311         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
44312         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
44314 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
44316         [BZ #15605]
44317         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
44319 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44321         [BZ#16431]
44322         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44323         Adjust the vDSO correctly for internal calls.
44324         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
44326 2014-01-20  Allan McRae  <allan@archlinux.org>
44328         * po/ca.po: Update Catalan translation from translation project.
44330 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
44332         * sysdeps/s390/sotruss-lib.c: New file.
44334 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44336         [BZ#16430]
44337         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
44338         (__GI___gettimeofday): Alias for a different internal symbol to avoid
44339         local calls issues by not having a PLT stub required for IFUNC calls.
44340         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
44342 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
44344         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
44345         * math/test-fpucw-static.c: Likewise.
44347 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44349         [BZ #16453]
44350         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
44352 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44354         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
44355         implementation for powerpc.
44357 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
44359         [BZ #14782]
44360         * sysdeps/posix/system.c (__libc_system): Do not enable
44361         asynchronous cancellation.
44363 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44365         [BZ #16427]
44366         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
44367         handling only for numbers special also in the IEEE case.
44369 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44371         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44373 2014-01-11  Allan McRae  <allan@archlinux.org>
44375         * po/bg.po: Update Bulgarian translation from translation project.
44377         * po/de.po: Update German translation from translation project.
44379 2014-01-10  Roland McGrath  <roland@hack.frob.com>
44381         * sysdeps/generic/gcc-compat.h: New file.
44383 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44385         * benchtests/asin-inputs: Correct slow inputs.
44386         * benchtests/acos-inputs: Likewise.
44388 2014-01-10  Allan McRae  <allan@archlinux.org>
44390         * po:sv.po: Update Swedish translation from translation project.
44392         * po/vi.po: Update Vietnamese translation from translation project.
44394         * po/eo.po: Update Esperanto translation from translation project.
44396         * po/cs.po: Update Czech translation from translation project.
44398         * po/nl.po: Update Dutch translation from translation project.
44400         * po/pl.po: Update Polish translation from translation project.
44402         * po/ru.po: Update Russian translation from translation project.
44404         * po/uk.po: Update Ukrainian translation from translation project.
44406 2014-01-08  Brooks Moses  <bmoses@google.com>
44408         * elf/dl-load.c: Fix comment typo.
44410 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
44412         * po/header.pot: Rename to...
44413         * po/pot.header: ... this.
44414         * po/Makefile: Use pot.header.
44416 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
44417             Maxim Kuvyrkov  <maxim@kugelworks.com>
44419         [BZ #16394]
44420         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44421         SRC and DEST against LEN.
44423 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44425         [BZ #16414]
44426         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44427         implementation.
44428         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44430 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44434 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
44436         [BZ #16408]
44437         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44438         for large positive arguments.
44440 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
44442         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44444         * math/auto-libm-test-in: Mark various tests with
44445         xfail-rounding:ldbl-128ibm.
44446         * math/auto-libm-test-out: Regenerated.
44448         [BZ #16407]
44449         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44450         Increase overflow threshold.
44452 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
44454         [BZ #14286]
44455         * stdio-common/vfprintf.c: Check for integer overflow.
44457 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44459         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44460         the first argument and return value of __tls_get_addr_internal.
44462 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44464         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44465         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44467 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44469         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44470         * sysdeps/s390/rtld-global-offsets.sym: New file.
44471         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44472         GLIBC_2.19 symbol.
44473         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44474         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44475         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44476         ... this.
44477         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44478         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44479         ... this.
44480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44481         Regenerate.
44482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44483         Regenerate.
44484         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44485         halfs of GPRs for high_gprs contexts.
44486         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44487         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
44488         field.
44489         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44490         uc_flags field.
44491         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44492         64 bit versions:
44493         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44494         for high GPRs (uc_high_gprs) and for future extensions
44495         (__reserved).
44496         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44497         for future extensions (__reserved).
44498         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44499         64 bit versions:
44500         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44501         SC_HIGHGPRS offset definition.
44502         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44503         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44505         * Versions.def: Add GLIBC_2.19 for libpthread.
44506         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44507         siglongjmp for libpthread with GLIBC_2.19 symver.
44508         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44509         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44510         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44511         * sysdeps/s390/__longjmp.c: New file.
44512         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44513         * sysdeps/s390/longjmp.c: New file.
44514         * sysdeps/s390/setjmp.S: New file.
44515         * sysdeps/s390/sigjmp.S: New file.
44516         * sysdeps/s390/v1-longjmp.c: New file.
44517         * sysdeps/s390/v1-setjmp.h: New file.
44518         * sysdeps/s390/v1-sigjmp.c: New file.
44519         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
44520         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
44521         GLIBC_2.19 version.
44522         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
44523         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
44524         versioned symbols for ____longjmp_chk.
44525         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44526         Likewise.
44527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44528         Regenerate.
44529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44530         Regenerate.
44531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44532         Regenerate.
44533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44534         Regenerate.
44535         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
44536         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
44537         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
44538         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
44539         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
44540         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
44541         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
44542         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
44543         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
44544         * sysdeps/s390/rtld-__longjmp.c: New file.
44545         * sysdeps/s390/rtld-setjmp.S: New file.
44547 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
44549         [BZ #16400]
44550         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44551         Return -__logl (x) for small positive arguments without evaluating
44552         a polynomial.
44554 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
44556         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
44557         Rename to ...
44558         (__ptrace_peeksiginfo_args): ... this.
44559         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44560         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44561         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44563 2014-01-06  Allan McRae  <allan@archlinux.org>
44565         * inet/netinet/in.h: Fix typo in comment.
44567 2014-01-05  Andreas Jaeger  <aj@suse.de>
44569         * sysdeps/i386/fpu/libm-test-ulps: Update.
44571 2014-01-05  Allan McRae  <allan@archlinux.org>
44573         * po/libc.pot: Regenerated.
44575         * malloc/memusagestat.c: Fix gettext call formatting.
44577 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
44579         * nscd/nscd.c: Improve usage() output.
44581 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
44583         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
44584         * sysdeps/unix/sysv/linux/configure: Regenerated.
44585         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
44586         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
44588 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44590         [BZ #16390]
44591         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44592         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
44594 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44596         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44597         extra tokens at end of #undef directive.
44598         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
44599         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
44600         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
44602 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44604         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44606         * math/auto-libm-test-in: Mark various tests with
44607         xfail-rounding:ldbl-128ibm.
44608         * math/auto-libm-test-out: Regenerated.
44610 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
44612         [BZ #16386]
44613         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
44614         numbers with subnormal high part when calculating exponent.
44616         [BZ #16385]
44617         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
44618         fabs.
44620         [BZ #16384]
44621         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44622         M_LN2l.
44623         (__ieee754_acoshl): Use __log1pl not __log1p.
44625 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
44627         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
44628         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
44629         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
44630         (grow_heap, heap_trim, _int_new_arena, get_free_list)
44631         (reused_arena, arena_get2): Convert to GNU style.
44632         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
44633         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
44634         (memalign_check, __malloc_set_state): Likewise.
44635         * malloc/mallocbug.c (main): Likewise.
44636         * malloc/malloc.c (__malloc_assert, malloc_init_state)
44637         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
44638         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
44639         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
44640         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
44641         (__posix_memalign, malloc_info): Likewise.
44642         * malloc/malloc.h: Likewise.
44643         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
44644         (mallochook, memalignhook, reallochook, mabort): Likewise.
44645         * malloc/mcheck.h: Likewise.
44646         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
44647         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
44648         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
44649         * malloc/morecore.c (__default_morecore): Likewise.
44650         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
44651         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
44652         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
44653         (print_and_abort): Likewise.
44654         * malloc/obstack.h: Likewise.
44655         * malloc/set-freeres.c (__libc_freeres): Likewise.
44656         * malloc/tst-mallocstate.c (main): Likewise.
44657         * malloc/tst-mtrace.c (main): Likewise.
44658         * malloc/tst-realloc.c (do_test): Likewise.
44660 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44662         [BZ #16366]
44663         * nscd/netgroupcache.c (do_notfound): New function.
44664         (addgetnetgrentX): Use it.
44666         [BZ # 16365]
44667         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
44668         NSS_STATUS_NOTFOUND.
44670 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
44672         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44675 2014-01-01  Allan McRae  <allan@archlinux.org>
44677         * scripts/update-copyrights: Update configure input file suffix.
44679         * NEWS: Update copyright year.
44680         * catgets/gencat.c: Likewise.
44681         * csu/version.c: Likewise.
44682         * debug/catchsegv.sh: Likewise.
44683         * debug/pcprofiledump.c: Likewise.
44684         * debug/xtrace.sh: Likewise.
44685         * elf/ldconfig.c: Likewise.
44686         * elf/ldd.bash.in: Likewise.
44687         * elf/pldd.c: Likewise.
44688         * elf/sotruss.ksh: Likewise.
44689         * elf/sprof.c: Likewise.
44690         * iconv/iconv_prog.c: Likewise.
44691         * iconv/iconvconfig.c: Likewise.
44692         * locale/programs/locale.c: Likewise.
44693         * locale/programs/localedef.c: Likewise.
44694         * login/programs/pt_chown.c: Likewise.
44695         * malloc/memusage.sh: Likewise.
44696         * malloc/memusagestat.c: Likewise.
44697         * malloc/mtrace.pl: Likewise.
44698         * manual/libc.texinfo: Likewise.
44699         * nscd/nscd.c: Likewise.
44700         * nss/getent.c: Likewise.
44701         * nss/makedb.c: Likewise.
44702         * posix/getconf.c: Likewise.
44703         * scripts/test-installation.pl: Likewise.
44705         * All files with FSF copyright notices: Update copyright dates
44706         using scripts/update-copyrights.
44707         * intl/plural.c: Regenerated.
44708         * locale/programs/charmap-kw.h: Likewise.
44709         * locale/programs/locfile-kw.h: Likewise.
44711 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
44713         * sysdeps/unix/sysv/linux/configure: Regenerated.
44714         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
44715         the linux/fanotify.h header.
44716         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
44717         HAVE_LINUX_FANOTIFY_H is defined.
44719 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44721         * benchtests/cos-inputs: New inputs.
44722         * benchtests/sin-inputs: Likewise.
44724         * benchtests/atan-inputs: New inputs. Fix name of multiple
44725         precision fallback inputs.
44727         * benchtests/atanh-inputs: New inputs.
44728         * benchtests/tanh-inputs: Likewise.
44730         * benchtests/acosh-inputs: New inputs.
44731         * benchtests/asinh-inputs: Likewise.
44733         * benchtests/cosh-inputs: New inputs.
44734         * benchtests/sinh-inputs: Likewise.
44736         * benchtests/acos-inputs: Add more inputs.
44737         * benchtests/asin-inputs: Likewise.
44739 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
44741         [BZ #16375]
44742         * manual/arith.texi: Fix spelling.
44743         * manual/charset.texi: Likewise.
44744         * manual/errno.texi: Likewise.
44745         * manual/filesys.texi: Likewise.
44746         * manual/lang.texi: Likewise.
44747         * manual/llio.texi: Likewise.
44748         * manual/locale.texi: Likewise.
44749         * manual/message.texi: Likewise.
44750         * manual/resource.texi: Likewise.
44751         * manual/search.texi: Likewise.
44752         * manual/setjmp.texi: Likewise.
44753         * manual/stdio.texi: Likewise.
44754         * manual/string.texi: Likewise.
44755         * manual/sysinfo.texi: Likewise.
44756         * manual/time.texi: Likewise.
44758 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
44760         * po/sl.po: New file.
44762 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
44764         * .gitignore: Add core/.gdbinit/.gdb_history.
44766 2013-12-27  Allan McRae  <allan@archlinux.org>
44768         [BZ #16369]
44769         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
44770         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
44772 2013-12-24  Brooks Moses  <bmoses@google.com>
44774         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
44775         all compilers that claim C++98 compliance, not just GCC.
44776         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
44777         Likewise.
44779 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44781         * NEWS: Restore accidentally deleted bug-fix entries.
44783 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44784             Ondřej Bílka  <neleai@seznam.cz>
44786         [BZ #15073]
44787         * malloc/malloc.c (_int_free): Perform sanity check only if we
44788         have_lock.
44790 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
44792         [BZ #12986]
44793         * manual/stdio.texi (String Input Conversions): Clarify that character
44794         classes are not supported.
44796 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44800 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
44802         [BZ #16337]
44803         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44804         Calculate results for small negative arguments directly rather
44805         than using reflection formula with special underflow handling.
44807         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
44808         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
44809         sysdeps/unix/bsd/bsd4.4/syscalls.list.
44810         (fchflags): Likewise.
44811         (revoke): Likewise.
44812         (setlogin): Likewise.
44813         (sigaltstack): Likewise.
44814         (wait4): Likewise.
44815         (sigblock): Remove.
44816         (sigsetmask): Likewise.
44817         (wait3): Likewise.
44818         (waitpid): Likewise.
44819         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
44820         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
44821         file.
44822         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
44823         * sysdeps/unix/bsd/Makefile: ... here.
44824         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
44825         * sysdeps/unix/bsd/Versions: ... here.
44826         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
44827         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
44828         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
44829         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
44830         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
44831         * sysdeps/unix/bsd/sigblock.c: ... here.
44832         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
44833         * sysdeps/unix/bsd/sigsetmask.c: ... here.
44834         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
44835         * sysdeps/unix/bsd/sigvec.c: ... here.
44836         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
44837         * sysdeps/unix/bsd/tcdrain.c: ... here.
44838         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
44839         * sysdeps/unix/bsd/tcgetattr.c: ... here.
44840         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
44841         * sysdeps/unix/bsd/tcsetattr.c: ... here.
44842         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
44843         * sysdeps/unix/bsd/wait.c: ... here.
44844         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
44845         * sysdeps/unix/bsd/wait3.c: ... here.
44846         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
44847         * sysdeps/unix/bsd/waitpid.c: ... here.
44849 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
44851         [BZ #16356]
44852         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
44853         round-to-nearest for [!USE_AS_EXPM1L].
44854         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
44855         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
44856         more tests of exp and exp10.  Expect some exp10 tests to miss
44857         exceptions or fail in directed rounding modes.
44858         * math/auto-libm-test-out: Regenerated.
44859         * math/libm-test.inc (exp10_tonearest_test_data): New array.
44860         (exp10_test_tonearest): New function.
44861         (exp10_towardzero_test_data): New array.
44862         (exp10_test_towardzero): New function.
44863         (exp10_downward_test_data): New array.
44864         (exp10_test_downward): New function.
44865         (exp10_upward_test_data): New array.
44866         (exp10_test_upward): New function.
44867         (main): Call the new functions.
44868         * sysdeps/i386/fpu/libm-test-ulps: Update.
44869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44871 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
44873         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
44874         asinh, atan, atan2, atanh, cbrt, cos and cosh.
44875         * math/auto-libm-test-out: Regenerated.
44876         * math/libm-test.inc (acosh_test_data): Add more tests.
44877         (atanh_test_data): Likewise.
44878         (ceil_test_data): Likewise.
44879         (copysign_test_data): Likewise.
44880         * sysdeps/i386/fpu/libm-test-ulps: Update.
44881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44883         * timezone/checktab.awk: Update from tzcode 2013i.
44884         * timezone/private.h: Likewise.
44885         * timezone/scheck.c: Likewise.
44886         * timezone/tzfile.h: Likewise.
44887         * timezone/tzselect.ksh: Likewise.
44888         * timezone/zdump.c: Likewise.
44889         * timezone/zic.c: Likewise.
44891         * math/auto-libm-test-in: Add tests of cpow.
44892         * math/auto-libm-test-out: Regenerated.
44893         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44894         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44895         mpc_cc_c.
44896         (func_calc_desc): Add mpc_cc_c union field.
44897         (test_functions): Add cpow.
44898         (special_fill_2pi): New function.
44899         (special_real_inputs): Add 2pi.
44900         (calc_generic_results): Handle mpc_cc_c.
44901         * sysdeps/i386/fpu/libm-test-ulps: Update.
44902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44904         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44905         csqrt, ctan and ctanh.
44906         * math/auto-libm-test-out: Regenerated.
44907         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44908         (TEST_COND_x86): Likewise.
44909         (ccos_test_data): Use AUTO_TESTS_c_c.
44910         (ccosh_test_data): Likewise.
44911         (cexp_test_data): Likewise.
44912         (clog_test_data): Likewise.
44913         (csqrt_test_data): Likewise.
44914         (ctan_test_data): Likewise.
44915         (ctan_tonearest_test_data): Likewise.
44916         (ctan_towardzero_test_data): Likewise.
44917         (ctan_downward_test_data): Likewise.
44918         (ctan_upward_test_data): Likewise.
44919         (ctanh_test_data): Likewise.
44920         (ctanh_tonearest_test_data): Likewise.
44921         (ctanh_towardzero_test_data): Likewise.
44922         (ctanh_downward_test_data): Likewise.
44923         (ctanh_upward_test_data): Likewise.
44924         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44925         mpc_c_c.
44926         (func_calc_desc): Add mpc_c_c union field.
44927         (FUNC_mpc_c_c): New macro.
44928         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44929         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44930         ctanh.
44931         (special_fill_min_subnorm_p120): New function.
44932         (special_real_inputs): Add min_subnorm_p120.
44933         (calc_generic_results): Handle mpc_c_c.
44934         * sysdeps/i386/fpu/libm-test-ulps: Update.
44935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44937 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44939         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44940         (do_sin_slow): New functions.
44941         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44942         (cslow2, csloww1, csloww2): Use the new functions.
44944         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44945         Use M to change sign of result instead of X.  Assume X is
44946         positive.
44947         (csloww1): Likewise.
44948         (__sin): Adjust.
44949         (__cos): Adjust.
44951         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44952         arguments A and DA.
44953         (__sin): Adjust.
44954         (__cos): Likewise.
44956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44957         (__cos): Likewise.
44958         (sloww1): Don't adjust sign of DX.
44959         (csloww1): Likewise.
44960         (sloww2): Use X directly and don't adjust sign of DX.
44961         (csloww2): Likewise.
44963 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44965         * math/auto-libm-test-in: Add tests of cabs and carg.
44966         * math/auto-libm-test-out: Regenerated.
44967         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44968         (carg_test_data): Likewise.
44969         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44970         mpc_c_f.
44971         (func_calc_desc): Add mpc_c_f union field.
44972         (test_functions): Add cabs and carg.
44973         (calc_generic_results): Handle mpc_c_f.
44975         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44976         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44977         as a macro and a compat symbol.
44978         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44979         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44980         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44981         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44982         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44983         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44984         not use .hidden.
44985         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44986         Likewise.
44987         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44988         Likewise.
44989         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44990         Likewise.
44991         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44992         Likewise.
44993         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44994         Likewise.
44995         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44996         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44997         from GLIBC_2.3.2.
44999 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45003 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45005         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45006         trailing whitespace removed.
45007         * scripts/config.guess: Update to version 2013-11-29.
45008         * scripts/config.sub: Update to version 2013-10-01.
45010         * math/auto-libm-test-in: Add tests of sincos.
45011         * math/auto-libm-test-out: Regenerated.
45012         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45013         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45014         mpfr_f_11.
45015         (func_calc_desc): Add mpfr_f_11 union field.
45016         (test_functions): Add sincos.
45017         (calc_generic_results): Handle mpfr_f_11.
45018         * sysdeps/i386/fpu/libm-test-ulps: Update.
45019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45021 2013-12-19  Andreas Schwab  <schwab@suse.de>
45023         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45024         CALL_MCOUNT.
45025         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45026         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45027         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45029 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45031         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45032         * sysdeps/i386/fpu/libm-test-ulps: Update.
45033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45035         [BZ #16293]
45036         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45037         round-to-nearest mode when using frndint.
45038         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45039         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45040         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45041         Likewise.
45042         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45043         sinh test to fail.
45044         * math/auto-libm-test-out: Regenerated.
45045         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45046         (TEST_COND_x86): Likewise.
45047         (expm1_tonearest_test_data): New array.
45048         (expm1_test_tonearest): New function.
45049         (expm1_towardzero_test_data): New array.
45050         (expm1_test_towardzero): New function.
45051         (expm1_downward_test_data): New array.
45052         (expm1_test_downward): New function.
45053         (expm1_upward_test_data): New array.
45054         (expm1_test_upward): New function.
45055         (main): Run the new test functions.
45056         * sysdeps/i386/fpu/libm-test-ulps: Update.
45057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45059         * include/features.h: Update comment documenting feature test
45060         macros.  Mention _DEFAULT_SOURCE in comment.
45061         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45062         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45063         _BSD_SOURCE and _SVID_SOURCE.
45064         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45065         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45066         !_SVID_SOURCE]: Likewise.
45067         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45068         (__USE_POSIX_IMPLICITLY): Define.
45069         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45070         (_POSIX_SOURCE): Undefine and redefine.
45071         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45072         (_POSIX_C_SOURCE): Likewise.
45073         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45074         (Feature Test Macros): Update documentation of default features.
45076 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45078         * benchtests/Makefile: Add bench-strtok.
45079         * benchtests/bench-strtok.c: New file: strtok benchtest.
45081 2013-12-19  Allan McRae  <allan@archlinux.org>
45083         * manual/install.texi: Suppress menu for plain text output.
45084         * INSTALL: Regenerated.
45086 2013-12-18  Brooks Moses  <bmoses@google.com>
45088         [BZ #15846]
45089         * misc/getauxval.c: Include errno.h.
45090         (__getauxval): Set errno to ENOENT if the requested type is not
45091         found.
45092         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45093         don't declare with __attribute_const__.
45094         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45095         * manual/startup.texi: Document that getauxval sets errno.
45097 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45099         * math/auto-libm-test-in: Add tests of jn and yn.
45100         * math/auto-libm-test-out: Regenerated.
45101         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45102         (yn_test_data): Likewise.
45103         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45104         mpfr_if_f.
45105         (func_calc_desc): Add mpfr_if_f union field.
45106         (FUNC_mpfr_if_f): New macro.
45107         (test_functions): Add jn and yn.
45108         (calc_generic_results): Assert type of second input for
45109         mpfr_ff_f.  Handle mpfr_if_f.
45110         (output_for_one_input_case): Disable all checking for arguments
45111         fitting floating-point types in case of an integer argument.
45112         * sysdeps/i386/fpu/libm-test-ulps: Update.
45113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45116         Don't expect fegetround reference in libm.so.
45118 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45120         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45121         $(config-cflags-nofma).
45123 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45125         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45126         * math/auto-libm-test-out: Regenerated.
45128         [BZ #16338]
45129         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45130         to determine exponent and adjust argument to have exponent of -1.
45131         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45132         log2.
45133         * math/auto-libm-test-out: Regenerated.
45134         * sysdeps/i386/fpu/libm-test-ulps: Update.
45135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45137 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45139         * manual/probes.texi: Remove cases when per-thread arenas are
45140         disabled.
45142 2013-12-18  Andreas Schwab  <schwab@suse.de>
45144         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45145         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45146         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45147         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45148         * sysdeps/i386/i686/multiarch/Makefile: Update.
45149         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45151 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45153         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45154         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45156 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45158         [BZ #15968]
45159         Support TZ transition times < 00:00:00.
45160         This is needed for version-3 tz-format files; it supports time
45161         stamps past 2037 for America/Godthab (the only entry in the tz
45162         database for which this change is relevant).
45163         * manual/time.texi (TZ Variable): Document transition times
45164         from -167:59:59 through -00:00:01.
45165         * time/tzset.c (tz_rule): Time of day is now signed.
45166         (__tzset_parse_tz): Parse negative time of day.
45168         Document TZ transition times >= 25:00:00.
45169         * manual/time.texi (TZ Variable): Document transition times from
45170         25:00:00 through 167:59:59.  These are already supported, and this
45171         support will help with version-3 tz-format files.
45173         * manual/time.texi (TZ Variable): Modernize North America example
45174         to reflect current (i.e., 2007-and-later) daylight saving rules.
45176         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45178 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45180         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45181         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45182         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45183         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45184         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45185         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45186         * sysdeps/unix/bsd/clock.c: Likewise.
45187         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45188         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45189         * sysdeps/unix/bsd/init-posix.c: Likewise.
45190         * sysdeps/unix/bsd/poll.c: Likewise.
45191         * sysdeps/unix/bsd/ptsname.c: Likewise.
45192         * sysdeps/unix/bsd/seekdir.c: Likewise.
45193         * sysdeps/unix/bsd/setegid.c: Likewise.
45194         * sysdeps/unix/bsd/seteuid.c: Likewise.
45195         * sysdeps/unix/bsd/setgid.c: Likewise.
45196         * sysdeps/unix/bsd/setrgid.c: Likewise.
45197         * sysdeps/unix/bsd/setruid.c: Likewise.
45198         * sysdeps/unix/bsd/setsid.c: Likewise.
45199         * sysdeps/unix/bsd/setuid.c: Likewise.
45200         * sysdeps/unix/bsd/sigaction.c: Likewise.
45201         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45202         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45203         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45204         * sysdeps/unix/bsd/telldir.c: Likewise.
45205         * sysdeps/unix/bsd/times.c: Likewise.
45206         * sysdeps/unix/bsd/usleep.c: Likewise.
45208         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45209         ($(objpfx)libbsd-compat.a): Remove rule.
45211         * include/features.h (__FAVOR_BSD): Do not define.
45212         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45213         features conflicting with POSIX.
45214         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45215         (_BSD_SOURCE): Remove description of not being a subset of other
45216         feature test macros.
45217         * manual/job.texi (getpgrp): Do not document BSD version.
45218         (getpgid): Do not document by reference to BSD getpgrp.
45219         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45220         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45221         * signal/signal.h [__FAVOR_BSD]: Likewise.
45222         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45223         instead of making contents conditional on [__FAVOR_BSD].
45224         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45226 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45230 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45232         [BZ #16314]
45233         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
45234         values below 2**-450, not 2**-500.
45235         * math/auto-libm-test-in: Don't allow spurious underflow from
45236         hypot.
45237         * math/auto-libm-test-out: Regenerated.
45239         [BZ #16316]
45240         [BZ #16330]
45241         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
45242         values of ha and hb and sort them after adjusting subnormal
45243         arguments.
45244         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
45245         Likewise.
45246         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
45247         values of ea and eb and sort them after adjusting subnormal
45248         arguments.
45249         * math/auto-libm-test-in: Do not expect some hypot tests of
45250         subnormals to fail.  Add more hypot tests.
45251         * math/auto-libm-test-out: Regenerated.
45253 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45255         [BZ #13304]
45256         * sysdeps/sh/s_fma.c: New file.
45257         * sysdeps/sh/s_fmaf.c: New file.
45258         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
45259         version.
45260         * sysdeps/sh/Implies: Add sh/soft-fp.
45262 2013-12-16  Roland McGrath  <roland@hack.frob.com>
45264         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
45265         level of indirection to members `objname', `errstring', `malloced'.
45266         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
45267         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
45268         it as the __longjmp argument (just pass 1 instead).
45269         (_dl_catch_error): Initialize C with argument pointers and address of
45270         volatile local ERRCODE rather than copying values out of C at return.
45272 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
45274         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
45275         * math/auto-libm-test-out: Regenerated.
45276         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
45277         (hypot_test_data): Likewise.
45278         (pow_test_data): Likewise.
45279         (pow_tonearest_test_data): Likewise.
45280         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45281         mpfr_ff_f.
45282         (func_calc_desc): Add mpfr_ff_f union field.
45283         (FUNC_mpfr_ff_f): New macro.
45284         (test_functions): Add atan2, hypot and pow.
45285         (special_fill_min): New function.
45286         (special_fill_minus_min): Likewise.
45287         (special_fill_min_subnorm): Likewise.
45288         (special_fill_minus_min_subnorm): Likewise.
45289         (special_real_inputs): Add min, -min, min_subnorm and
45290         -min_subnorm.
45291         (calc_generic_results): Handle mpfr_ff_f.
45292         * sysdeps/i386/fpu/libm-test-ulps: Update.
45293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45295 2013-12-16  Will Newton  <will.newton@linaro.org>
45297         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
45298         (Aligned Memory Blocks): Add documentation for aligned_alloc
45299         and suggest it as an alternative to posix_memalign.
45300         (Hooks for Malloc): Document __memalign_hook is also called
45301         for aligned_alloc.  (Summary of Malloc): Add summary for
45302         aligned alloc.  Document __memalign_hook is also called
45303         for aligned_alloc.
45305 2013-12-16  Will Newton  <will.newton@linaro.org>
45307         * manual/memory.texi (Malloc Examples): Clarify default
45308         alignment documentation.  Suggest posix_memalign rather
45309         than memalign or valloc.
45310         (Aligned Memory Blocks): Remove suggestion to use memalign
45311         or valloc.  Remove obsolete comment about BSD.
45312         Document memalign errno values and mark the function obsolete.
45313         Document posix_memalign returned error codes.  Mark valloc
45314         as obsolete.  (Hooks for Malloc): __memalign_hook is also
45315         called for posix_memalign and valloc.
45316         (Summary of Malloc): Add posix_memalign to function summary.
45317         __memalign_hook is also called for posix_memalign and valloc.
45319 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45321         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
45322         TAYLOR_SIN.
45323         (__sin): Adjust.
45324         (__cos): Likewise.
45325         (sloww): Use mynumber union.  Expand ternary operator into
45326         if-else statements.
45327         (cslow): use mynumber union.
45329 2013-12-16  Allan McRae  <allan@archlinux.org>
45331         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
45332         * configure: Regenerated.
45334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
45336         [BZ #14120]
45337         * configure.ac: Added --enable-maintainer-mode. Check for
45338         autoconf when enabled.
45339         * configure: Regenerated.
45341         * nscd/nscd.service: New file.
45342         * nscd/nscd.tmpfiles: New file.
45344 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
45346         [BZ #12100]
45347         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
45348         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45349         * sysdeps/x86_64/multiarch/strstr.c: ... here.
45350         (strstr): Add __strstr_sse2_unaligned ifunc.
45351         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
45352         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
45353         (strcasestr): Remove __strcasestr_sse42 ifunc.
45354         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
45355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45358 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45360         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
45361         * sysdeps/sh/bits/fenv.h: ... here.
45362         * sysdeps/sh/sh4/fpu/bits: Remove directory.
45364 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45366         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
45368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
45369         hypotf multiarch implementations.
45370         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45371         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
45372         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
45373         multiarch hypot for PPC64.
45374         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
45375         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45376         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
45377         multiarch hypotf for PPC64.
45379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
45380         modff multiarch implementations.
45381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
45382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
45383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
45384         multiarch modf for PPC64.
45385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
45386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
45387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
45388         multiarch modff for PPC64.
45390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
45391         and logl multiarch implementations.
45392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
45393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
45394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
45395         multiarch logb for PPC64.
45396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
45397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
45398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
45399         multiarch logb for PPC64.
45400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
45401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
45403         multiarch logb for PPC64.
45405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
45406         isinff multiarch implementation.
45407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
45408         file.
45409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
45410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
45411         multiarch isinf for PPC64.
45412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45413         file.
45414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45415         multiarch isinff for PPC64.
45417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45418         finitef multiarch implementation.
45419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45420         file.
45421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45423         multiarch finite for PPC64.
45424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45425         file.
45426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45427         multiarch finitef for PPC64.
45429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45430         lrint multiarch implementation.
45431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45432         file.
45433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45435         multiarch llrint for PPC64.
45436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45437         multiarch lrint for PPC64.
45439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45440         copysignf multiarch implementation.
45441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45442         file.
45443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45444         file.
45445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45446         multiarch copysign for PPC64.
45447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45448         multiarch copysignf for PPC64.
45450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45451         multiarch implementation.
45452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45453         file.
45454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45455         file.
45456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45457         file.
45458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45459         file.
45460         multiarch llround for PPC64.
45461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45462         multiarch trunc for PPC64.
45463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45464         multiarch truncf for PPC64.
45466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45467         multiarch implementation.
45468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45469         file.
45470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45471         file.
45472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45473         file.
45474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45475         file.
45476         multiarch llround for PPC64.
45477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45478         multiarch round for PPC64.
45479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45480         multiarch roundf for PPC64.
45482         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45483         multiarch implementation.
45484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45485         file.
45486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45487         file.
45488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45489         file.
45490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45491         file.
45492         multiarch llround for PPC64.
45493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45494         multiarch floor for PPC64.
45495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45496         multiarch floorf for PPC64.
45498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45499         multiarch implementation.
45500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45501         file.
45502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45503         file.
45504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45505         file.
45506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45507         file.
45508         multiarch llround for PPC64.
45509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45510         multiarch ceil for PPC64.
45511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45512         multiarch ceilf for PPC64.
45514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45515         multiarch implementation.
45516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45517         file.
45518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
45519         file.
45520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
45521         file.
45522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
45523         multiarch llround for PPC64.
45524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
45525         multiarch lround for PPC64.
45527         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45528         multiarch implementation.
45529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
45530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
45531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
45532         file.
45533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
45534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
45535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45536         multiarch isnan for PPC64.
45537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
45538         multiarch isnanf for PPC64.
45540         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
45541         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
45542         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
45543         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
45544         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
45545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
45547         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
45548         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45549         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45550         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
45553         multiarch implementations.
45554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45555         (__libc_ifunc_impl_list): Likewise.
45556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
45557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
45558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
45559         multiarch stpcpy for PPC64.
45561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
45562         multiarch implementations.
45563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45564         (__libc_ifunc_impl_list): Likewise.
45565         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
45566         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
45567         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
45568         multiarch strcpy for PPC64.
45570         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
45571         redefine function name.
45572         (_wordcopy_fwd_dest_aligned): Likewise.
45573         (_wordcopy_bwd_aligned): Likewise.
45574         (_wordcopy_bwd_dest_aligned): Likewise.
45575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
45576         multiarch implementations.
45577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45578         (__libc_ifunc_impl_list): Likewise.
45579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
45580         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
45581         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
45582         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
45583         multiarch wcscpy for PPC64.
45585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
45586         multiarch implementations.
45587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45588         (__libc_ifunc_impl_list): Likewise.
45589         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
45590         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
45591         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
45592         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
45593         multiarch wcscpy for PPC64.
45595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
45596         multiarch implementations.
45597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45598         (__libc_ifunc_impl_list): Likewise.
45599         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
45600         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
45601         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
45602         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
45603         multiarch wcsrchr for PPC64.
45605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
45606         multiarch implementations.
45607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45608         (__libc_ifunc_impl_list): Likewise.
45609         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
45610         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
45611         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
45612         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
45613         multiarch wcschr for PPC64.
45615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
45616         multiarch implementations.
45617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45618         (__libc_ifunc_impl_list): Likewise.
45619         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
45620         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
45621         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
45622         multiarch strchrnul for PPC64.
45624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
45625         implementations.
45626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45627         (__libc_ifunc_impl_list): Likewise.
45628         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
45629         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
45630         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
45631         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
45632         strchr for PPC64.
45634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
45635         implementations.
45636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45637         (__libc_ifunc_impl_list): Likewise.
45638         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
45639         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
45640         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
45641         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
45642         strncmp for PPC64.
45644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
45645         multiarch implementations.
45646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45647         (__libc_ifunc_impl_list): Likewise.
45648         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
45649         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
45650         strncasecmp for PPC64.
45651         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
45652         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
45653         multiarch strncasecmp_l for PPC64.
45655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
45656         multiarch implementations.
45657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45658         (__libc_ifunc_impl_list): Likewise.
45659         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
45660         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
45661         multiarch strcasecmp for PPC64.
45662         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
45663         file.
45664         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
45665         multiarch strcasecmp_l for PPC64.
45667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
45668         implementations.
45669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45670         (__libc_ifunc_impl_list): Likewise.
45671         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
45672         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
45673         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
45674         strnlen for PPC64.
45676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
45677         implementations.
45678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45679         (__libc_ifunc_impl_list): Likewise.
45680         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
45681         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
45682         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
45683         strlen for PPC64.
45685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
45686         implementations.
45687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45688         (__libc_ifunc_impl_list): Likewise.
45689         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
45690         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
45691         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
45692         rawmemrchr for PPC64.
45694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
45695         implementation.
45696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45697         (__libc_ifunc_impl_list): Likewise.
45698         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
45699         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
45700         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
45701         memrchr for PPC64.
45703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
45704         implementation.
45705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45706         (__libc_ifunc_impl_list): Likewise.
45707         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
45708         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
45709         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
45710         memchr for PPC64.
45712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
45713         implementation.
45714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45715         (__libc_ifunc_impl_list): Likewise.
45716         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
45717         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
45718         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
45719         mempcpy for PPC64.
45721         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
45722         avoid cretion of __bzero symbol.
45723         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
45724         Likewise.
45725         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
45726         Likewise.
45727         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
45728         Likewise.
45729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
45730         multiarch implementations.
45731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45732         (__libc_ifunc_impl_list): Likewise.
45733         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
45734         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
45735         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
45736         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
45737         bzero for PPC32.
45738         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
45739         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
45740         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
45741         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
45742         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
45743         memset for PPC64.
45744         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
45746         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
45747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
45748         implementations.
45749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45750         (__libc_ifunc_impl_list): Likewise.
45751         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
45752         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
45753         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
45754         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
45755         memcmp for PPC64.
45757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
45758         multiarch for POWER/PPC64.
45759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
45760         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
45761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
45762         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
45763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
45764         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
45765         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
45766         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
45767         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
45768         memcpy for PPC64.
45770         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
45771         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
45772         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
45773         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
45774         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
45775         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
45776         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
45777         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
45778         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
45779         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
45780         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
45781         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
45782         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
45783         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
45784         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
45785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
45786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
45787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
45788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
45789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
45790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
45791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
45793 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45795         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
45797 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45799         * benchtests/Makefile (bench): Add exp2 and log2.
45800         (LDLIBS-bench-exp2): Add -lm.
45801         (LDLIBS-bench-log2): Likewise.
45802         * benchtests/exp2-inputs: New inputs file.
45803         * benchtests/log2-inputs: New inputs file.
45804         * benchtests/log-inputs: Add new inputs.
45805         * benchtests/tan-inputs: Likewise.
45807 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45809         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
45810         definition...
45811         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
45812         (csloww2): ... from here.
45814         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
45815         instead of structures.
45816         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
45817         (POLYNOMIAL): Likewise.
45818         (TAYLOR_SLOW): Likewise.
45819         (__sin): Likewise.
45820         (__cos): Likewise.
45821         (slow1): Likewise.
45822         (slow2): Likewise.
45823         (sloww): Likewise.
45824         (sloww1); Likewise.
45825         (sloww2): Likewise.
45826         (bsloww1): Likewise.
45827         (bsloww2): Likewise.
45828         (cslow2): Likewise.
45829         (csloww): Likewise.
45830         (csloww1): Likewise.
45831         (csloww2): Likewise.
45833 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
45835         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
45836         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
45837         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
45838         * malloc/hooks.c (realloc_check): Likewise.
45840         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
45841         * malloc/arena.c: Remove PER_THREAD conditional.
45842         [!PER_THREAD]: Remove code.
45843         (ptmalloc_unlock_all2): Likewise.
45844         (ptmalloc_init): Likewise.
45845         (_int_new_arena): Likewise.
45846         (arena_get2): Likewise.
45847         * malloc/hooks.c (__malloc_get_state): Likewise.
45848         (__malloc_set_state): Likewise.
45849         * malloc/malloc.c: Likewise.
45850         (struct malloc_state): Likewise.
45851         (struct malloc_par): Likewise.
45852         (__libc_realloc): Likewise.
45853         (__libc_mallopt): Likewise.
45855 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45857         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
45859 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
45861         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
45862         macro to a function.  Check for zero perturb_byte.
45863         (_int_malloc, _int_free): Remove zero perturb_byte checks.
45865         * malloc/malloc.c: (force_reg): Remove.
45866         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
45867         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
45868         force_reg by atomic_forced_read.
45869         * malloc/arena.c (ptmalloc_init): Likewise.
45870         * malloc/hooks.c (top_check): Likewise.
45872 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45876 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
45878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45880 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
45882         * math/auto-libm-test-in: Add tests of lgamma.
45883         * math/auto-libm-test-out: Regenerated.
45884         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45885         (M_LOG_2_SQRT_PIl): Likewise.
45886         (lgamma_test_data): Use AUTO_TESTS_f_f1.
45887         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45888         mpfr_f_f1.
45889         (func_calc_desc): Add mpfr_f_f1 union field.
45890         (ARGS1): New macro.
45891         (ARGS2): Likewise.
45892         (ARGS3): Likewise.
45893         (ARGS4): Likewise.
45894         (RET1): Likewise.
45895         (RET2): Likewise.
45896         (CALC): Likewise.
45897         (FUNC): Likewise.
45898         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45899         (test_functions): Add lgamma.
45900         (calc_generic_results): Handle mpfr_f_f1.
45901         * sysdeps/i386/fpu/libm-test-ulps: Update.
45902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45904 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45906         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45907         __mpn_add_n for PowerPC64/POWER7.
45908         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45909         __mpn_sub_n for PowerPC64/POWER7.
45911         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45912         __mpn_addmul_1 for PowerPC64.
45913         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45914         __mpn_submul_1 for PowerPC64.
45915         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45916         for PowerPC64.
45917         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45918         for PowerPC64.
45920 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45922         [BZ #15089]
45923         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45925 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45927         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45929         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45930         add multiarch folders.
45931         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45932         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45933         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45934         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45935         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45936         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45937         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45938         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45939         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45940         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45941         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45950         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45952         New file.
45953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45954         New file.
45955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45956         multiarch __ieee754_hypot for PowerPC32.
45957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45958         New file.
45959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45960         New file.
45961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45962         multiarch __ieee754_hypotf for PowerPC32.
45964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45965         long_double_symbol only if __logbl is defined.
45966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45967         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45968         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45969         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45970         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45971         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45972         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45973         path for implementation.
45974         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45975         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45977         logb, and logbl multiarch implementations for PowerPC32.
45978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45979         file.
45980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45981         file.
45982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45983         multiarch logb for PowerPC32.
45984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45985         file.
45986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45987         file.
45988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45989         multiarch logbf for PowerPC32.
45990         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45992         file.
45993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45994         multiarch logbl implementation for PowerPC32.
45996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45997         and modff multiarch implementations.
45998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45999         New file.
46000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46001         New file.
46002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46003         multiarch modf for PowerPC32.
46004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46005         New file.
46006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46007         New file.
46008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46009         multiarch modff for PowerPC32.
46011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46012         and lrintf multiarch implementations.
46013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46014         New file.
46015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46016         New file.
46017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46018         multiarch lrint for PowerPC32.
46019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46020         file: multiarch lrintf for PowerPC32.
46022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46023         and lroundf multiarch implementations.
46024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46025         New file.
46026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46027         New file.
46028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46029         New file.
46030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46031         multiarch lround for PowerPC32.
46032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46033         file: multiarch lroundf for PowerPC32.
46035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46036         copysign and copysignf multiarch implementations.
46037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46038         New file.
46039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46040         New file.
46041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46042         file: multiarch copysign for PowerPC32.
46043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46044         file: multiarch copysignf for PowerPC32.
46046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46047         and truncf multiarch implementations.
46048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46049         New file.
46050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46051         file.
46052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46053         multiarch trunc for PowerPC32.
46054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46055         New file.
46056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46057         New file.
46058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46059         multiarch truncf for PowerPC32.
46061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46062         and roundf multiarch implementations.
46063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46064         New file.
46065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46066         file.
46067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46068         multiarch round for PowerPC32.
46069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46070         New file.
46071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46072         New file.
46073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46074         multiarch roundf for PowerPC32.
46076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46077         and floorf multiarch implementations.
46078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46079         New file.
46080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46081         file.
46082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46083         multiarch floor for PowerPC32.
46084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46085         New file.
46086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46087         New file.
46088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46089         multiarch floorf for PowerPC32.
46091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46092         and ceilf multiarch implementations.
46093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46094         New file.
46095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46096         file.
46097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46098         multiarch ceil for PowerPC32.
46099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46100         New file.
46101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46102         file.
46103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46104         multiarch ceilf for PowerPC32.
46106         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46107         is defined.
46108         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46109         FINITEF is defined.
46110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46111         and finitef multiarch implementations.
46112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46113         New file.
46114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46115         file.
46116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46117         multiarch finite for PowerPC32.
46118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46119         New file.
46120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46121         file: multiarch finitef for PowerPC32.
46123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46124         and isinff multiarch implementations.
46125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46126         file.
46127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46128         file.
46129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46130         multiarch isinf for PowerPC32.
46131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46132         New file.
46133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46134         multiarch isinff for PowerPC32.
46136         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46137         alias when __isnan is defined.
46138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46139         and isnanf multiarch implementations.
46140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46141         file.
46142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46143         file.
46144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46145         file.
46146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46147         file.
46148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46149         multiarch isnan for PowerPC32.
46150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46151         New file.
46152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46153         New file.
46154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46155         multiarch isnanf for PowerPC32.
46157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46158         and sqrtf multiarch implementations.
46159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46160         file.
46161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46162         file.
46163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46164         multiarch sqrt for PowerPC32.
46165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46166         file.
46167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46168         file.
46169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46170         multiarch sqrtf for PowerPC32.
46172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46173         and llroundf multiarch implementations.
46174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46175         New file.
46176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46177         New file.
46178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46179         New file.
46180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46181         file: multiarch llround for PowerPC32.
46182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46183         file: multiarch llroundf for PowerPC32.
46185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46186         multiarch PowerPC32 fpu implementations.
46187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46188         New file.
46189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46190         New file.
46191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46192         multiarch llrint for PowerPC32.
46193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46194         New file.
46195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46196         New file.
46197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46198         file.
46200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46202         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46203         file.
46204         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46205         file.
46206         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46207         file.
46208         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46209         multiarch wordcopy for PPC32.
46210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46211         wordcopy objects.
46212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46213         (__libc_ifunc_impl_list): Likewise.
46214         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46215         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46216         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46217         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46218         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46219         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46221         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46223         file.
46224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46225         file.
46226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46227         file.
46228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46229         multiarch wcscpy for PPC32.
46230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46231         multiarch objects.
46232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46233         (__libc_ifunc_impl_list): Likewise.
46234         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46235         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46236         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
46237         sysdeps/powerpc/power6/wcscpy.c.
46239         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
46240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
46241         file.
46242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
46243         file.
46244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
46245         file.
46246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
46247         multiarch wcsrchr for PPC32.
46248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46249         multiarch objects.
46250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46251         (__libc_ifunc_impl_list): Likewise.
46252         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46253         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46254         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
46255         sysdeps/powerpc/power6/wcsrchr.c.
46257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
46258         file.
46259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
46260         file.
46261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
46262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
46263         multiarch wcschr for PPc32.
46264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46265         multiarch objects.
46266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46267         (__libc_ifunc_impl_list): Likewise.
46268         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
46269         * sysdeps/powerpc/power6/wcschr.c: ... to here.
46270         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
46271         sysdeps/powerpc/power6/wcschr.c.
46273         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
46274         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
46275         file.
46276         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
46277         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46278         file: multiarch strchr for PPC32.
46279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
46280         multiarch objects.
46281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46282         (__libc_ifunc_impl_list): Likewise.
46284         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
46285         name.
46286         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
46287         file.
46288         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
46289         file.
46290         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
46291         multiarch strchrnul for PPC32.
46292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
46293         multiarch objects.
46294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46295         (__libc_ifunc_impl_list): Likewise.
46297         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
46298         file.
46299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
46300         multiarch strncasecmp for PPC32.
46301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
46302         file.
46303         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
46304         multiarch strncasecmp_l for PPC32.
46305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
46306         strncasecmp multiarch objects.
46307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46308         (__libc_ifunc_impl_list): Likewise.
46310         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
46311         file.
46312         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
46313         multiarch strncasecmp for PPC32.
46314         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46315         New file.
46316         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
46317         multiarch strcasecmp_l for PPC32.
46318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
46319         multiarch objects.
46320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46321         (__libc_ifunc_impl_list): Likewise.
46323         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
46324         file.
46325         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
46326         file.
46327         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
46328         multiarch strncmp for PPC32.
46329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
46330         multiarch objects.
46331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46332         (__libc_ifunc_impl_list): Likewise.
46334         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
46335         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
46336         file.
46337         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
46338         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
46339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
46340         multiarch objects.
46341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46342         (__libc_ifunc_impl_list): Likewise.
46344         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
46345         file.
46346         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
46347         file.
46348         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
46349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
46350         multiarch objects.
46351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46352         (__libc_ifunc_impl_list): Likewise.
46354         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
46355         file.
46356         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
46357         file.
46358         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
46359         multiarch rawmemchr for PPC32.
46360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
46361         multiarch objects.
46362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46363         (__libc_ifunc_impl_list): Likewise.
46365         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
46366         file.
46367         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
46368         file.
46369         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
46370         file: memrchr multiarch for PPC32.
46371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
46372         multiarch objects.
46373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46374         (__libc_ifunc_impl_list): Likewise.
46376         * string/memchr.c (__memchr): Using macro to redefine symbol name.
46377         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
46378         file.
46379         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
46380         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
46381         multiarch memchr for PPC32.
46382         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
46383         multiarch objects.
46384         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46385         (__libc_ifunc_impl_list): Likewise.
46387         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
46388         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
46389         file.
46390         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46391         file.
46392         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
46393         file: multiarch mempcpy for PPC32.
46394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
46395         multiarch objects.
46396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46397         (__libc_ifunc_impl_list): Likewise.
46399         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
46400         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
46401         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
46402         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
46403         multiarch bzero for PPC32.
46404         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
46405         file.
46406         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
46407         file.
46408         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
46409         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
46410         file: multiarch memset for PPC32.
46411         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
46412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46413         memset multiarch objects.
46414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46415         (__libc_ifunc_impl_list): Likewise.
46417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46418         file.
46419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46421         memcmp for PPC32.
46422         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46424         multiarch objects.
46425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46426         (__libc_ifunc_impl_list): Likewise.
46428         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46429         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46430         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46431         file.
46432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46433         file.
46434         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46435         file.
46436         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46437         multiarch memcpy for PPC32.
46438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46439         multiarch objects.
46440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46441         (__libc_ifunc_impl_list): Likewise.
46443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46444         support multiarch for POWER/PPC32.
46445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46446         Likewise.
46447         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46449         Implies file to make multiarch folder appers before the fpu and
46450         default folder for power4 configuration.
46452 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46454         * scripts/bench.pl: Append volatile keyword to type.
46456 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46458         * sysdeps/sh/sotruss-lib.c: New file.
46459         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46461 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46465 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
46467         [BZ #6810]
46468         * math/w_tgamma.c: Include <errno.h>.
46469         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
46470         * math/w_tgammaf.c: Include <errno.h>.
46471         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
46472         * math/w_tgammal.c: Include <errno.h>.
46473         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
46474         * math/auto-libm-test-in: Do not allow missing errno on tgamma
46475         underflow.  Add more tgamma tests.
46476         * math/auto-libm-test-out: Regenerated.
46477         * sysdeps/i386/fpu/libm-test-ulps: Update.
46478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46480         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46481         sin, sinh, tan, tanh, tgamma, y0 and y1.
46482         * math/auto-libm-test-out: Regenerated.
46483         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46484         (TEST_COND_x86): Likewise.
46485         (M_E2l): Remove macro.
46486         (M_E3l): Likewise.
46487         (M_2_SQRT_PIl): Likewise.
46488         (M_SQRT_PIl): Likewise.
46489         (M_1_DIV_El): Likewise.
46490         (log_test_data): Use AUTO_TESTS_f_f.
46491         (log10_test_data): Likewise.
46492         (log1p_test_data): Likewise.
46493         (log2_test_data): Likewise.
46494         (sin_test_data): Likewise.
46495         (sin_tonearest_test_data): Likewise.
46496         (sin_towardzero_test_data): Likewise.
46497         (sin_downward_test_data): Likewise.
46498         (sin_upward_test_data): Likewise.
46499         (sinh_test_data): Likewise.
46500         (sinh_tonearest_test_data): Likewise.
46501         (sinh_towardzero_test_data): Likewise.
46502         (sinh_downward_test_data): Likewise.
46503         (sinh_upward_test_data): Likewise.
46504         (tan_test_data): Likewise.
46505         (tan_tonearest_test_data): Likewise.
46506         (tan_towardzero_test_data): Likewise.
46507         (tan_downward_test_data): Likewise.
46508         (tan_upward_test_data): Likewise.
46509         (tanh_test_data): Likewise.
46510         (tgamma_test_data): Likewise.
46511         (y0_test_data): Likewise.
46512         (y1_test_data): Likewise.
46513         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46514         (special_real_inputs): Add pi/4.
46515         * sysdeps/i386/fpu/libm-test-ulps: Update.
46516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46518 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46520         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
46521         "longjmp_target" static probes.
46522         (__longjmp): Rename to __longjmp_symbol.
46523         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46524         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
46525         on which longjmp to generate.
46526         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46527         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
46528         probe.
46529         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46530         (__sigjmp_save): Rename to __sigjmp_save_symbol.
46531         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46532         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
46533         and __sigjmp_save_symbol based on which sigsetjmp to generated.
46534         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
46536         __longjmp_symbol based on which __longjmp to generate.
46537         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
46538         probe.
46539         (setjmp): Rename to setjmp_symbol.
46540         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46541         (_setjmp): Rename to _setjmp_symbol.
46542         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46543         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
46544         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
46545         which setjmp to generate.
46546         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
46547         "longjmp_target" static probes.
46549 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46551         * benchtests/README: Add note about output arguments.
46552         * benchtests/bench-sincos.c: Remove file.
46553         * benchtests/sincos-inputs: New file.
46554         * scripts/bench.pl: Identify output arguments and define
46555         static variables for them.
46557         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
46559         [BZ #15941]
46560         * Makefile (INSTALL): Add install-plain.texi as the primary
46561         dependency.
46562         * manual/install-plain.texi: New file.
46563         * manual/install.texi: Include node directive only for
46564         non-plaintext output.
46566 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
46568         * stdlib/longlong.h: Update from GCC.
46570         [BZ #6807]
46571         [BZ #15901]
46572         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
46573         * math/w_j0f.c (y0f): Likewise.
46574         * math/w_j0l.c (__y0l): Likewise.
46575         * math/w_j1.c (y1): Likewise.
46576         * math/w_j1f.c (y1f): Likewise.
46577         * math/w_j1l.c (__y1l): Likewise.
46578         * math/w_jn.c (yn): Likewise.
46579         * math/w_jnf.c (ynf): Likewise.
46580         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
46581         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
46582         value for Bessel function domain errors outside _SVID_ mode.
46583         Adjust sign of return value for yn (negative integer, 0).
46584         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
46585         by zero in return for negative x and set sign appropriately for
46586         negative n.
46587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
46588         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46589         * math/libm-test.inc (y0_test_data): Add more tests and adjust
46590         expectations in error cases.
46591         (y1_test_data): Likewise.
46592         (yn_test_data): Likewise.
46593         * sysdeps/i386/fpu/libm-test-ulps: Update.
46594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46596 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46598         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
46599         "64" to "64-v1".  Add "64-v2".
46600         (abi-64-options): Rename to ...
46601         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
46602         (abi-64-condition): Rename to ...
46603         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
46604         (abi-64-ld-soname): Rename to ...
46605         (abi-64-v1-ld-soname): ... this.
46606         (abi-64-v2-options): Define.
46607         (abi-64-v2-condition): Likewise.
46608         (abi-64-v2-ld-soname): Likewise.
46609         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
46610         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
46612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
46615 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46616             Alan Modra  <amodra@gmail.com>
46618         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
46619         New versions for use with the ELFv2 ABI.
46620         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
46621         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
46622         declaration.
46623         (struct La_ppc64v2_retval): Likewise.
46624         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
46625         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
46626         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
46627         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
46628         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
46629         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46630         Do not save or restore CR.
46631         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
46632         (_dl_profile_resolve): Do no save or restore CR.  Support extended
46633         return values for ELFv2 ABI.  Fix location of FPR return registers.
46634         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
46635         updated values for _CALL_ELF == 2.
46636         (La_regs, La_retval, int_retval): Likewise.
46638 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46640         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
46641         (FRAME_MIN_SIZE_PARM): Likewise.
46642         (FRAME_BACKCHAIN): Likewise.
46643         (FRAME_CR_SAVE): Likewise.
46644         (FRAME_LR_SAVE): Likewise.
46645         (FRAME_TOC_SAVE): Likewise.
46646         (FRAME_PARM_SAVE): Likewise.
46647         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
46648         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
46649         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46650         (call_mcount_parm_offset): New macro.
46651         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
46652         (PROF): Use symbolic stack frame offsets.
46653         (TAIL_CALL_SYSCALL_ERROR): Likewise.
46654         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
46655         Redefine in terms of FRAME_MIN_SIZE.
46656         (_dl_runtime_resolve): Use symbolic stack frame offsets.
46657         (_dl_profile_resolve): Likewise.  Update comment.
46658         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
46659         symbols stack frame offsets.
46660         (__sigsetjmp): Likewise.
46661         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
46662         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
46663         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
46664         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
46666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
46667         (FRAME_BACKCHAIN): Remove.
46668         (FRAME_CR_SAVE): Likewise.
46669         (FRAME_LR_SAVE): Likewise.
46670         (FRAME_COMPILER_DW): Likewise.
46671         (FRAME_LINKER_DW): Likewise.
46672         (FRAME_TOC_SAVE): Likewise.
46673         (FRAME_PARM_SAVE): Likewise.
46674         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
46675         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
46676         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
46678         (CHECK_SP): Use symbolic stack frame offsets.
46679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
46680         zone" instead of caller's parameter save area for temp storage.
46681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46682         Likewise.  Also, use symbolic stack frame offsets.
46683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
46684         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
46685         our own stack frame instead of the caller's.
46686         (__socket): Use symbolic stack frame offsets.
46688 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46689             Alan Modra  <amodra@gmail.com>
46691         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
46692         Define.
46693         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
46694         (PPC64_LOCAL_ENTRY_OFFSET): Define.
46695         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
46696         New function.
46697         (elf_machine_fixup_plt): Call it.
46698         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
46699         reloc arguments.
46700         (elf_machine_rela): Update call to elf_machine_plt_conflict.
46701         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46702         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
46703         r2 before calling target.
46705 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46706             Alan Modra  <amodra@gmail.com>
46708         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
46709         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
46710         versions of macros to support ELFv2 ABI.
46711         (LOCALENTRY): New macro.
46712         (ENTRY, EALIGN): Use it.
46713         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
46714         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
46715         fall through into ENTRY entry point.
46716         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
46717         Only define if _CALL_ELF != 2.
46719         (elf_machine_matches_host): Verify ABI version matches.
46720         (RTLD_START): Use LOCALENTRY.
46721         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
46722         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
46723         (PLT_ENTRY_WORDS): New macro.
46724         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
46725         (elf_machine_runtime_setup): Support ELFv2 ABI.
46726         (elf_machine_fixup_plt): Likewise.
46727         (elf_machine_plt_conflict): Likewise.
46728         (resolve_ifunc): Likewise.
46729         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46730         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46731         Likewise.
46732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
46733         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
46734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46735         (makecontext): Support ELFv2 ABI.
46736         * elf/elf.h (EF_PPC64_ABI): Define.
46738 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46740         * sysdeps/powerpc/powerpc64/sysdep.h
46741         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
46742         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
46743         (ENTRY) [ASSEMBLER]: ... but instead here ...
46744         (EALIGN) [ASSEMBLER]: ... and here.
46745         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
46746         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
46747         (ENTRY_2) [!ASSEMBLER]: Use it.
46748         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
46749         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
46750         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46751         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
46752         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
46753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
46754         Use PPC64_LOAD_FUNCPTR.
46756         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
46758 2013-12-04  Alan Modra  <amodra@gmail.com>
46760         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
46761         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
46762         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
46763         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
46765         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
46766         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
46767         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
46768         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
46769         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
46770         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
46772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46775         (__makecontext): Fix incorrect CFI when backtracing out of
46776         context created via makecontext.
46777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
46778         (__setcontext): Fix incorrect CFI during switch to new context.
46779         (__novec_setcontext): Likewise.
46781 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46783         [BZ #4772]
46784         * time/strptime_l.c (__strptime_internal): Allow modifiers
46785         in strptime.
46786         * time/tst-strptime.c (day_tests): Add testcase.
46788 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46790         * scripts/bench.pl: Skip over blank lines.
46792 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
46794         [BZ #926]
46795         * manual/time.texi (Calendar Time): Clarify what timezone functions
46796         use.
46798 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46802 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46804         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
46805         implementation.
46806         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
46807         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
46808         * debug/memset_chk.c (__memset_chk): Likewise.
46809         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
46810         * debug/strncpy_chk.c: Likewise.
46812 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46814         [BZ #15268]
46815         [BZ #15425]
46816         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
46817         (__ieee754_exp): For possibly underflowing results, check size of
46818         result and force underflow exception if required.
46819         * math/auto-libm-test-in: Add more tests of exp.
46820         * math/auto-libm-test-out: Regenerated.
46821         * sysdeps/i386/fpu/libm-test-ulps: Update.
46822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46824         [BZ #16283]
46825         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
46826         * math/w_exp2f.c (__exp2f): Likewise.
46827         * math/w_exp2l.c (__exp2l): Likewise.
46828         * math/auto-libm-test-in: Do not allow missing errno on exp2
46829         underflow.
46830         * math/auto-libm-test-out: Regenerated.
46832 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
46834         [BZ #16274]
46835         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
46836         handle filename validation.
46837         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
46838         (do_open): Delete.
46840 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46842         [BZ #6786]
46843         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
46844         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
46845         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46846         <float.h>.
46847         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
46848         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
46849         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46850         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
46851         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46852         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
46853         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46854         * math/auto-libm-test-in: Don't allow missing errno from erfc.
46855         Add more erfc tests.
46856         * math/auto-libm-test-out: Regenerated.
46857         * sysdeps/i386/fpu/libm-test-ulps: Update.
46858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46860         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
46861         exp2, expm1, j0 and j1.
46862         * math/auto-libm-test-out: Regenerated.
46863         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
46864         (erfc_test_data): Likewise.
46865         (exp_test_data): Likewise.
46866         (exp_tonearest_test_data): Likewise.
46867         (exp_towardzero_test_data): Likewise.
46868         (exp_downward_test_data): Likewise.
46869         (exp_upward_test_data): Likewise.
46870         (exp10_test_data): Likewise.
46871         (exp2_test_data): Likewise.
46872         (expm1_test_data): Likewise.
46873         (j0_test_data): Likewise.
46874         (j1_test_data): Likewise.
46875         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
46876         (input_flag_type): Add flag_xfail_rounding.
46877         (input_flags): Add xfail-rounding.
46878         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
46879         (output_for_one_input_case): Handle flag_xfail_rounding.
46880         * sysdeps/i386/fpu/libm-test-ulps: Update.
46881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46883 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
46885         [BZ #16289]
46886         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46887         division by 0.
46889 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46891         [BZ #16195]
46892         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46893         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46894         (STAP_PROBE0): New macro.
46895         (STAP_PROBE1): Likewise.
46896         (STAP_PROBE2): Likewise.
46897         (STAP_PROBE3): Likewise.
46898         (STAP_PROBE4): Likewise.
46900 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46902         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46904 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46906         * benchtests/Makefile (bench): Add sqrt.
46907         (LDLIBS-bench-sqrt): New.
46908         * benchtests/sqrt-input: New.
46910 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46912         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46913         (GAIH_EAI): Likewise.
46914         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46915         (gaih_inet): Likewise.
46916         (getaddrinfo): Don't use GAIH_EAI.
46918         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46919         (struct gaih): Remove definition.
46921 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46923         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46924         Use HERRNOP directly.
46926 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46930 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46932         * math/gen-auto-libm-tests.c (test_functions): Add more
46933         single-argument functions.
46934         (special_fill_pi_2): New function.
46935         (special_fill_minus_pi_2): Likewise.
46936         (special_fill_pi_6): Likewise.
46937         (special_fill_minus_pi_6): Likewise.
46938         (special_fill_pi_3): Likewise.
46939         (special_fill_2pi_3): Likewise.
46940         (special_fill_e): Likewise.
46941         (special_fill_1_e): Likewise.
46942         (special_fill_e_minus_1): Likewise.
46943         (special_real_inputs): Add more special inputs.
46944         (output_for_one_input_case): Do not require ERANGE on underflow to
46945         zero if round-to-nearest result does not underflow to zero, unless
46946         exact results required.
46947         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46948         atan, atanh, cbrt, cos and cosh.
46949         * math/auto-libm-test-out: Regenerated.
46950         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46951         (acos_tonearest_test_data): Likewise.
46952         (acos_towardzero_test_data): Likewise.
46953         (acos_downward_test_data): Likewise.
46954         (acos_upward_test_data): Likewise.
46955         (acosh_test_data): Likewise.
46956         (asin_test_data): Likewise.
46957         (asin_tonearest_test_data): Likewise.
46958         (asin_towardzero_test_data): Likewise.
46959         (asin_upward_test_data): Likewise.
46960         (asinh_test_data): Likewise.
46961         (atan_test_data): Likewise.
46962         (atanh_test_data): Likewise.
46963         (cbrt_test_data): Likewise.
46964         (cos_test_data): Likewise.
46965         (cos_tonearest_test_data): Likewise.
46966         (cos_towardzero_test_data): Likewise.
46967         (cos_downward_test_data): Likewise.
46968         (cos_upward_test_data): Likewise.
46969         (cosh_test_data): Likewise.
46970         (cosh_tonearest_test_data): Likewise.
46971         (cosh_towardzero_test_data): Likewise.
46972         (cosh_downward_test_data): Likewise.
46973         (cosh_upward_test_data): Likewise.
46974         * sysdeps/i386/fpu/libm-test-ulps: Update.
46975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46977 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46979         [BZ #6787]
46980         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46981         * math/w_exp10f.c (__exp10f): Likewise.
46982         * math/w_exp10l.c (__exp10l): Likewise.
46983         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46984         errno settings in existing tests.
46986         [BZ #14032]
46987         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46988         precision control set to double precision.
46989         * sysdeps/i386/fpu/w_sqrt.c: New file.
46990         * math/auto-libm-test-in: Add more tests.
46991         * math/auto-libm-test-out: Update.
46993         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46994         (sqrt_test_tonearest): New function.
46995         (sqrt_towardzero_test_data): New variable.
46996         (sqrt_test_towardzero): New function.
46997         (sqrt_downward_test_data): New variable.
46998         (sqrt_test_downward): New function.
46999         (sqrt_upward_test_data): New variable.
47000         (sqrt_test_upward): New function.
47001         (main): Call the new functions.
47003         * math/gen-auto-libm-tests.c: New file.
47004         * math/auto-libm-test-in: Likewise.
47005         * math/auto-libm-test-out: New generated file.
47006         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47007         variables.
47008         (%beautify): Add generated representations of zero.
47009         (top level): Set $auto_input and call parse_auto_input.
47010         (beautify): Remove trailing "f" from hex float constants.
47011         (parse_args): Handle XFAIL_TEST.
47012         (convert_condition): New function.
47013         (or_value): Likewise.
47014         (or_cond_value): Likewise.
47015         (generate_testfile): Handle AUTO_TESTS_* lines.
47016         (parse_auto_input): New function.
47017         * math/libm-test.inc (XFAIL_TEST): New macro.
47018         (ERRNO_UNCHANGED): Update value.
47019         (ERRNO_EDOM): Likewise.
47020         (ERRNO_ERANGE): Likewise.
47021         (IGNORE_RESULT): Likewise.
47022         (TEST_COND_flt_32): New macro.
47023         (TEST_COND_dbl_64): Likewise.
47024         (TEST_COND_ldbl_96_intel): Likewise.
47025         (TEST_COND_ldbl_96_m68k): Likewise.
47026         (TEST_COND_ldbl_128): Likewise.
47027         (TEST_COND_ldbl_128ibm): Likewise.
47028         (TEST_COND_long32): Likewise.
47029         (TEST_COND_long64): Likewise.
47030         (TEST_COND_before_rounding): Likewise.
47031         (TEST_COND_after_rounding): Likewise.
47032         (enable_test): Handle XFAIL_TEST flag.
47033         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47034         with finite results.
47035         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47036         auto-libm-test-out.
47038 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47039             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47041         [BZ #16214]
47042         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47043         __tls_get_addr_internal instead of __tls_get_offset in order to
47044         avoid GOT pointer dependency.  Make rtld export
47045         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47046         __tls_get_addr since we are a __tls_get_offset platform.
47047         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47048         GOT pointer being set up before.
47049         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47051 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47053         * manual/math.texi (Errors in Math Functions): Document accuracy
47054         goals.
47056         [BZ #15004]
47057         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47058         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47059         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47060         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47061         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47062         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47063         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47064         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47065         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47066         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47067         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47068         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47069         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47070         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47071         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47072         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47074         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47075         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47076         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47077         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47078         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47079         Likewise.
47080         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47081         Likewise.
47082         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47083         Likewise.
47084         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47085         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47086         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47087         atomic-feupdateenv and flt-rounds.
47088         * sysdeps/powerpc/nofpu/Versions (libc): Add
47089         __atomic_feholdexcept, __atomic_feclearexcept,
47090         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47091         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47092         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47093         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47094         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47095         here.
47096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47097         Update.
47099         * manual/arith.texi (FP Exceptions): Document that exceptions may
47100         not be raised when matherr is used.
47101         (Math Error Reporting): Document overflow in directed rounding
47102         modes.  Document that errno may not be set when finite values are
47103         returned on overflow.  Document intent to set errno on underflow
47104         only for underflow to zero.
47106         [BZ #16271]
47107         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47108         round-to-nearest then adjust result for other rounding modes.
47109         * include/fenv.h (fegetround): Use libm_hidden_proto.
47110         * math/fegetround.c (fegetround): Use libm_hidden_def.
47111         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47112         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47113         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47114         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47115         Likewise.
47116         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47117         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47118         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47119         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47121 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47123         [BZ #16077]
47124         * nss/Versions (libnss_files): Add
47125         _nss_files_gethostbyname3_r.
47126         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47127         New function.
47128         (HOST_DB_LOOKUP): Remove macro.
47129         (_nss_files_gethostbyname_r): Implement function without the
47130         HOST_DB_LOOKUP macro.
47131         (_nss_files_gethostbyname2_r): Likewise.
47133 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47135         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47137 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47139         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47140         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47141         warning.
47143 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47145         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47146         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47147         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47148         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47149         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47150         __fe_nomask_env_priv and attribute_hidden.
47151         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47152         (libc_feupdateenv_test_ppc): Likewise.
47153         (libc_feresetround_ppc): Likewise.
47154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47155         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47156         compat_symbol macro.
47157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47158         (__fe_nomask_env): Likewise.
47159         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47161 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47163         * string/Makefile: Remove ifunc tests.
47164         * string/test-string.h: Define TEST_IFUNC.
47165         * string/test-bcopy-ifunc.c: Remove.
47166         * string/test-bzero-ifunc.c: Likewise.
47167         * string/test-memccpy-ifunc.c: Likewise.
47168         * string/test-memchr-ifunc.c: Likewise.
47169         * string/test-memcmp-ifunc.c: Likewise.
47170         * string/test-memcpy-ifunc.c: Likewise.
47171         * string/test-memmem-ifunc.c: Likewise.
47172         * string/test-memmove-ifunc.c: Likewise.
47173         * string/test-mempcpy-ifunc.c: Likewise.
47174         * string/test-memrchr-ifunc.c: Likewise.
47175         * string/test-memset-ifunc.c: Likewise.
47176         * string/test-rawmemchr-ifunc.c: Likewise.
47177         * string/test-stpcpy-ifunc.c: Likewise.
47178         * string/test-stpncpy-ifunc.c: Likewise.
47179         * string/test-strcasecmp-ifunc.c: Likewise.
47180         * string/test-strcasestr-ifunc.c: Likewise.
47181         * string/test-strcat-ifunc.c: Likewise.
47182         * string/test-strchr-ifunc.c: Likewise.
47183         * string/test-strchrnul-ifunc.c: Likewise.
47184         * string/test-strcmp-ifunc.c: Likewise.
47185         * string/test-strcpy-ifunc.c: Likewise.
47186         * string/test-strcspn-ifunc.c: Likewise.
47187         * string/test-strlen-ifunc.c: Likewise.
47188         * string/test-strncasecmp-ifunc.c: Likewise.
47189         * string/test-strncat-ifunc.c: Likewise.
47190         * string/test-strncmp-ifunc.c: Likewise.
47191         * string/test-strncpy-ifunc.c: Likewise.
47192         * string/test-strnlen-ifunc.c: Likewise.
47193         * string/test-strpbrk-ifunc.c: Likewise.
47194         * string/test-strrchr-ifunc.c: Likewise.
47195         * string/test-strspn-ifunc.c: Likewise.
47196         * string/test-strstr-ifunc.c: Likewise.
47198 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47200         * benchtests/Makefile: Remove ifunc tests.
47201         * benchtests/bench-string.h: Define TEST_IFUNC.
47202         * benchtests/bench-bcopy-ifunc.c: Remove.
47203         * benchtests/bench-bzero-ifunc.c: Likewise.
47204         * benchtests/bench-memccpy-ifunc.c: Likewise.
47205         * benchtests/bench-memchr-ifunc.c: Likewise.
47206         * benchtests/bench-memcmp-ifunc.c: Likewise.
47207         * benchtests/bench-memcpy-ifunc.c: Likewise.
47208         * benchtests/bench-memmem-ifunc.c: Likewise.
47209         * benchtests/bench-memmove-ifunc.c: Likewise.
47210         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47211         * benchtests/bench-memrchr-ifunc.c: Likewise.
47212         * benchtests/bench-memset-ifunc.c: Likewise.
47213         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47214         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47215         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47216         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47217         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47218         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47219         * benchtests/bench-strcat-ifunc.c: Likewise.
47220         * benchtests/bench-strchr-ifunc.c: Likewise.
47221         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47222         * benchtests/bench-strcmp-ifunc.c: Likewise.
47223         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47224         * benchtests/bench-strcpy-ifunc.c: Likewise.
47225         * benchtests/bench-strcspn-ifunc.c: Likewise.
47226         * benchtests/bench-strlen-ifunc.c: Likewise.
47227         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47228         * benchtests/bench-strncat-ifunc.c: Likewise.
47229         * benchtests/bench-strncmp-ifunc.c: Likewise.
47230         * benchtests/bench-strncpy-ifunc.c: Likewise.
47231         * benchtests/bench-strnlen-ifunc.c: Likewise.
47232         * benchtests/bench-strpbrk-ifunc.c: Likewise.
47233         * benchtests/bench-strrchr-ifunc.c: Likewise.
47234         * benchtests/bench-strsep-ifunc.c: Likewise.
47235         * benchtests/bench-strspn-ifunc.c: Likewise.
47236         * benchtests/bench-strstr-ifunc.c: Likewise.
47238 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47240         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
47242 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47244         * resolv/netdb.h: Use __glibc_reserved instead __unused.
47245         * rt/aio.h: Likewise.
47246         * sysdeps/gnu/bits/utmp.h: Likewise.
47247         * sysdeps/gnu/bits/utmpx.h: Likewise.
47248         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47249         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47250         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
47251         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
47252         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
47253         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
47254         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
47255         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
47256         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
47257         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
47258         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
47259         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
47260         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
47261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
47262         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47263         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
47264         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
47265         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
47266         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
47267         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
47268         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
47269         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
47270         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
47271         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47272         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
47273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47274         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
47275         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
47276         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
47277         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
47278         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
47279         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
47280         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
47281         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47282         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
47283         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
47284         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
47285         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47286         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
47287         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
47288         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47289         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47291 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
47293         [BZ #16245]
47294         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
47295         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
47297 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
47299         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
47300         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
47301         Likewise.
47303 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47305         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
47306         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
47307         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
47308         (__fesetround): Remove define.
47309         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
47310         rounding and exceptions handling.
47311         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
47312         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
47313         (__fe_nomask_env): Likewise.
47314         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
47315         __fegetround instead of fegetround.
47316         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
47319 2013-11-21  Roland McGrath  <roland@hack.frob.com>
47321         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
47322         it's there.
47324         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
47326 2013-11-21  Meador Inge  <meadori@codesourcery.com>
47328         [BZ #11157]
47329         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
47330         (encrypt_r): Likewise.
47331         * malloc/obstack.h (obstack_free): Likewise.
47332         * posix/unistd.h (encrypt): Likewise.
47334 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
47336         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47337         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
47338         DL_CALL_DT_FINI() that call the functions directly.
47339         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
47340         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
47341         * elf/dl-fini.c: Likewise.
47343 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
47345         * malloc/hooks.c (memalign_check): Add alignment rounding.
47346         * malloc/malloc.c (_mid_memalign): New function.
47347         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
47348         Implement by calling _mid_memalign.
47349         * manual/probes.texi (Memory Allocation Probes): Remove
47350         memory_valloc_retry and memory_pvalloc_retry.
47352 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47354         * locale/programs/locarchive.c (open_archive): Add const
47355         qualifier to ARCHIVEFNAME and copy default fname to
47356         DEFAULT_FNAME.
47358         [BZ #15601]
47359         * libio/tst-widetext.input: Rename Oriya to Odia.
47360         * locale/iso-639.def: Likewise.
47362         * manual/probes.texi (Mathematical Function Probes): Add
47363         documentation for sin, cos, asin and acos probes.
47364         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47365         (__sin32): Add slowasin probe.
47366         (__cos32): Add slowacos probe.
47367         (__mpsin): Add slowsin probe.
47368         (__mpcos): Add slowcos probe.
47370 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
47372         [BZ #15483]
47373         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
47374         thread-local __sim_exceptions_thread and global
47375         __sim_exceptions_global.
47376         (__sim_disabled_exceptions): Change to thread-local
47377         __sim_disabled_exceptions_thread and global
47378         __sim_disabled_exceptions_global.
47379         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47380         and global __sim_round_mode_global.
47381         (__simulate_exceptions): Use thread-local floating-point state and
47382         set global state from it as needed.
47383         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
47384         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
47385         __sim_round_mode_thread.
47386         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
47387         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
47388         and global __sim_exceptions_global.
47389         (__sim_disabled_exceptions): Change to thread-local
47390         __sim_disabled_exceptions_thread and global
47391         __sim_disabled_exceptions_global.
47392         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47393         and global __sim_round_mode_global.
47394         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
47395         (SIM_SET_GLOBAL): Likewise.
47396         * sysdeps/powerpc/soft-fp/sfp-machine.h
47397         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47398         __sim_round_mode_thread.
47399         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
47400         __sim_disabled_exceptions_thread.
47401         (__sim_exceptions): Change to __sim_exceptions_thread.
47402         (__sim_disabled_exceptions): Change to
47403         __sim_disabled_exceptions_thread.
47404         (__sim_round_mode): Change to __sim_round_mode_thread.
47405         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
47406         thread-local floating-point state and set global state from it as
47407         needed.
47408         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
47409         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
47410         (__sim_disabled_exceptions): Remove extern declaration.
47411         (feenableexcept): Use thread-local floating-point state and set
47412         global state from it as needed.
47413         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47414         extern declaration.
47415         (__sim_disabled_exceptions): Likewise.
47416         (__sim_round_mode): Likewise.
47417         (__fegetenv): Use thread-local floating-point state.
47418         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47419         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47420         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47421         floating-point state and set global state from it as needed.
47422         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47423         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47424         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47425         Likewise.
47426         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47427         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47428         Likewise.
47429         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47430         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47431         Use __sim_round_mode_thread.
47432         * math/test-fenv-tls.c: New file.
47433         * math/Makefile (tests): Add test-fenv-tls.
47434         ($(objpfx)test-fenv-tls): Depend on
47435         $(common-objpfx)nptl/libpthread.so.
47437 2013-11-19  Andreas Schwab  <schwab@suse.de>
47439         * locale/programs/locale.c (show_info): Decode wordarray elements.
47440         * locale/categories.def (LC_MONETARY): Add element for
47441         _NL_MONETARY_CRNCYSTR.
47442         * locale/C-monetary.c (conversion_rate): New variable.
47443         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47444         element.
47446 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
47448         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47449         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47451 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47453         * elf/Makefile (tst-auxv): New test.
47454         * elf/tst-auxv.c: New
47455         * elf/rtld.c (dl_main): Adjust AT_EXECFN
47457 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
47459         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47460         (hidden_proto): Caller changed.
47461         (hidden_tls_proto): New macro.
47462         (libc_hidden_tls_proto): Likewise.
47463         (rtld_hidden_tls_proto): Likewise.
47464         (libm_hidden_tls_proto): Likewise.
47465         (libresolv_hidden_tls_proto): Likewise.
47466         (librt_hidden_tls_proto): Likewise.
47467         (libdl_hidden_tls_proto): Likewise.
47468         (libnss_files_hidden_tls_proto): Likewise.
47469         (libnsl_hidden_tls_proto): Likewise.
47470         (libnss_nisplus_hidden_tls_proto): Likewise.
47471         (libutil_hidden_tls_proto): Likewise.
47473 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
47475         [BZ #10253]
47476         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47477         (decompose_rpath): Defer expansion to fillin_rpath.
47478         (_dl_init_paths): Pass linkmap to fillin_rpath.
47480 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47482         * benchtests/Makefile: Add strsep.
47483         * benchtests/bench-strsep.c: New file: strsep benchtest.
47484         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47486 2013-11-18  Andreas Schwab  <schwab@suse.de>
47488         * locale/programs/locale.c (show_info) [case byte]: Check for
47489         '\377' instead of '\177'.
47490         * locale/C-monetary.c (not_available): Always use "\377".
47491         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47492         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
47493         detect unavailable sign_posn locale elements.
47494         * locale/localeconv.c (__localeconv): For grouping and
47495         mon_grouping handle "\177" and "\377" like no grouping.
47496         (INT_ELEM): New macro.  Use it to set all numeric members.
47497         * locale/programs/ld-monetary.c (monetary_read)
47498         <tok_mon_grouping>: Normalize single -1 to the empty string.
47499         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47500         Likewise.
47502 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47504         [BZ #16055]
47505         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47506         when we match (nil).
47507         * stdio-common/tst-sscanf.c (struct test): Add testcase.
47509 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
47511         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47512         (NO_TEST_INLINE): Update value.
47513         (ERRNO_UNCHANGED): Likewise.
47514         (ERRNO_EDOM): Likewise.
47515         (ERRNO_ERANGE): Likewise.
47516         (IGNORE_RESULT): Likewise.
47517         (check_float_internal): Check signs of NaN results if
47518         TEST_NAN_SIGN used.
47519         (check_complex): Pass TEST_NAN_SIGN flag through to second
47520         check_float_internal call.
47521         (copysign_test_data): Add tests with quiet NaNs as second
47522         argument.  Use TEST_NAN_SIGN.
47523         (fabs_test_data): Add test of negative quiet NaN argument.  Use
47524         TEST_NAN_SIGN.
47525         (signbit_test_data): Add tests of quiet NaN argument.
47526         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
47528         * math/gen-libm-test.pl (show_exceptions): Take extra argument
47529         $ignore_result.
47530         (parse_args): Handle function results specified as IGNORE.
47531         * math/libm-test.inc (IGNORE_RESULT): New macro.
47532         (check_float_internal): Do not check numerical result if flag
47533         IGNORE_RESULT set.
47534         (check_complex): Pass through IGNORE_RESULT to second
47535         check_float_internal call.
47536         (check_int): Do not check numerical result if flag IGNORE_RESULT
47537         set.
47538         (check_long): Likewise.
47539         (check_bool): Likewise.
47540         (check_longlong): Likewise.
47541         (lrint_test_data): Add tests of infinite and NaN arguments.
47542         (lrint_tonearest_test_data): Likewise.
47543         (lrint_towardzero_test_data): Likewise.
47544         (lrint_downward_test_data): Likewise.
47545         (lrint_upward_test_data): Likewise.
47546         (llrint_test_data): Likewise.
47547         (llrint_tonearest_test_data): Likewise.
47548         (llrint_towardzero_test_data): Likewise.
47549         (llrint_downward_test_data): Likewise.
47550         (llrint_upward_test_data): Likewise.
47551         (lround_test_data): Likewise.
47552         (llround_test_data): Likewise.
47554         * math/libm-test.inc (NO_TEST_INLINE): New macro.
47555         (ERRNO_UNCHANGED): Update value.
47556         (ERRNO_EDOM): Likewise.
47557         (ERRNO_ERANGE): Likewise.
47558         (NO_TEST_INLINE_FLOAT): New macro.
47559         (NO_TEST_INLINE_DOUBLE): Likewise.
47560         (enable_test): New function.
47561         (RUN_TEST_f_f): Check enable_test before running test.
47562         (RUN_TEST_2_f): Likewise.
47563         (RUN_TEST_fff_f): Likewise.
47564         (RUN_TEST_c_f): Likewise.
47565         (RUN_TEST_f_f1): Likewise.
47566         (RUN_TEST_fF_f1): Likewise.
47567         (RUN_TEST_fI_f1): Likewise.
47568         (RUN_TEST_ffI_f1): Likewise.
47569         (RUN_TEST_c_c): Likewise.
47570         (RUN_TEST_cc_c): Likewise.
47571         (RUN_TEST_f_i): Likewise.
47572         (RUN_TEST_f_i_tg): Likewise.
47573         (RUN_TEST_ff_i_tg): Likewise.
47574         (RUN_TEST_f_b): Likewise.
47575         (RUN_TEST_f_b_tg): Likewise.
47576         (RUN_TEST_f_l): Likewise.
47577         (RUN_TEST_f_L): Likewise.
47578         (RUN_TEST_fFF_11): Likewise.
47579         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
47580         conditionals.
47581         (cosh_test_data): Likewise.
47582         (exp_test_data): Likewise.
47583         (expm1_test_data): Likewise.
47584         (hypot_test_data): Likewise.
47585         (pow_test_data): Likewise.
47586         (sinh_test_data): Likewise.
47587         (tanh_test_data): Likewise.
47588         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
47589         flags argument.
47591         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
47592         tests with quiet NaN input and output.
47593         (acosh_test_data): Likewise.
47594         (asin_test_data): Likewise.
47595         (asinh_test_data): Likewise.
47596         (atan_test_data): Likewise.
47597         (atanh_test_data): Likewise.
47598         (atan2_test_data): Likewise.
47599         (cbrt_test_data): Likewise.
47600         (cos_test_data): Likewise.
47601         (cosh_test_data): Likewise.
47602         (erf_test_data): Likewise.
47603         (erfc_test_data): Likewise.
47604         (exp_test_data): Likewise.
47605         (exp10_test_data): Likewise.
47606         (exp2_test_data): Likewise.
47607         (expm1_test_data): Likewise.
47608         (hypot_test_data): Likewise.
47609         (j0_test_data): Likewise.
47610         (j1_test_data): Likewise.
47611         (jn_test_data): Likewise.
47612         (lgamma_test_data): Likewise.
47613         (log_test_data): Likewise.
47614         (log10_test_data): Likewise.
47615         (log1p_test_data): Likewise.
47616         (log2_test_data): Likewise.
47617         (pow_test_data): Likewise.
47618         (scalb_test_data): Likewise.
47619         (sin_test_data): Likewise.
47620         (sincos_test_data): Likewise.
47621         (sinh_test_data): Likewise.
47622         (tan_test_data): Likewise.
47623         (tanh_test_data): Likewise.
47624         (tgamma_test_data): Likewise.
47625         (y0_test_data): Likewise.
47626         (y1_test_data): Likewise.
47627         (yn_test_data): Likewise.
47629         [BZ #16167]
47630         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
47631         argument being NaN and avoid computations with second argument in
47632         that case.
47633         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47634         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47635         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47637 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
47639         * locale/iso-639.def: Add Chitwani Tharu (the).
47641 2013-11-14  Andreas Schwab  <schwab@suse.de>
47643         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
47644         word instead of empty string.
47646 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47649         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
47650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47651         (__fe_nomask_env): Likewise.
47653 2013-11-13  Steve Ellcey  <sellcey@mips.com>
47655         * benchtests/bench-timing.h: Include time.h.
47657 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
47659         [BZ #15997]
47660         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
47661         to 3.4.0 for x32.
47662         * sysdeps/unix/sysv/linux/configure: Regenerated.
47664 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
47666         [BZ #16151]
47667         * stdlib/strtod_l.c (round_and_return): Do not consider
47668         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
47669         exponent one less than half the least subnormal exponent.
47670         * stdlib/test-strtod-round-data: Add more tests.
47671         * stdlib/tst-strtod-round.c (tests): Regenerated.
47673 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47675         [BZ #14143]
47676         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
47677         (__fe_mask_env): Likewise.
47678         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
47679         libm_hidden_proto and add function prototype.
47680         (__fe_mask_env): Add function prototype.
47681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47682         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
47683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47684         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
47685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47686         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
47688 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47690         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
47691         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
47693 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47695         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
47696         of htab_find_slot().
47698 2013-11-11  David S. Miller  <davem@davemloft.net>
47700         [BZ #16150]
47701         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
47702         symbol in the non-vis3 case in static builds.
47703         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
47704         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
47705         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
47706         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
47708 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
47710         [BZ #387]
47711         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
47712         it is empty.
47714 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47716         * benchtests/Makefile: Add bench-strtod.
47717         * benchtests/bench-strtod.c: New file: strtod benchtest
47719 2013-11-11  Andreas Schwab  <schwab@suse.de>
47721         [BZ #16153]
47722         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
47723         terminating NUL in key length.
47725 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47727         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47728         Add artificial ODP entry for vDSO symbol for PPC64.
47729         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
47730         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
47732 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47734         [BZ #15374]
47735         * nss/getent.c (services_keys): Recognize services starting with digit.
47737 2013-11-06  David S. Miller  <davem@davemloft.net>
47739         [BZ #15985]
47740         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
47741         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
47743 2013-11-06  Will Newton  <will.newton@linaro.org>
47745         * manual/memory.texi (Malloc Examples): Remove register
47746         keyword from examples.
47748 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
47750         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
47752 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
47754         [BZ #6981]
47755         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
47756         depending on [__GCC_IEC_559 > 0].
47757         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
47758         depending on [__GCC_IEC_559_COMPLEX > 0].
47760 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
47762         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
47763         to iso-639.def.
47765 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
47767         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
47769 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
47771         [BZ #16112]
47772         * malloc/malloc (malloc_info): Do not handle first bin as
47773         special case.
47775 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
47777         * locale/iso-639.def: Add Central Nahuatl (nhn).
47779 2013-11-01  Bruno Haible  <bruno@clisp.org>
47781         [BZ #7003]
47782         * manual/math.texi (BSD Random): Specify range upper bound as
47783         in POSIX.
47785 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
47787         * locale/iso-639.def: Add Meadow Mari (mhr).
47789 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
47791         [BZ #14752], [BZ #15763]
47792         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
47793         Validate name.
47794         * rt/tst_shm.c: Add test for escaping directory.
47796 2013-10-31  Andreas Schwab  <schwab@suse.de>
47798         [BZ #15917]
47799         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
47800         followed by 'x' as part of digit sequence.
47801         * stdio-common/tst-sscanf.c (double_tests2): New tests.
47803 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
47805         [BZ #16037]
47806         * configure.ac: allow GNU Make 4.0 and greater.
47807         * configure: Regenerated.
47809 2013-10-30  Will Newton  <will.newton@linaro.org>
47811         [BZ #16038]
47812         * malloc/hooks.c (memalign_check): Limit alignment to the
47813         maximum representable power of two.
47814         * malloc/malloc.c (__libc_memalign): Likewise.
47815         * malloc/tst-memalign.c (do_test): Add test for very
47816         large alignment values.
47817         * malloc/tst-posix_memalign.c (do_test): Likewise.
47819 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47821         [BZ #11087]
47822         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
47823         (munmap_chunk): Likewise.
47824         (mremap_chunk): Likewise.
47826 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47828         [BZ #15799]
47829         * stdlib/div.c (div): Remove obsolete code.
47830         * stdlib/ldiv.c (ldiv): Likewise.
47831         * stdlib/lldiv.c (lldiv): Likewise.
47833 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47835         [BZ #16071]
47836         * nss/nss_files/files-XXX.c (get_contents_ret): New
47837         enumerator.
47838         (get_contents): New function.
47839         (internal_getent): Use it.  Expand size of LINEBUFLEN.
47841 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
47843         * configure.in: Moved to ...
47844         * configure.ac: ... here. Change reference to configure.in
47845         to configure.ac.
47846         * sysdeps/arm/preconfigure.ac: ... here.
47847         configure.in to configure.ac.
47848         * sysdeps/gnu/configure.in: Moved to ...
47849         * sysdeps/gnu/configure.ac: ... here.
47850         * sysdeps/i386/configure.in: Moved to ...
47851         * sysdeps/i386/configure.ac: ... here.
47852         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
47853         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
47854         * sysdeps/mach/configure.in: Moved to ...
47855         * sysdeps/mach/configure.ac: ... here.
47856         * sysdeps/mach/hurd/configure.in: Moved to ...
47857         * sysdeps/mach/hurd/configure.ac: ... here.
47858         * sysdeps/powerpc/configure.in: Moved to ...
47859         * sysdeps/powerpc/configure.ac: ... here.
47860         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
47861         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
47862         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
47863         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
47864         * sysdeps/s390/s390-32/configure.in: Moved to ...
47865         * sysdeps/s390/s390-32/configure.ac: ... here.
47866         * sysdeps/s390/s390-64/configure.in: Moved to ...
47867         * sysdeps/s390/s390-64/configure.ac: ... here.
47868         * sysdeps/sh/configure.in: Moved to ...
47869         * sysdeps/sh/configure.ac: ... here.
47870         * sysdeps/sparc/configure.in: Moved to ...
47871         * sysdeps/sparc/configure.ac: ... here.
47872         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
47873         * sysdeps/unix/sysv/linux/configure.ac: ... here.
47874         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
47875         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
47876         * sysdeps/x86_64/configure.in: Moved to ...
47877         * sysdeps/x86_64/configure.ac: ... here.
47878         * sysdeps/x86_64/preconfigure.in: Moved to ...
47879         * sysdeps/x86_64/preconfigure.ac: ... here.
47880         * aclocal.m4: Change reference to configure.in to configure.ac.
47881         * config.h.in: Likewise.
47882         * manual/install.texi: Likewise.
47883         * manual/maint.texi: Likewise.
47884         * Makefile: Likewise.
47885         * malloc/Makefile: Likewise.
47886         * nscd/Makefile: Likewise.
47887         * Makeconfig: Change reference to configure.in and
47888         preconfigure.in to configure.ac and preconfigure.ac
47889         respectively.
47890         * INSTALL: Regenerated.
47891         * configure: Likewise.
47892         * sysdeps/gnu/configure: Likewise.
47893         * sysdeps/i386/configure: Likewise.
47894         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47895         * sysdeps/mach/configure: Likewise.
47896         * sysdeps/mach/hurd/configure: Likewise.
47897         * sysdeps/powerpc/configure: Likewise.
47898         * sysdeps/powerpc/powerpc32/configure: Likewise.
47899         * sysdeps/powerpc/powerpc64/configure: Likewise.
47900         * sysdeps/s390/s390-32/configure: Likewise.
47901         * sysdeps/s390/s390-64/configure: Likewise.
47902         * sysdeps/sh/configure: Likewise.
47903         * sysdeps/sparc/configure: Likewise.
47904         * sysdeps/unix/sysv/linux/configure: Likewise.
47905         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47906         * sysdeps/x86_64/configure: Likewise.
47907         * sysdeps/x86_64/preconfigure: Likewise.
47909 2013-10-29  Andreas Schwab  <schwab@suse.de>
47911         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47913 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47915         * benchtests/pow-inputs: Add new inputs.
47917         * benchtests/exp-inputs: Add new inputs.
47919         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47920         conditional check for return value.
47921         (__cos32): Likewise.
47923 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47925         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47926         to provide a boost for large inputs with word alignment.
47927         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47928         implementation based on optimized PPC64 strcpy.
47929         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47930         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47931         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47932         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47934 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47936         [BZ #2801]
47937         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47939 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47941         [BZ #14876]
47942         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47943         * time/tst-strptime.c (day_tests): Add testcase.
47945 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47947         [BZ #14029]
47948         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47950 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47952         [BZ #16074]
47953         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47954         MAP_FAILED on error.
47956 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47958         [BZ #16072]
47959         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47960         heap for large requests.
47962 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47964         [BZ #9954]
47965         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47966         result if the result has no associated interface.
47967         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47968         interface for all 127.X.Y.Z addresses.
47970 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47972         * locale/iso-639.def: Add Ligurian (lij)
47974 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47976         [BZ #15825]
47977         * sunrpc/rpc_main.c: Document rpcgen -5.
47979 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47981         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47983 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47985         [BZ #10278]
47986         * posix/glob.c: Match only directories when trailing slash is present.
47987         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47988         (main): Add testcase.
47990 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47992         [BZ #15670]
47993         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47995 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47997         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47998         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47999         AUTH_DES and cindex for FIPS 140-2.
48000         (DES Encryption): Add cindex FIPS 46-3.
48002         * locale/locarchive.h (struct locarhandle): Add fname.
48003         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48004         if an optional argument was specified to --list-archive,
48005         otherwise NULL.
48006         * locale/programs/locarchive.c (show_archive_content): Take new
48007         argument fname and pass it via ah.fname to open_archive.
48008         * locale/programs/localedef.h: Update decl.
48009         (open_archive): If AH->fname is non-null, open that file
48010         rather than the default file name, and don't ignore ENOENT.
48011         (create_archive): Set AH.fname to NULL.
48012         (delete_locales_from_archive): Likewise.
48013         (add_locales_to_archive): Likewise.
48014         * locale/programs/locfile.c (write_all_categories): Likewise.
48016 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48017             Aldy Hernandez  <aldyh@redhat.com>
48019         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48020         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48021         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48022         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48023         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48024         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48025         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48026         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48027         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48028         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48029         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48030         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48031         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48032         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48033         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48034         Likewise.
48035         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48036         Likewise.
48037         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48038         Likewise.
48039         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48040         Likewise.
48041         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48042         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48043         Likewise.
48044         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48045         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48046         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48047         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48048         Likewise.
48049         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48050         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48051         * sysdeps/powerpc/preconfigure: Likewise.
48052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48053         Likewise.
48054         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48055         Replace contents of file by #include of <fenv_libc.h>.
48056         * sysdeps/powerpc/soft-fp/sfp-machine.h
48057         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48058         and <sys/prctl.h>.
48059         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48060         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48061         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48062         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48063         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48064         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48066         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48067         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48068         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48069         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48070         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48072         Allow copysignl PLT reference to be missing.
48074 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48075             Joseph Myers  <joseph@codesourcery.com
48077         [BZ #15948]
48078         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48079         single character.
48080         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48082 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48084         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48085         * elf/tst-tls1.c: Likewise.
48086         * elf/tst-tls10.h: Likewise.
48087         * elf/tst-tls14.c: Likewise.
48088         * elf/tst-tls2.c: Likewise.
48089         * elf/tst-tls3.c: Likewise.
48090         * elf/tst-tls4.c: Likewise.
48091         * elf/tst-tls5.c: Likewise.
48092         * elf/tst-tls6.c: Likewise.
48093         * elf/tst-tls7.c: Likewise.
48094         * elf/tst-tls8.c: Likewise.
48095         * elf/tst-tls9.c: Likewise.
48096         * elf/tst-tlsmod1.c: Likewise.
48097         * elf/tst-tlsmod13.c: Likewise.
48098         * elf/tst-tlsmod13a.c: Likewise.
48099         * elf/tst-tlsmod14a.c: Likewise.
48100         * elf/tst-tlsmod16a.c: Likewise.
48101         * elf/tst-tlsmod16b.c: Likewise.
48102         * elf/tst-tlsmod2.c: Likewise.
48103         * elf/tst-tlsmod3.c: Likewise.
48104         * elf/tst-tlsmod4.c: Likewise.
48105         * elf/tst-tlsmod5.c: Likewise.
48106         * elf/tst-tlsmod6.c: Likewise.
48108 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48110         [BZ #12486]
48111         * malloc/malloc.c: remove checks for statistics.
48113 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48115         [BZ #15277]
48116         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48117         * inet/tst-network.c: Add testcase.
48119 2013-10-17  Andreas Schwab  <schwab@suse.de>
48121         [BZ #15218]
48122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48123         to determine canonical name.
48125 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48127         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48128         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48129         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48130         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48131         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48132         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48133         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48134         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48135         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48136         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48137         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48138         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48139         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48140         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48141         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48142         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48143         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48144         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48145         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48146         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48147         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48148         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48149         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48150         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48151         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48152         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48153         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48154         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48155         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48156         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48157         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48158         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48159         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48160         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48161         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48162         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48163         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48164         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48165         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48166         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48167         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48168         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48169         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48170         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48171         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48172         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48173         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48174         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48175         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48176         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48177         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48178         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48179         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48180         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48181         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48182         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48183         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48184         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48186 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48188         [BZ #16041]
48189         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48190         make result into a quiet NaN.
48192 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48194         * soft-fp/adddf3.c: Fix horizontal whitespace.
48195         * soft-fp/addsf3.c: Likewise.
48196         * soft-fp/addtf3.c: Likewise.
48197         * soft-fp/divdf3.c: Likewise.
48198         * soft-fp/divsf3.c: Likewise.
48199         * soft-fp/divtf3.c: Likewise.
48200         * soft-fp/double.h: Likewise.
48201         * soft-fp/eqdf2.c: Likewise.
48202         * soft-fp/eqsf2.c: Likewise.
48203         * soft-fp/eqtf2.c: Likewise.
48204         * soft-fp/extenddftf2.c: Likewise.
48205         * soft-fp/extended.h: Likewise.
48206         * soft-fp/extendsfdf2.c: Likewise.
48207         * soft-fp/extendsftf2.c: Likewise.
48208         * soft-fp/extendxftf2.c: Likewise.
48209         * soft-fp/fixdfdi.c: Likewise.
48210         * soft-fp/fixdfsi.c: Likewise.
48211         * soft-fp/fixdfti.c: Likewise.
48212         * soft-fp/fixsfdi.c: Likewise.
48213         * soft-fp/fixsfsi.c: Likewise.
48214         * soft-fp/fixsfti.c: Likewise.
48215         * soft-fp/fixtfdi.c: Likewise.
48216         * soft-fp/fixtfsi.c: Likewise.
48217         * soft-fp/fixtfti.c: Likewise.
48218         * soft-fp/fixunsdfdi.c: Likewise.
48219         * soft-fp/fixunsdfsi.c: Likewise.
48220         * soft-fp/fixunsdfti.c: Likewise.
48221         * soft-fp/fixunssfdi.c: Likewise.
48222         * soft-fp/fixunssfsi.c: Likewise.
48223         * soft-fp/fixunssfti.c: Likewise.
48224         * soft-fp/fixunstfdi.c: Likewise.
48225         * soft-fp/fixunstfsi.c: Likewise.
48226         * soft-fp/fixunstfti.c: Likewise.
48227         * soft-fp/floatdidf.c: Likewise.
48228         * soft-fp/floatdisf.c: Likewise.
48229         * soft-fp/floatditf.c: Likewise.
48230         * soft-fp/floatsidf.c: Likewise.
48231         * soft-fp/floatsisf.c: Likewise.
48232         * soft-fp/floatsitf.c: Likewise.
48233         * soft-fp/floattidf.c: Likewise.
48234         * soft-fp/floattisf.c: Likewise.
48235         * soft-fp/floattitf.c: Likewise.
48236         * soft-fp/floatundidf.c: Likewise.
48237         * soft-fp/floatundisf.c: Likewise.
48238         * soft-fp/floatunditf.c: Likewise.
48239         * soft-fp/floatunsidf.c: Likewise.
48240         * soft-fp/floatunsisf.c: Likewise.
48241         * soft-fp/floatunsitf.c: Likewise.
48242         * soft-fp/floatuntidf.c: Likewise.
48243         * soft-fp/floatuntisf.c: Likewise.
48244         * soft-fp/floatuntitf.c: Likewise.
48245         * soft-fp/fmadf4.c: Likewise.
48246         * soft-fp/fmasf4.c: Likewise.
48247         * soft-fp/fmatf4.c: Likewise.
48248         * soft-fp/gedf2.c: Likewise.
48249         * soft-fp/gesf2.c: Likewise.
48250         * soft-fp/getf2.c: Likewise.
48251         * soft-fp/ledf2.c: Likewise.
48252         * soft-fp/lesf2.c: Likewise.
48253         * soft-fp/letf2.c: Likewise.
48254         * soft-fp/muldf3.c: Likewise.
48255         * soft-fp/mulsf3.c: Likewise.
48256         * soft-fp/multf3.c: Likewise.
48257         * soft-fp/negdf2.c: Likewise.
48258         * soft-fp/negsf2.c: Likewise.
48259         * soft-fp/negtf2.c: Likewise.
48260         * soft-fp/op-1.h: Likewise.
48261         * soft-fp/op-2.h: Likewise.
48262         * soft-fp/op-4.h: Likewise.
48263         * soft-fp/op-8.h: Likewise.
48264         * soft-fp/op-common.h: Likewise.
48265         * soft-fp/quad.h: Likewise.
48266         * soft-fp/single.h: Likewise.
48267         * soft-fp/soft-fp.h: Likewise.
48268         * soft-fp/sqrtdf2.c: Likewise.
48269         * soft-fp/sqrtsf2.c: Likewise.
48270         * soft-fp/sqrttf2.c: Likewise.
48271         * soft-fp/subdf3.c: Likewise.
48272         * soft-fp/subsf3.c: Likewise.
48273         * soft-fp/subtf3.c: Likewise.
48274         * soft-fp/truncdfsf2.c: Likewise.
48275         * soft-fp/trunctfdf2.c: Likewise.
48276         * soft-fp/trunctfsf2.c: Likewise.
48277         * soft-fp/trunctfxf2.c: Likewise.
48278         * soft-fp/unorddf2.c: Likewise.
48279         * soft-fp/unordsf2.c: Likewise.
48280         * soft-fp/unordtf2.c: Likewise.
48282 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
48284         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
48285         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
48287 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
48289         * elf/dl-libc.c: Clear initfini list after freeing.
48291 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
48293         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
48294         * soft-fp/addsf3.c: Likewise.
48295         * soft-fp/addtf3.c: Likewise.
48296         * soft-fp/divdf3.c: Likewise.
48297         * soft-fp/divsf3.c: Likewise.
48298         * soft-fp/divtf3.c: Likewise.
48299         * soft-fp/double.h: Likewise.
48300         * soft-fp/eqdf2.c: Likewise.
48301         * soft-fp/eqsf2.c: Likewise.
48302         * soft-fp/eqtf2.c: Likewise.
48303         * soft-fp/extenddftf2.c: Likewise.
48304         * soft-fp/extended.h: Likewise.
48305         * soft-fp/extendsfdf2.c: Likewise.
48306         * soft-fp/extendsftf2.c: Likewise.
48307         * soft-fp/extendxftf2.c: Likewise.
48308         * soft-fp/fixdfdi.c: Likewise.
48309         * soft-fp/fixdfsi.c: Likewise.
48310         * soft-fp/fixdfti.c: Likewise.
48311         * soft-fp/fixsfdi.c: Likewise.
48312         * soft-fp/fixsfsi.c: Likewise.
48313         * soft-fp/fixsfti.c: Likewise.
48314         * soft-fp/fixtfdi.c: Likewise.
48315         * soft-fp/fixtfsi.c: Likewise.
48316         * soft-fp/fixtfti.c: Likewise.
48317         * soft-fp/fixunsdfdi.c: Likewise.
48318         * soft-fp/fixunsdfsi.c: Likewise.
48319         * soft-fp/fixunsdfti.c: Likewise.
48320         * soft-fp/fixunssfdi.c: Likewise.
48321         * soft-fp/fixunssfsi.c: Likewise.
48322         * soft-fp/fixunssfti.c: Likewise.
48323         * soft-fp/fixunstfdi.c: Likewise.
48324         * soft-fp/fixunstfsi.c: Likewise.
48325         * soft-fp/fixunstfti.c: Likewise.
48326         * soft-fp/floatdidf.c: Likewise.
48327         * soft-fp/floatdisf.c: Likewise.
48328         * soft-fp/floatditf.c: Likewise.
48329         * soft-fp/floatsidf.c: Likewise.
48330         * soft-fp/floatsisf.c: Likewise.
48331         * soft-fp/floatsitf.c: Likewise.
48332         * soft-fp/floattidf.c: Likewise.
48333         * soft-fp/floattisf.c: Likewise.
48334         * soft-fp/floattitf.c: Likewise.
48335         * soft-fp/floatundidf.c: Likewise.
48336         * soft-fp/floatundisf.c: Likewise.
48337         * soft-fp/floatunsidf.c: Likewise.
48338         * soft-fp/floatunsisf.c: Likewise.
48339         * soft-fp/floatuntidf.c: Likewise.
48340         * soft-fp/floatuntisf.c: Likewise.
48341         * soft-fp/floatuntitf.c: Likewise.
48342         * soft-fp/fmadf4.c: Likewise.
48343         * soft-fp/fmasf4.c: Likewise.
48344         * soft-fp/fmatf4.c: Likewise.
48345         * soft-fp/gedf2.c: Likewise.
48346         * soft-fp/gesf2.c: Likewise.
48347         * soft-fp/getf2.c: Likewise.
48348         * soft-fp/ledf2.c: Likewise.
48349         * soft-fp/lesf2.c: Likewise.
48350         * soft-fp/letf2.c: Likewise.
48351         * soft-fp/muldf3.c: Likewise.
48352         * soft-fp/mulsf3.c: Likewise.
48353         * soft-fp/multf3.c: Likewise.
48354         * soft-fp/negdf2.c: Likewise.
48355         * soft-fp/negsf2.c: Likewise.
48356         * soft-fp/negtf2.c: Likewise.
48357         * soft-fp/op-1.h: Likewise.
48358         * soft-fp/op-2.h: Likewise.
48359         * soft-fp/op-4.h: Likewise.
48360         * soft-fp/op-8.h: Likewise.
48361         * soft-fp/op-common.h: Likewise.
48362         * soft-fp/quad.h: Likewise.
48363         * soft-fp/single.h: Likewise.
48364         * soft-fp/soft-fp.h: Likewise.
48365         * soft-fp/sqrtdf2.c: Likewise.
48366         * soft-fp/sqrtsf2.c: Likewise.
48367         * soft-fp/sqrttf2.c: Likewise.
48368         * soft-fp/subdf3.c: Likewise.
48369         * soft-fp/subsf3.c: Likewise.
48370         * soft-fp/subtf3.c: Likewise.
48371         * soft-fp/truncdfsf2.c: Likewise.
48372         * soft-fp/trunctfdf2.c: Likewise.
48373         * soft-fp/trunctfsf2.c: Likewise.
48374         * soft-fp/trunctfxf2.c: Likewise.
48375         * soft-fp/unorddf2.c: Likewise.
48376         * soft-fp/unordsf2.c: Likewise.
48377         * soft-fp/unordtf2.c: Likewise.
48379 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
48381         [BZ #15672]
48382         * misc/error.c (error_tail): Fix possible buffer overflow.
48384 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
48386         [BZ #13028]
48387         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
48388         address.
48390 2013-10-14  P. J. McDermott  <pj@pehjota.net>
48392         [BZ #832]
48393         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
48394         testing pipefail option.
48396 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48398         * soft-fp/double.h: Indent preprocessor directives inside #if.
48399         * soft-fp/extended.h: Likewise.
48400         * soft-fp/op-2.h: Likewise.
48401         * soft-fp/op-4.h: Likewise.
48402         * soft-fp/op-common.h: Likewise.
48403         * soft-fp/quad.h: Likewise.
48404         * soft-fp/single.h: Likewise.
48405         * soft-fp/soft-fp.h: Likewise.
48407 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
48409         * iconv/iconv_prog.c: Fix typos.
48410         * stdio-common/psiginfo-data.h: Likewise.
48412 2013-10-12   Reuben Thomas <rrt@sc3d.org>
48414         [BZ #15764]
48415         * locale/setlocale.c: Fix typo.
48417 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48419         [BZ #16036]
48420         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48421         signaling NaN arguments.
48422         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48423         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48425         [BZ #14910]
48426         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48427         unordered operands.
48428         * soft-fp/gesf2.c (__gesf2): Likewise.
48429         * soft-fp/getf2.c (__getf2): Likewise.
48430         * soft-fp/ledf2.c (__ledf2): Likewise.
48431         * soft-fp/lesf2.c (__lesf2): Likewise.
48432         * soft-fp/letf2.c (__letf2): Likewise.
48434         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48435         * soft-fp/eqsf2.c (__eqsf2): Likewise.
48436         * soft-fp/eqtf2.c (__eqtf2): Likewise.
48437         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48438         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48439         * soft-fp/fixdfti.c (__fixdfti): Likewise.
48440         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48441         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48442         * soft-fp/fixsfti.c (__fixsfti): Likewise.
48443         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48444         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48445         * soft-fp/fixtfti.c (__fixtfti): Likewise.
48446         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48447         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48448         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48449         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48450         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48451         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48452         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48453         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48454         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48455         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48456         * soft-fp/floatdisf.c (__floatdisf): Likewise.
48457         * soft-fp/floatsisf.c (__floatsisf): Likewise.
48458         * soft-fp/floattidf.c (__floattidf): Likewise.
48459         * soft-fp/floattisf.c (__floattisf): Likewise.
48460         * soft-fp/floattitf.c (__floattitf): Likewise.
48461         * soft-fp/floatundidf.c (__floatundidf): Likewise.
48462         * soft-fp/floatundisf.c (__floatundisf): Likewise.
48463         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48464         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48465         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48466         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48467         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48468         * soft-fp/gesf2.c (__gesf2): Likewise.
48469         * soft-fp/getf2.c (__getf2): Likewise.
48470         * soft-fp/ledf2.c (__ledf2): Likewise.
48471         * soft-fp/lesf2.c (__lesf2): Likewise.
48472         * soft-fp/letf2.c (__letf2): Likewise.
48474         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48475         Undefine and redefine.
48476         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48477         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48478         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48479         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48480         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48481         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48482         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48483         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48484         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48485         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48486         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48487         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48488         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48489         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48490         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48492         [BZ #16032]
48493         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48494         without decrementing exponent if mantissa >= that for the
48495         denominator, not >.
48496         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48497         denominator, not >.  Decrement exponent in < case instead of
48498         incrementing in >= case.
48499         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48500         without decrementing exponent if mantissa >= that for the
48501         denominator, not >.
48503         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48504         computing saturated result for unsigned overflow.
48506 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48507             Jeff Law  <law@redhat.com>
48509         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48510         (atan2Mp): Add systemtap probe marker.
48511         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48512         (__ieee754_log): Add systemtap probe marker.
48513         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48514         (atanMp): Add systemtap probe marker.
48515         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48516         (tanMp): Add systemtap probe marker.
48517         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
48518         (__slowexp): Add systemtap probe marker.
48519         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
48520         (__slowpow): Add systemtap probe marker.
48521         * manual/probes.texi: Document probes.
48523 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
48525         [BZ #15362]
48526         * libio/fileops.c (_IO_new_file_write): Return count of bytes
48527         written.
48528         (_IO_new_file_xsputn): Don't return EOF if nothing has been
48529         written.
48530         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
48531         written to buffer but not flushed.
48532         * libio/iofwrite_u.c:  Likewise.
48533         * libio/iopadn.c:  Return bytes returned even if EOF was
48534         encountered.
48535         * libio/iowpadn.c:  Likewise.
48536         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48537         if _IO_padn does not write the whole buffer.
48538         [!COMPILE_WPRINTF] (PAD): Likewise.
48540 2013-10-10  David S. Miller  <davem@davemloft.net>
48542         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
48543         directory block.
48545 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48547         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
48548         instead of FSF address.
48549         * soft-fp/fixdfti.c: Likewise.
48550         * soft-fp/fixsfti.c: Likewise.
48551         * soft-fp/fixtfti.c: Likewise.
48552         * soft-fp/fixunsdfti.c: Likewise.
48553         * soft-fp/fixunssfti.c: Likewise.
48554         * soft-fp/fixunstfti.c: Likewise.
48555         * soft-fp/floattidf.c: Likewise.
48556         * soft-fp/floattisf.c: Likewise.
48557         * soft-fp/floattitf.c: Likewise.
48558         * soft-fp/floatuntidf.c: Likewise.
48559         * soft-fp/floatuntisf.c: Likewise.
48560         * soft-fp/floatuntitf.c: Likewise.
48561         * soft-fp/trunctfxf2.c: Likewise.
48563         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
48564         * soft-fp/fixdfti.c: Likewise.
48565         * soft-fp/fixsfti.c: Likewise.
48566         * soft-fp/fixtfti.c: Likewise.
48567         * soft-fp/fixunsdfti.c: Likewise.
48568         * soft-fp/fixunssfti.c: Likewise.
48569         * soft-fp/fixunstfti.c: Likewise.
48570         * soft-fp/floattidf.c: Likewise.
48571         * soft-fp/floattisf.c: Likewise.
48572         * soft-fp/floattitf.c: Likewise.
48573         * soft-fp/floatuntidf.c: Likewise.
48574         * soft-fp/floatuntisf.c: Likewise.
48575         * soft-fp/floatuntitf.c: Likewise.
48576         * soft-fp/trunctfxf2.c: Likewise.
48578 2013-10-10  David S. Miller  <davem@davemloft.net>
48580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48582 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
48584         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48585         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
48586         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48587         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
48588         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
48589         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
48590         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
48592         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
48593         for NaNs before doing comparisons on argument.
48594         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
48595         Likewise.
48597 2013-10-10  Will Newton  <will.newton@linaro.org>
48599         * malloc/hooks.c (memalign_check): Ensure the value of bytes
48600         passed to _int_memalign does not overflow.
48602 2013-10-10  Torvald Riegel  <triegel@redhat.com>
48604         * scripts/bench.pl: Add include-sources directive.
48605         * benchtests/README: Update documentation.
48607 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48609         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
48610         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
48611         instead of FP_INIT_ROUNDMODE.
48612         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
48613         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
48615         [BZ #16034]
48616         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
48617         copy class of input value.
48618         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
48619         not handle exceptions.
48620         * soft-fp/negsf2.c (__negsf2): Likewise.
48621         * soft-fp/negtf2.c (__negtf2): Likewise.
48622         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
48624 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
48626         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
48627         semicolon.  From Linux kernel.
48629 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
48631         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
48633 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
48635         [BZ #156]
48636         * manual/socket.texi: Added statement about buffer
48637         for gethostbyname2_r.
48639 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
48641         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
48642         Use .p2align directive instead, throughout.
48643         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48644         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
48645         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
48646         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48647         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48648         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
48649         * sysdeps/x86_64/strchr.S: Likewise.
48650         * sysdeps/x86_64/strrchr.S: Likewise.
48652 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48654         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
48656         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
48658         * sysdeps/generic/math_private.h (__mpsin1): Remove
48659         declaration.
48660         (__mpcos1): Likewise.
48661         (__mpsin): New argument __range_reduce.
48662         (__mpcos): Likewise.
48663         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48664         (slow): Use __mpsin and __mpcos.
48665         (slow1): Likewise.
48666         (slow2): Likewise.
48667         (sloww): Likewise.
48668         (sloww1): Likewise.
48669         (sloww2): Likewise.
48670         (bsloww): Likewise.
48671         (bsloww1): Likewise.
48672         (bsloww2): Likewise.
48673         (cslow2): Likewise.
48674         (csloww): Likewise.
48675         (csloww1): Likewise.
48676         (csloww2): Likewise.
48677         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
48678         range_reduce.  Merge in __mpsin1.
48679         (__mpcos): Likewise.
48680         (__mpsin1): Remove.
48681         (__mpcos1): Likewise.
48683 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
48685         * locale/loadlocale.c (_nl_intern_locale_data): Use
48686         LOCFILE_ALIGNED_P.
48687         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
48688         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
48689         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
48690         obstack data is appropriately aligned.
48691         (obstack_int32_grow_fast): Likewise.
48692         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
48693         * locale/programs/locfile.c (add_locale_uint32): Likewise.
48694         (add_locale_uint32_array): Likewise.
48696 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48698         * benchtests/Makefile: Remove ARGLIST and RET variables.
48699         ($(objpfx)bench-%.c): Pass only function name to the script.
48700         * benchtests/README: Update documentation.
48701         * benchtests/acos-inputs: Add new directives.
48702         * benchtests/acosh-inputs: Likewise.
48703         * benchtests/asin-inputs: Likewise.
48704         * benchtests/asinh-inputs: Likewise.
48705         * benchtests/atan-inputs: Likewise.
48706         * benchtests/atanh-inputs: Likewise.
48707         * benchtests/cos-inputs: Likewise.
48708         * benchtests/cosh-inputs: Likewise.
48709         * benchtests/exp-inputs: Likewise.
48710         * benchtests/log-inputs: Likewise.
48711         * benchtests/pow-inputs: Likewise.
48712         * benchtests/rint-inputs: Likewise.
48713         * benchtests/sin-inputs: Likewise.
48714         * benchtests/sinh-inputs: Likewise.
48715         * benchtests/tan-inputs: Likewise.
48716         * benchtests/tanh-inputs: Likewise.
48717         * scripts/bench.pl: Add support for new directives.
48719 2013-10-07  Alan Modra  <amodra@gmail.com>
48721         * README: Fix careless merge.
48723 2013-10-05  Alan Modra  <amodra@gmail.com>
48725         * NEWS: Mention powerpc64le support and bugs fixed.
48726         * README: Both big-endian and little-endian powerpc64 supported.
48728 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48730         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
48731         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
48732         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
48733         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
48735 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
48737         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
48738         match prototype.
48740 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
48742         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
48743         Move -mhard-float appending from
48744         ports/sysdeps/powerpc/powerpc32/Makefile.
48745         [$(with-fp) = yes] (ASFLAGS): Likewise.
48746         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
48747         * sysdeps/powerpc/nofpu: Move directory from
48748         ports/sysdeps/powerpc/nofpu.
48749         * sysdeps/powerpc/soft-fp: Move directory from
48750         ports/sysdeps/powerpc/soft-fp.
48751         * sysdeps/powerpc/powerpc32/405: Move directory from
48752         ports/sysdeps/powerpc/powerpc32/405.
48753         * sysdeps/powerpc/powerpc32/440: Move directory from
48754         ports/sysdeps/powerpc/powerpc32/440.
48755         * sysdeps/powerpc/powerpc32/464: Move directory from
48756         ports/sysdeps/powerpc/powerpc32/464.
48757         * sysdeps/powerpc/powerpc32/476: Move directory from
48758         ports/sysdeps/powerpc/powerpc32/476.
48759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
48760         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
48761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
48762         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
48763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
48764         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
48765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
48766         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
48767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
48768         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
48769         * README: Update for powerpc-*-linux-gnu software floating point
48770         support in libc.
48772         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
48773         case to powerpc/powerpc32*.
48774         * sysdeps/unix/sysv/linux/configure: Regenerated.
48776         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
48777         (_FPU_MASK_OM): Define as 0x04.
48778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
48779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
48780         0x00c10080.
48781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
48782         0x0000003c.
48783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
48785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
48786         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48787         getcontext_e500.
48788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
48789         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48790         setcontext_e500.
48791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
48792         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
48793         and setcontext_e500.
48795 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
48797         * locale/iso-3166.def: Update iso-1366.def and related occurrences
48799 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48801         * manual/threads.texi (Default Thread Attributes): Fix typo.
48803 2013-10-04  Will Newton  <will.newton@linaro.org>
48805         * malloc/Makefile: Add tst-memalign.
48806         * malloc/tst-memalign.c: New file.
48808         * malloc/tst-posix_memalign.c: Add comments.
48809         (do_test): Add comments and call free on all potentially
48810         allocated pointers. Add space after cast.
48812         * malloc/tst-pvalloc.c: Add comments.
48813         (do_test): Add comments and call free on all potentially
48814         allocated pointers. Remove duplicate check for NULL pointer.
48815         Add space after cast.
48817         * malloc/tst-valloc.c: Add comments.
48818         (do_test): Add comments and call free on all potentially
48819         allocated pointers. Remove duplicate check for NULL pointer.
48820         Add space after cast.
48822 2013-10-04  Alan Modra  <amodra@gmail.com>
48824         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48825         Use stdint types in rather than __attribute__((mode())).
48826         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48828 2013-10-04  Alan Modra  <amodra@gmail.com>
48830         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48831         Correct handling of unaligned relocs for little-endian.
48832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48834 2013-10-04  Alan Modra  <amodra@gmail.com>
48836         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
48837         * configure: Regenerate.
48838         * nptl/shlib-versions: Powerpc*le starts at 2.18.
48839         * shlib-versions: Likewise.
48841 2013-10-04  Alan Modra  <amodra@gmail.com>
48843         * string/tester.c (test_memrchr): Increment reported test cycle.
48845 2013-10-04  Alan Modra  <amodra@gmail.com>
48847         * string/test-memcpy.c (do_one_test): When reporting errors, print
48848         string address and don't overrun end of string.
48850 2013-10-04  Alan Modra  <amodra@gmail.com>
48852         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
48853         insrdi.  Make better use of reg selection to speed exit slightly.
48854         Schedule entry path a little better.  Remove useless "are we done"
48855         checks on entry to main loop.  Handle wrapping around zero address.
48856         Correct main loop count.  Handle single left-over word from main
48857         loop inline rather than by using loop_small.  Remove extra word
48858         case in loop_small caused by wrong loop count.  Add little-endian
48859         support.
48860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48861         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
48862         cache hint.
48863         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48864         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
48865         support.  Avoid rlwimi.
48866         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
48868 2013-10-04  Alan Modra  <amodra@gmail.com>
48870         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
48871         insrdi.  Formatting.
48872         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
48873         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48874         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48875         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48876         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48877         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
48879 2013-10-04  Alan Modra  <amodra@gmail.com>
48881         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
48882         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48883         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48884         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48885         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48886         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48887         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48888         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48889         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48890         use of regs.  Use power7 mtocrf.  Tidy function tails.
48892 2013-10-04  Alan Modra  <amodra@gmail.com>
48894         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48895         Formatting.  Consistently use rXXX register defines or rN defines.
48896         Use early exit labels that avoid restoring unused non-volatile regs.
48897         Make cr field use more consistent with rWORDn compares.  Rename
48898         regs used as shift registers for unaligned loop, using rN defines
48899         for short lifetime/multiple use regs.
48900         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48901         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48902         addi 1,1,64 to pop stack frame.  Simplify return value code.
48903         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48905 2013-10-04  Alan Modra  <amodra@gmail.com>
48907         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48908         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48909         rather than rlwimi.
48910         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48911         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48912         little-endian support.  Correct typos.
48913         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48914         rather than rlwimi.
48915         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48916         in loop and entry code to keep "and." results.
48917         (strchr): Add little-endian support.  Comment.  Move cntlzd
48918         earlier in tail.
48919         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48921 2013-10-04  Alan Modra  <amodra@gmail.com>
48923         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48924         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48925         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48926         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48928 2013-10-04  Alan Modra  <amodra@gmail.com>
48930         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48931         (rTMP): Define as r11.
48932         (strcmp): Add little-endian support.  Optimise tail.
48933         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48934         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48935         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48936         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48937         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48939         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48941 2013-10-04  Alan Modra  <amodra@gmail.com>
48943         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48944         little-endian support.  Remove unnecessary "are we done" tests.
48945         Handle "s" wrapping around zero and extremely large "size".
48946         Correct main loop count.  Handle single left-over word from main
48947         loop inline rather than by using small_loop.  Correct comments.
48948         Delete "zero" tail, use "end_max" instead.
48949         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48951 2013-10-04  Alan Modra  <amodra@gmail.com>
48953         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48954         support.  Don't branch over align.
48955         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48956         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48957         support.  Rearrange tmp reg use to suit.  Comment.
48958         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48960 2013-10-04  Alan Modra  <amodra@gmail.com>
48962         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48964 2013-10-04  Alan Modra  <amodra@gmail.com>
48966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48967         conditional form of branch and link when obtaining pc.
48968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48970 2013-10-04  Alan Modra  <amodra@gmail.com>
48972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48973         HIWORD/LOWORD.
48974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48977 2013-10-04  Alan Modra  <amodra@gmail.com>
48979         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48980         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48981         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48982         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48983         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48984         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48985         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48986         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48987         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48988         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48990 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48991             Alistair Popple <alistair@ozlabs.au.ibm.com>
48992             Alan Modra <amodra@gmail.com>
48994         [BZ #15723]
48995         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48996         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48997         _dl_hwcap access for little-endian.
48998         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48999         destroy vmx regs when saving unaligned.
49000         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49001         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49002         destroy vmx regs when saving unaligned.
49004 2013-10-04  Alan Modra  <amodra@gmail.com>
49006         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49007         Don't use a union to pack hi/low value.
49009 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49011         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49012         for little-endian.
49013         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49014         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49015         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49016         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49017         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49019 2013-10-04  Alan Modra  <amodra@gmail.com>
49021         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49022         constants to usual value for .cst8 section, and remove redundant
49023         high address load.
49024         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49025         constant for 0x1p52.  Load little-endian words of double from
49026         correct stack offsets.
49028 2013-10-04  Alan Modra  <amodra@gmail.com>
49030         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49031         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49032         words of double from correct stack offsets.
49033         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49034         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49035         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49036         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49037         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49038         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49039         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49040         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49041         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49042         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49043         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49044         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49045         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49046         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49047         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49048         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49049         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49051 2013-10-04  Alan Modra  <amodra@gmail.com>
49053         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49054         64-bit int/double union.
49055         (_FPU_SETCW): Likewise.
49056         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49057         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49059 2013-10-04  Alan Modra  <amodra@gmail.com>
49061         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49062         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49064 2013-10-04  Alan Modra  <amodra@gmail.com>
49066         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49067         use vector int constants.
49068         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49070 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49072         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49073         array with long long.
49074         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49075         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49076         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49077         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49078         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49079         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49080         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49081         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49082         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49083         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49084         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49085         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49086         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49088 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49090         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49091         (__signbit): Likewise.  Correct for little-endian.
49092         (__signbitl): Call __signbit.
49093         (lrint): Correct for little-endian.
49094         (lrintf): Call lrint.
49096 2013-10-04  Alan Modra  <amodra@gmail.com>
49098         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49099         union 32-bit int array member with 64-bit int array.
49100         (t515, tm256): Double rather than long double.
49101         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49103 2013-10-04  Alan Modra  <amodra@gmail.com>
49105         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49106         Delete.
49107         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49108         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49109         version of math_ldbl.h.
49111 2013-10-04  Alan Modra  <amodra@gmail.com>
49113         [BZ #15734], [BZ #15735]
49114         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49115         all uses of ieee875 long double macros and unions.  Simplify test
49116         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49117         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49118         normalize after ldbl_extract_mantissa, and don't add hidden bit
49119         already handled.  Don't treat low word of ieee854 mantissa like
49120         low word of IBM long double and mask off bit when testing for
49121         zero.
49122         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49123         all uses of ieee875 long double macros and unions.  Simplify tests
49124         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49125         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49126         two1022, instead use their values.  Recognise that tests for large
49127         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49128         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49129         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49130         test for 0.0L and nan.  Correct negation.
49131         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49132         ieee875 long double macros and unions.  Correct output for large
49133         magnitude x.  Correct absolute value calculation.
49134         (__erfcl): Likewise.
49135         * math/libm-test.inc: Add tests for errors discovered in IBM long
49136         double versions of fmodl, remainderl, erfl and erfcl.
49138 2013-10-04  Alan Modra  <amodra@gmail.com>
49140         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49141         all uses of ieee854 long double macros and unions.  Simplify tests
49142         for long doubles that are fully specified by the high double.
49143         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49144         Likewise.
49145         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49146         Remove dead code too.
49147         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49148         (__ieee754_ynl): Likewise.
49149         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49150         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49151         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49152         Remove dead code too.
49153         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49154         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49155         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49156         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49157         Simplify.
49158         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49159         Simplify.
49160         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49161         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49162         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49163         Comment on variable precision.
49164         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49165         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49166         Likewise.
49167         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49168         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49169         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49170         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49171         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49173 2013-10-04  Alan Modra  <amodra@gmail.com>
49175         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49176         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49177         all uses of ieee854 long double macros and unions.
49178         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49179         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49180         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49181         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49182         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49183         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49184         Likewise.
49185         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49186         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49187         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49188         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49189         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49190         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49191         Simplify sign and nan test too.
49192         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49193         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49194         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49195         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49196         Likewise.
49197         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49198         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49199         Likewise.
49200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49201         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49202         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49203         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49204         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49207 2013-10-04  Alan Modra  <amodra@gmail.com>
49209         * stdio-common/printf_size.c (__printf_size): Don't use
49210         union ieee854_long_double in fpnum union.
49211         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49212         signbit macro to retrieve sign from long double.
49213         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49214         retrieve sign from long double.
49215         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49216         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49217         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49218         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49219         * math/test-misc.c (main): Don't use union ieee854_long_double.
49221 2013-10-04  Alan Modra  <amodra@gmail.com>
49223         [BZ #15680]
49224         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49225         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49226         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49227         calculation.  Remove unnecessary test for denormal exponent.
49228         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49229         Correct handling of denormals.  Avoid undefined shift behaviour.
49230         Correct normalisation of low mantissa when low double is denormal.
49231         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49232         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
49233         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
49234         Correct normalisation of low mantissa.  Test for overflow of high
49235         mantissa and normalise.
49236         (ldbl_nearbyint): Use more readable constant for two52.
49237         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
49238         (__mpn_construct_long_double): Fix test for overflow of high
49239         mantissa and correct normalisation.  Avoid undefined shift.
49241 2013-10-04  Alan Modra  <amodra@gmail.com>
49243         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49244         (union ibm_extended_long_double): Define as an array of ieee754_double.
49245         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
49246         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
49247         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
49248         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49249         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49250         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
49251         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49252         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49253         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49254         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
49255         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49257 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
49259         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
49260         page size instead of calling getpagesize.
49262         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
49263         (LOCFILE_ALIGN_MASK): Likewise.
49264         (LOCFILE_ALIGN_UP): Likewise.
49265         (LOCFILE_ALIGNED_P): Likewise.
49266         * locale/programs/ld-collate.c (collate_output): Use the new
49267         macros instead of __alignof__ (int32_t).
49268         * locale/weight.h (findidx): Likewise.
49270 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
49272         [BZ #431]
49273         * manual/string.texi: Fix strncat and wcsncat.
49275 2013-10-03  Brooks Moses  <bmoses@google.com>
49277         [BZ #15915]
49278         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
49279         * Makerules: ...here, and adjust associated comments.
49281 2013-10-02  Will Newton  <will.newton@linaro.org>
49283         * malloc/Makefile: Add tst-pvalloc.
49284         * malloc/tst-pvalloc.c: New file.
49286 2013-10-02  Will Newton  <will.newton@linaro.org>
49288         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49289         improve test coverage.
49291 2013-10-02  Will Newton  <will.newton@linaro.org>
49293         * malloc/Makefile: Add tst-posix_memalign.
49294         * malloc/tst-posix_memalign.c: New file.
49296 2013-10-01  Eric Blake  <eblake@redhat.com>
49298         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
49299         Use __THROWNL rather than __THROW on static functions.
49301 2013-09-30  Petr Machata  <pmachata@redhat.com>
49303         * elf/elf.h (R_AARCH64_ABS16): New macro.
49304         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49305         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
49306         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
49307         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49308         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
49309         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
49310         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
49311         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
49312         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
49313         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
49314         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
49315         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
49316         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
49317         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
49318         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
49319         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
49320         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
49321         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
49322         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49323         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
49324         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
49325         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
49326         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
49327         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
49328         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49329         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
49330         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
49331         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
49332         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
49333         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
49334         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
49335         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
49336         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
49337         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
49338         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49339         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
49340         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
49341         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
49342         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
49343         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
49344         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
49345         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
49346         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
49347         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
49348         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49349         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
49350         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
49351         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
49352         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
49353         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
49354         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
49355         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
49356         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
49357         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
49358         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
49359         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
49360         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
49361         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
49362         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
49363         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
49364         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
49365         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
49366         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
49367         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
49368         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
49369         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
49370         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
49371         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
49372         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
49373         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
49374         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
49375         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
49376         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
49377         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
49378         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
49379         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
49380         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
49381         (R_AARCH64_TLSDESC_LDR): Likewise.
49382         (R_AARCH64_TLSDESC_ADD): Likewise.
49383         (R_AARCH64_TLSDESC_CALL): Likewise.
49385 2013-09-30  Andreas Schwab  <schwab@suse.de>
49387         [BZ #15048]
49388         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
49389         the nss database lookup.
49390         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49393 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
49395         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
49397 2013-09-28  P. J. McDermott  <pj@pehjota.net>
49399         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
49400         ${Bash-specific parameter/pattern/string} parameter expansion.
49401         * sysdeps/unix/make-syscalls.sh: Likewise.
49403 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49405         * sysdeps/sh/stackguard-macros.h: New file.
49407 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
49409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49410         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
49411         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
49412         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49413         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49414         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49416 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49418         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49419         Fix thread ID register.
49421 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49423         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49424         [POSIX || UNIX98]: Require rather than permitting all symbols from
49425         <time.h>.
49426         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49427         element of struct sched_param.
49428         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49429         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49430         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49431         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49432         constant.
49434 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
49436         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49437         argument calculation.
49439 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49441         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49442         Expect macro.
49443         [POSIX] (pthread_attr_t): Do not require type.
49444         [POSIX] (pthread_cond_t): Likewise.
49445         [POSIX] (pthread_condattr_t): Likewise.
49446         [POSIX] (pthread_key_t): Likewise.
49447         [POSIX] (pthread_mutex_t): Likewise.
49448         [POSIX] (pthread_mutexattr_t): Likewise.
49449         [POSIX] (pthread_once_t): Likewise.
49450         [POSIX] (pthread_t): Likewise.
49451         [POSIX-based standards] (pthread_atfork): Expect function.
49453 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49454             Richard Sandiford  <richard@codesourcery.com>
49456         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49457         (swap_endianness_p): New extern variable.
49458         (set_big_endian): New inline function.
49459         (maybe_swap_uint32): Likewise.
49460         (maybe_swap_uint32_array): Likewise.
49461         (maybe_swap_uint32_obstack): Likewise.
49462         * locale/programs/locfile.c: Include <stdbool.h>.
49463         (swap_endianness_p): New variable.
49464         (add_locale_uint32): Call maybe_swap_uint32.
49465         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49466         (write_locale_data): Call maybe_swap_uint32_array.
49467         * locale/programs/ld-collate.c (obstack_int32_grow): Call
49468         maybe_swap_uint32.
49469         (obstack_int32_grow_fast): Likewise.
49470         (output_weightwc): Call maybe_swap_uint32_obstack.
49471         (collate_output): Likewise.
49472         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49473         (OPT_LITTLE_ENDIAN): Likewise.
49474         (options): Add --little-endian and --big-endian options.
49475         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49476         * locale/programs/locarchive.c: Include "locfile.h".
49477         (GET): New macro.
49478         (SET): Likewise.
49479         (INC): Likewise.
49480         (create_archive): Use the new macros to access fields of
49481         structures directly mapped from or written to locale archives.
49482         (oldlocrecentcmp): Likewise.
49483         (enlarge_archive): Likewise.
49484         (insert_name): Likewise.
49485         (add_alias): Likewise.
49486         (add_locale): Likewise.
49487         (delete_locales_from_archive): Likewise.
49488         (show_archive_content): Likewise.
49489         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
49490         locale data.
49492 2013-09-24  Roland McGrath  <roland@hack.frob.com>
49494         * manual/freemanuals.texi: Updated from (newly) canonical copy at
49495         http://www.gnu.org/doc/freemanuals.texi.
49496         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49498 2013-09-24  Will Newton  <will.newton@linaro.org>
49500         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49501         macro.
49503 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
49505         * locale/hashval.h (compute_hashval): Interpret bytes of key as
49506         unsigned char.
49508 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
49510         * manual/threads.texi (POSIX Threads): Fix a typo.
49512 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49514         [BZ #14547]
49515         * string/tst-strcoll-overflow.c: New test case.
49516         * string/Makefile (xtests): Add tst-strcoll-overflow.
49517         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
49518         cache if string sizes may cause integer overflow.
49520         [BZ #14547]
49521         * string/strcoll_l.c (coll_seq): New members rule, idx,
49522         save_idx and back_us.
49523         (get_next_seq_nocache): New function.
49524         (do_compare_nocache): New function.
49525         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
49526         when malloc fails.
49528 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
49530         [BZ #15754]
49531         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
49532         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
49533         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
49535         [BZ #15754]
49536         * elf/Makefile (tests): Add tst-ptrguard1.
49537         (tests-static): Add tst-ptrguard1-static.
49538         (tst-ptrguard1-ARGS): Define.
49539         (tst-ptrguard1-static-ARGS): Define.
49540         * elf/tst-ptrguard1.c: New file.
49541         * elf/tst-ptrguard1-static.c: New file.
49542         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
49543         * sysdeps/i386/stackguard-macros.h: Likewise.
49544         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49545         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49546         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49547         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49548         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49549         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49551 2013-09-23  Hector Marco  <hecmargi@upv.es>
49552             Ismael Ripoll  <iripoll@disca.upv.es>
49553             Carlos O'Donell  <carlos@redhat.com>
49555         [BZ #15754]
49556         * sysdeps/generic/stackguard-macros.h: Define
49557         __pointer_chk_guard_local and POINTER_CHK_GUARD.
49558         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
49559         Define __pointer_chk_guard_local.
49560         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
49561         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
49563 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
49565         [BZ #15859]
49566         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
49568 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
49570         * include/string.h (__ffs): Declare as hidden.
49571         * string/ffs.c (__ffs): Define as hidden.
49572         * sysdeps/i386/ffs.c (__ffs): Likewise.
49573         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
49574         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
49575         * sysdeps/s390/ffs.c (__ffs): Likewise.
49576         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
49578 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
49580         * NEWS: Mention malloc probes.
49582         * malloc/arena.c (new_heap): New memory_heap_new probe.
49583         (grow_heap): New memory_heap_more probe.
49584         (shrink_heap): New memory_heap_less probe.
49585         (heap_trim): New memory_heap_free probe.
49586         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
49587         (systrim): New memory_sbrk_less probe.
49588         * manual/probes.texi: Document them.
49590         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
49591         * manual/probes.texi: Document it.
49593         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
49594         (__libc_realloc): Add memory_realloc_retry probe.
49595         (__libc_memalign): Add memory_memalign_retry probe.
49596         (__libc_valloc): Add memory_valloc_retry probe.
49597         (__libc_pvalloc): Add memory_pvalloc_retry probe.
49598         (__libc_calloc): Add memory_calloc_retry probe.
49599         * manual/probes.texi: Document them.
49601         * malloc/arena.c (get_free_list): Add probe
49602         memory_arena_reuse_free_list.
49603         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
49604         and memory_arena_reuse.
49605         (arena_get2) [!PER_THREAD]: Likewise.
49606         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
49607         memory_arena_reuse_realloc.
49608         * manual/probes.texi: Document them.
49610         * malloc/malloc.c (__libc_free): Add
49611         memory_mallopt_free_dyn_thresholds probe.
49612         (__libc_mallopt): Add multiple memory_mallopt probes.
49613         * manual/probes.texi: Document them.
49615         * malloc/malloc.c: Include stap-probe.h.
49616         (__libc_mallopt): Add memory_mallopt probe.
49617         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
49618         * manual/probes.texi: New.
49619         * manual/Makefile (chapters): Add probes.
49620         * manual/threads.texi: Set next node.
49622 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
49624         [BZ #15963, #13985]
49625         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49626         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
49627         Add `Chinese' to `nan' entry name.
49629 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49631         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
49632         (POLYNOMIAL): Likewise.
49633         (TAYLOR_SINCOS): Likewise.
49634         (TAYLOR_SLOW): Likewise.
49635         (__sin): Use TAYLOR_SINCOS.
49636         (__cos): Likewise.
49637         (slow): Use TAYLOR_SLOW.
49638         (sloww): Likewise.
49639         (bsloww): Likewise.
49640         (csloww): Likewise.
49642 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49644         * stdlib/strtod_l.c: Fix buffer overrun.
49646 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49648         * benchtests/Makefile (bench): Add sincos.
49649         * benchtests/bench-sincos.c: New file.
49651         * math/libm-test.inc (cos_test_data): New test inputs.
49652         (sin_test_data): Likewise.
49654         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
49655         macro.
49656         (__sin): Use it.
49657         (__cos): Likewise.
49658         (slow1): Likewise.
49659         (slow2): Likewise.
49660         (sloww1): Likewise.
49661         (sloww2): Likewise.
49662         (bsloww1): Likewise.
49663         (bsloww2): Likewise.
49664         (cslow2): Likewise.
49665         (csloww1): Likewise.
49666         (csloww2): Likewise.
49668         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
49669         function.
49670         (__sin): Use it.
49671         (__cos): Likewise.
49673         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
49674         gotos.
49675         (__cos): Likewise.
49677 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
49679         * config.h.in (HAVE_MIPS_NAN2008): New macro.
49680         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
49681         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
49682         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
49683         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
49684         * elf/cache.c (print_entry): Handle the new cache flags.
49686 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49687             Aldy Hernandez  <aldyh@redhat.com>
49689         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
49690         Change condition to [_SOFT_FLOAT].
49691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
49692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
49693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
49694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
49695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
49696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
49697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
49698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
49699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
49700         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
49701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
49702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
49703         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
49704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
49705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
49706         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
49707         declaration.
49709 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49711         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
49712         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49713         (__longjmp): Use LOAD_GP to load saved GPRs.
49714         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
49715         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49716         (__sigsetjmp): Use SAVE_GP to save GPRs.
49718         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
49719         Do not append -msoft-float.
49720         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
49722 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49724         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
49726 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
49728         [BZ #15966]
49729         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
49730         (_FPU_GETCW): Use initial "__" on variable and field names but not
49731         on macro parameter name.
49732         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
49733         parentheses around reference to macro parameter.
49735 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
49737         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
49738         prototype.
49739         (ctype_startup): Use uint32_t in cast and sizeof for
49740         ctype->charnames.
49742 2013-09-11  Jia Liu  <proljc@gmail.com>
49744         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
49745         __daddr_t_defined.
49746         [__FreeBSD__]: Likewise.
49748 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
49750         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
49751         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
49752         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
49753         (strchr): Remove __strchr_sse42 ifunc selection.
49754         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
49755         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
49757 2013-09-11  Will Newton  <will.newton@linaro.org>
49759         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
49760         parameter to RES. Remove hardcoded 1000 value.
49761         * benchtests/bench-skeleton.c (main): Pass RES parameter
49762         to TIMING_INIT and multiply result by 1000.
49764 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49768 2013-09-11  Andreas Schwab  <schwab@suse.de>
49770         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
49771         if not defined.
49772         (O_TMPFILE) [__USE_GNU]: Define.
49773         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
49774         Define.
49776 2013-09-11  Will Newton  <will.newton@linaro.org>
49778         [BZ #15857]
49779         * malloc/malloc.c (__libc_memalign): Check the value of bytes
49780         does not overflow.
49782 2013-09-11  Will Newton  <will.newton@linaro.org>
49784         [BZ #15856]
49785         * malloc/malloc.c (__libc_valloc): Check the value of bytes
49786         does not overflow.
49788 2013-09-11  Will Newton  <will.newton@linaro.org>
49790         [BZ #15855]
49791         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
49792         does not overflow.
49794 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
49796         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
49797         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49798         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49799         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49800         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49802 2013-09-10  Allan McRae  <allan@archlinux.org>
49804         [BZ #15748]
49805         * manual/arith.texi (Parsing of Floats): Clarify
49806         cross-reference.
49808         [BZ #15849]
49809         * manual/install.texi (Running make install): Mention
49810         --enable-pt-chown.
49811         * INSTALL: Regenerated.
49813 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
49815         * csu/init-first.c (_init): Remove the !SHARED condition around
49816         FPU control word initialization.
49817         * elf/dl-support.c (_dl_fpu_control): New variable.
49818         (_dl_aux_init) <AT_FPUCW>: Initialize it.
49819         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
49820         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
49821         * math/test-fpucw-static.c: New file.
49822         * math/test-fpucw-ieee.c: New file.
49823         * math/test-fpucw-ieee-static.c: New file.
49824         * math/Makefile (tests): Add `test-fpucw-ieee' and
49825         `$(tests-static)'.
49826         (tests-static): New variable.
49827         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
49828         dependency to...
49829         [($(build-shared),yes)]
49830         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49831         ... this.
49832         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
49833         New dependency.
49835 2013-09-09  Allan McRae  <allan@archlinux.org>
49837         [BZ #15939]
49838         * manual/string.texi (Collation Functions): Fix typo in
49839         strcoll example.
49840         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
49842         [BZ #15893]
49843         * stdlib/isomac.c (get_null_defines): Fix memory leak.
49845         [BZ #15892]
49846         * libio/memstream.c (open_memstream): Fix memory leak.
49847         * libio/wmemstream.c (open_wmemstream): Likewise.
49849         [BZ #15895]
49850         * nscd/netgroupcache.c: Fix nesting of ifdefs.
49852 2013-09-09  Will Newton  <will.newton@linaro.org>
49854         * malloc/Makefile: Add tst-realloc to tests.
49855         * malloc/tst-realloc.c: New file.
49857 2013-09-09  Allan McRae  <allan@archlinux.org>
49859         [BZ #15844]
49860         * COPYING: Update from GNU website to fix FSF address.
49861         * COPYING.LIB: Likewise.
49863 2013-09-06  David S. Miller  <davem@davemloft.net>
49865         * po/zh_TW.po: Update Chinese (traditional) translation from
49866         translation project.
49868 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
49869             Joseph Myers  <joseph@codesourcery.com>
49871         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
49872         "localeinfo.h".
49873         (obstack_chunk_alloc): New macro.
49874         (obstack_chunk_free): Likewise.
49875         (record_offset): New function.
49876         (init_locale_data): Likewise.
49877         (align_locale_data): Likewise.
49878         (add_locale_empty): Likewise.
49879         (add_locale_raw_data): Likewise.
49880         (add_locale_raw_obstack): Likewise.
49881         (add_locale_string): Likewise.
49882         (add_locale_wstring): Likewise.
49883         (add_locale_uint32): Likewise.
49884         (add_locale_uint32_array): Likewise.
49885         (add_locale_char): Likewise.
49886         (start_locale_structure): Likewise.
49887         (end_locale_structure): Likewise.
49888         (start_locale_prelude): Likewise.
49889         (end_locale_prelude): Likewise.
49890         (write_locale_data): Take locale_file structure rather than an
49891         iovec.
49892         * locale/programs/locfile.h: Include "obstack.h".
49893         (struct locale_file): Change to store locale file contents instead
49894         of header.
49895         (init_locale_data): New prototype.
49896         (align_locale_data): Likewise.
49897         (add_locale_empty): Likewise.
49898         (add_locale_raw_data): Likewise.
49899         (add_locale_raw_obstack): Likewise.
49900         (add_locale_string): Likewise.
49901         (add_locale_wstring): Likewise.
49902         (add_locale_uint32): Likewise.
49903         (add_locale_uint32_array): Likewise.
49904         (add_locale_char): Likewise.
49905         (start_locale_structure): Likewise.
49906         (end_locale_structure): Likewise.
49907         (start_locale_prelude): Likewise.
49908         (end_locale_prelude): Likewise.
49909         (write_locale_data): Update prototype.
49910         * locale/programs/3level.h (struct TABLE): Remove result field.
49911         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49912         Use new locale_file interface.
49913         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49914         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49915         * locale/programs/ld-address.c (address_output): Use new
49916         locale_file interface.
49917         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49918         NO_ADD_LOCALE.
49919         (collate_finish): Don't call collseq_table_finalize.
49920         (collate_output): Use new locale_file interface.
49921         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49922         in file.
49923         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49924         (TABLE): Move defines earlier in file.
49925         (ELEMENT): Likewise.
49926         (DEFAULT): Likewise.
49927         (wctrans_table_add): Move macro and inline function earlier in
49928         file.
49929         (struct wctype_table): Move type earlier in file.
49930         (add_locale_wctype_table): New static prototype.
49931         (struct locale_ctype_t): Use logical types instead of struct iovec
49932         pointers for members.
49933         (ctype_output): Use new locale_file interface.
49934         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49935         new locale_file interface.
49936         (allocate_arrays): Update for use of new locale_file interface.
49937         * locale/programs/ld-identification.c (identification_output): Use
49938         new locale_file interface.
49939         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49940         * locale/programs/ld-messages.c (messages_output): Likewise.
49941         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49942         * locale/programs/ld-name.c (name_output): Likewise.
49943         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49944         * locale/programs/ld-paper.c (paper_output): Likewise.
49945         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49946         * locale/programs/ld-time.c (time_output): Likewise.
49948 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49950         * benchtests/Makefile: Add memrchr benchmark.
49951         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49952         benchmark as memrchr.
49953         * benchtests/bench-memrchr-ifunc.c: New file.
49954         * benchtests/bench-memrchr.c: New file.
49956 2013-09-06   Will Newton  <will.newton@linaro.org>
49958         * benchtests/Makefile (string-bench): Add memcpy.
49960 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49961             Cong Wang  <amwang@redhat.com>
49963         [BZ #15850]
49964         * sysdeps/unix/sysv/linux/bits/in.h
49965         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49966         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49967         before __USE_KERNEL_IPV6_DEFS uses.
49968         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49969         IPPROTO_BEETPH.
49970         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49971         sockaddr_in6, or ipv6_mreq.
49973 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49975         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49976         memory access for final bytes in some large inputs.
49977         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49979 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49981         * string/test-memrchr.c: New file.
49982         * string/test-memrchr-ifunc.c: New file.
49983         * string/Makefile: Add new memrchr testcase.
49985 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49987         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49988         fanotify_init returns EPERM.
49990 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49992         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49993         errors.
49994         (top level): Treat second token from macro or constant entries for
49995         allowed headers as allowed.
49996         * include/complex.h: Condition internal declarations on
49997         [!_ISOMAC].
49998         * include/fenv.h: Condition include of <stdbool.h> and internal
49999         declarations on [!_ISOMAC].
50001 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50003         [BZ #15923]
50004         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50006 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50008         * configure.in (--enable-versioning): Remove configure option.
50009         (libc_cv_asm_symver_directive): Remove configure test.
50010         (libc_cv_ld_version_script_option): Likewise.
50011         (VERSIONING): Remove variable and AC_SUBST.
50012         (DO_VERSIONING): Remove AC_DEFINE.
50013         * configure: Regenerated.
50014         * config.h.in (DO_VERSIONING): Remove macro.
50015         * Makerules [$(versioning) = yes]: Change conditionals to
50016         [$(build-shared) = yes].
50017         * config.make.in (versioning): Remove variable.
50018         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50019         [$(build-shared) = yes].
50020         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50021         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50022         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50023         [$(build-shared) = yes].
50024         * extra-lib.mk [$(versioning) = yes]: Likewise.
50025         * hurd/Makefile [$(versioning) = yes]: Likewise.
50026         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50027         [SHARED].
50028         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50029         [SHARED].
50030         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50031         [SHARED && !NO_HIDDEN].
50032         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50033         [SHARED].
50034         [SHARED && DO_VERSIONING]: Likewise..
50035         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50036         [$(build-shared) = yes].
50037         * manual/install.texi (--disable-versioning): Remove
50038         documentation.
50039         * INSTALL: Regenerated.
50040         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50041         to [SHARED].
50042         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50043         [$(build-shared) = yes].
50044         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50045         * sysdeps/i386/i686/multiarch/strstr-c.c
50046         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50047         [SHARED && !NO_HIDDEN].
50048         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50049         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50050         * sysdeps/powerpc/powerpc32/dl-machine.c
50051         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50052         * sysdeps/powerpc/powerpc32/sysdep.h
50053         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50054         to [SHARED && PIC && !NO_HIDDEN].
50055         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50056         conditional to [SHARED].
50058 2013-09-04   Will Newton  <will.newton@linaro.org>
50060         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50061         * benchtests/bench-string.h: Include bench-timing.h instead
50062         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50063         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50064         call to HP_TIMING_DIFF_INIT.
50065         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50066         instead of hp-timing.h macros.
50067         * benchtests/bench-memchr.c: Likewise.
50068         * benchtests/bench-memcmp.c: Likewise.
50069         * benchtests/bench-memcpy.c: Likewise.
50070         * benchtests/bench-memmem.c: Likewise.
50071         * benchtests/bench-memmove.c: Likewise.
50072         * benchtests/bench-memset.c: Likewise.
50073         * benchtests/bench-rawmemchr.c: Likewise.
50074         * benchtests/bench-strcasecmp.c: Likewise.
50075         * benchtests/bench-strcasestr.c: Likewise.
50076         * benchtests/bench-strcat.c: Likewise.
50077         * benchtests/bench-strchr.c: Likewise.
50078         * benchtests/bench-strcmp.c: Likewise.
50079         * benchtests/bench-strcpy.c: Likewise.
50080         * benchtests/bench-strcpy_chk.c: Likewise.
50081         * benchtests/bench-strlen.c: Likewise.
50082         * benchtests/bench-strncasecmp.c: Likewise.
50083         * benchtests/bench-strncat.c: Likewise.
50084         * benchtests/bench-strncmp.c: Likewise.
50085         * benchtests/bench-strncpy.c: Likewise.
50086         * benchtests/bench-strnlen.c: Likewise.
50087         * benchtests/bench-strpbrk.c: Likewise.
50088         * benchtests/bench-strrchr.c: Likewise.
50089         * benchtests/bench-strspn.c: Likewise.
50090         * benchtests/bench-strstr.c: Likewise.
50092 2013-09-04  Will Newton  <will.newton@linaro.org>
50094         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50096 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50098         [BZ #15427]
50099         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50100         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50101         * math/libm-test.inc (lgamma_test_data): Add more tests.
50102         * sysdeps/i386/fpu/libm-test-ulps: Update.
50103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50105 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50107         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50109         Add ifunc.
50110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50111         Add strcmp-sse2-unaligned
50112         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50114 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50116         * Versions.def (libc): Add GLIBC_2.19.
50118 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50120         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50121         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50123 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50125         [BZ #14155]
50126         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50127         intermediate calculations in recurrence.
50128         (__ieee754_ynf): Likewise.
50129         * math/libm-test.inc (jn_test_data): Do not allow spurious
50130         underflow exception.  Add more tests.
50131         (yn_test_data): Add more tests.
50132         * sysdeps/i386/fpu/libm-test-ulps: Update.
50133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50135 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50137         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50139 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50141         * csu/init-first.c: Fix then/than typos.
50142         * locale/programs/ld-collate.c: Likewise.
50143         * locale/programs/linereader.h: Likewise.
50144         * manual/charset.texi: Likewise.
50145         * manual/filesys.texi: Likewise.
50146         * manual/stdio.texi: Likewise.
50147         * manual/string.texi: Likewise.
50148         * stdlib/fmtmsg.c: Likewise.
50149         * sysdeps/i386/stpncpy.S: Likewise.
50150         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50151         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50152         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50153         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50155 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50157         * elf/dl-open.c: Fix typos.
50158         * iconvdata/gbbig5.c: Likewise.
50159         * iconvdata/iso-2022-jp.c: Likewise.
50160         * iconv/gconv_int.h: Likewise.
50161         * iconv/loop.c: Likewise.
50162         * nis/rpcsvc/nis.h: Likewise.
50163         * resolv/ns_name.c: Likewise.
50164         * stdio-common/vfscanf.c: Likewise.
50165         * streams/stropts.h: Likewise.
50166         * sunrpc/rpc_thread.c: Likewise.
50167         * sysdeps/i386/strpbrk.S: Likewise.
50168         * sysdeps/ieee754/k_standard.c: Likewise.
50169         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50170         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50171         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50172         * sysdeps/mach/hurd/profil.c: Likewise.
50173         * sysdeps/s390/dl-procinfo.h: Likewise.
50174         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50175         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50176         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50177         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50178         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50180 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50182         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50185 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50187         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50188         aix specific files.
50189         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50190         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50191         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50192         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50193         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50194         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50195         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50196         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50198 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50199             Roland McGrath  <roland@hack.frob.com>
50201         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50202         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50204 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50206         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50207         __executable_start symbol instead of _start.
50209 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50211         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50212         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50213         Move macros to...
50214         * sysdeps/gnu/ldsodefs.h: ... this new file.
50216         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50217         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50218         instead of ELFOSABI_LINUX.
50220         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50221         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50222         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50223         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50224         Likewise.
50225         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50226         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50227         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50228         Likewise.
50229         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50230         (ibm_extended_long_double): Add ieee_nan member.
50231         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50232         (do_test): New function.
50234         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
50235         TEST_TRUNC.
50236         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
50237         functions, renamed from truncdfsf_test, trunctfsf_test,
50238         trunctfdf_test.
50239         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
50240         functions.
50241         (do_test): Run all these.
50243 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
50245         * argp/argp-help.c: Fix typos.
50246         * argp/argp-parse.c: Likewise.
50247         * debug/backtracesyms.c: Likewise.
50248         * elf/elf.h: Likewise.
50249         * malloc/malloc.c: Likewise.
50250         * nis/nis_print.c: Likewise.
50251         * resolv/res_comp.c: Likewise.
50252         * stdlib/stdlib.h: Likewise.
50253         * sunrpc/clnt_tcp.c: Likewise.
50254         * sunrpc/clnt_udp.c: Likewise.
50255         * sunrpc/clnt_unix.c: Likewise.
50256         * sysdeps/unix/bsd/ptsname.c: Likewise.
50257         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
50258         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
50259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
50260         Likewise.
50261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
50262         Likewise.
50263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50264         Likewise.
50265         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50267 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50269         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
50270         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50272 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
50274         [BZ #15897]
50275         * dlfcn/Makefile (tests): Add bug-dl-leaf.
50276         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
50277         ($(objpfx)bug-dl-leaf): New rule.
50278         ($(objpfx)bug-dl-leaf.so): Likewise.
50279         ($(objpfx)bug-dl-leaf.out): Likewise.
50280         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
50281         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
50282         * dlfcn/bug-dl-leaf.c: New test.
50283         * dlfcn/bug-dl-leaf-lib.c: Likewise.
50284         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
50285         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
50286         (dlclose): Likewise.
50287         (dlmopen): Likewise.
50289 2013-08-27  Roland McGrath  <roland@hack.frob.com>
50291         * include/netdb.h [!_ISOMAC]:
50292         Don't include <tls.h>.
50293         (h_errno, __libc_h_errno): Move declaration and macros out of
50294         [_LIBC_REENTRANT].
50296         * include/resolv.h [_RESOLV_H_]:
50297         Don't include <tls.h>.
50298         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
50299         * resolv/res_libc.c: Don't include <tls.h>.
50300         (_res): Use __attribute__ ((nocommon)) in place of
50301         __attribute__ ((section (".bss"))).
50303         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
50304         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
50306         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
50308         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
50309         only under [SIOCGIFCONF && SIOCGIFNETMASK].
50311         * resolv/res_mkquery.c: Include <sys/time.h>.
50313         * inet/ifreq.c: Moved to ...
50314         * sysdeps/unix/ifreq.c: ... here.
50315         * inet/ifreq.c: New file, true stub version.
50317         * socket/sa_len.c: New file.
50318         * socket/Makefile (aux): Add it.
50319         * sysdeps/unix/sysv/linux/Makefile
50320         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
50321         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
50322         and #include <socket/sa_len.c>.
50323         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
50324         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
50326         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
50327         * bits/socket.h: ... here.
50329         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
50330         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
50331         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
50333 2013-08-27  Andreas Schwab  <schwab@suse.de>
50335         [BZ #15736]
50336         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
50337         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
50338         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
50339         * string/test-strcasecmp.c (test_main): Run tests in several
50340         locales.
50341         * string/test-strncasecmp.c (test_main): Likewise.
50343         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
50344         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
50345         to __strcasecmp_nonascii and __strncasecmp_nonascii.
50346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
50347         (__strncasecmp_ssse3) [PIC]: Likewise.
50349 2013-08-26  Roland McGrath  <roland@hack.frob.com>
50351         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
50353         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
50354         instead of explicitly declaring xdecrypt.
50355         * nis/nss_nis/nis-publickey.c: Likewise.
50357 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50359         [BZ #15890]
50360         * nscd/aicache.c: Include res_hconf.h.
50361         (addhstaiX): Initialize res_hconf.
50363 2013-08-26  Andreas Schwab  <schwab@suse.de>
50365         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
50366         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
50368 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50370         * nscd/aicache.c (addhstaiX): Fix indentation.
50372 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
50374         * configure.ac: Quote $build_pt_chown test.
50375         * configure: Regenerated.
50377 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
50379         [BZ #15532]
50380         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
50381         * math/s_cexpf.c (__cexpf): Likewise.
50382         * math/s_cexpl.c (__cexpl): Likewise.
50383         * math/libm-test.inc (cexp_test_data): Correct expected return
50384         value for NaN + i0.  Add another test.
50386 2013-08-22  David S. Miller  <davem@davemloft.net>
50388         * po/ca.po: Update Catalan translation from translation project.
50389         * po/uk.po: Add Ukrainian translations from translation project.
50391 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
50393         [BZ #15797]
50394         * math/s_fdim.c (__fdim): Check for infinite arguments if result
50395         is infinite, not alongside NaN test.
50396         * math/s_fdimf.c (__fdimf): Likewise.
50397         * math/s_fdiml.c (__fdiml): Likewise.
50398         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
50399         errno is unchanged.
50401 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
50403         * argp/argp-help.c: Fix typos.
50404         * crypt/speeds.c: Likewise.
50405         * csu/check_fds.c: Likewise.
50406         * elf/dl-load.c: Likewise.
50407         * elf/dl-open.c: Likewise.
50408         * elf/reldep3.c: Likewise.
50409         * elf/reldep.c: Likewise.
50410         * elf/sprof.c: Likewise.
50411         * iconv/iconv_charmap.c: Likewise.
50412         * iconv/skeleton.c: Likewise.
50413         * iconv/strtab.c: Likewise.
50414         * io/lockf64.c: Likewise.
50415         * libio/libioP.h: Likewise.
50416         * resolv/gai_notify.c: Likewise.
50417         * resolv/ns_name.c: Likewise.
50418         * resolv/ns_samedomain.c: Likewise.
50419         * resolv/res_send.c: Likewise.
50420         * stdlib/random.c: Likewise.
50421         * sunrpc/rpc/xdr.h: Likewise.
50422         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50423         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50424         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50425         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50426         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50427         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50428         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50429         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50430         * sysdeps/mach/hurd/check_fds.c: Likewise.
50431         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50432         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50433         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50434         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50435         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50436         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50437         * sysdeps/pthread/aio_notify.c: Likewise.
50438         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50439         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50440         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50441         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50442         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50444 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50446         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50447         version if bit_Slow_SSE4_2 is set.
50448         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50449         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50451 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50453         [BZ #15867]
50454         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50455         trampoline stack frame information.
50456         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50457         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50458         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50459         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50460         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50461         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50462         (_libc_vdso_platform_setup): Initialize the signal trampolines.
50463         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50464         sa_flags value.
50465         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50466         interrupting a syscall and set with option SA_SIGINFO.
50468 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50470         [BZ #15531]
50471         * math/s_cproj.c (__cproj): Only return an infinity if one part of
50472         argument is infinite.
50473         * math/s_cprojf.c (__cprojf): Likewise.
50474         * math/s_cprojl.c (__cprojl): Likewise.
50475         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50476         * math/libm-test.inc (cproj_test_data): Add more tests.
50478         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50480         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50481         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50482         size.  Use __ffs to determine corresponding shift.
50484 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50485             Roland McGrath  <roland@hack.frob.com>
50487         * Makefile (INSTALL): Remove trailing blank lines from output of
50488         makeinfo.
50490 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50492         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50493         Align 32 bit compat elf_greg to 8 bytes.
50495 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
50497         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50499 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50501         * string/strcoll_l.c (coll_seq): New structure.
50502         (get_next_seq_cached): New function.
50503         (get_next_seq): New function.
50504         (do_compare): New function.
50505         (STRCOLL): Use GNU style definition.  Simplify implementation
50506         by using get_next_seq, get_next_seq_cached and do_compare.
50508 2013-08-16  Florian Weimer  <fweimer@redhat.com>
50510         [BZ #14699]
50511         CVE-2013-4237
50512         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50513         member.
50514         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50515         member.
50516         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50517         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
50518         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
50519         conditional.
50520         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
50521         GETDENTS_64BIT_ALIGNED.
50522         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50523         * manual/filesys.texi (Reading/Closing Directory): Document
50524         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
50525         strongly.
50526         * manual/conf.texi (Limits for Files): Add portability note to
50527         NAME_MAX, PATH_MAX.
50528         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
50530 2013-08-13  Andreas Schwab  <schwab@suse.de>
50532         [BZ #15749]
50533         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
50534         of fabs.
50535         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
50536         LDBL_MAX_EXP >= 16384]: Add tests for it.
50538 2013-08-12  David S. Miller  <davem@davemloft.net>
50540         * version.h (RELEASE): Set to "development".
50541         (VERSION): Set to "2.18.90".
50542         * NEWS: Add 2.19 section.
50544 2013-08-03  David S. Miller  <davem@davemloft.net>
50546         * po/ko.po: Update Korean translation from translation project.
50548 2013-08-01  David S. Miller  <davem@davemloft.net>
50550         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
50551         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
50552         Bilka.
50554 2013-07-30  David S. Miller  <davem@davemloft.net>
50556         * po/fr.po: Update French translation from translation project.
50558 2013-07-28  David S. Miller  <davem@davemloft.net>
50560         * po/cs.po: Update Czech translation from translation project.
50562         * po/sv.po: Update Swedish translation from translation project.
50564 2013-07-27  David S. Miller  <davem@davemloft.net>
50566         * po/eo.po: Update Esperanto translation from translation project.
50568         * po/vi.po: Update Vietnamese translation from translation project.
50570         * po/de.po: Update German translation from translation project.
50572 2013-07-26  David S. Miller  <davem@davemloft.net>
50574         * po/bg.po: Update Bulgarian translation from translation project.
50576         * po/nl.po: Update Dutch translation from translation project.
50577         * po/pl.po: Update Polish translation from translation project.
50578         * po/ru.po: Update Russian translation from translation project.
50580 2013-07-24  David S. Miller  <davem@davemloft.net>
50582         * po/libc.pot: Update.
50584 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50586         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50587         variable page size.
50588         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
50589         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
50590         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
50592 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50594         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
50596 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50597             Andreas Schwab  <schwab@suse.de>
50598             Roland McGrath  <roland@hack.frob.com>
50599             Joseph Myers  <joseph@codesourcery.com>
50600             Carlos O'Donell  <carlos@redhat.com>
50602         [BZ #15755]
50603         * config.h.in: Define HAVE_PT_CHOWN.
50604         * config.make.in (build-pt-chown): New variable.
50605         * configure.in (--enable-pt_chown): New configure option.
50606         * configure: Regenerate.
50607         * login/Makefile: Include Makeconfig.  Build pt_chown only if
50608         build-pt-chown is enabled.
50609         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
50610         pt_chown to fix pty ownership.
50611         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
50612         CLOSE_ALL_FDS.
50613         * manual/install.texi (Configuring and compiling): Mention
50614         --enable-pt_chown. Add @findex for grantpt.
50615         * INSTALL: Regenerate.
50617 2013-07-20  David S. Miller  <davem@davemloft.net>
50619         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
50620         difference between 32-bit and 64-bit.
50622 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
50624         [BZ #15711]
50625         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
50626         Avoid system header dependency with -ffreestanding.
50627         ($(objpfx)bits/syscall%d): Likewise.
50629 2013-07-13  David S. Miller  <davem@davemloft.net>
50631         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
50632         underflows from atanl/atan2l due to bug 15319.
50633         (casinh_test_data): Likewise.
50635 2013-07-07  David S. Miller  <davem@davemloft.net>
50637         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
50639 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
50641         * sysdeps/i386/fpu/libm-test-ulps: Update.
50642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50644 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50646         * configure.in (--enable-lock-elision): Fix message text.
50647         * INSTALL: Regenerate.
50648         * configure: Regenerate.
50650 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50654 2013-07-03  Andreas Jaeger  <aj@suse.de>
50656         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
50657         define.
50658         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
50659         (ptrace_peeksiginfo_args): Add.
50660         (__ptrace_peeksiginfo_flags): Add.
50661         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50663         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50665 2013-07-03  Allan McRae  <allan@archlinux.org>
50667         * sysdeps/i386/fpu/libm-test-ulps: Update.
50669 2013-07-02  David S. Miller  <davem@davemloft.net>
50671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50673 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
50675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50677 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50679         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50682 2013-07-02  Andi Kleen <ak@linux.intel.com>
50684         * config.h.in (ENABLE_LOCK_ELISION): Add.
50685         * configure.in (--enable-lock-elision): Add option.
50686         * manual/install.texi: Document --enable lock elision.
50687         * configure: Regenerate
50688         * INSTALL: Regenerate.
50690 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
50692         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
50693         SSE4.2 strcasecmp for libc.a.
50694         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
50696 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50698         [BZ #13304]
50699         * soft-fp/op-common.h (_FP_FMA): New macro.
50700         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
50701         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
50702         (_FP_MUL_MEAT_1_imm): ... here.
50703         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
50704         (_FP_MUL_MEAT_1_wide): ... here.
50705         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
50706         (_FP_MUL_MEAT_1_hard): ... here.
50707         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
50708         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
50709         (_FP_MUL_MEAT_2_wide): ... here.
50710         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
50711         (_FP_MUL_MEAT_2_wide_3mul): ... here.
50712         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
50713         (_FP_MUL_MEAT_2_gmp): ... here.
50714         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
50715         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
50716         (_FP_MUL_MEAT_4_wide): ... here.
50717         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
50718         (_FP_MUL_MEAT_4_gmp): ... here.
50719         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
50720         (_FP_WFRACBITS_DW_S): Likewise.
50721         (_FP_WFRACXBITS_DW_S): Likewise.
50722         (_FP_HIGHBIT_DW_S): Likewise.
50723         (FP_FMA_S): Likewise.
50724         (_FP_FRAC_HIGH_DW_S): Likewise.
50725         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
50726         (_FP_WFRACBITS_DW_D): Likewise.
50727         (_FP_WFRACXBITS_DW_D): Likewise.
50728         (_FP_HIGHBIT_DW_D): Likewise.
50729         (FP_FMA_D): Likewise.
50730         (_FP_FRAC_HIGH_DW_D): Likewise.
50731         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
50732         (_FP_WFRACBITS_DW_E): Likewise.
50733         (_FP_WFRACXBITS_DW_E): Likewise.
50734         (_FP_HIGHBIT_DW_E): Likewise.
50735         (FP_FMA_E): Likewise.
50736         (_FP_FRAC_HIGH_DW_E): Likewise.
50737         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
50738         (_FP_WFRACBITS_DW_Q): Likewise.
50739         (_FP_WFRACXBITS_DW_Q): Likewise.
50740         (_FP_HIGHBIT_DW_Q): Likewise.
50741         (FP_FMA_Q): Likewise.
50742         (_FP_FRAC_HIGH_DW_Q): Likewise.
50743         * soft-fp/fmasf4.c: New file.
50744         * soft-fp/fmadf4.c: Likewise.
50745         * soft-fp/fmatf4.c: Likewise.
50747 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50750         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
50751         Silvermont.
50752         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
50753         macro.
50754         (index_Slow_SSE4_2): Likewise.
50755         (index_Prefer_PMINUB_for_stringop): Likewise.
50756         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
50757         bit_Slow_SSE4_2 is set.
50758         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50759         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50761 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50763         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
50764         rtld_global._dl_hwcap2.
50765         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
50766         POWER8.
50767         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
50768         POWER8 feature descriptions defined in _dl_hwcap2.
50769         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
50770         string handling for POWER8 feature bits.
50771         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
50772         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
50773         _dl_powerpc_cap_flags.
50774         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
50775         * sysdeps/powerpc/rtld-global-offsets.sym
50776         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
50777         _dl_hwcap2 in the rtld_global_ro structure.
50779 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50781         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
50782         hardware capabilities in support of AT_HWCAP2.
50783         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
50784         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
50785         GLRO(dl_hwcap2).
50786         (_dl_show_auxv): Add support for calling _dl_procinfo to display
50787         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
50788         explicitly the unknown a_type display mechanism is used.
50789         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
50790         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
50791         struct member.
50792         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
50793         to macro prototype for AT_HWCAP2 support.
50794         * sysdeps/i386/dl-procinfo.h: Likewise.
50795         * sysdeps/s390/dl-procinfo.h: Likewise.
50796         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
50797         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
50798         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
50799         return -1 for unknown a_type display fallback.
50800         * sysdeps/sparc/dl-procinfo.h: Likewise.
50801         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
50802         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
50804 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
50806         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
50807         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
50809 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
50811         [BZ #12492]
50812         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
50813         mprotect making __stack_prot writable.
50815 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
50816             Joseph Myers  <joseph@codesourcery.com>
50818         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
50819         as being properly aligned.
50821 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
50823         * dlfcn/modstatic5.c: New file.
50824         * dlfcn/tststatic5.c: New file.
50825         * dlfcn/Makefile (tests): Add tststatic5.
50826         (tests-static): Likewise.
50827         (modules-names): Add modstatic5.
50828         (tststatic5-ENV): New variable.
50829         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
50831         [BZ #15022]
50832         * elf/dl-support.c (_dl_main_map): New variable.
50833         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
50834         (_dl_nns, _dl_load_adds): Set to 1.
50835         (_dl_initial_searchlist): Refer to _dl_main_map.
50836         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
50837         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
50838         call to _dl_get_origin.
50839         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
50840         around call_map.
50841         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
50842         * dlfcn/modstatic3.c: New file.
50843         * dlfcn/tststatic3.c: New file.
50844         * dlfcn/tststatic4.c: New file.
50845         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
50846         (tests-static): Likewise.
50847         (modules-names): Add modstatic3.
50848         (tststatic3-ENV, tststatic4-ENV): New variables.
50849         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
50850         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
50852 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
50854         * configure.in (CC): Require GCC version 4.4 or later.
50855         * configure: Regenerated.
50856         * manual/install.texi (Tools for Compilation): Update GCC version
50857         requirement.
50858         * INSTALL: Regenerated.
50860 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50862         [BZ #15674]
50863         * string/test-memcmp.c (check2): New.
50864         (main): Call check2.
50866         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
50868 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
50870         [BZ #15022]
50871         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
50872         over to...
50873         (dl_open_worker) [!SHARED]: ... here.
50875 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50877         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
50879 2013-06-25  Richard Henderson  <rth@redhat.com>
50881         * locale/programs/locarchive.c: Include <libc-internal.h>
50883 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
50885         * manual/texinfo.tex: Update to version 2013-06-21.17, with
50886         trailing whitespace removed.
50888 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50890         [BZ #10283]
50891         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50892         * locale/programs/locarchive.c: Include libc-mmap.h.
50893         (prepare_address_space): Take two new outputs (the mmap base and len).
50894         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50895         values.
50896         (create_archive): Declare new mmap base and len values for
50897         prepare_address_space, and store the result in ah.
50898         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50899         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50900         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50901         Declare new mmap base and len values for
50902         prepare_address_space, and store the result in new_ah.
50903         (open_archive): Declare new mmap base and len values for
50904         prepare_address_space, and store the result in ah.
50905         (close_archive): If ah->mmap_base is not NULL, use that and
50906         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50907         * sysdeps/generic/libc-mmap.h: New file.
50909 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50911         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50912         (ALIGN_UP): Likewise.
50913         (PTR_ALIGN_DOWN): Likewise.
50914         (PTR_ALIGN_UP): Likewise.
50916 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50918         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50919         entry mapped to PPC_PLATFORM_POWER8.
50920         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50921         POWER8.
50922         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50923         (_dl_string_platform): Add case for exporting platform position for
50924         POWER8.
50925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50926         search path to sysdeps/powerpc/powerpc32/power8 directory.
50927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50928         search path to sysdeps/powerpc/powerpc64/power8 directory.
50929         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50930         power7 directories.
50931         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50932         power7 directories.
50934 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50936         * INSTALL: Regenerate.
50938         * nscd/connections.c (nscd_init): Fix comment.
50940 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50942         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50944         [BZ #15667]
50945         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50946         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50948 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50950         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50951         DL_DST_REQ_STATIC.
50952         (DL_DST_REQ_STATIC): Remove macro.
50954 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50956         [BZ #7006]
50957         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50958         with a shift of 0 bits.
50960 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50962         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50963         $(tststatic-ENV).
50965 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50967         [BZ #15655]
50968         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50970 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50972         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50973         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50974         accepts -fno-tree-loop-distribute-patterns.
50975         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50976         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50977         recursive call.
50978         * string/memset.c (memset): Likewise.
50979         * string/test-memmove.c (simple_memmove): Disable loop transformation
50980         to library calls.
50981         * string/test-memset.c (simple_memset): Likewise.
50982         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50983         * benchtests/bench-memset.c (simple_memset): Likewise.
50984         * configure: Regenerated.
50986 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50988         * math/test-misc.c (main): Ignore fesetround failure when failures
50989         of subsequent rounding tests would be ignored.
50991         [BZ #15654]
50992         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50993         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50994         * math/fegetenv.c (__fegetenv): Return 0.
50995         * math/fegetexcept.c (fegetexcept): Return 0.
50996         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50997         FE_TONEAREST.
50998         * math/feholdexcpt.c (feholdexcept): Return 0.
50999         * math/fesetenv.c (__fesetenv): Return 0.
51000         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51001         argument FE_TONEAREST.
51002         * math/feupdateenv.c (__feupdateenv): Return 0.
51003         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51005 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51007         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51008         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51009         ($(objpfx)rtld-%.os rules): Use them.
51011 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51013         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51014         fields.
51016 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51018         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51019         length of target pattern, then descending length of dependency pattern.
51020         * configure.in (AWK): Require gawk 3.1.2 or newer.
51021         * manual/install.texi (Tools for Compilation): Say that we do.
51022         * configure: Regenerated.
51024         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51025         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51026         * scripts/sysd-rules.awk: ... this new script.
51027         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51028         than a glob-style pattern.
51030 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51032         * math/test-misc.c (main): Do not treat incorrectly rounded
51033         conversions as failure unless ROUNDING_TESTS passes.
51035 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51037         [BZ #15631]
51038         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51039         restore exception state around main square root computation, then
51040         check for inexactness explicitly.
51042         * math/libm-test.inc (fma_test_data): Add another test.
51044 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51046         * manual/threads.texi (Non-POSIX Extensions): New document
51047         node.  Document pthread_getattr_default_np and
51048         pthread_setattr_default_np.
51050         * Versions.def (libpthread): Add GLIBC_2.18.
51051         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51053         Likewise.
51054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51055         Likewise.
51056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51057         Likewise.
51058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51059         Likewise.
51060         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51061         Likewise.
51062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51063         Likewise.
51064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51065         Likewise.
51066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51067         Likewise.
51068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51069         Likewise.
51071 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51074         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51076 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51077             H.J. Lu  <hjl.tools@gmail.com>
51079         [BZ #15627]
51080         * sysdeps/x86_64/rtld-memset.c: Remove file.
51081         * sysdeps/x86_64/rtld-memset.S: New file.
51083 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51085         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51086         (test_in_one_mode): Take arguments for whether the rounding mode
51087         is supported for each floating-point type.
51088         (do_test): Pass new arguments to test_in_one_mode using
51089         ROUNDING_TESTS.
51091 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51093         * posix/tst-waitid.c (do_test): Distinguish different instances of
51094         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51095         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51096         before entering the kernel for waitpid.
51098 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51100         * NEWS: Fix note on clock function precision.  Text by Roland
51101         McGrath.
51103 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51105         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51106         it into place only when and if the sanity check passes.
51108 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51110         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51111         output for whether conversion result is exact.  Take argument
51112         indicating whether type is IBM long double.
51113         (round_for_all): Change need_exact field to ibm_ld.
51114         * stdlib/tst-strtod-round.c (struct exactness): New type.
51115         (struct test): Change bool ld_ok field to struct exactness exact.
51116         (TEST): Update all definitions for change to field.
51117         (tests): Regenerate array contents.
51118         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51119         field value.  Check for IBM long double here.
51120         (do_test): Update calls to test_in_one_mode.
51122 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51124         [BZ #12515]
51125         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51126         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51128 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51130         [BZ #15605]
51131         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51132         generated by the compiler on loop optimizations.
51133         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51134         general definitions.
51136 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51138         * math/bug-nextafter.c: Include <math-tests.h>.
51139         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51140         the relevant type.
51141         * math/bug-nexttoward.c: Include <math-tests.h>.
51142         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51143         the relevant type.
51144         * math/test-misc.c: Include <math-tests.h>.
51145         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51146         the relevant type.
51148 2013-06-12  Andreas Jaeger  <aj@suse.de>
51150         * po/ia.po: Update Interlingua translation from translation
51151         project.
51153 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51155         * include/fenv.h: Include stdbool.h.
51156         (struct rm_ctx): New structure.
51157         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51158         Define macro.
51159         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51160         (SET_RESTORE_ROUNDF): Likewise.
51161         (SET_RESTORE_ROUNDL): Likewise.
51162         (SET_RESTORE_ROUND_NOEX): Likewise.
51163         (SET_RESTORE_ROUND_NOEXF): Likewise.
51164         (SET_RESTORE_ROUND_NOEXL): Likewise.
51165         (SET_RESTORE_ROUND_53BIT): Likewise.
51166         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51167         (libc_feresetround_noexf_ctx): Likewise.
51168         (libc_feresetround_noexl_ctx): Likewise.
51169         (libc_feholdsetround_53bit_ctx): Likewise.
51170         (libc_feresetround_53bit_ctx): Likewise.
51171         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51172         (libc_feholdexcept_setround_sse_ctx): New function.
51173         (libc_fesetenv_sse_ctx): Likewise.
51174         (libc_feupdateenv_sse_ctx): Likewise.
51175         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51176         (libc_feholdexcept_setround_387_ctx): Likewise.
51177         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51178         (libc_feholdsetround_387_prec_ctx): Likewise.
51179         (libc_feholdsetround_387_ctx): Likewise.
51180         (libc_feholdsetround_387_53bit_ctx): Likewise.
51181         (libc_feholdsetround_sse_ctx): Likewise.
51182         (libc_feresetround_sse_ctx): Likewise.
51183         (libc_feresetround_387_ctx): Likewise.
51184         (libc_feupdateenv_387_ctx): Likewise.
51185         (libc_feholdexcept_setroundf_ctx): Define macro.
51186         (libc_fesetenvf_ctx): Likewise.
51187         (libc_feupdateenvf_ctx): Likewise.
51188         (libc_feholdsetroundf_ctx): Likewise.
51189         (libc_feresetroundf_ctx): Likewise.
51190         (libc_feholdexcept_setround_ctx): Likewise.
51191         (libc_fesetenv_ctx): Likewise.
51192         (libc_feupdateenv_ctx): Likewise.
51193         (libc_feholdsetround_ctx): Likewise.
51194         (libc_feresetround_ctx): Likewise.
51195         (libc_feholdexcept_setroundl_ctx): Likewise.
51196         (libc_feupdateenvl_ctx): Likewise.
51197         (libc_feholdsetroundl_ctx): Likewise.
51198         (libc_feresetroundl_ctx): Likewise.
51199         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51200         (libc_feresetround_53bit_ctx): Likewise.
51202 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51204         * locale/iso-639.def: Convert to UTF-8.
51206 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51208         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51209         (EXCEPTION_TESTS_double): Likewise.
51210         (EXCEPTION_TESTS_long_double): Likewise.
51211         (EXCEPTION_TESTS): Likewise.
51212         * math/libm-test.inc (test_exceptions): Only test exceptions if
51213         EXCEPTION_TESTS (FLOAT).
51215 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51217         * benchtests/Makefile (string-bench): Add strcpy_chk and
51218         stpcpy_chk.
51219         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51220         * benchtests/bench-stpcpy_chk.c: New file.
51221         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51222         * benchtests/bench-strcpy_chk.c: New file.
51223         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51224         code.
51225         (do_test): Likewise.
51227 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51229         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51230         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51231         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51232         with tabs where appropriate.
51233         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
51234         dl-procinfo.h.
51235         [PPC_PLATFORM_PPC440]: Likewise.
51236         [PPC_PLATFORM_PPC464]: Likewise.
51237         [PPC_PLATFORM_PPC476]: Likewise.
51238         (_dl_string_platform): Add support for detecting ppc405, ppc440,
51239         ppc464, and ppc476 platform strings merging from ports/
51240         dl-procinfo.h.
51242 2013-06-11  Andreas Schwab  <schwab@suse.de>
51244         [BZ #14991]
51245         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
51246         (from_ucs4_idx): Regenerate.
51247         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
51248         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
51249         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
51250         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
51251         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51252         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
51253         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
51254         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
51255         from FROM_LOOP and TO_LOOP specific macros.
51256         (BODY): Handle combining characters.
51257         * iconvdata/BIG5HKSCS.irreversible: Update.
51258         * iconvdata/BIG5HKSCS.precomposed: New file.
51259         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
51260         characters.
51261         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
51263 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51265         * include/sys/time.h: Fix indentation and add copyright header.
51267         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
51268         (do_test): Likewise.
51269         * string/test-memchr.c (do_one_test): Likewise.
51270         (do_test): Likewise.
51271         * string/test-memcmp.c (do_one_test): Likewise.
51272         (do_test): Likewise.
51273         * string/test-memcpy.c (do_one_test): Likewise.
51274         (do_test): Likewise.
51275         * string/test-memmem.c (do_one_test): Likewise.
51276         (do_test): Likewise.
51277         (do_random_tests): Likewise.
51278         * string/test-memmove.c (do_one_test): Likewise.
51279         (do_test): Likewise.
51280         * string/test-memset.c (do_one_test): Likewise.
51281         (do_test): Likewise.
51282         * string/test-rawmemchr.c (do_one_test): Likewise.
51283         (do_test): Likewise.
51284         * string/test-strcasecmp.c (do_one_test): Likewise.
51285         (do_test): Likewise.
51286         * string/test-strcasestr.c (do_one_test): Likewise.
51287         (do_test): Likewise.
51288         * string/test-strcat.c (do_one_test): Likewise.
51289         (do_test): Likewise.
51290         * string/test-strchr.c (do_one_test): Likewise.
51291         (do_test): Likewise.
51292         * string/test-strcmp.c (do_one_test): Likewise.
51293         (do_test): Likewise.
51294         * string/test-strcpy.c (do_one_test): Likewise.
51295         (do_test): Likewise.
51296         * string/test-string.h: Likewise.
51297         (test_init): Likewise.
51298         * string/test-strlen.c (do_one_test): Likewise.
51299         (do_test): Likewise.
51300         * string/test-strncasecmp.c (do_one_test): Likewise.
51301         (do_test): Likewise.
51302         * string/test-strncat.c (do_one_test): Likewise.
51303         (do_test): Likewise.
51304         * string/test-strncmp.c (do_one_test): Likewise.
51305         (do_test_limit): Likewise.
51306         (do_test): Likewise.
51307         * string/test-strncpy.c (do_one_test): Likewise.
51308         (do_test): Likewise.
51309         * string/test-strnlen.c (do_one_test): Likewise.
51310         (do_test): Likewise.
51311         * string/test-strpbrk.c (do_one_test): Likewise.
51312         (do_test): Likewise.
51313         * string/test-strrchr.c (do_one_test): Likewise.
51314         (do_test): Likewise.
51315         * string/test-strspn.c (do_one_test): Likewise.
51316         (do_test): Likewise.
51317         * string/test-strstr.c (do_one_test): Likewise.
51318         (do_test): Likewise.
51320         * benchtests/Makefile (string-bench): Add string benchmarks.
51321         * benchtests/bench-bcopy-ifunc.c: New file.
51322         * benchtests/bench-bcopy.c: New file.
51323         * benchtests/bench-bzero-ifunc.c: New file.
51324         * benchtests/bench-bzero.c: New file.
51325         * benchtests/bench-memccpy-ifunc.c: New file.
51326         * benchtests/bench-memccpy.c: New file.
51327         * benchtests/bench-memchr-ifunc.c: New file.
51328         * benchtests/bench-memchr.c: New file.
51329         * benchtests/bench-memcmp-ifunc.c: New file.
51330         * benchtests/bench-memcmp.c: New file.
51331         * benchtests/bench-memmem-ifunc.c: New file.
51332         * benchtests/bench-memmem.c: New file.
51333         * benchtests/bench-memmove-ifunc.c: New file.
51334         * benchtests/bench-memmove.c: New file.
51335         * benchtests/bench-mempcpy-ifunc.c: New file.
51336         * benchtests/bench-mempcpy.c: New file.
51337         * benchtests/bench-memset-ifunc.c: New file.
51338         * benchtests/bench-memset.c: New file.
51339         * benchtests/bench-rawmemchr-ifunc.c: New file.
51340         * benchtests/bench-rawmemchr.c: New file.
51341         * benchtests/bench-stpcpy-ifunc.c: New file.
51342         * benchtests/bench-stpcpy.c: New file.
51343         * benchtests/bench-stpncpy-ifunc.c: New file.
51344         * benchtests/bench-stpncpy.c: New file.
51345         * benchtests/bench-strcasecmp-ifunc.c: New file.
51346         * benchtests/bench-strcasecmp.c: New file.
51347         * benchtests/bench-strcasestr-ifunc.c: New file.
51348         * benchtests/bench-strcasestr.c: New file.
51349         * benchtests/bench-strcat-ifunc.c: New file.
51350         * benchtests/bench-strcat.c: New file.
51351         * benchtests/bench-strchr-ifunc.c: New file.
51352         * benchtests/bench-strchr.c: New file.
51353         * benchtests/bench-strchrnul-ifunc.c: New file.
51354         * benchtests/bench-strchrnul.c: New file.
51355         * benchtests/bench-strcmp-ifunc.c: New file.
51356         * benchtests/bench-strcmp.c: New file.
51357         * benchtests/bench-strcpy-ifunc.c: New file.
51358         * benchtests/bench-strcpy.c: New file.
51359         * benchtests/bench-strcspn-ifunc.c: New file.
51360         * benchtests/bench-strcspn.c: New file.
51361         * benchtests/bench-strlen-ifunc.c: New file.
51362         * benchtests/bench-strlen.c: New file.
51363         * benchtests/bench-strncasecmp-ifunc.c: New file.
51364         * benchtests/bench-strncasecmp.c: New file.
51365         * benchtests/bench-strncat-ifunc.c: New file.
51366         * benchtests/bench-strncat.c: New file.
51367         * benchtests/bench-strncmp-ifunc.c: New file.
51368         * benchtests/bench-strncmp.c: New file.
51369         * benchtests/bench-strncpy-ifunc.c: New file.
51370         * benchtests/bench-strncpy.c: New file.
51371         * benchtests/bench-strnlen-ifunc.c: New file.
51372         * benchtests/bench-strnlen.c: New file.
51373         * benchtests/bench-strpbrk-ifunc.c: New file.
51374         * benchtests/bench-strpbrk.c: New file.
51375         * benchtests/bench-strrchr-ifunc.c: New file.
51376         * benchtests/bench-strrchr.c: New file.
51377         * benchtests/bench-strspn-ifunc.c: New file.
51378         * benchtests/bench-strspn.c: New file.
51379         * benchtests/bench-strstr-ifunc.c: New file.
51380         * benchtests/bench-strstr.c: New file.
51382         * benchtests/Makefile: Disable parallel execution of targets.
51383         (string-bench): Add memcpy.
51384         (benchset): New variable to store a list of benchmark sets.
51385         (bench-func): Renamed from bench.
51386         (bench-set): New target.
51387         (bench): Depend on bench-func and bench-set.
51388         * benchtests/README: Add section on benchmark sets.
51389         * benchtests/bench-memcpy-ifunc.c: New file.
51390         * benchtests/bench-memcpy.c: New file.
51391         * benchtests/bench-string.h: New file.
51393 2013-06-11  Andreas Schwab  <schwab@suse.de>
51395         [BZ #15577]
51396         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
51397         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
51398         values in the triple.
51399         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
51400         terminator in the group key.
51402 2013-06-11  Andreas Jaeger  <aj@suse.de>
51404         * po/zh_TW.po: Update Chinese (traditional) translation from
51405         translation project.
51407 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51409         * include/time.h (__clock_gettime): Add libc_hidden_proto.
51410         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
51411         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
51412         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51413         (clock_getcpuclockid): Likewise.
51414         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51415         Add weak_alias and libc_hidden_def.
51416         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51417         * rt/clock_gettime.c (clock_gettime): Rename to
51418         __clock_gettime.  Add weak_alias and libc_hidden_def.
51419         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51420         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51421         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51422         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51423         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51424         Likewise.
51425         * rt/clock_settime.c (clock_settime): Rename to
51426         __clock_settime.  Add weak_alias and libc_hidden_def.
51427         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51429 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51431         * mach/err_boot.sub: Remove trailing whitespace.
51432         * mach/err_ipc.sub: Likewise.
51433         * mach/err_mach.sub: Likewise.
51435         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51436         (ROUNDING_TESTS_double): Likewise.
51437         (ROUNDING_TESTS_long_double): Likewise.
51438         (ROUNDING_TESTS): Likewise.
51439         * math/libm-test.inc: Include <math-tests.h>.
51440         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51441         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51442         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51443         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51445 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51447         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51448         of assigning.
51450 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
51452         * sysdeps/gnu/errlist.awk: Do not generate space at end of
51453         otherwise empty TRANS lines.
51454         * sysdeps/gnu/errlist.c: Regenerated.
51456         * catgets/gencat.c (error_print): Use (void) in function
51457         definition.
51458         * crypt/crypt_util.c (__init_des): Likewise.
51459         * crypt/speeds.c (Stop): Likewise.
51460         (main): Likewise.
51461         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51462         * inet/ruserpass.c (token): Likewise.
51463         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51464         * intl/localealias.c (extend_alias_table): Likewise.
51465         * intl/plural-exp.c (init_germanic_plural): Likewise.
51466         * libio/fcloseall.c (__fcloseall): Likewise.
51467         * libio/genops.c (_IO_flush_all): Likewise.
51468         (_IO_flush_all_linebuffered): Likewise.
51469         (_IO_cleanup): Likewise.
51470         (_IO_iter_begin): Likewise.
51471         (_IO_iter_end): Likewise.
51472         (_IO_list_lock): Likewise.
51473         (_IO_list_unlock): Likewise.
51474         (_IO_list_resetlock): Likewise.
51475         * libio/getchar.c (getchar): Likewise.
51476         * libio/getchar_u.c (getchar_unlocked): Likewise.
51477         * libio/getwchar.c (getwchar): Likewise.
51478         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51479         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51480         * login/getpt.c (__getpt): Likewise.
51481         * login/tst-utmp.c (main): Likewise.
51482         * malloc/hooks.c (__malloc_check_init): Likewise.
51483         * malloc/malloc.c (__malloc_stats): Likewise.
51484         * malloc/mtrace.c (tr_break): Likewise.
51485         (mtrace): Likewise.
51486         (muntrace): Likewise.
51487         * misc/fstab.c (endfsent): Likewise.
51488         * misc/getclktck.c (__getclktck): Likewise.
51489         * misc/getdtsz.c (__getdtablesize): Likewise.
51490         * misc/gethostid.c (gethostid): Likewise.
51491         * misc/getpagesize.c (__getpagesize): Likewise.
51492         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51493         (__get_nprocs): Likewise.
51494         (__get_phys_pages): Likewise.
51495         (__get_avphys_pages): Likewise.
51496         * misc/getttyent.c (getttyent): Likewise.
51497         (setttyent): Likewise.
51498         (endttyent): Likewise.
51499         * misc/getusershell.c (getusershell): Likewise.
51500         (endusershell): Likewise.
51501         (setusershell): Likewise.
51502         (initshells): Likewise.
51503         * misc/hsearch.c (__hdestroy): Likewise.
51504         * misc/sync.c (sync): Likewise.
51505         * misc/syslog.c (closelog_internal): Likewise.
51506         (closelog): Likewise.
51507         * misc/ttyslot.c (ttyslot): Likewise.
51508         * misc/vhangup.c (vhangup): Likewise.
51509         * posix/fork.c (__fork): Likewise.
51510         * posix/getegid.c (__getegid): Likewise.
51511         * posix/geteuid.c (__geteuid): Likewise.
51512         * posix/getgid.c (__getgid): Likewise.
51513         * posix/getpid.c (__getpid): Likewise.
51514         * posix/getppid.c (__getppid): Likewise.
51515         * posix/getuid.c (__getuid): Likewise.
51516         * posix/pause.c (pause): Likewise.
51517         * posix/setpgrp.c (setpgrp): Likewise.
51518         * posix/setsid.c (__setsid): Likewise.
51519         * posix/test-vfork.c (noop): Likewise.
51520         * resolv/gethnamaddr.c (_endhtent): Likewise.
51521         (_gethtent): Likewise.
51522         (ht_endhostent): Likewise.
51523         (gethostent): Likewise.
51524         (dns_service): Likewise.
51525         * stdlib/drand48.c (drand48): Likewise.
51526         * stdlib/lrand48.c (lrand48): Likewise.
51527         * stdlib/mrand48.c (mrand48): Likewise.
51528         * stdlib/rand.c (rand): Likewise.
51529         * stdlib/random.c (__random): Likewise.
51530         * stdlib/setenv.c (clearenv): Likewise.
51531         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
51532         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
51533         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
51534         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
51535         (__get_nprocs): Likewise.
51536         (__get_phys_pages): Likewise.
51537         (__get_avphys_pages): Likewise.
51538         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
51539         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
51540         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
51541         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
51542         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
51543         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
51544         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
51545         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
51546         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
51547         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
51548         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
51549         * sysdeps/mach/hurd/sync.c (sync): Likewise.
51550         * sysdeps/posix/clock.c (clock): Likewise.
51551         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
51552         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
51553         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
51554         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
51555         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
51556         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
51557         (__get_nprocs_conf): Likewise.
51558         (__get_phys_pages): Likewise.
51559         (__get_avphys_pages): Likewise.
51560         * time/clock.c (clock): Likewise.
51561         * time/tzset.c (__tzname_max): Likewise.
51563 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
51565         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
51566         (__bswap_32): Do not use "register".
51567         * crypt/crypt.c (_ufc_doit_r): Likewise.
51568         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51569         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51570         * gmon/gmon.c (__monstartup): Likewise.
51571         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
51572         * hurd/hurdmalloc.c (more_memory): Likewise.
51573         (malloc): Likewise.
51574         (free): Likewise.
51575         (realloc): Likewise.
51576         (malloc_fork_prepare): Likewise.
51577         (malloc_fork_parent): Likewise.
51578         (malloc_fork_child): Likewise.
51579         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
51580         (_svcauth_des): Likewise.
51581         * inet/inet_lnaof.c (inet_lnaof): Likewise.
51582         * inet/inet_net.c (inet_network): Likewise.
51583         * inet/inet_netof.c (inet_netof): Likewise.
51584         * inet/rcmd.c (__validuser2_sa): Likewise.
51585         * io/fts.c (fts_open): Likewise.
51586         (fts_load): Likewise.
51587         (fts_close): Likewise.
51588         (fts_read): Likewise.
51589         (fts_children): Likewise.
51590         (fts_build): Likewise.
51591         (fts_stat): Likewise.
51592         (fts_sort): Likewise.
51593         (fts_alloc): Likewise.
51594         (fts_lfree): Likewise.
51595         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
51596         (_IO_file_xsgetn): Likewise.
51597         (_IO_file_xsgetn_mmap): Likewise.
51598         * libio/iofopncook.c (_IO_cookie_read): Likewise.
51599         (_IO_cookie_write): Likewise.
51600         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
51601         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
51602         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
51603         * malloc/obstack.c (_obstack_begin): Likewise.
51604         (_obstack_begin_1): Likewise.
51605         (_obstack_newchunk): Likewise.
51606         (_obstack_allocated_p): Likewise.
51607         (obstack_free): Likewise.
51608         (_obstack_memory_used): Likewise.
51609         * misc/getttyent.c (getttynam): Likewise.
51610         (getttyent): Likewise.
51611         (skip): Likewise.
51612         (value): Likewise.
51613         * misc/getusershell.c (initshells): Likewise.
51614         * misc/syslog.c (__vsyslog_chk): Likewise.
51615         * misc/ttyslot.c (ttyslot): Likewise.
51616         * nis/nis_hash.c (__nis_hash): Likewise.
51617         * posix/fnmatch_loop.c (FCT): Likewise.
51618         * posix/getconf.c (print_all): Likewise.
51619         (main): Likewise.
51620         * posix/getopt.c (exchange): Likewise.
51621         * posix/glob.c (globfree): Likewise.
51622         (prefix_array): Likewise.
51623         (__glob_pattern_type): Likewise.
51624         * resolv/arpa/nameser.h (NS_GET16): Likewise.
51625         (NS_GET32): Likewise.
51626         (NS_PUT16): Likewise.
51627         (NS_PUT32): Likewise.
51628         * resolv/gethnamaddr.c (getanswer): Likewise.
51629         (gethostbyname2): Likewise.
51630         (gethostbyaddr): Likewise.
51631         (_gethtent): Likewise.
51632         (_gethtbyname2): Likewise.
51633         (_gethtbyaddr): Likewise.
51634         * resolv/ns_print.c (dst_s_get_int16): Likewise.
51635         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
51636         * resolv/res_init.c (__res_vinit): Likewise.
51637         (net_mask): Likewise.
51638         * resolv/res_mkquery.c (outchar): Likewise.
51639         (PRINT): Likewise.
51640         * stdio-common/printf_fp.c (outchar): Likewise.
51641         (PRINT): Likewise.
51642         * stdio-common/printf_fphex.c (outchar): Likewise.
51643         (PRINT): Likewise.
51644         * stdio-common/printf_size.c (outchar): Likewise.
51645         (PRINT): Likewise.
51646         * stdio-common/test_rdwr.c (main): Likewise.
51647         * stdio-common/tfformat.c (matches): Likewise.
51648         * stdio-common/vfprintf.c (outchar): Likewise.
51649         (printf_unknown): Likewise.
51650         (buffered_vfprintf): Likewise.
51651         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51652         * stdio-common/xbug.c (AppendToBuffer): Likewise.
51653         (ReadFile): Likewise.
51654         * stdlib/qsort.c (SWAP): Likewise.
51655         (_quicksort): Likewise.
51656         * stdlib/setenv.c (__add_to_environ): Likewise.
51657         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51658         * stdlib/strtol_l.c (__strtol_l): Likewise.
51659         * stdlib/tst-strtod.c (main): Likewise.
51660         * stdlib/tst-strtol.c (main): Likewise.
51661         * stdlib/tst-strtoll.c (main): Likewise.
51662         * string/bits/string2.h (__strcmp_cc): Likewise.
51663         (__strcmp_cg): Likewise.
51664         (__strcspn_c1): Likewise.
51665         (__strcspn_c2): Likewise.
51666         (__strcspn_c3): Likewise.
51667         (__strspn_c1): Likewise.
51668         (__strspn_c2): Likewise.
51669         (__strspn_c3): Likewise.
51670         (__strsep_1c): Likewise.
51671         (__strsep_2c): Likewise.
51672         (__strsep_3c): Likewise.
51673         * string/memccpy.c (__memccpy): Likewise.
51674         * string/stpcpy.c (__stpcpy): Likewise.
51675         * string/strcmp.c (strcmp): Likewise.
51676         * string/strrchr.c (strrchr): Likewise.
51677         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
51678         Likewise.
51679         * sysdeps/mach/hurd/getcwd.c
51680         (_hurd_canonicalize_directory_name_internal): Likewise.
51681         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
51682         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
51683         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
51684         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
51685         Likewise, in both definitions.
51686         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
51687         definitions.
51688         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
51689         64] (__bswap_64): Likewise.
51690         * time/test_time.c (main): Likewise.
51691         * time/tzfile.c (__tzfile_read): Likewise.
51692         (__tzfile_compute): Likewise.
51693         * time/tzset.c (__tzset_parse_tz): Likewise.
51694         (tzset_internal): Likewise.
51695         (compute_change): Likewise.
51696         * wcsmbs/wcscat.c (__wcscat): Likewise.
51697         * wcsmbs/wcschr.c (wcschr): Likewise.
51698         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
51699         * wcsmbs/wcscspn.c (wcscspn): Likewise.
51700         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
51701         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
51702         * wcsmbs/wcsspn.c (wcsspn): Likewise.
51703         * wcsmbs/wcsstr.c (wcsstr): Likewise.
51704         * wcsmbs/wmemchr.c (wmemchr): Likewise.
51705         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51706         * wcsmbs/wmemset.c (wmemset): Likewise.
51708 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
51710         * scripts/config.guess: Update to version 2013-05-16.
51711         * scripts/config.sub: Update to version 2013-04-24.
51712         * scripts/install-sh: Update to version 2011-11-20.07.
51713         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
51714         * scripts/move-if-change: Update to version 2012-01-06 07:23.
51716 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
51718         * debug/fgetws_u_chk.c: Fix leading whitespaces.
51719         * elf/sln.c: Likewise.
51720         * hurd/hurd/ioctl.h: Likewise.
51721         * hurd/hurdmalloc.c: Likewise.
51722         * hurd/xattr.c: Likewise.
51723         * include/shlib-compat.h: Likewise.
51724         * inet/ruserpass.c: Likewise.
51725         * libio/iofgets_u.c: Likewise.
51726         * libio/iofgetws_u.c: Likewise.
51727         * locale/programs/ld-identification.c: Likewise.
51728         * locale/programs/ld-time.c: Likewise.
51729         * mach/msg-destroy.c: Likewise.
51730         * nss/nss_files/files-netgrp.c: Likewise.
51731         * resolv/res_data.c: Likewise.
51732         * soft-fp/op-1.h: Likewise.
51733         * soft-fp/op-2.h: Likewise.
51734         * soft-fp/op-4.h: Likewise.
51735         * soft-fp/op-common.h: Likewise.
51736         * stdio-common/printf_fphex.c: Likewise.
51737         * stdlib/strtod_l.c: Likewise.
51738         * sunrpc/rpc/clnt.h: Likewise.
51739         * sysdeps/generic/framestate.c: Likewise.
51740         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51741         * sysdeps/i386/bsd-setjmp.S: Likewise.
51742         * sysdeps/i386/__longjmp.S: Likewise.
51743         * sysdeps/i386/setjmp.S: Likewise.
51744         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51745         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51746         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51747         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51748         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51749         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51750         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51751         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51752         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51753         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51754         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51755         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51756         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51757         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51758         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51760         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51761         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
51762         * sysdeps/ieee754/support.c: Likewise.
51763         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51764         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
51765         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
51766         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
51767         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
51768         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
51769         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
51770         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
51771         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
51772         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
51773         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
51774         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
51775         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
51776         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
51777         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
51778         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
51779         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
51782 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
51784         * posix/transbug.c: Remove executable mode.
51786 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
51788         * crypt/speeds.c: Remove trailing whitespace.
51789         * dlfcn/default.c: Likewise.
51790         * elf/ifuncdep2.c: Likewise.
51791         * elf/ifuncmain1.c: Likewise.
51792         * elf/ifuncmain1vis.c: Likewise.
51793         * elf/testobj.h: Likewise.
51794         * elf/tst-stackguard1.c: Likewise.
51795         * gmon/sys/gmon.h: Likewise.
51796         * hurd/hurdmsg.c: Likewise.
51797         * hurd/new-fd.c: Likewise.
51798         * hurd/ports-get.c: Likewise.
51799         * iconvdata/ibm1008_420.c: Likewise.
51800         * inet/tst-getni1.c: Likewise.
51801         * inet/tst-getni2.c: Likewise.
51802         * libio/ioungetc.c: Likewise.
51803         * libio/wfiledoalloc.c: Likewise.
51804         * manual/libm-err-tab.pl: Likewise.
51805         * math/w_dremf.c: Likewise.
51806         * misc/ftruncate.c: Likewise.
51807         * posix/bug-glob2.c: Likewise.
51808         * posix/tst-pcre.c: Likewise.
51809         * posix/wait4.c: Likewise.
51810         * resolv/README: Likewise.
51811         * resolv/res_debug.h: Likewise.
51812         * resolv/tst-inet_ntop.c: Likewise.
51813         * setjmp/bug269-setjmp.c: Likewise.
51814         * soft-fp/extended.h: Likewise.
51815         * soft-fp/op-1.h: Likewise.
51816         * soft-fp/op-2.h: Likewise.
51817         * soft-fp/op-4.h: Likewise.
51818         * soft-fp/op-8.h: Likewise.
51819         * soft-fp/testit.c: Likewise.
51820         * stdio-common/bug16.c: Likewise.
51821         * stdlib/random.c: Likewise.
51822         * sunrpc/rpcsvc/rquota.x: Likewise.
51823         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
51824         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51825         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51826         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51827         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51828         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51829         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51830         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51831         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51832         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51833         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51834         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51835         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51836         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51837         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51838         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51839         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51841         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51842         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51843         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51844         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51845         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
51846         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51847         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51848         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51850         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51851         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51852         * sysdeps/ieee754/s_lib_version.c: Likewise.
51853         * sysdeps/mach/hurd/check_fds.c: Likewise.
51854         * sysdeps/mach/hurd/getsockname.c: Likewise.
51855         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
51856         * sysdeps/mach/hurd/recvfrom.c: Likewise.
51857         * sysdeps/powerpc/bits/link.h: Likewise.
51858         * sysdeps/powerpc/dl-procinfo.c: Likewise.
51859         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
51860         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
51861         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
51862         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51863         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51864         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
51865         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51866         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
51867         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51868         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
51869         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51870         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
51871         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51872         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51873         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51874         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51875         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51876         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51877         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51878         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51879         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
51880         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51881         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51882         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
51883         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51884         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51885         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51886         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51887         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51888         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51889         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51890         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51891         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51892         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51893         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51894         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51895         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51896         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51897         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51898         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51899         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51900         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51901         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51902         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51903         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51904         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51905         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51906         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51907         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51908         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51910         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51911         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51912         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51913         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51914         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51915         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51916         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51917         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51918         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51919         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51920         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51921         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51922         * sysdeps/powerpc/sysdep.h: Likewise.
51923         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51924         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51925         * sysdeps/sh/dl-trampoline.S: Likewise.
51926         * sysdeps/sh/memset.S: Likewise.
51927         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51928         * sysdeps/sh/strlen.S: Likewise.
51929         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51930         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51931         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51932         * sysdeps/sparc/sparc32/rem.S: Likewise.
51933         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51934         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51935         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51936         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51937         * sysdeps/sparc/sparc32/urem.S: Likewise.
51938         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51939         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51940         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51941         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51942         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51943         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51944         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51945         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51946         * sysdeps/unix/bsd/times.c: Likewise.
51947         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51948         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51952         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51953         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51954         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51955         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51956         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51957         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51958         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51959         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51960         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51961         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51962         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51963         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51964         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51965         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51966         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51967         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51968         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51969         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51970         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51971         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51972         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51973         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51974         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51975         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51976         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51977         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51978         * sysdeps/x86_64/strcspn.S: Likewise.
51980 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51982         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51983         generated file.  Regenerate properly from gen-translit.pl.
51984         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51985         locale/C-translit.h.
51987 2013-06-05  Andreas Schwab  <schwab@suse.de>
51989         [BZ #15100]
51990         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51991         week as 6 instead of -1.
51992         * time/tst-strptime.c (day_tests): Add test case.
51994 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51996         * sysdeps/generic/math_private.h
51997         (libc_feholdexcept_setround_53bit): Replace with
51998         libc_feholdsetround_53bit.
51999         (libc_feupdateenv_53bit): Replace with
52000         libc_feresetround_53bit.
52001         (SET_RESTORE_ROUND_53BIT): Adjust.
52003 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52005         * string/test-strchrnul.c: Add copyright header.
52007         * posix/tst-getaddrinfo4.c: Increase test timeout.
52009 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52011         [BZ #15536]
52012         * math/libm-test.inc (MAX_EXP): Remove
52013         (MIN_EXP): Define.
52014         (ulp): Use MIN_EXP - MANT_DIG.
52015         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52017 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52019         * po/be.po: Revert last change.
52020         * po/zh_CN.po: Likewise.
52021         * po/header.pot: Likewise.
52023 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52025         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52026         link-libc-deps to empty as target-specific variable.
52027         * Makerules (link-libc-args): New variable.
52028         (libc-for-link): Likewise.
52029         (link-libc-deps): Likewise.
52030         (lib%.so): Depend on $(link-libc-deps).  Link with
52031         $(link-libc-args).
52032         (build-module): Link with $(link-libc-args).
52033         (build-module-asneeded): Likewise.
52034         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52035         list of objects.
52036         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52037         target-specific variable.
52038         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52039         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52040         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52041         libc.
52042         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52043         libc and ld.so.
52044         ($(objpfx)libpcprofile.so): Likewise.
52045         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52046         libc_nonshared.a.
52047         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52048         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52049         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52050         $(link-libc-deps).
52051         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52052         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52053         * login/Makefile ($(objpfx)libutil.so): Likewise.
52054         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52055         * math/Makefile ($(objpfx)libm.so): Likewise.
52056         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52057         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52058         variable instead of depending directly on libc.
52059         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52060         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52061         $(link-libc-deps).
52062         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52063         libc.
52064         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52065         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52066         ($(objpfx)libanl.so): Likewise.
52067         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52068         ld.so.
52069         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52070         $(link-libc-deps).
52071         * sysdeps/i386/fpu/Makefile: Remove file.
52072         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52073         ($(objpfx)libm.so): Remove dependency on ld.so.
52075 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52077         [BZ # 15553]
52078         * nis/yp_xdr.c (XDRMAXNAME): Define.
52079         (XDRMAXRECORD): Define.
52080         (xdr_domainname): Use XDRMAXNAME.
52081         (xdr_mapname): Likewise.
52082         (xdr_peername): Likewise.
52083         (xdr_keydat): Use XDRMAXRECORD.
52084         (xdr_valdat): Likewise.
52086 2013-05-30  Jeff Law  <law@redhat.com>
52088         [BZ #14256]
52089         * manual/errno.texi (ESTALE): Update to account for more than
52090         just NFS file systems.
52091         * sysdeps/gnu/errlist.c: Regenerated.
52093 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52095         [BZ #15465]
52096         * elf/Makefile (tests): Add tst-null-argv.
52097         (modules-names):  Add tst-null-argv-lib.
52098         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52099         (tst-null-argv-ENV): Set environment for tst-null-argv.
52100         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52101         (RTLD_PROGNAME): New macro.
52102         * elf/tst-null-argv.c: New test case.
52103         * elf/tst-null-argv-lib.c: Library for test case.
52104         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52105         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52106         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52107         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52108         * elf/dl-init.c (call_init): Likewise.
52109         (_dl_init): Likewise.
52110         * elf/dl-load.c (print_search_path): Likewise.
52111         (_dl_map_object): Likewise.
52112         * elf/dl-lookup.c (do_lookup_x): Likewise.
52113         (add_dependency): Likewise.
52114         (_dl_lookup_symbol_x): Likewise.
52115         (_dl_debug_bindings): Likewise.
52116         * elf/dl-open.c (_dl_show_scope): Likewise.
52117         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52118         * elf/dl-version.c (match_symbol): Likewise.
52119         (_dl_check_map_versions): Likewise.
52120         * elf/rtld.c (dl_main): Likewise.
52121         (print_unresolved): Use RTLD_PROGNAME.
52122         (print_missing_version): Likewise.
52123         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52124         (elf_machine_rela): Likewise.
52125         * sysdeps/powerpc/powerpc32/dl-machine.c
52126         (__process_machine_rela): Likewise.
52127         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52128         Likewise.
52129         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52130         Likewise.
52131         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52132         Likewise.
52133         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52134         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52135         Likewise.
52136         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52137         Likewise.
52138         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52140 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52142         * po/be.po: Add descriptive title.
52143         * po/zh_CN.po: Likewise.
52144         * po/header.pot: Likewise.
52146 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52148         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52149         error message.
52150         (enlarge_archive): Likewise.
52152 2013-05-28  Ben North  <ben@redfrontdoor.org>
52154         * manual/arith.texi (frexp): It is the magnitude of the return
52155         value which lies in [0.5, 1), not the return value itself.
52157 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52161 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52163         * stdio-common/bug26.c (main): Correct fscanf template.
52165         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52166         declare _dl_skip_args.
52168         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52169         Don't declare.
52171         * manual/platform.texi: Add missing @end deftypefun.
52173 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52175         [BZ #15529]
52176         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52177         bit of mantissa of 2^16382.
52178         * math/libm-test.inc (hypot_test_data): Add more tests.
52180         * math/libm-test.inc: Add drem and pow10 to list of tested
52181         functions.
52182         (pow10_test): New function.
52183         (drem_test): Likewise.
52184         (drem_test_tonearest): Likewise.
52185         (drem_test_towardzero): Likewise.
52186         (drem_test_downward): Likewise.
52187         (drem_test_upward): Likewise.
52188         (main): Call the new functions.
52190         * math/libm-test.inc (finite_test_data): Remove.
52191         (finite_test): Run tests from isfinite_test_data.
52192         (gamma_test_data): Remove.
52193         (gamma_test): Run tests from lgamma_test_data.
52194         * sysdeps/i386/fpu/libm-test-ulps: Update.
52195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52197 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52199         * manual/platform.texi: Add PowerPC PPR function set documentation.
52200         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52201         implementation.
52203 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52205         * math/libm-test.inc (MAX_EXP): Define.
52206         (ULPDIFF): Define.
52207         (ulp): New function.
52208         (check_float_internal): Use ULPDIFF.
52209         (cpow_test): Disable failing test.
52210         (check_ulp): Test ulp() implemetnation.
52211         (main): Call check_ulp before starting tests.
52213 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52215         * math/gen-libm-test.pl (generate_testfile): Do not handle
52216         START_DATA and END_DATA.
52217         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52218         END_DATA.
52219         (acos_tonearest_test_data): Likewise.
52220         (acos_towardzero_test_data): Likewise.
52221         (acos_downward_test_data): Likewise.
52222         (acos_upward_test_data): Likewise.
52223         (acosh_test_data): Likewise.
52224         (asin_test_data): Likewise.
52225         (asin_tonearest_test_data): Likewise.
52226         (asin_towardzero_test_data): Likewise.
52227         (asin_downward_test_data): Likewise.
52228         (asin_upward_test_data): Likewise.
52229         (asinh_test_data): Likewise.
52230         (atan_test_data): Likewise.
52231         (atanh_test_data): Likewise.
52232         (atan2_test_data): Likewise.
52233         (cabs_test_data): Likewise.
52234         (cacos_test_data): Likewise.
52235         (cacosh_test_data): Likewise.
52236         (carg_test_data): Likewise.
52237         (casin_test_data): Likewise.
52238         (casinh_test_data): Likewise.
52239         (catan_test_data): Likewise.
52240         (catanh_test_data): Likewise.
52241         (cbrt_test_data): Likewise.
52242         (ccos_test_data): Likewise.
52243         (ccosh_test_data): Likewise.
52244         (ceil_test_data): Likewise.
52245         (cexp_test_data): Likewise.
52246         (cimag_test_data): Likewise.
52247         (clog_test_data): Likewise.
52248         (clog10_test_data): Likewise.
52249         (conj_test_data): Likewise.
52250         (copysign_test_data): Likewise.
52251         (cos_test_data): Likewise.
52252         (cos_tonearest_test_data): Likewise.
52253         (cos_towardzero_test_data): Likewise.
52254         (cos_downward_test_data): Likewise.
52255         (cos_upward_test_data): Likewise.
52256         (cosh_test_data): Likewise.
52257         (cosh_tonearest_test_data): Likewise.
52258         (cosh_towardzero_test_data): Likewise.
52259         (cosh_downward_test_data): Likewise.
52260         (cosh_upward_test_data): Likewise.
52261         (cpow_test_data): Likewise.
52262         (cproj_test_data): Likewise.
52263         (creal_test_data): Likewise.
52264         (csin_test_data): Likewise.
52265         (csinh_test_data): Likewise.
52266         (csqrt_test_data): Likewise.
52267         (ctan_test_data): Likewise.
52268         (ctan_tonearest_test_data): Likewise.
52269         (ctan_towardzero_test_data): Likewise.
52270         (ctan_downward_test_data): Likewise.
52271         (ctan_upward_test_data): Likewise.
52272         (ctanh_test_data): Likewise.
52273         (ctanh_tonearest_test_data): Likewise.
52274         (ctanh_towardzero_test_data): Likewise.
52275         (ctanh_downward_test_data): Likewise.
52276         (ctanh_upward_test_data): Likewise.
52277         (erf_test_data): Likewise.
52278         (erfc_test_data): Likewise.
52279         (exp_test_data): Likewise.
52280         (exp_tonearest_test_data): Likewise.
52281         (exp_towardzero_test_data): Likewise.
52282         (exp_downward_test_data): Likewise.
52283         (exp_upward_test_data): Likewise.
52284         (exp10_test_data): Likewise.
52285         (exp2_test_data): Likewise.
52286         (expm1_test_data): Likewise.
52287         (fabs_test_data): Likewise.
52288         (fdim_test_data): Likewise.
52289         (finite_test_data): Likewise.
52290         (floor_test_data): Likewise.
52291         (fma_test_data): Likewise.
52292         (fma_towardzero_test_data): Likewise.
52293         (fma_downward_test_data): Likewise.
52294         (fma_upward_test_data): Likewise.
52295         (fmax_test_data): Likewise.
52296         (fmin_test_data): Likewise.
52297         (fmod_test_data): Likewise.
52298         (fpclassify_test_data): Likewise.
52299         (frexp_test_data): Likewise.
52300         (gamma_test_data): Likewise.
52301         (hypot_test_data): Likewise.
52302         (ilogb_test_data): Likewise.
52303         (isfinite_test_data): Likewise.
52304         (isgreater_test_data): Likewise.
52305         (isgreaterequal_test_data): Likewise.
52306         (isinf_test_data): Likewise.
52307         (isless_test_data): Likewise.
52308         (islessequal_test_data): Likewise.
52309         (islessgreater_test_data): Likewise.
52310         (isnan_test_data): Likewise.
52311         (isnormal_test_data): Likewise.
52312         (issignaling_test_data): Likewise.
52313         (isunordered_test_data): Likewise.
52314         (j0_test_data): Likewise.
52315         (j1_test_data): Likewise.
52316         (jn_test_data): Likewise.
52317         (ldexp_test_data): Likewise.
52318         (lgamma_test_data): Likewise.
52319         (lrint_test_data): Likewise.
52320         (lrint_tonearest_test_data): Likewise.
52321         (lrint_towardzero_test_data): Likewise.
52322         (lrint_downward_test_data): Likewise.
52323         (lrint_upward_test_data): Likewise.
52324         (llrint_test_data): Likewise.
52325         (llrint_tonearest_test_data): Likewise.
52326         (llrint_towardzero_test_data): Likewise.
52327         (llrint_downward_test_data): Likewise.
52328         (llrint_upward_test_data): Likewise.
52329         (log_test_data): Likewise.
52330         (log10_test_data): Likewise.
52331         (log1p_test_data): Likewise.
52332         (log2_test_data): Likewise.
52333         (logb_test_data): Likewise.
52334         (logb_downward_test_data): Likewise.
52335         (lround_test_data): Likewise.
52336         (llround_test_data): Likewise.
52337         (modf_test_data): Likewise.
52338         (nearbyint_test_data): Likewise.
52339         (nextafter_test_data): Likewise.
52340         (nexttoward_test_data): Likewise.
52341         (pow_test_data): Likewise.
52342         (pow_tonearest_test_data): Likewise.
52343         (pow_towardzero_test_data): Likewise.
52344         (pow_downward_test_data): Likewise.
52345         (pow_upward_test_data): Likewise.
52346         (remainder_test_data): Likewise.
52347         (remainder_tonearest_test_data): Likewise.
52348         (remainder_towardzero_test_data): Likewise.
52349         (remainder_downward_test_data): Likewise.
52350         (remainder_upward_test_data): Likewise.
52351         (remquo_test_data): Likewise.
52352         (rint_test_data): Likewise.
52353         (rint_tonearest_test_data): Likewise.
52354         (rint_towardzero_test_data): Likewise.
52355         (rint_downward_test_data): Likewise.
52356         (rint_upward_test_data): Likewise.
52357         (round_test_data): Likewise.
52358         (scalb_test_data): Likewise.
52359         (scalbn_test_data): Likewise.
52360         (scalbln_test_data): Likewise.
52361         (signbit_test_data): Likewise.
52362         (sin_test_data): Likewise.
52363         (sin_tonearest_test_data): Likewise.
52364         (sin_towardzero_test_data): Likewise.
52365         (sin_downward_test_data): Likewise.
52366         (sin_upward_test_data): Likewise.
52367         (sincos_test_data): Likewise.
52368         (sinh_test_data): Likewise.
52369         (sinh_tonearest_test_data): Likewise.
52370         (sinh_towardzero_test_data): Likewise.
52371         (sinh_downward_test_data): Likewise.
52372         (sinh_upward_test_data): Likewise.
52373         (sqrt_test_data): Likewise.
52374         (tan_test_data): Likewise.
52375         (tan_tonearest_test_data): Likewise.
52376         (tan_towardzero_test_data): Likewise.
52377         (tan_downward_test_data): Likewise.
52378         (tan_upward_test_data): Likewise.
52379         (tanh_test_data): Likewise.
52380         (tgamma_test_data): Likewise.
52381         (trunc_test_data): Likewise.
52382         (y0_test_data): Likewise.
52383         (y1_test_data): Likewise.
52384         (yn_test_data): Likewise.
52385         (significand_test_data): Likewise.
52387         * math/gen-libm-test.pl (@functions): Remove variable.
52388         (generate_testfile): Don't handle START and END lines.
52389         * math/libm-test.inc (START): New macro.
52390         (END): Likewise.
52391         (END_COMPLEX): Likewise.
52392         (acos_test): Use END macro without arguments.
52393         (acos_test_tonearest): Likewise.
52394         (acos_test_towardzero): Likewise.
52395         (acos_test_downward): Likewise.
52396         (acos_test_upward): Likewise.
52397         (acosh_test): Likewise.
52398         (asin_test): Likewise.
52399         (asin_test_tonearest): Likewise.
52400         (asin_test_towardzero): Likewise.
52401         (asin_test_downward): Likewise.
52402         (asin_test_upward): Likewise.
52403         (asinh_test): Likewise.
52404         (atan_test): Likewise.
52405         (atanh_test): Likewise.
52406         (atan2_test): Likewise.
52407         (cabs_test): Likewise.
52408         (cacos_test): Use END_COMPLEX macro without arguments.
52409         (cacosh_test): Likewise.
52410         (carg_test): Use END macro without arguments.
52411         (casin_test): Use END_COMPLEX macro without arguments.
52412         (casinh_test): Likewise.
52413         (catan_test): Likewise.
52414         (catanh_test): Likewise.
52415         (cbrt_test): Use END macro without arguments.
52416         (ccos_test): Use END_COMPLEX macro without arguments.
52417         (ccosh_test): Likewise.
52418         (ceil_test): Use END macro without arguments.
52419         (cexp_test): Use END_COMPLEX macro without arguments.
52420         (cimag_test): Use END macro without arguments.
52421         (clog_test): Use END_COMPLEX macro without arguments.
52422         (clog10_test): Likewise.
52423         (conj_test): Likewise.
52424         (copysign_test): Use END macro without arguments.
52425         (cos_test): Likewise.
52426         (cos_test_tonearest): Likewise.
52427         (cos_test_towardzero): Likewise.
52428         (cos_test_downward): Likewise.
52429         (cos_test_upward): Likewise.
52430         (cosh_test): Likewise.
52431         (cosh_test_tonearest): Likewise.
52432         (cosh_test_towardzero): Likewise.
52433         (cosh_test_downward): Likewise.
52434         (cosh_test_upward): Likewise.
52435         (cpow_test): Use END_COMPLEX macro without arguments.
52436         (cproj_test): Likewise.
52437         (creal_test): Use END macro without arguments.
52438         (csin_test): Use END_COMPLEX macro without arguments.
52439         (csinh_test): Likewise.
52440         (csqrt_test): Likewise.
52441         (ctan_test): Likewise.
52442         (ctan_test_tonearest): Likewise.
52443         (ctan_test_towardzero): Likewise.
52444         (ctan_test_downward): Likewise.
52445         (ctan_test_upward): Likewise.
52446         (ctanh_test): Likewise.
52447         (ctanh_test_tonearest): Likewise.
52448         (ctanh_test_towardzero): Likewise.
52449         (ctanh_test_downward): Likewise.
52450         (ctanh_test_upward): Likewise.
52451         (erf_test): Use END macro without arguments.
52452         (erfc_test): Likewise.
52453         (exp_test): Likewise.
52454         (exp_test_tonearest): Likewise.
52455         (exp_test_towardzero): Likewise.
52456         (exp_test_downward): Likewise.
52457         (exp_test_upward): Likewise.
52458         (exp10_test): Likewise.
52459         (exp2_test): Likewise.
52460         (expm1_test): Likewise.
52461         (fabs_test): Likewise.
52462         (fdim_test): Likewise.
52463         (finite_test): Likewise.
52464         (floor_test): Likewise.
52465         (fma_test): Likewise.
52466         (fma_test_towardzero): Likewise.
52467         (fma_test_downward): Likewise.
52468         (fma_test_upward): Likewise.
52469         (fmax_test): Likewise.
52470         (fmin_test): Likewise.
52471         (fmod_test): Likewise.
52472         (fpclassify_test): Likewise.
52473         (frexp_test): Likewise.
52474         (gamma_test): Likewise.
52475         (hypot_test): Likewise.
52476         (ilogb_test): Likewise.
52477         (isfinite_test): Likewise.
52478         (isgreater_test): Likewise.
52479         (isgreaterequal_test): Likewise.
52480         (isinf_test): Likewise.
52481         (isless_test): Likewise.
52482         (islessequal_test): Likewise.
52483         (islessgreater_test): Likewise.
52484         (isnan_test): Likewise.
52485         (isnormal_test): Likewise.
52486         (issignaling_test): Likewise.
52487         (isunordered_test): Likewise.
52488         (j0_test): Likewise.
52489         (j1_test): Likewise.
52490         (jn_test): Likewise.
52491         (ldexp_test): Likewise.
52492         (lgamma_test): Likewise.
52493         (lrint_test): Likewise.
52494         (lrint_test_tonearest): Likewise.
52495         (lrint_test_towardzero): Likewise.
52496         (lrint_test_downward): Likewise.
52497         (lrint_test_upward): Likewise.
52498         (llrint_test): Likewise.
52499         (llrint_test_tonearest): Likewise.
52500         (llrint_test_towardzero): Likewise.
52501         (llrint_test_downward): Likewise.
52502         (llrint_test_upward): Likewise.
52503         (log_test): Likewise.
52504         (log10_test): Likewise.
52505         (log1p_test): Likewise.
52506         (log2_test): Likewise.
52507         (logb_test): Likewise.
52508         (logb_test_downward): Likewise.
52509         (lround_test): Likewise.
52510         (llround_test): Likewise.
52511         (modf_test): Likewise.
52512         (nearbyint_test): Likewise.
52513         (nextafter_test): Likewise.
52514         (nexttoward_test): Likewise.
52515         (pow_test): Likewise.
52516         (pow_test_tonearest): Likewise.
52517         (pow_test_towardzero): Likewise.
52518         (pow_test_downward): Likewise.
52519         (pow_test_upward): Likewise.
52520         (remainder_test): Likewise.
52521         (remainder_test_tonearest): Likewise.
52522         (remainder_test_towardzero): Likewise.
52523         (remainder_test_downward): Likewise.
52524         (remainder_test_upward): Likewise.
52525         (remquo_test): Likewise.
52526         (rint_test): Likewise.
52527         (rint_test_tonearest): Likewise.
52528         (rint_test_towardzero): Likewise.
52529         (rint_test_downward): Likewise.
52530         (rint_test_upward): Likewise.
52531         (round_test): Likewise.
52532         (scalb_test): Likewise.
52533         (scalbn_test): Likewise.
52534         (scalbln_test): Likewise.
52535         (signbit_test): Likewise.
52536         (sin_test): Likewise.
52537         (sin_test_tonearest): Likewise.
52538         (sin_test_towardzero): Likewise.
52539         (sin_test_downward): Likewise.
52540         (sin_test_upward): Likewise.
52541         (sincos_test): Likewise.
52542         (sinh_test): Likewise.
52543         (sinh_test_tonearest): Likewise.
52544         (sinh_test_towardzero): Likewise.
52545         (sinh_test_downward): Likewise.
52546         (sinh_test_upward): Likewise.
52547         (sqrt_test): Likewise.
52548         (tan_test): Likewise.
52549         (tan_test_tonearest): Likewise.
52550         (tan_test_towardzero): Likewise.
52551         (tan_test_downward): Likewise.
52552         (tan_test_upward): Likewise.
52553         (tanh_test): Likewise.
52554         (tgamma_test): Likewise.
52555         (trunc_test): Likewise.
52556         (y0_test): Likewise.
52557         (y1_test): Likewise.
52558         (yn_test): Likewise.
52559         (significand_test): Likewise.
52561 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
52563         [BZ #15381]
52564         * libio/genops.c (_IO_no_init): Initialize wide struct info.
52566 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52568         [BZ #14894]
52569         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
52570         __ppc_mdoio and __ppc_mdoom.
52571         * manual/platform.texi: Document new functions __ppc_yield,
52572         __ppc_mdoio and __ppc_mdoom.
52574 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
52576         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
52577         (main): Mention "tls" pseudo-hwcap is legacy.
52578         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
52580 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52582         * math/gen-libm-test.pl (parse_args): Output only string of
52583         arguments as text for test name, not full call or descriptions of
52584         tests for extra outputs.
52585         (generate_testfile): Do not pass function name to parse_args.
52586         Generate this_func variable from START.
52587         * math/libm-test.inc (struct test_f_f_data): Rename test_name
52588         field to arg_str.
52589         (struct test_ff_f_data): Likewise.
52590         (test_ff_f_data_nexttoward): Likewise.
52591         (struct test_fi_f_data): Likewise.
52592         (struct test_fl_f_data): Likewise.
52593         (struct test_if_f_data): Likewise.
52594         (struct test_fff_f_data): Likewise.
52595         (struct test_c_f_data): Likewise.
52596         (struct test_f_f1_data): Likewise.  Remove field extra_name.
52597         (struct test_fF_f1_data): Likewise.
52598         (struct test_ffI_f1_data): Likewise.
52599         (struct test_c_c_data): Rename test_name field to arg_str.
52600         (struct test_cc_c_data): Likewise.
52601         (struct test_f_i_data): Likewise.
52602         (struct test_ff_i_data): Likewise.
52603         (struct test_f_l_data): Likewise.
52604         (struct test_f_L_data): Likewise.
52605         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
52606         and extra2_name.
52607         (COMMON_TEST_SETUP): New macro.
52608         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
52609         (COMMON_TEST_CLEANUP): Likewise.
52610         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
52611         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
52612         macros.
52613         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
52614         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
52615         macros.
52616         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52617         (RUN_TEST_fff_f): Take argument string.  Call new setup and
52618         cleanup macros.
52619         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
52620         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
52621         macros.
52622         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
52623         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
52624         macros.
52625         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52626         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
52627         cleanup macros.
52628         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52629         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
52630         cleanup macros.
52631         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52632         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
52633         cleanup macros.
52634         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52635         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
52636         macros.
52637         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
52638         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
52639         macros.
52640         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
52641         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
52642         macros.
52643         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
52644         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
52645         cleanup macros.
52646         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
52647         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
52648         cleanup macros.
52649         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
52650         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
52651         macros.
52652         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
52653         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
52654         cleanup macros.
52655         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
52656         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
52657         macros.
52658         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
52659         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
52660         macros.
52661         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
52662         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
52663         cleanup macros.
52664         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
52666 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
52668         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
52669         to _sifields.sigfault.
52670         (si_addr_lsb): Define new macro.
52671         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52673         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
52675 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
52677         [BZ #15441]
52678         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
52679         returns -1.
52680         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
52681         null return -1.
52682         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
52683         loading the domain.
52685 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52687         * math/gen-libm-test.pl (parse_args): Do not include expected
52688         result in test name.
52689         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
52690         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52691         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52692         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52693         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52696 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52698         * benchtests/Makefile: Sort function entries.
52700         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
52701         tanh, asinh, acosh, atanh.
52702         * benchtests/acos-inputs: New file.
52703         * benchtests/acosh-inputs: New file.
52704         * benchtests/asin-inputs: New file.
52705         * benchtests/asinh-inputs: New file.
52706         * benchtests/atanh-inputs: New file.
52707         * benchtests/cosh-inputs: New file.
52708         * benchtests/log-inputs: New file.
52709         * benchtests/sinh-inputs: New file.
52710         * benchtests/tanh-inputs: New file.
52712 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
52714         [BZ #15339]
52715         * posix/tst-getaddrinfo4.c: New test.
52716         * posix/Makefile (tests): Add it.
52718 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52720         [BZ #15339]
52721         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
52722         when no services were used.
52723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
52724         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
52726 2013-05-21  Andreas Schwab  <schwab@suse.de>
52728         [BZ #15014]
52729         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
52730         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
52731         successful.
52732         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
52733         redundant variable declarations and reallocation of buffer when
52734         parsing as IPv6 address.  Always set NSS status when called from
52735         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
52736         buffer too small.  Correct computation of needed size.
52737         * nss/Makefile (tests): Add test-digits-dots.
52738         * nss/test-digits-dots.c: New test.
52740 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52742         * benchtests/Makefile: Remove instructions for adding
52743         benchmark tests.
52744         * benchtests/README: New file to explain how to execute and
52745         enhance the benchmark tests.
52747 2013-05-21  Andreas Schwab  <schwab@suse.de>
52749         [BZ #15493]
52750         * setjmp/Makefile (tests): Add tst-sigsetjmp.
52751         * setjmp/tst-sigsetjmp.c: New test.
52753 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52755         * sysdeps/x86_64/memset.S (memset): New implementation.
52756         (__bzero): Likewise.
52757         (__memset_tail): New function.
52759 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52761         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
52762         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
52763         __memcpy_sse2_unaligned ifunc selection.
52764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52765         Add memcpy-sse2-unaligned.S.
52766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52767         Add: __memcpy_sse2_unaligned.
52769 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
52771         [BZ #15490]
52772         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52773         math_force_eval before restoring floating-point envrionment.
52774         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
52775         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
52776         Likewise.
52777         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
52778         <math_private.h>.
52779         (__nearbyintl): Use math_force_eval before restoring
52780         floating-point environment.
52781         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
52783         * math/gen-libm-test.pl (special_functions): Remove.
52784         (parse_args): Don't handle TEST_extra.  Handle functions with no
52785         return value.
52786         * math/libm-test.inc (struct test_sincos_data): Replace with
52787         struct test_fFF_11_data.
52788         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
52789         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
52790         (sincos_test_data): Change element type to struct
52791         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
52792         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
52793         RUN_TEST_LOOP_sincos.
52794         * math/README.libm-test: Don't mention special handling of
52795         individual functions.
52796         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
52797         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52798         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52799         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52800         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52803         * math/gen-libm-test.pl (get_variable): Remove function.
52804         (parse_args): Don't show pointer parameters to call in test
52805         names.  Use "extra output N" in test names for extra outputs
52806         rather than naming variables.
52808 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
52810         [BZ #15488]
52811         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
52812         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
52813         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
52814         double tests.
52815         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
52816         disable.
52817         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
52818         check_long_double.
52820         * math/gen-libm-test.pl (@tests): Remove variable.
52821         ($count): Likewise.
52822         (new_test): Remove function.
52823         (show_exceptions): New function.
52824         (special_functions): Use show_exceptions instead of new_test.
52825         (parse_args): Likewise.
52826         (generate_testfile): Pass only function name in generated call to
52827         print_max_error or print_complex_max_error.
52828         (get_ulps): Do not handle complex tests specially.
52829         (output_test): Rename to ...
52830         (get_all_ulps_for_test): ... this.  Return a string rather than
52831         printing to a file.  Require ulps to be present.
52832         (output_ulps): Generate arrays rather than #defines.
52833         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
52834         (struct ulp_data): New type.
52835         (BUILD_COMPLEX_ULP): Remove macro.
52836         (compare_ulp_data): New function.
52837         (find_ulps): Likewise.
52838         (find_test_ulps): Likewise.
52839         (find_function_ulps): Likewise.
52840         (find_complex_function_ulps): Likewise.
52841         (print_max_error): Determine allowed ulps using
52842         find_function_ulps.
52843         (print_complex_max_error): Determine allowed ulps using
52844         find_complex_function_ulps.
52845         (check_float_internal): Determine max ulps using find_test_ulps.
52846         (check_float): Do not take max_ulp parameter.  Update call to
52847         check_float_internal.
52848         (check_complex): Likewise.
52849         (check_int): Do not take max_ulp parameter.
52850         (check_long): Likewise.
52851         (check_bool): Likewise.
52852         (check_longlong): Likewise.
52853         (struct test_f_f_data): Remove max_ulp field.
52854         (struct test_ff_f_data): Likewise.
52855         (struct test_ff_f_data_nexttoward): Likewise.
52856         (struct test_fi_f_data): Likewise.
52857         (struct test_fl_f_data): Likewise.
52858         (struct test_if_f_data): Likewise.
52859         (struct test_fff_f_data): Likewise.
52860         (struct test_c_f_data): Likewise.
52861         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
52862         (struct test_fF_f1_data): Likewise.
52863         (struct test_ffI_f1_data): Likewise.
52864         (struct test_c_c_data): Remove max_ulp field.
52865         (struct test_cc_c_data): Likewise.
52866         (struct test_f_i_data): Likewise.
52867         (struct test_ff_i_data): Likewise.
52868         (struct test_f_l_data): Likewise.
52869         (struct test_f_L_data): Likewise.
52870         (struct test_sincos_data): Likewise.
52871         (RUN_TEST_f_f): Do not handle ulps.
52872         (RUN_TEST_LOOP_f_f): Likewise.
52873         (RUN_TEST_2_f): Likewise.
52874         (RUN_TEST_LOOP_2_f): Likewise.
52875         (RUN_TEST_fff_f): Likewise.
52876         (RUN_TEST_LOOP_fff_f): Likewise.
52877         (RUN_TEST_c_f): Likewise.
52878         (RUN_TEST_LOOP_c_f): Likewise.
52879         (RUN_TEST_f_f1): Likewise.
52880         (RUN_TEST_LOOP_f_f1): Likewise.
52881         (RUN_TEST_fF_f1): Likewise.
52882         (RUN_TEST_LOOP_fF_f1): Likewise.
52883         (RUN_TEST_fI_f1): Likewise.
52884         (RUN_TEST_LOOP_fI_f1): Likewise.
52885         (RUN_TEST_ffI_f1): Likewise.
52886         (RUN_TEST_LOOP_ffI_f1): Likewise.
52887         (RUN_TEST_c_c): Likewise.
52888         (RUN_TEST_LOOP_c_c): Likewise.
52889         (RUN_TEST_cc_c): Likewise.
52890         (RUN_TEST_LOOP_cc_c): Likewise.
52891         (RUN_TEST_f_i): Likewise.
52892         (RUN_TEST_LOOP_f_i): Likewise.
52893         (RUN_TEST_f_i_tg): Likewise.
52894         (RUN_TEST_LOOP_f_i_tg): Likewise.
52895         (RUN_TEST_ff_i_tg): Likewise.
52896         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52897         (RUN_TEST_f_b): Likewise.
52898         (RUN_TEST_LOOP_f_b): Likewise.
52899         (RUN_TEST_f_b_tg): Likewise.
52900         (RUN_TEST_LOOP_f_b_tg): Likewise.
52901         (RUN_TEST_f_l): Likewise.
52902         (RUN_TEST_LOOP_f_l): Likewise.
52903         (RUN_TEST_f_L): Likewise.
52904         (RUN_TEST_LOOP_f_L): Likewise.
52905         (RUN_TEST_sincos): Likewise.
52906         (RUN_TEST_LOOP_sincos): Likewise.
52908 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52910         [BZ #15480]
52911         [BZ #15485]
52912         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52913         main case of finite arguments, set rounding mode to FE_TONEAREST
52914         and discard exceptions.
52915         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52916         exceptions.
52917         (remainder_tonearest_test_data): New variable.
52918         (remainder_test_tonearest): New function.
52919         (remainder_towardzero_test_data): New variable.
52920         (remainder_test_towardzero): New function.
52921         (remainder_downward_test_data): New variable.
52922         (remainder_test_downward): New function.
52923         (remainder_upward_test_data): New variable.
52924         (remainder_test_upward): New function.
52925         (main): Call the new test functions.
52927         * math/libm-test.inc (struct test_f_f1_data): Remove field
52928         extra_init.
52929         (struct test_fF_f1_data): Likewise.
52930         (struct test_ffI_f1_data): Likewise.
52931         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52932         based on value of EXTRA_EXPECTED.
52933         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52934         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52935         EXTRA_VAR based on value of EXTRA_EXPECTED.
52936         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52937         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52938         EXTRA_VAR based on value of EXTRA_EXPECTED.
52939         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52940         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52941         EXTRA_VAR based on value of EXTRA_EXPECTED.
52942         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52943         * math/gen-libm-test.pl (parse_args): Don't output initializers
52944         for extra output values.
52946         * math/libm-test.inc (check_int): Expect result to be exactly
52947         equal to expected value and do not handle ulps.
52948         (check_long): Likewise.
52949         (check_longlong): Likewise.
52951         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52952         exceptions.
52953         (cimag_test_data): Likewise.
52954         (conj_test_data): Likewise.
52955         (copysign_test_data): Likewise.
52956         (cproj_test_data): Likewise.
52957         (creal_test_data): Likewise.
52958         (fabs_test_data): Likewise.
52959         (fdim_test_data): Likewise.
52960         (finite_test_data): Likewise.
52961         (floor_test_data): Likewise.
52962         (fmax_test_data): Likewise.
52963         (fmin_test_data): Likewise.
52964         (fmod_test_data): Likewise.
52965         (fpclassify_test_data): Likewise.
52966         (frexp_test_data): Likewise.
52967         (ilogb_test_data): Likewise.
52968         (isfinite_test_data): Likewise.
52969         (isgreater_test_data): Likewise.
52970         (isgreaterequal_test_data): Likewise.
52971         (isinf_test_data): Likewise.
52972         (isless_test_data): Likewise.
52973         (islessequal_test_data): Likewise.
52974         (islessgreater_test_data): Likewise.
52975         (isnan_test_data): Likewise.
52976         (isnormal_test_data): Likewise.
52977         (issignaling_test_data): Likewise.
52978         (isunordered_test_data): Likewise.
52979         (ldexp_test_data): Likewise.
52980         (lrint_test_data): Likewise.
52981         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52982         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52983         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52984         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52985         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52986         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52987         test input.
52988         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52989         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52990         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52991         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52992         that test input.
52993         (lrint_downward_test_data): Test for "inexact" exceptions.
52994         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52995         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52996         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52997         test input.
52998         (lrint_upward_test_data): Test for "inexact" exceptions.
52999         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53000         test input.
53001         (llrint_test_data): Test for "inexact" exceptions.
53002         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53003         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53004         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53005         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53006         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53007         (llrint_downward_test_data): Test for "inexact" exceptions.
53008         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53009         (llrint_upward_test_data): Test for "inexact" exceptions.
53010         (logb_test_data): Likewise.
53011         (logb_downward_test_data): Likewise.
53012         (nextafter_test_data): Likewise.
53013         (nexttoward_test_data): Likewise.
53014         (remainder_test_data): Likewise.
53015         (remquo_test_data): Likewise.
53016         (scalbn_test_data): Likewise.
53017         (scalbln_test_data): Likewise.
53018         (signbit_test_data): Likewise.
53019         (sqrt_test_data): Likewise.
53020         (significand_test_data): Likewise.
53022 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53024         [BZ #15424]
53025         * benchtests/bench-modf.c (struct args): Mark arg0 as
53026         volatile.
53027         * scripts/bench.pl: Mark members of struct args as volatile.
53029 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53031         [BZ # 15497]
53032         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53033         negative infinity on POWER6 or lower.
53034         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53036 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53038         [BZ #15442]
53039         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53040         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53041         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53042         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53043         (_FP_SETQNAN): New macro.
53044         (_FP_SETQNAN_SEMIRAW): Likewise.
53045         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53046         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53047         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53048         (FP_EXTEND): Use _FP_FRAC_SNANP.
53049         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53050         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53051         into account.
53052         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53053         New macro.
53054         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53055         Likewise.
53057 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53059         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53060         with DIVIDE_BY_ZERO_EXCEPTION.
53061         (gamma_test_data): Likewise.
53062         (lgamma_test_data): Likewise.
53063         (log_test_data): Likewise.
53064         (log10_test_data): Likewise.
53065         (log2_test_data): Likewise.
53066         (tgamma_test_data): Likewise.
53068         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53069         (acos_test_tonearest): Likewise.
53070         (acos_test_towardzero): Likewise.
53071         (acos_test_downward): Likewise.
53072         (acos_test_upward): Likewise.
53073         (acosh_test): Likewise.
53074         (asin_test): Likewise.
53075         (asin_test_tonearest): Likewise.
53076         (asin_test_towardzero): Likewise.
53077         (asin_test_downward): Likewise.
53078         (asin_test_upward): Likewise.
53079         (asinh_test): Likewise.
53080         (atan_test): Likewise.
53081         (atanh_test): Likewise.
53082         (atan2_test): Likewise.
53083         (cabs_test): Likewise.
53084         (cacos_test): Likewise.
53085         (cacosh_test): Likewise.
53086         (casin_test): Likewise.
53087         (casinh_test): Likewise.
53088         (catan_test): Likewise.
53089         (catanh_test): Likewise.
53090         (cbrt_test): Likewise.
53091         (ccos_test): Likewise.
53092         (ccosh_test): Likewise.
53093         (cexp_test): Likewise.
53094         (clog_test): Likewise.
53095         (clog10_test): Likewise.
53096         (cos_test): Likewise.
53097         (cos_test_tonearest): Likewise.
53098         (cos_test_towardzero): Likewise.
53099         (cos_test_downward): Likewise.
53100         (cos_test_upward): Likewise.
53101         (cosh_test): Likewise.
53102         (cosh_test_tonearest): Likewise.
53103         (cosh_test_towardzero): Likewise.
53104         (cosh_test_downward): Likewise.
53105         (cosh_test_upward): Likewise.
53106         (cpow_test): Likewise.
53107         (csin_test): Likewise.
53108         (csinh_test): Likewise.
53109         (csqrt_test): Likewise.
53110         (ctan_test): Likewise.
53111         (ctan_test_tonearest): Likewise.
53112         (ctan_test_towardzero): Likewise.
53113         (ctan_test_downward): Likewise.
53114         (ctan_test_upward): Likewise.
53115         (ctanh_test): Likewise.
53116         (ctanh_test_tonearest): Likewise.
53117         (ctanh_test_towardzero): Likewise.
53118         (ctanh_test_downward): Likewise.
53119         (ctanh_test_upward): Likewise.
53120         (erf_test): Likewise.
53121         (erfc_test): Likewise.
53122         (exp_test): Likewise.
53123         (exp_test_tonearest): Likewise.
53124         (exp_test_towardzero): Likewise.
53125         (exp_test_downward): Likewise.
53126         (exp_test_upward): Likewise.
53127         (exp10_test): Likewise.
53128         (exp2_test): Likewise.
53129         (expm1_test): Likewise.
53130         (fmod_test): Likewise.
53131         (gamma_test): Likewise.
53132         (hypot_test): Likewise.
53133         (j0_test): Likewise.
53134         (j1_test): Likewise.
53135         (jn_test): Likewise.
53136         (lgamma_test): Likewise.
53137         (log_test): Likewise.
53138         (log10_test): Likewise.
53139         (log1p_test): Likewise.
53140         (log2_test): Likewise.
53141         (logb_test_downward): Likewise.
53142         (pow_test): Likewise.
53143         (pow_test_tonearest): Likewise.
53144         (pow_test_towardzero): Likewise.
53145         (pow_test_downward): Likewise.
53146         (pow_test_upward): Likewise.
53147         (remainder_test): Likewise.
53148         (remquo_test): Likewise.
53149         (sin_test): Likewise.
53150         (sin_test_tonearest): Likewise.
53151         (sin_test_towardzero): Likewise.
53152         (sin_test_downward): Likewise.
53153         (sin_test_upward): Likewise.
53154         (sincos_test): Likewise.
53155         (sinh_test): Likewise.
53156         (sinh_test_tonearest): Likewise.
53157         (sinh_test_towardzero): Likewise.
53158         (sinh_test_downward): Likewise.
53159         (sinh_test_upward): Likewise.
53160         (sqrt_test): Likewise.
53161         (tan_test): Likewise.
53162         (tan_test_tonearest): Likewise.
53163         (tan_test_towardzero): Likewise.
53164         (tan_test_downward): Likewise.
53165         (tan_test_upward): Likewise.
53166         (tanh_test): Likewise.
53167         (tgamma_test): Likewise.
53168         (y0_test): Likewise.
53169         (y1_test): Likewise.
53170         (yn_test): Likewise.
53172         * math/gen-libm-test.pl (adjust_arg): Remove function.
53173         (special_function): Remove argument $in_func.  Only handle
53174         generating output for tables of tests, not inside functions.
53175         (parse_args): Likewise.
53176         (generate_testfile): Remove variable $in_func.  Update call to
53177         parse_args.
53178         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53179         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53180         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53181         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53182         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53183         (MAX_VALUE_INIT): Rename macro to max_value.
53184         (MIN_VALUE_INIT): Rename macro to min_value.
53185         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53186         (plus_zero): Remove variable.
53187         (minus_zero): Likewise.
53188         (plus_infty): Likewise.
53189         (minus_infty): Likewise.
53190         (qnan_value): Likewise.
53191         (max_value): Likewise.
53192         (min_value): Likewise.
53193         (min_subnorm_value): Likewise.
53195 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53197         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53198         uint64_t or uint32_t usage.
53199         * crypt/sha256-block.c: Likewise.
53200         * crypt/sha256-crypt.c: Likewise.
53201         * crypt/sha256.c: Likewise.
53202         * crypt/sha512-block.c: Likewise.
53203         * crypt/sha512-crypt.c: Likewise.
53204         * crypt/sha512.c: Likewise.
53205         * debug/backtrace-tst.c: Likewise.
53206         * debug/pcprofiledump.c: Likewise.
53207         * elf/cache.c: Likewise.
53208         * elf/dl-cache.c: Likewise.
53209         * elf/dl-misc.c: Likewise.
53210         * elf/dl-profile.c: Likewise.
53211         * elf/dl-support.c: Likewise.
53212         * elf/ldconfig.c: Likewise.
53213         * elf/sprof.c: Likewise.
53214         * iconv/dummy-repertoire.c: Likewise.
53215         * iconv/iconv_charmap.c: Likewise.
53216         * iconv/skeleton.c: Likewise.
53217         * iconvdata/8bit-generic.c: Likewise.
53218         * iconvdata/cp737.h: Likewise.
53219         * iconvdata/cp775.h: Likewise.
53220         * iconvdata/ibm1008.h: Likewise.
53221         * iconvdata/ibm1025.h: Likewise.
53222         * iconvdata/ibm1046.h: Likewise.
53223         * iconvdata/ibm1097.h: Likewise.
53224         * iconvdata/ibm1112.h: Likewise.
53225         * iconvdata/ibm1122.h: Likewise.
53226         * iconvdata/ibm1123.h: Likewise.
53227         * iconvdata/ibm1124.h: Likewise.
53228         * iconvdata/ibm1129.h: Likewise.
53229         * iconvdata/ibm1130.h: Likewise.
53230         * iconvdata/ibm1132.h: Likewise.
53231         * iconvdata/ibm1133.h: Likewise.
53232         * iconvdata/ibm1137.h: Likewise.
53233         * iconvdata/ibm1140.h: Likewise.
53234         * iconvdata/ibm1141.h: Likewise.
53235         * iconvdata/ibm1142.h: Likewise.
53236         * iconvdata/ibm1143.h: Likewise.
53237         * iconvdata/ibm1144.h: Likewise.
53238         * iconvdata/ibm1145.h: Likewise.
53239         * iconvdata/ibm1146.h: Likewise.
53240         * iconvdata/ibm1147.h: Likewise.
53241         * iconvdata/ibm1148.h: Likewise.
53242         * iconvdata/ibm1149.h: Likewise.
53243         * iconvdata/ibm1153.h: Likewise.
53244         * iconvdata/ibm1154.h: Likewise.
53245         * iconvdata/ibm1155.h: Likewise.
53246         * iconvdata/ibm1156.h: Likewise.
53247         * iconvdata/ibm1157.h: Likewise.
53248         * iconvdata/ibm1158.h: Likewise.
53249         * iconvdata/ibm1160.h: Likewise.
53250         * iconvdata/ibm1161.h: Likewise.
53251         * iconvdata/ibm1162.h: Likewise.
53252         * iconvdata/ibm1163.h: Likewise.
53253         * iconvdata/ibm1164.h: Likewise.
53254         * iconvdata/ibm1166.h: Likewise.
53255         * iconvdata/ibm1167.h: Likewise.
53256         * iconvdata/ibm12712.h: Likewise.
53257         * iconvdata/ibm1390.h: Likewise.
53258         * iconvdata/ibm1399.h: Likewise.
53259         * iconvdata/ibm16804.h: Likewise.
53260         * iconvdata/ibm4517.h: Likewise.
53261         * iconvdata/ibm4899.h: Likewise.
53262         * iconvdata/ibm4909.h: Likewise.
53263         * iconvdata/ibm4971.h: Likewise.
53264         * iconvdata/ibm5347.h: Likewise.
53265         * iconvdata/ibm803.h: Likewise.
53266         * iconvdata/ibm856.h: Likewise.
53267         * iconvdata/ibm901.h: Likewise.
53268         * iconvdata/ibm902.h: Likewise.
53269         * iconvdata/ibm9030.h: Likewise.
53270         * iconvdata/ibm9066.h: Likewise.
53271         * iconvdata/ibm921.h: Likewise.
53272         * iconvdata/ibm922.h: Likewise.
53273         * iconvdata/ibm9448.h: Likewise.
53274         * iconvdata/isiri-3342.h: Likewise.
53275         * iconvdata/jis0201.h: Likewise.
53276         * include/link.h: Likewise.
53277         * include/netdb.h: Likewise.
53278         * inet/check_native.c: Likewise.
53279         * inet/check_pf.c: Likewise.
53280         * inet/getipv4sourcefilter.c: Likewise.
53281         * inet/getnameinfo.c: Likewise.
53282         * inet/getsourcefilter.c: Likewise.
53283         * inet/htonl.c: Likewise.
53284         * inet/setipv4sourcefilter.c: Likewise.
53285         * inet/setsourcefilter.c: Likewise.
53286         * inet/test-inet6_opt.c: Likewise.
53287         * inet/tst-network.c: Likewise.
53288         * locale/C-collate.c: Likewise.
53289         * locale/C-ctype.c: Likewise.
53290         * locale/C-time.c: Likewise.
53291         * locale/C-translit.h: Likewise.
53292         * locale/loadarchive.c: Likewise.
53293         * locale/programs/3level.h: Likewise.
53294         * locale/programs/charmap.c: Likewise.
53295         * locale/programs/charmap.h: Likewise.
53296         * locale/programs/ld-address.c: Likewise.
53297         * locale/programs/ld-collate.c: Likewise.
53298         * locale/programs/ld-ctype.c: Likewise.
53299         * locale/programs/ld-identification.c: Likewise.
53300         * locale/programs/ld-measurement.c: Likewise.
53301         * locale/programs/ld-messages.c: Likewise.
53302         * locale/programs/ld-monetary.c: Likewise.
53303         * locale/programs/ld-name.c: Likewise.
53304         * locale/programs/ld-numeric.c: Likewise.
53305         * locale/programs/ld-paper.c: Likewise.
53306         * locale/programs/ld-telephone.c: Likewise.
53307         * locale/programs/ld-time.c: Likewise.
53308         * locale/programs/linereader.c: Likewise.
53309         * locale/programs/locale.c: Likewise.
53310         * locale/programs/locarchive.c: Likewise.
53311         * locale/programs/locfile.h: Likewise.
53312         * locale/programs/repertoire.c: Likewise.
53313         * locale/programs/simple-hash.c: Likewise.
53314         * locale/programs/simple-hash.h: Likewise.
53315         * malloc/memusage.c: Likewise.
53316         * malloc/memusagestat.c: Likewise.
53317         * nis/nis_defaults.c: Likewise.
53318         * nis/nis_hash.c: Likewise.
53319         * nis/nis_print.c: Likewise.
53320         * nis/nis_xdr.c: Likewise.
53321         * nscd/connections.c: Likewise.
53322         * nscd/hstcache.c: Likewise.
53323         * nscd/nscd_gethst_r.c: Likewise.
53324         * nscd/nscd_getserv_r.c: Likewise.
53325         * nscd/nscd_helper.c: Likewise.
53326         * nscd/servicescache.c: Likewise.
53327         * nss/makedb.c: Likewise.
53328         * nss/nss_db/db-XXX.c: Likewise.
53329         * nss/nss_db/db-initgroups.c: Likewise.
53330         * nss/nss_db/db-netgrp.c: Likewise.
53331         * nss/nss_files/files-network.c: Likewise.
53332         * nss/nss_files/files-parse.c: Likewise.
53333         * posix/bug-regex5.c: Likewise.
53334         * posix/fnmatch_loop.c: Likewise.
53335         * posix/regcomp.c: Likewise.
53336         * posix/regexec.c: Likewise.
53337         * posix/tst-rfc3484-2.c: Likewise.
53338         * posix/tst-rfc3484-3.c: Likewise.
53339         * posix/tst-rfc3484.c: Likewise.
53340         * resolv/nss_dns/dns-canon.c: Likewise.
53341         * resolv/nss_dns/dns-network.c: Likewise.
53342         * resolv/res_init.c: Likewise.
53343         * resolv/res_mkquery.c: Likewise.
53344         * resolv/tst-aton.c: Likewise.
53345         * stdlib/cxa_atexit.c: Likewise.
53346         * stdlib/cxa_finalize.c: Likewise.
53347         * stdlib/gen-fpioconst.c: Likewise.
53348         * stdlib/strtol_l.c: Likewise.
53349         * string/tst-endian.c: Likewise.
53350         * sunrpc/auth_des.c: Likewise.
53351         * sunrpc/clnt_udp.c: Likewise.
53352         * sunrpc/rtime.c: Likewise.
53353         * sunrpc/svcauth_des.c: Likewise.
53354         * sunrpc/xdr.c: Likewise.
53355         * sunrpc/xdr_intXX_t.c: Likewise.
53356         * sunrpc/xdr_rec.c: Likewise.
53357         * sysdeps/generic/ldconfig.h: Likewise.
53358         * sysdeps/generic/ldsodefs.h: Likewise.
53359         * sysdeps/generic/memusage.h: Likewise.
53360         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53361         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
53362         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
53363         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53364         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53365         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53366         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53367         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53368         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53369         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53370         * sysdeps/posix/getaddrinfo.c: Likewise.
53371         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53372         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53373         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53374         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53375         * sysdeps/powerpc/test-gettimebase.c: Likewise.
53376         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
53377         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
53378         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
53379         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
53380         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
53381         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53382         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53383         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
53384         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
53385         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
53386         * sysdeps/x86_64/dl-tls.h: Likewise.
53387         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
53388         * time/alt_digit.c: Likewise.
53389         * time/era.c: Likewise.
53390         * wcsmbs/tst-c16c32-1.c: Likewise.
53392 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53394         * math/libm-test.inc (struct test_sincos_data): New type.
53395         (RUN_TEST_LOOP_sincos): New macro.
53396         (sincos_test_data): New variable.
53397         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
53399 2013-05-16  Richard Henderson  <rth@redhat.com>
53401         * math/atest-exp2.c (LIMB64): New macro.
53402         (CONSTSZ): New macro.
53403         (mp_exp1, mp_exp_m1, mp_log2): New variables.
53404         (hexdig): Move ...
53405         (print_mpn_fp): ... to function scope.
53406         (read_mpn_hex): Remove.
53407         (get_log2): Remove.
53408         (exp2_mpn): Use mp_log2.
53409         (main): Use mp_exp1.
53411 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53413         * math/libm-test.inc: Remove comment about not testing "inexact"
53414         exceptions.
53415         (INEXACT_EXCEPTION): New macro.
53416         (NO_INEXACT_EXCEPTION): Likewise.
53417         (INVALID_EXCEPTION_OK): Update value.
53418         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53419         (OVERFLOW_EXCEPTION_OK): Likewise.
53420         (UNDERFLOW_EXCEPTION_OK): Likewise.
53421         (IGNORE_ZERO_INF_SIGN): Likewise.
53422         (ERRNO_UNCHANGED): Likewise.
53423         (ERRNO_EDOM): Likewise.
53424         (ERRNO_ERANGE): Likewise.
53425         (test_exceptions): Handle testing "inexact" exceptions.
53426         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53427         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53428         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53429         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53430         INEXACT_EXCEPTION.
53431         (rint_towardzero_test_data): Likewise.
53432         (rint_downward_test_data): Likewise.
53433         (rint_upward_test_data): Likewise.
53435         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53436         with OVERFLOW_EXCEPTION.
53437         (exp10_test_data): Likewise.
53438         (exp2_test_data): Likewise.
53439         (expm1_test_data): Likewise.
53440         (lgamma_test_data): Likewise.
53441         (pow_test_data): Likewise.
53442         (tgamma_test_data): Likewise.
53443         (yn_test_data): Remove duplicate test of overflow.
53445         * math/libm-test.inc (struct test_cc_c_data): New type.
53446         (RUN_TEST_LOOP_cc_c): New macro.
53447         (cpow_test_data): New variable.
53448         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53450         * math/libm-test.inc (struct test_f_L_data): New type.
53451         (RUN_TEST_LOOP_f_L): New macro.
53452         (llrint_test_data): New variable.
53453         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53454         (llrint_tonearest_test_data): New variable.
53455         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53456         (llrint_towardzero_test_data): New variable.
53457         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53458         (llrint_downward_test_data): New variable.
53459         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53460         (llrint_upward_test_data): New variable.
53461         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53462         (llround_test_data): New variable.
53463         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53465 2013-05-13  Peter Collingbourne  <pcc@google.com>
53467         * math/atest-exp2.c (get_log2): Remove const attribute.
53469 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53471         * math/libm-test.inc (struct test_f_l_data): New type.
53472         (RUN_TEST_LOOP_f_l): New macro.
53473         (lrint_test_data): New variable.
53474         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53475         (lrint_tonearest_test_data): New variable.
53476         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53477         (lrint_towardzero_test_data): New variable.
53478         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53479         (lrint_downward_test_data): New variable.
53480         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53481         (lrint_upward_test_data): New variable.
53482         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53483         (lround_test_data): New variable.
53484         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53486 2013-05-15  Peter Collingbourne  <pcc@google.com>
53488         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53489         (EXTRACT_WORDS64) Use where appropriate.
53490         (INSERT_WORDS64) Likewise.
53492         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53493         constraints with x constraints.
53494         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53496         * malloc/obstack.c (_obstack_compat): Add initializer.
53498 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53500         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53501         si_trapno and add si_addr_lsb to _sifields.sigfault.
53502         (si_trapno): Remove macro.
53503         (si_addr_lsb): Define new macro.
53504         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53506 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53508         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53509         instead of TEST_f_l.
53510         (llrint_test_tonearest): Likewise.
53511         (llrint_test_towardzero): Likewise.
53512         (llrint_test_downward): Likewise.
53513         (llrint_test_upward): Likewise.
53514         (llround_test): Likewise.
53516         * math/libm-test.inc (struct test_f_i_data): Add comment.
53517         (RUN_TEST_LOOP_f_b): New macro.
53518         (RUN_TEST_LOOP_f_b_tg): Likewise.
53519         (finite_test_data): New variable.
53520         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
53521         (isfinite_test_data): New variable.
53522         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53523         (isinf_test_data): New variable.
53524         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53525         (isnan_test_data): New variable.
53526         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53527         (isnormal_test_data): New variable.
53528         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53529         (issignaling_test_data): New variable.
53530         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53531         (signbit_test_data): New variable.
53532         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53534         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
53535         with INVALID_EXCEPTION.
53536         (acosh_test_data): Likewise.
53537         (asin_test_data): Likewise.
53538         (atanh_test_data): Likewise.
53539         (fmod_test_data): Likewise.
53540         (log_test_data): Likewise.
53541         (log10_test_data): Likewise.
53542         (log2_test_data): Likewise.
53543         (pow_test_data): Likewise.
53544         (sqrt_test_data): Likewise.
53545         (y0_test_data): Likewise.
53546         (y1_test_data): Likewise.
53547         (yn_test_data): Likewise.
53549         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
53550         function contents.
53552         * math/libm-test.inc (struct test_ff_i_data): New type.
53553         (RUN_TEST_LOOP_ff_i_tg): New macro.
53554         (isgreater_test_data): New variable.
53555         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53556         (isgreaterequal_test_data): New variable.
53557         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53558         (isless_test_data): New variable.
53559         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53560         (islessequal_test_data): New variable.
53561         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53562         (islessgreater_test_data): New variable.
53563         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53564         (isunordered_test_data): New variable.
53565         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53567 2013-05-14  David S. Miller  <davem@davemloft.net>
53569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53571 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
53573         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
53575         * math/libm-test.inc (struct test_fF_f1_data): Change type of
53576         extra_test to int.
53577         (struct test_f_i_data): Change type of max_ulp to int.
53579         * math/libm-test.inc (test_ffI_f1_data): New type.
53580         (RUN_TEST_LOOP_ffI_f1): New macro.
53581         (remquo_test_data): New variable.
53582         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
53584         * setjmp/tst-setjmp-fp.c: New file.
53585         * setjmp/Makefile (tests): Add tst-setjmp-fp.
53586         (link-libm): New variable.
53587         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
53589         * math/libm-test.inc (struct test_f_i_data): New type.
53590         (RUN_TEST_LOOP_f_i): New macro.
53591         (RUN_TEST_LOOP_f_i_tg): Likewise.
53592         (fpclassify_test_data): New variable.
53593         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
53594         (ilogb_test_data): New variable.
53595         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
53597         * math/libm-test.inc (scalbln_test): Correct function name in END
53598         call.
53600         * math/libm-test.inc (struct test_f_f1_data): Add comment.
53601         (RUN_TEST_LOOP_fI_f1): New macro.
53602         (frexp_test_data): New variable.
53603         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
53605         * math/libm-test.inc (struct test_fF_f1_data): New type.
53606         (RUN_TEST_LOOP_fF_f1): New macro.
53607         (modf_test_data): New variable.
53608         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
53610         * math/libm-test.inc (struct test_f_f1_data): New type.
53611         (RUN_TEST_LOOP_f_f1): New macro.
53612         (gamma_test_data): New variable.
53613         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53614         (lgamma_test_data): New variable.
53615         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53617 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
53619         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
53620         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
53621         (main): Comment "tls" pseudo-hwcap.
53623 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
53625         * math/libm-test.inc (struct test_fl_f_data): New type.
53626         (RUN_TEST_LOOP_fl_f): New variable.
53627         (scalbln_test_data): New variable.
53628         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
53630         * math/libm-test.inc (struct test_fi_f_data): New type.
53631         (RUN_TEST_LOOP_fi_f): New macro.
53632         (ldexp_test_data): New variable.
53633         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
53634         (scalbn_test_data): New variable.
53635         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
53637         * math/libm-test.inc (struct test_c_f_data): New type.
53638         (RUN_TEST_LOOP_c_f): New macro.
53639         (cabs_test_data): New variable.
53640         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
53641         (carg_test_data): New variable.
53642         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
53643         (cimag_test_data): New variable.
53644         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
53645         (creal_test_data): New variable.
53646         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
53648         * math/libm-test.inc (struct test_if_f_data): New type.
53649         (RUN_TEST_LOOP_if_f): New macro.
53650         (jn_test_data): New variable.
53651         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
53652         (yn_test_data): New variable.
53653         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
53655         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
53657 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53659         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
53660         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
53662 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53664         * benchtests/Makefile (CPPFLAGS-nonlib): Add
53665         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
53666         (bench-deps): Add bench-timing.h.
53667         * benchtests-bench-skeleton.c: Include bench-timing.h.
53668         (main): Use TIMING_* macros instead of clock_gettime.
53669         * benchtests/bench-timing.h: New file.
53671         [BZ #14582]
53672         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
53673         Renamed from _LIB_VERSION.
53674         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
53676 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
53678         * math/libm-test.inc (struct test_fff_f_data): New type.
53679         (RUN_TEST_LOOP_fff_f): New macro.
53680         (fma_test_data): New variable.
53681         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
53682         (fma_towardzero_test_data): New variable.
53683         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
53684         (fma_downward_test_data): New variable.
53685         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
53686         (fma_upward_test_data): New variable.
53687         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
53689         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
53690         (struct test_c_c_data): New type.
53691         (RUN_TEST_LOOP_c_c): New macro.
53692         (cacos_test_data): New variable.
53693         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
53694         (cacosh_test_data): New variable.
53695         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
53696         (casin_test_data): New variable.
53697         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
53698         (casinh_test_data): New variable.
53699         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
53700         (catan_test_data): New variable.
53701         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
53702         (catanh_test_data): New variable.
53703         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
53704         (ccos_test_data): New variable.
53705         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
53706         (ccosh_test_data): New variable.
53707         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
53708         (cexp_test_data): New variable.
53709         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
53710         (clog_test_data): New variable.
53711         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
53712         (clog10_test_data): New variable.
53713         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
53714         (conj_test_data): New variable.
53715         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
53716         (cproj_test_data): New variable.
53717         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
53718         (csin_test_data): New variable.
53719         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
53720         (csinh_test_data): New variable.
53721         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
53722         (csqrt_test_data): New variable.
53723         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
53724         (ctan_test_data): New variable.
53725         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
53726         (ctan_tonearest_test_data): New variable.
53727         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53728         (ctan_towardzero_test_data): New variable.
53729         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53730         (ctan_downward_test_data): New variable.
53731         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53732         (ctan_upward_test_data): New variable.
53733         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53734         (ctanh_test_data): New variable.
53735         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
53736         (ctanh_tonearest_test_data): New variable.
53737         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53738         (ctanh_towardzero_test_data): New variable.
53739         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53740         (ctanh_downward_test_data): New variable.
53741         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53742         (ctanh_upward_test_data): New variable.
53743         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53744         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
53745         of BUILD_COMPLEX.
53747         * math/libm-test.inc (struct test_ff_f_data): New type.
53748         (struct test_ff_f_data_nexttoward): Likewise.
53749         (RUN_TEST_LOOP_2_f): New macro.
53750         (RUN_TEST_LOOP_ff_f): Likewise.
53751         (atan2_test_data): New variable.
53752         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
53753         (copysign_test_data): New variable.
53754         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
53755         (fdim_test_data): New variable.
53756         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
53757         (fmax_test_data): New variable.
53758         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
53759         (fmin_test_data): New variable.
53760         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
53761         (fmod_test_data): New variable.
53762         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
53763         (hypot_test_data): New variable.
53764         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
53765         (nextafter_test_data): New variable.
53766         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
53767         (nexttoward_test_data): New variable.
53768         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
53769         (pow_test_data): New variable.
53770         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
53771         (pow_tonearest_test_data): New variable.
53772         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
53773         (pow_towardzero_test_data): New variable.
53774         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
53775         (pow_downward_test_data): New variable.
53776         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
53777         (pow_upward_test_data): New variable.
53778         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
53779         (remainder_test_data): New variable.
53780         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
53781         (scalb_test_data): New variable.
53782         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
53783         * sysdeps/i386/fpu/libm-test-ulps: Update.
53785 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
53787         * math/libm-test.inc (fma_test): Use max_value instead of local
53788         variable fltmax.
53789         (nextafter_test): Likewise.
53791         * math/libm-test.inc (acos_towardzero_test_data): New variable.
53792         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53793         (acos_downward_test_data): New variable.
53794         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53795         (acos_upward_test_data): New variable.
53796         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53797         (acosh_test_data): New variable.
53798         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
53799         (asin_test_data): New variable.
53800         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
53801         (asin_tonearest_test_data): New variable.
53802         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53803         (asin_towardzero_test_data): New variable.
53804         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53805         (asin_downward_test_data): New variable.
53806         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53807         (asin_upward_test_data): New variable.
53808         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53809         (asinh_test_data): New variable.
53810         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
53811         (atan_test_data): New variable.
53812         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
53813         (atanh_test_data): New variable.
53814         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
53815         (cbrt_test_data): New variable.
53816         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
53817         (ceil_test_data): New variable.
53818         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
53819         (cos_test_data): New variable.
53820         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
53821         (cos_tonearest_test_data): New variable.
53822         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53823         (cos_towardzero_test_data): New variable.
53824         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53825         (cos_downward_test_data): New variable.
53826         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53827         (cos_upward_test_data): New variable.
53828         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53829         (cosh_test_data): New variable.
53830         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
53831         (cosh_tonearest_test_data): New variable.
53832         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53833         (cosh_towardzero_test_data): New variable.
53834         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53835         (cosh_downward_test_data): New variable.
53836         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53837         (cosh_upward_test_data): New variable.
53838         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53839         (erf_test_data): New variable.
53840         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
53841         (erfc_test_data): New variable.
53842         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
53843         (exp_test_data): New variable.
53844         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
53845         (exp_tonearest_test_data): New variable.
53846         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53847         (exp_towardzero_test_data): New variable.
53848         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53849         (exp_downward_test_data): New variable.
53850         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53851         (exp_upward_test_data): New variable.
53852         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53853         (exp10_test_data): New variable.
53854         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
53855         (exp2_test_data): New variable.
53856         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
53857         (expm1_test_data): New variable.
53858         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
53859         (fabs_test_data): New variable.
53860         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
53861         (floor_test_data): New variable.
53862         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
53863         (j0_test_data): New variable.
53864         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
53865         (j1_test_data): New variable.
53866         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
53867         (log_test_data): New variable.
53868         (log_test): Run tests with RUN_TEST_LOOP_f_f.
53869         (log10_test_data): New variable.
53870         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
53871         (log1p_test_data): New variable.
53872         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
53873         (log2_test_data): New variable.
53874         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
53875         (logb_test_data): New variable.
53876         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
53877         (logb_downward_test_data): New variable.
53878         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53879         (nearbyint_test_data): New variable.
53880         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
53881         (rint_test_data): New variable.
53882         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
53883         (rint_tonearest_test_data): New variable.
53884         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53885         (rint_towardzero_test_data): New variable.
53886         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53887         (rint_downward_test_data): New variable.
53888         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53889         (rint_upward_test_data): New variable.
53890         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53891         (round_test_data): New variable.
53892         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53893         (sin_test_data): New variable.
53894         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53895         (sin_tonearest_test_data): New variable.
53896         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53897         (sin_towardzero_test_data): New variable.
53898         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53899         (sin_downward_test_data): New variable.
53900         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53901         (sin_upward_test_data): New variable.
53902         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53903         (sinh_test_data): New variable.
53904         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53905         (sinh_tonearest_test_data): New variable.
53906         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53907         (sinh_towardzero_test_data): New variable.
53908         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53909         (sinh_downward_test_data): New variable.
53910         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53911         (sinh_upward_test_data): New variable.
53912         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53913         (sqrt_test_data): New variable.
53914         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53915         (tan_test_data): New variable.
53916         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53917         (tan_tonearest_test_data): New variable.
53918         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53919         (tan_towardzero_test_data): New variable.
53920         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53921         (tan_downward_test_data): New variable.
53922         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53923         (tan_upward_test_data): New variable.
53924         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53925         (tanh_test_data): New variable.
53926         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53927         (tgamma_test_data): New variable.
53928         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53929         (trunc_test_data): New variable.
53930         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53931         (y0_test_data): New variable.
53932         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53933         (y1_test_data): New variable.
53934         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53935         (significand_test_data): New variable.
53936         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53938 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53940         [BZ #12387]
53941         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53943 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53945         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53947 2013-05-10  Andreas Jaeger  <aj@suse.de>
53949         [BZ #15448]
53950         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53951         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53953 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53955         * math/gen-libm-test.pl (adjust_arg): New function.
53956         (special_functions): Handle generating output in both functions
53957         and arrays.
53958         (parse_args): Likewise.
53959         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53960         $in_func argument to parse_args.
53961         * math/libm-test.inc (struct test_f_f_data): New type.
53962         (IF_ROUND_INIT_): New macro.
53963         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53964         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53965         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53966         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53967         (ROUND_RESTORE_): Likewise.
53968         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53969         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53970         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53971         (ROUND_RESTORE_FE_UPWARD): Likewise.
53972         (RUN_TEST_LOOP_f_f): New macro.
53973         (acos_test_data): New variable.
53974         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53975         (acos_tonearest_test_data): New variable.
53976         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53978 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53980         * benchtests/bench-skeleton.c (startup): Fix coding style.
53982 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53984         [BZ #6809]
53985         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53986         negative infinity argument.
53987         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53988         negative infinity argument.
53989         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53990         negative infinity argument.
53991         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53992         domain errors.
53994 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53996         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53997         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53998         * iconv/iconv_prog.c (main): Likewise.
53999         * locale/programs/charmap-dir.c (charmap_readdir)
54000         (fopen_uncompressed): Likewise.
54001         * locale/programs/locfile.c (siblings_uncached)
54002         (write_locale_data): Use lstat64 instead of lstat.
54003         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54004         stat.
54006 2013-05-10  Andreas Jaeger  <aj@suse.de>
54008         [BZ #15395]
54009         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54010         localization.
54011         Include <locale.h>.
54013 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54015         * elf/dl-close.c (_dl_close_worker): Add comments.
54017 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54019         [BZ #15359]
54020         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54021         high part of pi/2.
54022         (__ieee754_rem_pio2l): Update comments.
54024         [BZ #15429]
54025         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54026         high part of pi/2.
54027         (__ieee754_rem_pio2l): Update comments.
54029         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54030         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54032         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54033         M_PI_4l.
54035         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54036         (M_PI_34_LOG10El): Likewise.
54037         (M_PI2_LOG10El): Likewise.
54038         (M_PI4_LOG10El): Likewise.
54039         (M_PI_LOG10El): Likewise.
54041 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54045 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54047         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54048         (MINUS_ZERO_INIT): Likewise.
54049         (PLUS_INFTY_INIT): Likewise.
54050         (MINUS_INFTY_INIT): Likewise.
54051         (QNAN_VALUE_INIT): Likewise.
54052         (MAX_VALUE_INIT): Likewise.
54053         (MIN_VALUE_INIT): Likewise.
54054         (MIN_SUBNORM_VALUE_INIT): Likewise.
54055         (plus_zero): Initialize with PLUS_ZERO_INIT.
54056         (minus_zero): Initialize with MINUS_ZERO_INIT.
54057         (plus_infty): Initialize with PLUS_INFTY_INIT.
54058         (minus_infty): Initialize with MINUS_INFTY_INIT.
54059         (qnan_value): Initialize with QNAN_VALUE_INIT.
54060         (max_value): Initialize with MAX_VALUE_INIT.
54061         (min_value): Initialize with MIN_VALUE_INIT.
54062         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54064         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54065         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54066         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54067         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54069         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54070         (RUN_TEST_2_f): Likewise.
54071         (RUN_TEST_ff_f): Likewise.
54072         (RUN_TEST_fi_f): Likewise.
54073         (RUN_TEST_fl_f): Likewise.
54074         (RUN_TEST_fff_f): Likewise.
54075         (RUN_TEST_c_f): Likewise.
54076         (RUN_TEST_f_f1): Likewise.
54077         (RUN_TEST_fF_f1): Likewise.
54078         (RUN_TEST_fI_f1): Likewise.
54079         (RUN_TEST_ffI_f1): Likewise.
54080         (RUN_TEST_c_c): Likewise.
54081         (RUN_TEST_cc_c): Likewise.
54082         (RUN_TEST_f_i): Likewise.
54083         (RUN_TEST_f_i_tg): Likewise.
54084         (RUN_TEST_ff_i_tg): Likewise.
54085         (RUN_TEST_f_b): Likewise.
54086         (RUN_TEST_f_b_tg): Likewise.
54087         (RUN_TEST_f_l): Likewise.
54088         (RUN_TEST_f_L): Likewise.
54089         (RUN_TEST_sincos): Likewise.
54090         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54091         whether to show exceptions.  Do not include ");\n" in return
54092         value.
54093         (special_functions): Output call to RUN_TEST_sincos instead of
54094         check_float calls.  Update calls to new_test.
54095         (parse_args): Output call to single RUN_TEST_* macro instead of
54096         check_* calls and other assignments.  Update calls to new_test.
54098         [BZ #2546]
54099         [BZ #2560]
54100         [BZ #5159]
54101         [BZ #15426]
54102         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54103         input to result for tgamma overflow.
54104         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54105         (gamma_coeff): New variable.
54106         (NCOEFF): New macro.
54107         (gamma_positive): New function.
54108         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54109         underflow here.  Use gamma_positive instead of exp (lgamma) for
54110         other arguments.
54111         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54112         (gamma_coeff): New variable.
54113         (NCOEFF): New macro.
54114         (gammaf_positive): New function.
54115         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54116         underflow here.  Use gamma_positive instead of exp (lgamma) for
54117         other arguments.
54118         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54119         (gamma_coeff): New variable.
54120         (NCOEFF): New macro.
54121         (gammal_positive): New function.
54122         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54123         underflow here.  Use gamma_positive instead of exp (lgamma) for
54124         other arguments.
54125         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54126         (gamma_coeff): New variable.
54127         (NCOEFF): New macro.
54128         (gammal_positive): New function.
54129         (__ieee754_gammal_r): Handle positive infinity, overflow and
54130         underflow here.  Handle NaN the same as positive infinity.  Remove
54131         check x < 0xffffffff for negative integers.  Use gamma_positive
54132         instead of exp (lgamma) for other arguments.
54133         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54134         (gamma_coeff): New variable.
54135         (NCOEFF): New macro.
54136         (gammal_positive): New function.
54137         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54138         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54139         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54140         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54141         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54142         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54143         * sysdeps/generic/math_private.h (__gamma_productf): New
54144         prototype.
54145         (__gamma_product): Likewise.
54146         (__gamma_productl): Likewise.
54147         * math/Makefile (libm-calls): Add gamma_product.
54148         * math/libm-test.inc (tgamma_test): Add more tests.
54149         * sysdeps/i386/fpu/libm-test-ulps: Update.
54150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54152 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54154         * benchtests/bench-skeleton.c (main): Preheat CPU.
54156 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54158         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54160 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54162         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54163         and _dl_skip_args_internal.
54165 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54167         * manual/message.texi (Message Translation): Talk about users.
54168         Message to key mapping impacts design.
54170 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54172         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54174         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54176         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54177         * sysdeps/wordsize-64/glob64.c: ... here.
54179         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54180         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54181         New macros.
54183         * debug/getlogin_r_chk.c: Moved to ...
54184         * login/getlogin_r_chk.c: ... here.
54185         * debug/Makefile (routines): Move getlogin_r_chk to ...
54186         * login/Makefile (routines): ... here.
54187         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54188         * login/Versions (libc: GLIBC_2.4): ... here.
54190         * io/poll.c (__poll): Renamed from poll.
54191         Add libc_hidden_def.
54192         (poll): Define as weak alias.
54194         * debug/ptsname_r_chk.c: Moved to ...
54195         * login/ptsname_r_chk.c: ... here.
54196         * debug/Makefile (routines): Move ptsname_r_chk to ...
54197         * login/Makefile (routines): ... here.
54198         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54199         * login/Versions (libc: GLIBC_2.4): ... here.
54201         * posix/getlogin.c: Moved to ...
54202         * login/getlogin.c: ... here.
54203         * posix/getlogin_r.c: Moved to ...
54204         * login/getlogin_r.c: ... here.
54205         * posix/getlogin_r.c: Moved to ...
54206         * login/getlogin_r.c: ... here.
54207         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54208         * login/Makefile (routines): ... here.
54209         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54210         * login/Versions (libc: GLIBC_2.0): ... here.
54212         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54213         (setrlimit): Define as weak alias.
54215         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54216         Call __ names for open, ftruncate, and close.
54217         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54218         (truncate): Define as weak alias.
54220 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54222         * math/gen-libm-test.pl (parse_args): Initialize x before each
54223         test of frexp, modf and remquo.
54225         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54226         test signgam value.
54228 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54230         [BZ #15418]
54231         [BZ #15419]
54232         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54233         internal tests.
54234         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54236 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54238         * elf/dl-writev.h: New file.
54239         * elf/dl-misc.c: Include it.
54240         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54241         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
54243 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
54245         * math/libm-test.inc (noXFails): Remove variable.
54246         (noXPasses): Likewise.
54247         (BUILD_COMPLEX_INT): Remove macro.
54248         (print_screen): Remove xfail argument.
54249         (print_screen_max_error): Likewise.
54250         (update_stats): Likewise.
54251         (print_max_error): Likewise.  Update calls to other affected
54252         functions.
54253         (print_complex_max_error): Likewise.
54254         (test_single_exception): Update calls to print_screen.
54255         (test_single_errno): Likewise.
54256         (check_float_internal): Remove xfail argument.  Update calls to
54257         other affected functions.
54258         (check_float): Likewise.
54259         (check_complex): Likewise.
54260         (check_int): Likewise.
54261         (check_long): Likewise.
54262         (check_bool): Likewise.
54263         (check_longlong): Likewise.
54264         (main): Don't print noXFails and noXPasses.
54265         * math/gen-libm-test.pl (top level): Don't mention expected
54266         failure handling in comment.
54267         (new_test): Don't handle expected failures.
54268         (parse_args): Don't mention expected failure handling in comment.
54269         (generate_testfile): Don't handle expected failures.
54270         (parse_ulps): Likewise.
54271         (print_ulps_file): Likewise.
54272         (get_failure): Remove function.
54273         (output_test): Don't handle expected failures.
54274         * make/README.libm-test: Don't mention expected failure handling.
54276         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
54277         (minus_zero): Likewise.
54278         (plus_infty): Likewise.
54279         (minus_infty): Likewise.
54280         (qnan_value): Likewise.
54281         (max_value): Likewise.
54282         (min_value): Likewise.
54283         (min_subnorm_value): Likewise.
54284         (initialize): Do not initialize those variables dynamically.
54286 2013-05-03  Roland McGrath  <roland@hack.frob.com>
54288         * io/open.c (__open_2): Moved to ...
54289         * io/open_2.c: ... this new file.
54290         * io/open64.c (__open64_2): Moved to ...
54291         * io/open64_2.c: ... this new file.
54292         * io/openat.c (__openat_2): Moved to ...
54293         * io/openat_2.c: ... this new file.
54294         * io/openat64.c (__openat64_2): Moved to ...
54295         * io/openat64_2.c: ... this new file.
54296         * io/Makefile (routines): Add them.
54297         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
54298         * sysdeps/unix/sysv/linux/open_2.c: File removed.
54299         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
54300         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
54301         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
54302         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
54303         (__openat64): Add hidden_ver.
54304         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
54305         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
54307         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
54308         Separately conditionalize setting of GLRO(dl_sysinfo) so
54309         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
54310         as well, but the actual setting is only under [NEED_DL_SYSINFO].
54312 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54314         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
54315         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
54316         definition.
54317         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
54318         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54319         (_libc_vdso_platform_setup): Add __vdso_time initialization.
54320         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
54321         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
54323 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
54325         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
54326         test signgam value.
54328         * math/libm-test.inc (hypot_test): Do not use
54329         IGNORE_ZERO_INF_SIGN.
54331 2013-05-03  Andreas Jaeger  <aj@suse.de>
54333         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
54334         Linux 3.9.
54335         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
54336         (PF_MAX): Adjust for VSOCK change.
54338 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54342 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
54344         [BZ #15264]
54345         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
54346         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
54347         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
54349 2013-05-02  David S. Miller  <davem@davemloft.net>
54351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54353 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
54355         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
54357 2013-05-01  Roland McGrath  <roland@hack.frob.com>
54359         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
54361 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
54363         [BZ #14952]
54364         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54365         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54366         Use __attribute__ ((__gnu_inline__)).
54367         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54368         Don't use __attribute__ ((__gnu_inline__)).
54370 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
54372         [BZ #15423]
54373         * math/s_catan.c (__catan): Handle small real or imaginary part of
54374         input specially to avoid spurious underflow.
54375         * math/s_catanf.c (__catanf): Likewise.
54376         * math/s_catanh.c (__catanh): Likewise.
54377         * math/s_catanhf.c (__catanhf): Likewise.
54378         * math/s_catanhl.c (__catanhl): Likewise.
54379         * math/s_catanl.c (__catanl): Likewise.
54380         * math/libm-test.inc (catan_test): Add more tests.
54381         (catanh_test): Likewise.
54382         * sysdeps/i386/fpu/libm-test-ulps: Update.
54383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54385 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54389 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
54391         [BZ #15416]
54392         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
54393         accurately for denominator in atan2.
54394         * math/s_catanf.c (__catanf): Likewise.
54395         * math/s_catanh.c (__catanh): Likewise.
54396         * math/s_catanhf.c (__catanhf): Likewise.
54397         * math/s_catanhl.c (__catanhl): Likewise.
54398         * math/s_catanl.c (__catanl): Likewise.
54399         * math/libm-test.inc (catan_test): Add more tests.
54400         (catanh_test): Likewise.
54401         * sysdeps/i386/fpu/libm-test-ulps: Update.
54402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54404 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54406         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
54408         * benchtests/Makefile (bench): Remove slow benchmarks.
54409         * benchtests/atan-inputs: Add slow benchmark inputs.
54410         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
54411         (BENCH_FUNC): Accept variant offset.
54412         (VARIANT): Define.
54413         * benchtests/bench-skeleton.c (main): Run benchmark for each
54414         variant.
54415         * benchtests/cos-inputs: Add slow benchmark inputs.
54416         * benchtests/exp-inputs: Likewise.
54417         * benchtests/pow-inputs: Likewise.
54418         * benchtests/sin-inputs: Likewise.
54419         * benchtests/slowatan-inputs: Remove.
54420         * benchtests/slowatan.c: Remove.
54421         * benchtests/slowcos-inputs: Remove.
54422         * benchtests/slowcos.c: Remove.
54423         * benchtests/slowexp-inputs: Remove.
54424         * benchtests/slowexp.c: Remove.
54425         * benchtests/slowpow-inputs: Remove.
54426         * benchtests/slowpow.c: Remove.
54427         * benchtests/slowsin-inputs: Remove.
54428         * benchtests/slowsin.c: Remove.
54429         * benchtests/slowtan-inputs: Remove.
54430         * benchtests/slowtan.c: Remove.
54431         * benchtests/tan-inputs: Add slow benchmark inputs.
54432         * scripts/bench.pl: Parse comments and directives.
54434         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54435         in CPPFLAGS.
54436         ($(objpfx)bench-%.c): Remove *-ITER.
54437         * benchtests/bench-modf.c: Remove definition of ITER.
54438         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54439         (main): Loop for DURATION seconds instead of fixed number of
54440         iterations.
54441         * scripts/bench.pl: Don't expect iterations in parameters.
54443 2013-04-29  Roland McGrath  <roland@hack.frob.com>
54445         * io/fchdir.c (__fchdir): Renamed from fchdir.
54446         (fchdir): Define as weak alias.
54448 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54450         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54451         (ERRNO_EDOM): Likewise.
54452         (ERRNO_ERANGE): Likewise.
54453         (noErrnoTests): New variable.
54454         (init_max_error): Set errno to 0.
54455         (test_single_errno): New function.
54456         (test_errno): Likewise.
54457         (check_float_internal): Call test_errno.  Set errno to 0.
54458         (check_complex): Refer to errno tests in comment.
54459         (check_int): Call test_errno.  Set errno to 0.
54460         (check_long): Likewise.
54461         (check_bool): Likewise.
54462         (check_longlong): Likewise.
54463         (cos_test): Use ERRNO_* flags for errno tests instead of
54464         check_int.
54465         (expm1_test): Likewise.
54466         (fmod_test): Likewise.
54467         (ilogb_test): Likewise.
54468         (lgamma_test): Likewise.
54469         (pow_test): Likewise.
54470         (remainder_test): Likewise.
54471         (sin_test): Likewise.
54472         (tan_test): Likewise.
54473         (yn_test): Likewise.
54474         (initialize): Set errno to 0.
54475         (main): Print number of errno tests.
54476         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54478 2013-04-29  Andreas Jaeger  <aj@suse.de>
54480         [BZ #15084]
54481         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54482         and RES_USEVC.
54484         [BZ #15085]
54485         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54486         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54487         unimplemented.
54489         [BZ #15380]
54490         * stdlib/random.c (__initstate): Return NULL if
54491         __initstate fails.
54493         [BZ #15086]
54494         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54495         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54496         RES_SNGLKUPREOP.
54498 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54502 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54504         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54505         of individual tests.
54506         (casin_test): Likewise.
54507         (casinh_test): Likewise.
54509 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
54511         [BZ #15409]
54512         * math/s_catan.c (__catan): Handle arguments with large real or
54513         imaginary part separately without squaring.
54514         * math/s_catanf.c (__catanf): Likewise.
54515         * math/s_catanh.c (__catanh): Likewise.
54516         * math/s_catanhf.c (__catanhf): Likewise.
54517         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54518         and redefine.
54519         (__catanhl): Handle arguments with large real or imaginary part
54520         separately without squaring.
54521         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54522         and redefine.
54523         (__catanl): Handle arguments with large real or imaginary part
54524         separately without squaring.
54525         * math/libm-test.inc (catan_test): Add more tests.
54526         (catanh_test): Likewise.
54527         * sysdeps/i386/fpu/libm-test-ulps: Update.
54528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54530 2013-04-27  Andreas Jaeger  <aj@suse.de>
54532         [BZ #15007]
54533         * stdlib/stdlib.h: Update guards for qecvt.
54534         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
54535         <stdlib.h>.
54537 2013-04-27  Allan McRae  <allan@archlinux.org>
54539         * sysdeps/i386/fpu/libm-test-ulps: Update.
54541 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
54543         [BZ #15406]
54544         * math/s_catan.c: Include <float.h>.
54545         (__catan): Ensure underflow exception occurs for underflowed
54546         result.
54547         * math/s_catanf.c: Include <float.h>.
54548         (__catanf): Ensure underflow exception occurs for underflowed
54549         result.
54550         * math/s_catanh.c: Include <float.h>.
54551         (__catanh): Ensure underflow exception occurs for underflowed
54552         result.
54553         * math/s_catanhf.c: Include <float.h>.
54554         (__catanhf): Ensure underflow exception occurs for underflowed
54555         result.
54556         * math/s_catanhl.c: Include <float.h>.
54557         (__catanhl): Ensure underflow exception occurs for underflowed
54558         result.
54559         * math/s_catanl.c: Include <float.h>.
54560         (__catanl): Ensure underflow exception occurs for underflowed
54561         result.
54562         * math/libm-test.inc (catan_test): Add more tests.
54563         (catanh_test): Likewise.
54565         [BZ #15405]
54566         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
54567         underflowed result.
54568         * math/s_ccoshf.c (__ccoshf): Likewise.
54569         * math/s_ccoshl.c (__ccoshl): Likewise.
54570         * math/s_csin.c (__csin): Likewise.
54571         * math/s_csinf.c (__csinf): Likewise.
54572         * math/s_csinh.c (__csinh): Likewise.
54573         * math/s_csinhf.c (__csinhf): Likewise.
54574         * math/s_csinhl.c (__csinhl): Likewise.
54575         * math/s_csinl.c (__csinl): Likewise.
54576         * math/libm-test.inc (ccos_test): Add more tests.
54577         (ccosh_test): Likewise.
54578         (csin_test): Likewise.
54579         (csinh_test): Likewise.
54581 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54583         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
54584         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
54585         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54586         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
54587         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
54588         powerpc/power5+/fpu folders.
54589         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
54592 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54596 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
54598         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
54599         additions to variable.
54600         [$(config-machine) = x86_64] (modules-names): Likewise.
54601         ($(objpfx)tst-audit3): Remove dependency.
54602         ($(objpfx)tst-audit3.out): Likewise.
54603         ($(objpfx)tst-audit4): Likewise.
54604         ($(objpfx)tst-audit4.out): Likewise.
54605         ($(objpfx)tst-audit5): Likewise.
54606         ($(objpfx)tst-audit5.out): Likewise.
54607         ($(objpfx)tst-audit6): Likewise.
54608         ($(objpfx)tst-audit6.out): Likewise.
54609         ($(objpfx)tst-audit7): Likewise.
54610         ($(objpfx)tst-audit7.out): Likewise.
54611         (tst-audit3-ENV): Remove variable.
54612         (tst-audit4-ENV): Likewise.
54613         (tst-audit5-ENV): Likewise.
54614         (tst-audit6-ENV): Likewise.
54615         (tst-audit7-ENV): Likewise.
54616         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
54617         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
54618         addition to variable.
54619         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
54620         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
54621         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
54622         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
54623         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
54624         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
54625         tst-audit3, tst-audit4 and tst-audit5.
54626         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
54627         tst-audit6 and tst-audit7.
54628         [$(subdir) = elf] (modules-names): Add audit modules for those
54629         tests.
54630         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
54631         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
54632         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
54633         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
54634         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
54635         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
54636         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
54637         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
54638         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
54639         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
54640         [$(subdir) = elf] (tst-audit3-ENV): New variable.
54641         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
54642         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
54643         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
54644         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
54645         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
54646         Likewise.
54647         [$(subdir) = elf && $(config-cflags-avx) = yes]
54648         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
54649         [$(subdir) = elf && $(config-cflags-avx) = yes]
54650         (CFLAGS-tst-auditmod4a.c): Likewise.
54651         [$(subdir) = elf && $(config-cflags-avx) = yes]
54652         (CFLAGS-tst-auditmod4b.c): Likewise.
54653         [$(subdir) = elf && $(config-cflags-avx) = yes]
54654         (CFLAGS-tst-auditmod6b.c): Likewise.
54655         [$(subdir) = elf && $(config-cflags-avx) = yes]
54656         (CFLAGS-tst-auditmod6c.c): Likewise.
54657         [$(subdir) = elf && $(config-cflags-avx) = yes]
54658         (CFLAGS-tst-auditmod7b.c): Likewise.
54659         * elf/tst-audit3.c: Move to ...
54660         * sysdeps/x86_64/tst-audit3.c: ... here.
54661         * elf/tst-audit4.c: Move to ...
54662         * sysdeps/x86_64/tst-audit4.c: ... here.
54663         * elf/tst-audit5.c: Move to ...
54664         * sysdeps/x86_64/tst-audit5.c: ... here.
54665         * elf/tst-audit6.c: Move to ...
54666         * sysdeps/x86_64/tst-audit6.c: ... here.
54667         * elf/tst-audit7.c: Move to ...
54668         * sysdeps/x86_64/tst-audit7.c: ... here.
54669         * elf/tst-auditmod3a.c: Move to ...
54670         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
54671         * elf/tst-auditmod3b.c: Move to ...
54672         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
54673         * elf/tst-auditmod4a.c: Move to ...
54674         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
54675         * elf/tst-auditmod4b.c: Move to ...
54676         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
54677         * elf/tst-auditmod5a.c: Move to ...
54678         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
54679         * elf/tst-auditmod5b.c: Move to ...
54680         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
54681         * elf/tst-auditmod6a.c: Move to ...
54682         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
54683         * elf/tst-auditmod6b.c: Move to ...
54684         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
54685         * elf/tst-auditmod6c.c: Move to ...
54686         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
54687         * elf/tst-auditmod7a.c: Move to ...
54688         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
54689         * elf/tst-auditmod7b.c: Move to ...
54690         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
54692 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
54694         [BZ #15366]
54695         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
54696         define unconditionally.
54697         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
54698         define unconditionally.
54699         (INT8_C, INT16_C, etc.): Likewise.
54701 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
54703         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
54704         __ehdr_start with hidden visibility.
54706         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
54708 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
54710         * math/libm-test.inc (cos_test): Use accurate hex constants.
54711         (sincost_test): Likewise.
54713 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
54715         * math/libm-test.inc (catan_test): Add more tests.
54716         (catanh_test): Likewise.
54718         * math/s_catanf.c (__catanf): Use suffixed floating-point
54719         constants.
54720         * math/s_catanhf.c (__catanhf): Likewise.
54721         * math/s_catanhl.c (__catanhl): Likewise.
54722         * math/s_catanl.c (__catanl): Likewise.
54724         [BZ #15394]
54725         * math/s_catan.c (__catan): Calculate imaginary part of result
54726         with log1p not log unless computing log of number close to 0.
54727         * math/s_catanf.c (__catanf): Likewise.
54728         * math/s_catanl.c (__catanl): Likewise.
54729         * math/s_catanh.c (__catanh): Calculate real part of result with
54730         log1p not log unless computing log of number close to 0.
54731         * math/s_catanhf.c (__catanhf): Likewise.
54732         * math/s_catanhl.c (__catanhl): Likewise.
54733         * math/libm-test.inc (catan_test): Add more tests.
54734         (catanh_test): Likewise.
54735         * sysdeps/i386/fpu/libm-test-ulps: Update.
54736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54738 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54740         * benchtests/Makefile: Mention files in which fast and slow
54741         paths of math functions are implemented.
54743 2013-04-23  Roland McGrath  <roland@hack.frob.com>
54745         * sysdeps/posix/timespec_get.c: New file.
54747 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54749         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
54750         POWER.
54751         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
54752         for POWER.
54753         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
54754         powerpc/power5/fpu folders.
54755         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
54756         * benchtests/Makefile: Add modf testcase.
54757         * benchtests/bench-modf.c: New file: Benchmark test for mo
54759 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54761         [BZ #14888]
54762         * time/Makefile (tests): Add tst-strptime-whitespace.
54763         * time/strptime_l.c (get_number): Use ISSPACE.
54764         (__strptime_internal): Likewise.
54765         * time/tst-strptime-whitespace.c: New test case.
54767 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
54769         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
54770         member.
54771         (_nss_files_init): Set it here.
54773 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
54775         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
54776         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
54777         unsigned.
54779 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
54781         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
54783 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54785         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
54786         size just once.
54788 2013-04-21  David S. Miller  <davem@davemloft.net>
54790         * po/ru.po: Update Russion translation from translation project.
54792 2013-04-17  Adam Conrad  <adconrad@0c3.net>
54794         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
54795         and setfsgid.
54797 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
54799         * configure.in: Remove i386 configure warning. Remove i386 case.
54800         * configure: Regenerate.
54801         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
54802         Add example to error message.
54803         * sysdeps/i386/configure: Regenerate.
54805 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54807         * benchtests/Makefile (bench): Add cos, tan, slowcos and
54808         slowtan.
54809         * benchtests/cos-inputs: New file.
54810         * benchtests/slowcos-inputs: New file.
54811         * benchtests/slowcos.c: New file.
54812         * benchtests/slowtan-inputs: New file.
54813         * benchtests/slowtan.c: New file.
54814         * benchtests/tan-inputs: New file.
54816 2013-04-16  Roland McGrath  <roland@hack.frob.com>
54818         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
54819         considered kosher.
54821 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54823         * benchtests/Makefile: Include cppflags-iterator.mk to add
54824         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
54826         * Makefile.in (bench-clean): New target.
54827         * benchtests/Makefile (bench-clean): Likewise.
54829 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
54831         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
54833 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
54835         * stdio-common/tstdiomisc.c: Fix coding-style violation.
54837 2013-04-15  Andreas Schwab  <schwab@suse.de>
54839         * nscd/grpcache.c (cache_addgr): Properly check for short write.
54840         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54841         * nscd/pwdcache.c (cache_addpw): Likewise.
54842         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
54843         more than recsize.
54845 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54847         * benchtests/Makefile (bench): Write all output to
54848         bench-out.tmp together.
54850 2013-04-15  Andreas Schwab  <schwab@suse.de>
54852         * nscd/nscd.c (main): Don't fork again after closing files.
54854 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54856         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
54858         * benchtests/Rules (bench-deps): Collect dependencies into a
54859         single variable.  Add Makefile to dependencies.
54860         ($(objpfx)bench-%.c): Depend on bench-deps.
54862 2013-04-12  Roland McGrath  <roland@hack.frob.com>
54863             Xavier Roche  <roche+kml2@exalead.com>
54865         [BZ #15361]
54866         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
54867         just that it's a file descriptor.
54868         * manual/llio.texi (Synchronizing AIO Operations): Update description
54869         for EBADF error from aio_fsync.
54871 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54873         * Rules (bench): Move target definition...
54874         * benchtests/Makefile: ... here.
54876 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
54878         * math/libm-test.inc (cos_test): Fix PI/2 test.
54879         (sincos_test): Likewise.
54880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54881         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54883 2013-04-11  Andreas Schwab  <schwab@suse.de>
54885         [BZ #13988]
54886         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54887         accept exponent character only when digits were seen.
54888         * stdio-common/Makefile (tests): Add bug26.
54889         * stdio-common/bug26.c: New file.
54891         [BZ #14293]
54892         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54893         non-freeable.
54895 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54897         * Makeconfig (rtld-prefix): Define built linker prefix.
54898         * Rules (run-bench): Use it.
54899         * math/Makefile (run-regen-ulps): Likewise.
54901         * Rules (bench): Remove eval.
54903 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54904             Roland McGrath  <roland@hack.frob.com>
54905             Ondrej Bilka  <neleai@seznam.cz>
54907         [BZ #15346]
54908         * time/getdate.c: Include ctype.h and alloca.h.
54909         (__getdate_r): Trim leading and trailing spaces of input.
54910         * time/tst-getdate.c (tests): Add tests with leading and
54911         trailing spaces.
54913 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54915         [BZ #14280]
54916         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54917         when computing value.
54919 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54921         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54922         Use testrun.sh to run libm tests.
54924         [BZ #15309]
54925         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54927 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54929         [BZ #15264]
54930         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54932 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54934         * Makefile.in (regen-ulps): New target.
54935         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54936         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54937         [ifneq (no,$(PERL)] (regen-ulps): New target.
54938         [ifeq (no,$(PERL)] (regen-ulps): New target.
54939         * math/libm-test.inc (ulps_file_name): Define.
54940         (output_dir): New variable.
54941         (options): Add "output-dir" option.
54942         (parse_opt): Handle 'o' case.
54943         (main): If output_dir is non-NULL use it as a prefix
54944         otherwise use "".
54945         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54947 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54949         [BZ #10060, #10062]
54950         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54951         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54952         fail configure if __sync_val_compare_and_swap is not inlined.
54953         * sysdeps/i386/configure: Regenerate.
54954         * configure.in: Build for i686 when configured for i386.
54955         * configure: Regenerate.
54956         * README: Remove i386 reference.
54958 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54960         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54961         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54963 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54965         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54966         (lmsnanval): New variables.
54967         (F): Add conversion tests.
54968         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54969         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54971         * stdio-common/tstdiomisc.c (F): Properly collect individual
54972         tests' results.
54974         [BZ #14686, #15336]
54975         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54976         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54977         Instead, use input NaN values or generate a qNaN by arithmetic
54978         operation.  Also fix bugs to comply with the standard.
54979         * math/libm-test.inc (remainder_test): Add more tests.
54981         [BZ #15335, #15342]
54982         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54984         input NaN values or generate a qNaN by arithmetic operation.
54986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54987         unreachable code.
54989         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54990         definitions.
54992 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54994         [BZ #14478]
54995         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54996         underflowed result.
54997         * math/s_cexpf.c (__cexpf): Likewise.
54998         * math/s_cexpl.c (__cexpl): Likewise.
54999         * math/libm-test.inc (cexp_test): Add more tests.
55001 2013-04-03  Andreas Schwab  <schwab@suse.de>
55003         [BZ #15330]
55004         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55005         order arrays from heap if bigger than alloca cutoff.
55007 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55009         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55010         (SNAN_TESTS_double): Refer to GCC PR56831.
55011         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55012         GCC PR56828.
55014 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55016         * Rules (bench): Move bench.out after the run is complete.
55018         * Rules (bench): Echo currently running benchmark.
55020         * benchtests/Makefile (bench): Add atan and slowatan.
55021         * benchtests/atan-inputs: New file.
55022         * benchtests/slowatan-inputs: New file.
55023         * benchtests/slowatan.c: New file.
55025         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55026         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55027         its value.
55029         [BZ #15305]
55030         * sysdeps/unix/sysv/linux/kernel-features.h
55031         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55032         __ASSUME_XFS_RESTRICTED_CHOWN.
55033         * sysdeps/unix/sysv/linux/pathconf.c
55034         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55035         Save and restore errno.
55037 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55039         [BZ #15327]
55040         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55041         arguments using __kernel_casinh.
55042         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55043         arguments using __kernel_casinhf.
55044         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55045         arguments using __kernel_casinhl.
55046         * math/libm-test.inc (cacosh_test): Add more tests.
55047         * sysdeps/i386/fpu/libm-test-ulps: Update.
55048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55050 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55052         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55055         * bench/Makefile (bench): Add sin and slowsin.
55056         * benchtests/sin-inputs: New file.
55057         * benchtests/slowsin-inputs: New file.
55058         * benchtests/slowsin.c: New file.
55060         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55061         (bench): Add slowexp and slowpow.
55062         (exp-ITER): Increase iterations.
55063         (pow-ITER): Likewise.
55064         * benchtests/exp-inputs: Change input.
55065         * benchtests/pow-inputs: Likewise.
55066         * benchtests/slowexp-inputs: New file.
55067         * benchtests/slowexp.c: New file.
55068         * benchtests/slowpow-inputs: New file.
55069         * benchtests/slowpow.c: New file.
55071 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55073         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55074         instructions.
55075         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55076         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55077         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55078         * benchtests/Makefile: Add rint benchtest.
55079         * benchtests/rint-inputs: Input for rint benchtest.
55081 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55083         * Versions.def (libm): Add GLIBC_2.18.
55084         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55085         hidden libm prototypes.
55086         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55087         * math/Makefile (libm-calls): Add s_issignaling.
55088         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55089         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55090         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55091         declaration.
55092         * math/math.h [__USE_GNU] (issignaling): New macro.
55093         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55094         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55095         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55096         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55097         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55098         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55099         * manual/arith.texi (issignaling): New section.
55100         * manual/libm-err-tab.pl (@all_functions): Update comment.
55101         * math/gen-libm-test.pl (parse_args): Apply special handling for
55102         issignaling.
55103         * math/libm-test.inc (print_float, issignaling_test): New
55104         functions.
55105         (check_float_internal): Add issignaling checks.
55106         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55107         default definition.
55108         * sysdeps/powerpc/math-tests.h: New file.
55109         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55110         tests.
55111         * math/test-snan.c (TEST_FUNC): Likewise.
55113 2013-03-30  David S. Miller  <davem@davemloft.net>
55115         * po/de.po: Update from translation team.
55117 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55119         [BZ #10357]
55120         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55121         imaginary part less than 1.0 and real part less than 0.5
55122         specially.
55123         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55124         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55125         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55126         (cacos_test): Add more tests.
55127         (casin_test): Likewise.
55128         (casinh_test): Likewise.
55129         * sysdeps/i386/fpu/libm-test-ulps: Update.
55130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55132 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55134         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55135         ONE with its value.
55137         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55138         (__pow_mp): Replace ONE and MONE with their values.
55139         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55140         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55141         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55142         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55143         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55144         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55146         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55148         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55149         (__pow_mp): Replace ZERO and MZERO with their values.
55150         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55151         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55152         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55154         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55155         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55156         (__sqr): Likewise.
55158         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55160         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55162 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55164         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55165         Declare with __attribute__ ((weak)).
55166         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55167         Call __call_tls_dtors only if it's not NULL.
55169 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55171         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55172         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55173         magic __ehdr_start linker symbol if it's defined.
55174         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55175         them up here if it was already done.
55177         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55178         (_dl_aux_init): Use const in cast when setting it.
55179         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55180         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55181         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55183         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55184         Declare them here.
55185         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55186         * csu/libc-tls.c: Nor here.
55187         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55189         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55190         (__libc_message): Never call vsyslog.
55192 2013-03-28  Alan Modra  <amodra@gmail.com>
55194         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55195         Define as empty.
55196         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55197         Likewise.
55199 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55201         [BZ #15214]
55202         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55203         underflow.
55204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55206 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55208         [BZ #15304]
55209         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55210         Don't add gid passed as argument.
55212         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55214 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55216         [BZ #15307]
55217         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55218         imaginary part between 1.0 and 1.5 and real part less than 0.5
55219         specially.
55220         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55221         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55222         * math/libm-test.inc (cacos_test): Add more tests.
55223         (casin_test): Likewise.
55224         (casinh_test): Likewise.
55225         * sysdeps/i386/fpu/libm-test-ulps: Update.
55226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55228 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55230         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55231         constants.
55232         (norm): Likewise.
55233         (denorm): Likewise.
55234         (__dbl_mp): Likewise.
55235         (add_magnitudes): Likewise.
55236         (sub_magnitudes): Likewise.
55237         (__add): Likewise.
55238         (__sub): Likewise.
55239         (__mul): Likewise.
55240         (__sqr): Likewise.
55241         (__inv): Likewise.
55242         (__dvd): Likewise.
55244         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
55245         commented code.
55246         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
55247         (__dubcos): Likewise.
55248         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
55249         (__ieee754_acos): Likewise.
55250         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55251         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
55252         (__exp1): Likewise.
55253         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55254         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55255         (log1): Likewise.
55256         (my_log2): Likewise.
55257         (checkint): Likewise.
55258         * sysdeps/ieee754/dbl-64/e_remainder.c
55259         (__ieee754_remainder): Likewise.
55260         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
55262         (bsloww): Likewise.
55263         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55265         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55266         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
55267         MANTISSA_STORE_T to store computations on mantissa.  Use
55268         macros for rounding and division.
55269         (denorm): Likewise.
55270         (__dbl_mp): Likewise.
55271         (add_magnitudes): Likewise.
55272         (sub_magnitudes): Likewise.
55273         (__mul): Likewise.
55274         (__sqr): Likewise.
55275         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55276         powers of two in terms of TWOPOW macro.
55277         (mp_no): Make type of mantissa as MANTISSA_T.
55278         [!RADIXI]: Define RADIXI.
55279         [!TWO52]: Define TWO52.
55280         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55282 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55284         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
55285         llroundl symbol when building for PPC32.
55287 2013-03-24  Mark H Weaver  <mhw@netris.org>
55289         * manual/arith.texi (Normalization Functions): Fix prototypes for
55290         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
55292 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55294         [BZ #13889]
55295         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55296         high value to check if expl overflow.
55297         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
55298         to check for underflow and overflow.
55299         * math/libm-test.inc: Add exp test.
55301 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
55303         [BZ #11120]
55304         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
55305         with NOT_IN_libc.
55307 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55309         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
55310         symbol.
55312 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55314         * math/gen-libm-test.pl (parse_args, special_functions): Properly
55315         wrap blocks consisting of several statements.
55317         * sysdeps/generic/math-tests.h: New file.
55318         * sysdeps/i386/fpu/math-tests.h: Likewise.
55319         * math/test-snan.c: Include it.
55320         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
55322 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55324         [BZ #15285]
55325         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
55326         (__ieee754_j0l): Do not improve calculations using cos of twice
55327         input for inputs above LDBL_MAX / 2.0L.
55328         (__ieee754_y0l): Likewise.
55329         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
55330         (__ieee754_j1l): Do not improve calculations using cos of twice
55331         input for inputs above LDBL_MAX / 2.0L.
55332         (__ieee754_y1l): Likewise.
55333         * math/libm-test.inc (j0_test): Add another test.
55334         (j1_test): Likewise.
55335         (y0_test): Likewise.
55336         (y1_test): Likewise.
55337         * sysdeps/i386/fpu/libm-test-ulps: Update.
55339 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55341         * Rules ($(objpfx)bench-%.c): Include code from a C source
55342         file.
55344 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55346         [BZ #15287]
55347         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55348         imaginary part 1.0 and real part less than 0.5 specially.
55349         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55350         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55351         * math/libm-test.inc (cacos_test): Add more tests.
55352         (casin_test): Likewise.
55353         (casinh_test): Likewise.
55354         * sysdeps/i386/fpu/libm-test-ulps: Update.
55355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55357 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55359         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
55360         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
55362 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
55364         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
55365         * config.make.in (config-cflags-sse4): Remove variable.
55366         (config-cflags-avx): Likewise.
55367         (config-cflags-sse2avx): Likewise.
55368         (config-cflags-novzeroupper): Likewise.
55369         (config-asflags-i686): Likewise.
55370         (have-mfma4): Likewise.
55371         (have-as-vis3): Likewise.
55372         (MIG): Likewise.
55373         * configure.in (MIG): Do not AC_SUBST.
55374         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
55375         (libc_cv_cc_sse4): Do not AC_SUBST.
55376         (libc_cv_cc_avx): Likewise.
55377         (libc_cv_cc_sse2avx): Likewise.
55378         (libc_cv_cc_novzeroupper): Likewise.
55379         (libc_cv_cc_fma4): Likewise.
55380         (libc_cv_as_i686): Likewise.
55381         (libc_cv_sparc_as_vis3): Likewise.
55382         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
55383         LIBC_CONFIG_VAR.
55384         (config-asflags-i686): Likewise.
55385         (config-cflags-avx): Likewise.
55386         (config-cflags-sse2avx): Likewise.
55387         (have-mfma4): Likewise.
55388         (config-cflags-novzeroupper): Likewise.
55389         * sysdeps/mach/configure.in (MIG): Likewise.
55390         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
55391         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
55392         LIBC_CONFIG_VAR.
55393         (config-cflags-avx): Likewise.
55394         (config-cflags-sse2avx): Likewise.
55395         (have-mfma4): Likewise.
55396         (config-cflags-novzeroupper): Likewise.
55397         * configure: Regenerated.
55398         * sysdeps/i386/configure: Likewise.
55399         * sysdeps/mach/configure: Likewise.
55400         * sysdeps/sparc/configure: Likewise.
55401         * sysdeps/x86_64/configure: Likewise.
55403 2013-03-20  Roland McGrath  <roland@hack.frob.com>
55405         [BZ #14812]
55406         * locale/programs/localedef.c (options): Put N_ translation marker
55407         on argument names, not just descriptions.
55409 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55411         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55413 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
55415         [BZ #14176]
55416         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55418 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55420         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55421         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55422         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55423         [!BEFORE_ABORT] (before_abort): New function.
55424         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55425         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55426         (writev_for_fatal): New function.
55427         (WRITEV_FOR_FATAL): New macro; call that.
55428         (backtrace_and_maps): New function.
55429         (BEFORE_ABORT): New macro; call that.
55430         (struct str_list): Type removed.
55431         (__libc_message, __libc_fatal): Functions removed.
55432         Include <sysdeps/posix/libc_fatal.c> instead.
55434 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
55436         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55437         constants.
55438         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55439         double constants.
55441 2013-03-19  Andreas Schwab  <schwab@suse.de>
55443         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55444         * sysdeps/gnu/configure: Regenerate.
55446         * configure.in: Substitute libc_cv_rtlddir.
55447         * configure: Regenerate.
55448         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55449         * Makeconfig (rtlddir, inst_rtlddir): New variables.
55450         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55451         * elf/Makefile (install-others, CFLAGS-interp.c)
55452         (ldso_install, common-ldd-rewrite): Likewise.
55453         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55454         $(inst_slibdir)/$(rtld-installed-name).
55455         * scripts/rellns-sh: Add -p option.
55456         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55457         for source.
55459 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55461         * manual/nptl.texi: Renamed to ...
55462         * manual/threads.texi: ... this.
55463         * manual/Makefile (chapters): Update.
55465 2013-03-18  Roland McGrath  <roland@hack.frob.com>
55467         [BZ #14812]
55468         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55469         on argument names, not just descriptions.
55470         * malloc/memusagestat.c (options): Likewise.
55471         * nss/getent.c (options): Likewise.
55473 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
55475         [BZ #14812]
55476         * iconv/iconv_prog.c (options): Put N_ translation marker
55477         on argument names, not just descriptions.
55478         * iconv/iconvconfig.c (options): Likewise.
55480 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
55482         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55483         implementation which is faster on all x86_64 architectures.
55484         Tested on AMD, Intel Nehalem, SNB, IVB.
55485         * sysdeps/x86_64/strnlen.S: Likewise.
55487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55488         Remove all multiarch strlen and strnlen versions.
55489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55490         Remove strlen and strnlen related parts.
55492         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55493         Inline strlen part.
55494         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55496         * sysdeps/x86_64/multiarch/strlen.S: Remove.
55497         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55498         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55499         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55500         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55501         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55503 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
55505         * manual/memory.texi (Malloc Tunable Parameters):
55506         Sort parameters alphabetically. Add comments for missing entries.
55508 2013-03-17  David S. Miller  <davem@davemloft.net>
55510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55512 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
55514         [BZ #15283]
55515         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55516         for arguments at most half maximum finite value.
55517         * math/libm-test.inc (j0_test): Add more tests.
55518         (j1_test): Likewise.
55519         (y0_test): Likewise.
55520         (y1_test): Likewise.
55521         * sysdeps/i386/fpu/libm-test-ulps: Update.
55522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55524         [BZ #14155]
55525         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
55526         1 / x and functions P and Q for arguments above 0x1p256L.
55527         (__ieee754_y0l): Likewise.
55528         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
55529         (__ieee754_y1l): Likewise.
55530         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
55531         (j1_test): Likewise.
55532         (y0_test): Likewise.
55533         (y1_test): Likewise.
55535 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
55537         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
55538         variable.
55540 2013-03-15  Roland McGrath  <roland@hack.frob.com>
55542         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
55543         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
55544         zero since it's initialized to EXEC_PAGESIZE.
55546         * sysdeps/unix/sysv/linux/ldsodefs.h
55547         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
55548         * sysdeps/generic/ldsodefs.h: ... here.
55550 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
55552         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
55554         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
55555         math/test-snan.c.
55556         * math/test-snan.c: Renamed from
55557         sysdeps/powerpc/fpu/test-powerpc-snan.c.
55558         * math/Makefile (tests): Add test-snan.
55559         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
55560         test-powerpc-snan.
55562         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
55563         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
55564         functions.
55565         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
55566         __builtin_nan family of functions.
55567         * math/libm-test.inc (initialize): Initialize qnan_value with
55568         __builtin_nan family of functions.
55569         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
55570         Remove variables.
55571         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
55572         Remove functions.
55573         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
55574         storage class.  Initialize qNaN_var and sNaN_var with
55575         __builtin_nan and __builtin_nans families of functions,
55576         respectively.
55578         * math/libm-test.inc (acosh_test): Also test with qNaN input.
55579         (sqrt_test): Remove duplicate test with qNaN input.
55580         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
55581         (round_test, signbit_test, significand_test): Note missing +/-Inf
55582         as well as qNaN tests.
55584         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
55585         qNaN_var.  Fix a few strings, too.
55586         * math/libm-test.inc (nan_value): Rename to qnan_value.
55587         * math/gen-libm-test.pl (%beautify): Adjust to that.
55588         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
55589         * math/test-misc.c (main): Likewise.
55590         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
55591         to __qnan_bytes, and __qnan_union, respectively.
55592         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
55593         Likewise.
55594         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
55595         and lqnanval, respectively.
55596         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
55597         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
55598         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
55599         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
55601         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
55602         * math/test-misc.c (main) [__x86_64__]: Enable test for long
55603         doubles.
55605         * math/test-misc.c (main): Fix copy'n'pastos.
55606         * misc/tst-efgcvt.c (special): Likewise.
55608         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
55609         Remove declarations.
55611 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55613         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
55614         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
55615         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
55616         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
55618 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55620         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
55621         macro to return vdso values correctly in IFUNC implementations.
55622         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55623         Optimization by using IFUNC.
55625 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55626             Richard Henderson  <rth@redhat.com>
55627             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55629         * Makefile.in (bench): New target.
55630         * NEWS: Mention the benchmark framework.
55631         * Rules (bench): Likewise.
55632         (binaries-bench): Generate binaries for functions to
55633         benchmark.
55634         * benchtests/Makefile: New makefile for benchmark tests.
55635         * benchtests/bench-skeleton.c: New skeleton file for benchmark
55636         programs.
55637         * benchtests/exp-inputs: New input file for EXP function.
55638         * benchtests/pow-inputs: New input file for POW function.
55639         * scripts/bench.pl: New script to generate source files for
55640         benchmark programs.
55642 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55644         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55645         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
55646         computations on mantissa.  Use macros for rounding and
55647         division.
55648         (denorm): Likewise.
55649         (__dbl_mp): Likewise.
55650         (add_magnitudes): Likewise.
55651         (sub_magnitudes): Likewise.
55652         (__mul): Likewise.
55653         (__sqr): Likewise.
55654         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55655         powers of two in terms of TWOPOW macro.
55656         (mp_no): Make type of mantissa as MANTISSA_T.
55657         [!RADIXI]: Define RADIXI.
55658         [!TWO52]: Define TWO52.
55659         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55661         * manual/nptl.texi (cindex): Modify threads to pthreads.
55663 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
55665         * sysdeps/x86_64/preconfigure: Regenerated.
55667 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
55669         [BZ #14155]
55670         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
55671         0x1p28 and above.
55672         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
55673         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
55674         0x1p28 and above.
55675         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
55676         * math/libm-test.inc (j0_test): Do not allow one spurious
55677         underflow exception.
55678         (y1_test): Likewise.
55680 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55682         * manual/Makefile (chapters): Add nptl.
55683         * manual/debug.texi (Debugging Support): Add link to Threads
55684         chapter.
55685         * manual/nptl.texi: New file.
55687         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
55689 2013-03-14  Petr Baudis  <pasky@ucw.cz>
55691         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
55692         for non-NULL pointer before the memory validity test. Pointed
55693         out by Holger Brunck <holger.brunck@keymile.com>.
55695 2013-03-13  Andreas Schwab  <schwab@suse.de>
55697         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
55698         instead of .os.
55700 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
55702         * timezone/zic.c: Update from tzcode 2013b.
55704 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
55706         * manual/install.texi (Configuring and compiling):
55707         Mention i686 and i586.
55708         * INSTALL: Regenerate.
55710 2013-03-12  Roland McGrath  <roland@hack.frob.com>
55712         * sysdeps/init_array/elf-init.c: New file.
55713         * csu/elf-init.c
55714         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
55715         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
55717         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
55718         __gmon_start__ as global, but as static with a .preinit_array pointer.
55719         * sysdeps/init_array/gmon-start.c: New file.  Use that.
55720         * sysdeps/init_array/crti.S: New file, empty except for comments.
55721         * sysdeps/init_array/crtn.S: Likewise.
55723 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
55725         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
55726         definining bcopy.
55727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55728         Remove Prefer_SSE_for_memop.
55729         * sysdeps/x86_64/multiarch/init-arch.h: Remove
55730         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
55731         HAS_PREFER_SSE_FOR_MEMOP.
55732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
55733         memset-x86-64.
55734         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55735         Remove bzero, memset ifunc support.
55736         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
55737         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
55738         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55739         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55741 2013-03-11  Andreas Schwab  <schwab@suse.de>
55743         [BZ #15234]
55744         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
55745         by SHLIB_COMPAT.
55746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
55747         (GLIBC_2.16): Remove pthread_atfork.
55749 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
55751         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
55752         (ptestcases.h): Likewise.
55754 2013-03-08  Roland McGrath  <roland@hack.frob.com>
55756         * Makeconfig ($(common-objpfx)config.status): Depend on
55757         sysdeps/*/preconfigure{,.in} too.
55759 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
55761         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
55762         (__free_hook): Use void * instead of __malloc_ptr_t.
55763         (__malloc_hook): Likewise.
55764         (__realloc_hook): Likewise.
55765         (__memalign_hook): Likewise.
55766         (__after_morecore_hook): Likewise.
55767         * malloc/arena.c (save_malloc_hook): Likewise.
55768         (save_free_hook): Likewise.
55769         * malloc/hooks.c (malloc_hook_ini): Likewise.
55770         (realloc_hook_ini): Likewise.
55771         (memalign_hook_ini): Likewise.
55772         * malloc/malloc.c (malloc_hook_ini): Likewise.
55773         (realloc_hook_ini): Likewise.
55774         (memalign_hook_ini): Likewise.
55775         (__free_hook): Likewise.
55776         (__malloc_hook): Likewise.
55777         (__realloc_hook): Likewise.
55778         (__memalign_hook): Likewise.
55779         (__libc_malloc): Likewise.
55780         (__libc_free): Likewise.
55781         (__libc_realloc): Likewise.
55782         (__libc_memalign): Likewise.
55783         (__libc_valloc): Likewise.
55784         (__libc_pvalloc): Likewise.
55785         (__libc_calloc): Likewise.
55786         (__posix_memalign): Likewise.
55787         * malloc/morecore.c (__sbrk): Likewise.
55788         (__default_morecore): Likewise.
55790         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
55792         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
55793         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
55794         __malloc_ptrdiff_t.
55796         * malloc/malloc.h (__malloc_size_t): Remove macro.
55797         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
55798         __malloc_size_t.
55799         (old_memalign_hook): Likewise.
55800         (old_realloc_hook): Likewise.
55801         (struct hdr): Likewise.
55802         (flood): Likewise.
55803         (mallochook): Likewise.
55804         (memalignhook): Likewise.
55805         (reallochook): Likewise.
55806         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
55807         (tr_old_realloc_hook): Likewise.
55808         (tr_old_memalign_hook): Likewise.
55809         (tr_mallochook): Likewise.
55810         (tr_reallochook): Likewise.
55811         (tr_memalignhook): Likewise.
55813 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55815         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
55816         default_ldbl_pack and using as default implementation.
55817         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
55818         implementation.
55819         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
55820         redundant definition.
55821         (ldbl_insert_mantissa): Likewise.
55822         (ldbl_canonicalize): Likewise.
55823         (ldbl_nearbyint): Likewise.
55824         (ldbl_pack): Rename to ldbl_pack_ppc.
55825         (ldbl_unpack): Rename to ldbl_unpack_ppc.
55826         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
55827         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
55829 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
55832         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
55833         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
55834         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
55835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
55836         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
55837         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
55838         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
55840 2013-03-07  Andreas Jaeger  <aj@suse.de>
55842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55843         bits/mman-linux.h.
55845 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55847         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
55848         Include mpa.h and declare __MPEXP.
55849         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
55850         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55851         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55852         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
55853         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55854         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55855         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
55857         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
55858         (__slowpow): Use long double EXPL and LOGL functions to
55859         compute POW.
55860         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55861         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55862         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
55863         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55864         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55865         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
55867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
55868         intermediate variable to calculate exponent.
55869         (__sqr): Likewise.
55870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55871         Likewise.
55872         (__sqr): Likewise.
55874         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
55875         [!NO__SQR]: Define __sqr.
55876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
55877         and NO__SQR.  Remove all code except __mul and __sqr.  Include
55878         sysdeps/ieee754/dbl-64/mpa.c.
55879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55881         [BZ #12723]
55882         * posix/Makefile (tests): Add tst-pathconf.
55883         * posix/tst-pathconf.c: New test case.
55884         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55885         _PC_PIPE_BUF.
55886         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55888 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55890         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55892 2013-03-06  Andreas Jaeger  <aj@suse.de>
55894         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55895         definition via __MAP_ANONYMOUS.
55897         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55898         it's not part of Linux headers.
55900         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55901         (MAP_HUGE_MASK): Define.
55903         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55904         Define.
55905         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55906         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55907         Define.
55908         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55909         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55910         Define.
55911         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55912         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55913         Define.
55914         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55916         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55917         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55918         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55919         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55920         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55921         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55923         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55924         Handle f2fs.
55926         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55927         Handle f2fs and efivarfs.
55929         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55930         f2fs.
55932         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55933         (EFIVARFS_MAGIC): Add.
55934         (F2FS_LINK_MAX): Add.
55936 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55938         * stdio-common/vfprintf.c: Replace __builtin_expect with
55939         __glibc_unlikely.
55941 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55943         [BZ #13550]
55944         * sysdeps/generic/bp-sym.h: Remove file.
55945         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55946         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55947         <bp-sym.h> and <bp-asm.h>.
55948         (__longjmp): Don't use BP_SYM.
55949         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55950         and <bp-asm.h>.
55951         (memcpy): Don't use BP_SYM.
55952         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55953         <bp-sym.h> and <bp-asm.h>.
55954         (memcpy): Don't use BP_SYM.
55955         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55956         <bp-asm.h>.
55957         (memcpy): Don't use BP_SYM.
55958         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55959         <bp-asm.h>.
55960         (memset): Don't use BP_SYM.
55961         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55962         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55963         (__bzero): Don't use BP_SYM.
55964         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55965         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55966         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55967         <bp-sym.h> and <bp-asm.h>.
55968         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55969         pointers.
55970         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55971         <bp-sym.h> and <bp-asm.h>.
55972         (memcpy): Don't use BP_SYM.
55973         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55974         <bp-sym.h> and <bp-asm.h>.
55975         (memset): Don't use BP_SYM.
55976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55978         (__bzero): Don't use BP_SYM.
55979         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55980         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55981         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55982         <bp-sym.h> and <bp-asm.h>.
55983         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55984         pointers.
55985         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55986         <bp-sym.h> and <bp-asm.h>.
55987         (memcpy): Don't use BP_SYM.
55988         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55989         <bp-sym.h> and <bp-asm.h>.
55990         (memset): Don't use BP_SYM.
55991         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55992         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55993         (__bzero): Don't use BP_SYM.
55994         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55995         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55996         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55997         <bp-sym.h> and <bp-asm.h>.
55998         (__memchr): Don't use BP_SYM.
55999         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56000         <bp-sym.h> and <bp-asm.h>.
56001         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56002         pointers.
56003         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56004         <bp-sym.h> and <bp-asm.h>.
56005         (memcpy): Don't use BP_SYM.
56006         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56007         <bp-sym.h> and <bp-asm.h>.
56008         (__mempcpy): Don't use BP_SYM.
56009         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56010         <bp-sym.h> and <bp-asm.h>.
56011         (__memrchr): Don't use BP_SYM.
56012         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56013         <bp-sym.h> and <bp-asm.h>.
56014         (memset): Don't use BP_SYM.
56015         (__bzero): Likewise.
56016         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56017         <bp-sym.h> and <bp-asm.h>.
56018         (__rawmemchr): Don't use BP_SYM.
56019         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56020         <bp-sym.h> and <bp-asm.h>.
56021         (__STRCMP): Don't use BP_SYM.
56022         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56023         <bp-sym.h> and <bp-asm.h>.
56024         (strchr): Don't use BP_SYM.
56025         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56026         <bp-sym.h> and <bp-asm.h>.
56027         (__strchrnul): Don't use BP_SYM.
56028         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56029         <bp-sym.h> and <bp-asm.h>.
56030         (strlen): Don't use BP_SYM.
56031         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56032         <bp-sym.h> and <bp-asm.h>.
56033         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56034         pointers.
56035         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56036         <bp-sym.h> and <bp-asm.h>.
56037         (__strnlen): Don't use BP_SYM.
56038         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56039         <bp-sym.h> and <bp-asm.h>.
56040         (__GI__setjmp): Don't use BP_SYM.
56041         (_setjmp): Likewise.
56042         (__sigsetjmp): Likewise.
56043         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56044         (L(start_addresses)): Don't use BP_SYM.
56045         (_start): Likewise.
56046         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56047         <bp-asm.h>.
56048         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56049         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56050         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56051         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56052         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56053         <bp-asm.h>.
56054         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56055         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56056         about bounded pointers.
56057         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56058         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56059         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56060         <bp-asm.h>.
56061         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56062         about bounded pointers.  Remove GKM FIXME comments.
56063         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56064         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56065         <bp-asm.h>.
56066         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56067         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56068         Remove GKM FIXME comments.
56069         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56070         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56071         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56072         <bp-asm.h>.
56073         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56074         about bounded pointers.  Remove GKM FIXME comment.
56075         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56076         and <bp-asm.h>.
56077         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56078         pointers.
56079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56080         <bp-sym.h> and <bp-asm.h>.
56081         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56083         <bp-sym.h> and <bp-asm.h>.
56084         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56085         comment.
56087 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56089         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56090         call free(NULL).
56092 2013-03-05  David S. Miller  <davem@davemloft.net>
56094         * po/es.po: Update from translation team.
56096 2013-03-05  Andreas Jaeger  <aj@suse.de>
56098         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56099         <bits/mman-linux.h>.
56100         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56101         is fine.
56102         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56103         <bits/mman-linux.h> to end of file.
56104         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56105         is fine.
56106         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56107         <bits/mman-linux.h> to end of file.
56108         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56109         is fine.
56110         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56111         <bits/mman-linux.h> to end of file.
56113         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56114         (MCL_CURRENT, MCL_FUTURE): Define here.
56116 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56118         [BZ #15232]
56119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56120         attribute_hidden.
56121         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56123 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56125         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56126         fourth parameter needed for rt_sigprocmask syscall.
56127         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56128         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56129         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56130         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56131         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56132         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56134 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56136         [BZ #13550]
56137         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56138         comment about bounded pointers.
56139         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56140         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56142 2013-03-04  Andreas Jaeger  <aj@suse.de>
56144         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56145         common definitions.
56147         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56148         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56149         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56150         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56151         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56152         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56154 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56156         [BZ #15055]
56157         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56158         __ieee754_sqrl instead of __sqrl.
56160 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56162         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56163         * sysdeps/powerpc/fpu_control.h: ... here.
56164         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56165         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56166         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56167         * sysdeps/powerpc/bits/mathinline.h: ... here.
56169 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56171         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56172         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56173         to just [NEED_DL_SYSINFO_DSO].
56174         * elf/dl-support.c: Likewise.
56175         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56176         * elf/rtld.c (dl_main): Likewise.
56177         * elf/setup-vdso.h (setup_vdso): Likewise.
56178         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56179         * sysdeps/unix/sysv/linux/dl-sysdep.c
56180         (_dl_discover_osversion): Likewise.
56182 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56184         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56185         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56187 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56189         * NEWS: Mention libm performance improvements and non-x86 PI
56190         futex support.
56192         * csu/libc-start.c (__pthread_initialize_minimal): Change
56193         function arguments.
56194         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56196 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56198         [BZ #13550]
56199         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56200         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56201         <bp-sym.h> and <bp-asm.h>.
56202         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56203         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56204         and <bp-asm.h>.
56205         (memcpy): Don't use BP_SYM.
56206         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56207         <bp-asm.h>.
56208         (__mpn_add_n): Don't use BP_SYM.
56209         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56210         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56211         and <bp-asm.h>.
56212         (__mpn_addmul_1): Don't use BP_SYM.
56213         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56214         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56215         <bp-sym.h>.
56216         (_setjmp): Don't use BP_SYM.
56217         (__novmx_setjmp): Likewise.
56218         (__GI__setjmp): Likewise.
56219         (__vmx_setjmp): Likewise.
56220         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56221         <bp-sym.h>.
56222         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56223         (__bzero): Don't use BP_SYM.
56224         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56225         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56226         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56227         <bp-sym.h> and <bp-asm.h>.
56228         (memcpy): Don't use BP_SYM.
56229         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56230         <bp-sym.h> and <bp-asm.h>.
56231         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56232         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56233         <bp-sym.h> and <bp-asm.h>.
56234         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56235         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
56236         <bp-asm.h>.
56237         (__mpn_lshift): Don't use BP_SYM.
56238         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56239         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
56240         <bp-asm.h>.
56241         (memset): Don't use BP_SYM.
56242         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56243         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56244         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
56245         <bp-asm.h>.
56246         (__mpn_mul_1): Don't use BP_SYM.
56247         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56248         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
56249         <bp-sym.h> and <bp-asm.h>.
56250         (memcmp): Don't use BP_SYM.
56251         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
56252         <bp-sym.h> and <bp-asm.h>.
56253         (memcpy): Don't use BP_SYM.
56254         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
56255         <bp-sym.h> and <bp-asm.h>.
56256         (memset): Don't use BP_SYM.
56257         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
56258         <bp-sym.h> and <bp-asm.h>.
56259         (strncmp): Don't use BP_SYM.
56260         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
56261         <bp-sym.h> and <bp-asm.h>.
56262         (memcpy): Don't use BP_SYM.
56263         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
56264         <bp-sym.h> and <bp-asm.h>.
56265         (memset): Don't use BP_SYM.
56266         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
56267         <bp-sym.h> and <bp-asm.h>.
56268         (__memchr): Don't use BP_SYM.
56269         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
56270         <bp-sym.h> and <bp-asm.h>.
56271         (memcmp): Don't use BP_SYM.
56272         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
56273         <bp-sym.h> and <bp-asm.h>.
56274         (memcpy): Don't use BP_SYM.
56275         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
56276         <bp-sym.h> and <bp-asm.h>.
56277         (__mempcpy): Don't use BP_SYM.
56278         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
56279         <bp-sym.h> and <bp-asm.h>.
56280         (__memrchr): Don't use BP_SYM.
56281         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
56282         <bp-sym.h> and <bp-asm.h>.
56283         (memset): Don't use BP_SYM.
56284         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
56285         <bp-sym.h> and <bp-asm.h>.
56286         (__rawmemchr): Don't use BP_SYM.
56287         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
56288         <bp-sym.h> and <bp-asm.h>.
56289         (__STRCMP): Don't use BP_SYM.
56290         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
56291         <bp-sym.h> and <bp-asm.h>.
56292         (strchr): Don't use BP_SYM.
56293         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
56294         <bp-sym.h> and <bp-asm.h>.
56295         (__strchrnul): Don't use BP_SYM.
56296         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
56297         <bp-sym.h> and <bp-asm.h>.
56298         (strlen): Don't use BP_SYM.
56299         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
56300         <bp-sym.h> and <bp-asm.h>.
56301         (strncmp): Don't use BP_SYM.
56302         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
56303         <bp-sym.h> and <bp-asm.h>.
56304         (__strnlen): Don't use BP_SYM.
56305         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
56306         <bp-asm.h>.
56307         (__mpn_rshift): Don't use BP_SYM.
56308         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56309         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
56310         <bp-sym.h> and <bp-asm.h>.
56311         (__sigsetjmp): Don't use BP_SYM.
56312         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
56313         (L(start_addresses)): Don't use BP_SYM.
56314         (_start): Likewise.
56315         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
56316         <bp-asm.h>.
56317         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
56318         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56319         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56320         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
56321         <bp-asm.h>.
56322         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
56323         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56324         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56325         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
56326         <bp-asm.h>.
56327         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56328         comments.
56329         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56330         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
56331         <bp-asm.h>.
56332         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
56333         FIXME comments.
56334         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56335         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56336         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
56337         <bp-asm.h>.
56338         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56339         comment.
56340         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
56341         and <bp-asm.h>.
56342         (strncmp): Don't use BP_SYM,
56343         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
56344         <bp-asm.h>.
56345         (__mpn_sub_n): Don't use BP_SYM.
56346         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56347         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
56348         and <bp-asm.h>.
56349         (__mpn_submul_1): Don't use BP_SYM.
56350         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
56352         <bp-sym.h> and <bp-asm.h>.
56353         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
56355         <bp-sym.h> and <bp-asm.h>.
56356         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56357         comment.
56359 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
56362         Use ZK to minimize writes to Z.
56363         (sub_magnitudes): Simplify code a bit.
56364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
56365         Use ZK to minimize writes to Z.
56366         (sub_magnitudes): Simplify code a bit.
56368 2013-02-27  Roland McGrath  <roland@hack.frob.com>
56370         * csu/gmon-start.c: Add special exception to license text.
56372 2013-02-27  Richard Henderson  <rth@redhat.com>
56374         * scripts/config.guess: Update from config.git.
56375         * scripts/config.sub: Likewise.
56377 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56379         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
56381         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
56383         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
56385         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
56387         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
56389 2013-02-26  Roland McGrath  <roland@hack.frob.com>
56391         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
56392         [$(build-shared = yes].
56394 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56396         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
56397         (__mul): Reduce iterations for calculating mantissa.
56399         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
56400         MPTWO.
56401         (__mpranred): Likewise.
56403         [BZ #15160]
56404         * malloc/memusagestat.c (main): Draw graphs for heap and stack
56405         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
56407 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
56409         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
56410         Define __attribute__.
56412 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56414         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56415         unused.
56416         * posix/regex_internal.h (__attribute): Remove.
56417         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56418         (re_string_context_at): Likewise.
56419         (bitset_not): Use __attribute__ and mark function as possibly
56420         unused.
56421         (bitset_merge): Likewise.
56422         (bitset_mask): Likewise.
56423         (re_string_char_size_at): Likewise.
56424         (re_string_wchar_at): Likewise.
56425         (re_string_elem_size_at): Likewise.
56427 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56429         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56430         code.
56431         (cc32): Likewise.
56433         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56434         (__acr): Likewise.
56435         (__cpy): Likewise.
56436         (norm): Likewise.
56437         (denorm): Likewise.
56438         (__dbl_mp): Likewise.
56439         (add_magnitudes): Likewise.
56440         (sub_magnitudes): Likewise.
56441         (__mul): Likewise.
56442         (__inv): Likewise.
56444         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56445         style.
56447         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56448         style.
56450         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56451         code.
56453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56454         up changes with default code.
56455         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56456         Likewise.
56458 2013-02-24  Allan McRae  <allan@archlinux.org>
56460         * manual/socket.texi (The Internet Namespace): Order menu items
56461         to match that in the file.
56463         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56464         node listing of the info page menu.
56466 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
56468         [BZ #13550]
56469         * sysdeps/i386/bp-asm.h: Remove file.
56470         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56471         (PARMS): Do not use macros from bp-asm.h.
56472         (S1): Likewise.
56473         (S2): Likewise.
56474         (SIZE): Likewise.
56475         (__mpn_add_n): Do not use BP_SYM
56476         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56477         "bp-asm.h".
56478         (PARMS): Do not use macros from bp-asm.h.
56479         (S1): Likewise.
56480         (SIZE): Likewise.
56481         (__mpn_addmul_1): Do not use BP_SYM
56482         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56483         "bp-asm.h".
56484         (PARMS): Do not use macros from bp-asm.h.
56485         (SIGMSK): Likewise.
56486         (_setjmp): Likewise.  Do not use BP_SYM.
56487         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
56488         "bp-asm.h".
56489         (PARMS): Do not use macros from bp-asm.h.
56490         (SIGMSK): Likewise.
56491         (setjmp): Likewise.  Do not use BP_SYM.
56492         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
56493         "bp-asm.h".
56494         (PARMS): Do not use macros from bp-asm.h.
56495         (__frexp): Do not use BP_SYM.
56496         (frexp): Likewise.
56497         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56498         "bp-asm.h".
56499         (PARMS): Do not use macros from bp-asm.h.
56500         (__frexpf): Do not use BP_SYM.
56501         (frexpf): Likewise.
56502         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56503         "bp-asm.h".
56504         (PARMS): Do not use macros from bp-asm.h.
56505         (__frexpl): Do not use BP_SYM.
56506         (frexpl): Likewise.
56507         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56508         "bp-asm.h".
56509         (PARMS): Do not use macros from bp-asm.h.
56510         (__remquo): Do not use BP_SYM.
56511         (remquo): Likewise.
56512         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56513         "bp-asm.h".
56514         (PARMS): Do not use macros from bp-asm.h.
56515         (__remquof): Do not use BP_SYM.
56516         (remquof): Likewise.
56517         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
56518         "bp-asm.h".
56519         (PARMS): Do not use macros from bp-asm.h.
56520         (__remquol): Do not use BP_SYM.
56521         (remquol): Likewise.
56522         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
56523         "bp-asm.h".
56524         (PARMS): Do not use macros from bp-asm.h.
56525         (DEST): Likewise.
56526         (SRC): Likewise.
56527         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
56528         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
56529         "bp-asm.h".
56530         (PARMS): Do not use macros from bp-asm.h.
56531         (strlen): Do not use BP_SYM.
56532         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
56533         "bp-asm.h".
56534         (PARMS): Do not use macros from bp-asm.h.
56535         (S1): Likewise.
56536         (S2): Likewise.
56537         (SIZE): Likewise.
56538         (__mpn_add_n): Do not use BP_SYM.
56539         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
56540         "bp-asm.h".
56541         (PARMS): Do not use macros from bp-asm.h.
56542         (S1): Likewise.
56543         (SIZE): Likewise.
56544         (__mpn_addmul_1): Do not use BP_SYM.
56545         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
56546         weak_alias.
56547         (bzero): Likewise.
56548         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
56549         "bp-asm.h".
56550         (PARMS): Do not use macros from bp-asm.h.
56551         (S): Likewise.
56552         (SIZE): Likewise.
56553         (__mpn_lshift): Do not use BP_SYM.
56554         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
56555         "bp-asm.h".
56556         (PARMS): Do not use macros from bp-asm.h.
56557         (DEST): Likewise.
56558         (SRC): Likewise.
56559         (LEN): Likewise.
56560         (memcpy): Likewise.  Do not use BP_SYM.
56561         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
56562         libc_hidden_def and weak_alias.
56563         (mempcpy): Do not use BP_SYM in weak_alias.
56564         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
56565         "bp-asm.h".
56566         (PARMS): Do not use macros from bp-asm.h.
56567         (DEST): Likewise.
56568         (LEN): Likewise.
56569         [!BZERO_P] (CHR): Likewise.
56570         (memset): Likewise.  Do not use BP_SYM.
56571         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
56572         "bp-asm.h".
56573         (PARMS): Do not use macros from bp-asm.h.
56574         (S1): Likewise.
56575         (SIZE): Likewise.
56576         (__mpn_mul_1): Do not use BP_SYM.
56577         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
56578         "bp-asm.h".
56579         (PARMS): Do not use macros from bp-asm.h.
56580         (S): Likewise.
56581         (SIZE): Likewise.
56582         (__mpn_rshift): Do not use BP_SYM.
56583         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
56584         "bp-asm.h".
56585         (PARMS): Do not use macros from bp-asm.h.
56586         (STR): Likewise.
56587         (CHR): Likewise.
56588         (strchr): Likewise.  Do not use BP_SYM.
56589         (index): Do not use BP_SYM in weak_alias.
56590         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
56591         "bp-asm.h".
56592         (PARMS): Do not use macros from bp-asm.h.
56593         (DEST): Likewise.
56594         (SRC): Likewise.
56595         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
56596         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
56597         "bp-asm.h".
56598         (PARMS): Do not use macros from bp-asm.h.
56599         (strlen): Do not use BP_SYM.
56600         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
56601         "bp-asm.h".
56602         (PARMS): Do not use macros from bp-asm.h.
56603         (S1): Likewise.
56604         (S2): Likewise.
56605         (SIZE): Likewise.
56606         (__mpn_sub_n): Do not use BP_SYM.
56607         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
56608         "bp-asm.h".
56609         (PARMS): Do not use macros from bp-asm.h.
56610         (S1): Likewise.
56611         (SIZE): Likewise.
56612         (__mpn_submul_1): Do not use BP_SYM.
56613         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
56614         "bp-asm.h".
56615         (PARMS): Do not use macros from bp-asm.h.
56616         (S1): Likewise.
56617         (S2): Likewise.
56618         (SIZE): Likewise.
56619         (__mpn_add_n): Do not use BP_SYM.
56620         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
56621         weak_alias.
56622         (bzero): Likewise.
56623         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
56624         "bp-asm.h".
56625         (PARMS): Do not use macros from bp-asm.h.
56626         (BLK2): Likewise.
56627         (LEN): Likewise.
56628         (memcmp): Do not use BP_SYM.
56629         (bcmp): Do not use BP_SYM in weak_alias.
56630         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
56631         "bp-asm.h".
56632         (PARMS): Do not use macros from bp-asm.h.
56633         (DEST): Likewise.
56634         (SRC): Likewise.
56635         (LEN): Likewise.
56636         (memcpy): Likewise.  Do not use BP_SYM.
56637         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
56638         "bp-asm.h".
56639         (PARMS): Do not use macros from bp-asm.h.
56640         (DEST): Likewise.
56641         (SRC): Likewise.
56642         (LEN): Likewise.
56643         (memmove): Likewise.  Do not use BP_SYM.
56644         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
56645         "bp-asm.h".
56646         (PARMS): Do not use macros from bp-asm.h.
56647         (DEST): Likewise.
56648         (SRC): Likewise.
56649         (LEN): Likewise.
56650         (__mempcpy): Likewise.  Do not use BP_SYM.
56651         (mempcpy): Do not use BP_SYM in weak_alias.
56652         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
56653         "bp-asm.h".
56654         (PARMS): Do not use macros from bp-asm.h.
56655         (DEST): Likewise.
56656         (LEN): Likewise.
56657         [!BZERO_P] (CHR): Likewise.
56658         (memset): Likewise.  Do not use BP_SYM.
56659         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
56660         "bp-asm.h".
56661         (PARMS): Do not use macros from bp-asm.h.
56662         (STR2): Likewise.
56663         (strcmp): Do not use BP_SYM.
56664         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
56665         "bp-asm.h".
56666         (PARMS): Do not use macros from bp-asm.h.
56667         (STR): Likewise.
56668         (DELIM): Likewise.
56669         [USE_AS_STRTOK_R] (SAVE): Likewise.
56670         (FUNCTION): Likewise.  Do not use BP_SYM.
56671         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
56672         aliases.
56673         (strtok_r): Likewise.
56674         (__GI___strtok_r): Likewise.
56675         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56676         (PARMS): Do not use macros from bp-asm.h.
56677         (S): Likewise.
56678         (SIZE): Likewise.
56679         (__mpn_lshift): Do not use BP_SYM.
56680         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56681         (PARMS): Do not use macros from bp-asm.h.
56682         (STR): Likewise.
56683         (CHR): Likewise.
56684         (__memchr): Do not use BP_SYM.
56685         (memchr): Do not use BP_SYM in weak_alias.
56686         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56687         (PARMS): Do not use macros from bp-asm.h.
56688         (BLK2): Likewise.
56689         (LEN): Likewise.
56690         (memcmp): Do not use BP_SYM.
56691         (bcmp): Do not use BP_SYM in weak_alias.
56692         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
56693         (PARMS): Do not use macros from bp-asm.h.
56694         (S1): Likewise.
56695         (SIZE): Likewise.
56696         (__mpn_mul_1): Do not use BP_SYM.
56697         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
56698         "bp-asm.h".
56699         (PARMS): Do not use macros from bp-asm.h.
56700         (STR): Likewise.
56701         (CHR): Likewise.
56702         (__rawmemchr): Do not use BP_SYM.
56703         (rawmemchr): Do not use BP_SYM in weak_alias.
56704         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56705         (PARMS): Do not use macros from bp-asm.h.
56706         (S): Likewise.
56707         (SIZE): Likewise.
56708         (__mpn_rshift): Do not use BP_SYM.
56709         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56710         (PARMS): Do not use macros from bp-asm.h.
56711         (SIGMSK): Likewise.
56712         (__sigsetjmp): Likewise.  Do not use BP_SYM.
56713         * sysdeps/i386/start.S: Do not include "bp-sym.h".
56714         (_start): Do not use BP_SYM.
56715         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
56716         (PARMS): Do not use macros from bp-asm.h.
56717         (DEST): Likewise.
56718         (SRC): Likewise.
56719         (__stpcpy): Likewise.  Do not use BP_SYM.
56720         (stpcpy): Do not use BP_SYM in weak_alias.
56721         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
56722         "bp-asm.h".
56723         (PARMS): Do not use macros from bp-asm.h.
56724         (DEST): Likewise.
56725         (SRC): Likewise.
56726         (LEN): Likewise.
56727         (__stpncpy): Likewise.  Do not use BP_SYM.
56728         (stpncpy): Do not use BP_SYM in weak_alias.
56729         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56730         (PARMS): Do not use macros from bp-asm.h.
56731         (STR): Likewise.
56732         (CHR): Likewise.
56733         (strchr): Likewise.  Do not use BP_SYM.
56734         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
56735         "bp-asm.h".
56736         (PARMS): Do not use macros from bp-asm.h.
56737         (STR): Likewise.
56738         (CHR): Likewise.
56739         (__strchrnul): Likewise.  Do not use BP_SYM.
56740         (strchrnul): Do not use BP_SYM in weak_alias.
56741         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
56742         "bp-asm.h".
56743         (PARMS): Do not use macros from bp-asm.h.
56744         (STOP): Likewise.
56745         (strcspn): Do not use BP_SYM.
56746         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
56747         "bp-asm.h".
56748         (PARMS): Do not use macros from bp-asm.h.
56749         (STR): Likewise.
56750         (STOP): Likewise.
56751         (strpbrk): Likewise.  Do not use BP_SYM.
56752         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
56753         "bp-asm.h".
56754         (PARMS): Do not use macros from bp-asm.h.
56755         (STR): Likewise.
56756         (CHR): Likewise.
56757         (strrchr): Likewise.  Do not use BP_SYM.
56758         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
56759         (PARMS): Do not use macros from bp-asm.h.
56760         (SKIP): Likewise.
56761         (strspn): Do not use BP_SYM.
56762         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
56763         (PARMS): Do not use macros from bp-asm.h.
56764         (STR): Likewise.
56765         (DELIM): Likewise.
56766         (SAVE): Likewise.
56767         (FUNCTION): Likewise.  Do not use BP_SYM.
56768         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
56769         aliases.
56770         (strtok_r): Likewise.
56771         (__GI___strtok_r): Likewise.
56772         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56773         (PARMS): Do not use macros from bp-asm.h.
56774         (S1): Likewise.
56775         (S2): Likewise.
56776         (SIZE): Likewise.
56777         (__mpn_sub_n): Do not use BP_SYM.
56778         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
56779         "bp-asm.h".
56780         (PARMS): Do not use macros from bp-asm.h.
56781         (S1): Likewise.
56782         (SIZE): Likewise.
56783         (__mpn_submul_1): Do not use BP_SYM.
56784         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
56785         <bp-sym.h>.
56786         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
56787         and <bp-asm.h>.
56788         (PARMS): Do not use macros from bp-asm.h.
56789         (FLAGS): Likewise.
56790         (PTID): Likewise.
56791         (TLS): Likewise.
56792         (CTID): Likewise.
56793         (__clone): Do not use BP_SYM.
56794         (clone): Do not use BP_SYM in weak_alias.
56795         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
56796         and <bp-asm.h>.
56797         (PARMS): Do not use macros from bp-asm.h.
56798         (LEN): Likewise.
56799         (__mmap64): Do not use BP_SYM.
56800         (mmap64): Do not use BP_SYM in weak_alias.
56801         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56802         <bp-sym.h> and <bp-asm.h>.
56803         (PARMS): Do not use macros from bp-asm.h.
56804         (__posix_fadvise64_l64): Do not use BP_SYM.
56805         * sysdeps/unix/sysv/linux/i386/semtimedop.S
56806         (PARMS): Do not use macros from bp-asm.h.
56807         (NSOPS): Likewise.
56808         (semtimedop): Do not use BP_SYM.
56809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
56810         and <bp-asm.h>.
56812 2013-02-21  Allan McRae  <allan@archlinux.org>
56814         * manual/message.texi (Charset conversion in gettext):
56815         Move @end statement to beginning of line.
56817 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
56820         static.
56821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56822         Likewise.
56824         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
56825         (denorm): Likewise.
56826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
56827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
56829 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56831         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
56832         tail-call to the resolved function if pltexit isn't needed.
56834 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
56837         or Y being zero as being unlikely.
56838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56839         Likewise.
56841 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
56843         * manual/nss.texi (System Databases and Name Service Switch):
56844         Remove frobnicate @pxref.
56846 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56848         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56849         __attribute__ ((unused)) to __attribute__ ((__unused__)).
56851 2013-02-20  Petr Machata  <pmachata@redhat.com>
56853         * elf/elf.h (R_ARM_TARGET1): New macro.
56854         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
56855         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
56856         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
56857         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
56858         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
56859         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
56860         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
56861         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
56862         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
56863         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
56864         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
56865         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
56866         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56867         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
56868         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
56869         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
56870         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
56871         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
56872         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
56873         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
56874         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
56875         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
56876         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56877         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
56878         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
56879         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
56880         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
56881         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
56882         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
56883         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56884         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56885         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56886         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56887         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56888         (R_ARM_THM_GOT_BREL12): Likewise.
56889         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56890         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56891         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56892         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56893         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56894         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56895         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56896         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56897         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56899 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56901         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56902         __attribute_used__ to __attribute__ ((unused)).
56904 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56906         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56907         powerpc mpa.c.
56908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56909         comment formatting.
56910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56912 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56914         [BZ #13550]
56915         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56916         Remove macro.
56917         (ENTER): Remove both macro definitions.
56918         (LEAVE): Likewise.
56919         (CHECK_BOUNDS_LOW): Likewise.
56920         (CHECK_BOUNDS_HIGH): Likewise.
56921         (CHECK_BOUNDS_BOTH): Likewise.
56922         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56923         (RETURN_BOUNDED_POINTER): Likewise.
56924         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56925         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56926         (POP_ERRNO_LOCATION_RETURN): Likewise.
56927         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56928         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56929         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56930         macros.
56931         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56932         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56933         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56934         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56935         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56936         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56937         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56938         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56939         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56940         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56941         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56942         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56943         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56944         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56945         removed macros.
56946         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56947         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56948         macros.
56949         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56950         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56951         * sysdeps/i386/i586/memset.S (memset): Likewise.
56952         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56953         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56954         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56955         macros.
56956         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56957         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56958         Change uses of L(2) to L(out).
56959         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56960         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56961         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56962         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56963         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56964         removed macros.
56965         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56966         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56967         macros.
56968         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56969         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56970         (RETURN): Do not use macro LEAVE.
56971         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56972         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56973         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56974         * sysdeps/i386/i686/memset.S (memset): Likewise.
56975         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56976         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56977         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56978         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56979         Likewise.
56980         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56981         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56982         L(1_2) and L(1_3) into L(1).
56983         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56984         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56985         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56986         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56987         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56988         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56989         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56990         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56991         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56992         macros.
56993         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56994         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56995         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56996         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56997         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56998         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56999         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57000         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57001         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57002         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57003         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57004         * sysdeps/i386/strspn.S (strspn): Likewise.
57005         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57006         conditional code.
57007         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57008         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57009         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57010         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57011         L(1_3) into L(1_1).
57012         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57013         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57014         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57015         macros.
57016         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57018 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57020         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57021         macro.
57023 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57025         * math/atest-exp.c (exp_mpn): Remove ROUND.
57026         * math/atest-exp2.c (exp_mpn): Likewise.
57027         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57029         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57030         * stdlib/tst-tls-atexit-lib.c: Likewise.
57031         * stdlib/tst-tls-atexit.c: Likewise.
57033 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57035         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57036         and __attribute_alloc_size__.
57038 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57040         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57041         __attribute_alloc_size__.
57042         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57043         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57045 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57047         * include/programs/xmalloc.h: New file.
57048         * catgets/gencat.c: Include it.
57049         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57050         * elf/pldd.c: Likewise.
57051         * iconv/iconv_charmap.c: Likewise.
57052         * iconv/iconvconfig.c: Likewise.
57053         * iconv/strtab.c: Likewise.
57054         * locale/programs/locale.c: Likewise.
57055         * locale/programs/localedef.h: Likewise.
57056         * locale/programs/simple-hash.c: Likewise.
57057         * nscd/nscd.h: Likewise.
57058         * nss/makedb.c: Likewise.
57059         * sysdeps/generic/ldconfig.h: Likewise.
57061 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57063         * Versions.def: Add GLIBC_2.18.
57064         * include/link.h (struct link_map): New member l_tls_dtor_count.
57065         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57066         (__call_tls_dtors): Likewise.
57067         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57068         __cxa_thread_atexit_impl.
57069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57070         Likewise.
57071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57072         Likewise.
57073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57074         Likewise.
57075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57076         Likewise.
57077         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57079         Likewise.
57080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57081         Likewise.
57082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57084         Likewise.
57085         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57086         (tests): Add test case tst-tls-atexit.
57087         (modules-names): Add shared library for tst-tls-atexit.
57088         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57089         (GLIBC_PRIVATE): Add __call_tls_dtors.
57090         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57091         for libstdc++.
57092         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57093         * stdlib/tst-tls-atexit.c: New test case.
57094         * stdlib/tst-tls-atexit-lib.c: New test case.
57096         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57098         * elf/Versions (ld): Add _dl_find_dso_for_object.
57099         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57100         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57101         (dl_open_worker): Use _dl_find_dso_for_object.
57102         * elf/dl-sym.c (do_sym): Likewise.
57103         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57105 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57107         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57108         Syntactic changes only.
57109         (_dl_runtime_profile): Do a tail-call to the resolved function.
57111 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57113         [BZ #13550]
57114         * sysdeps/x86_64/bp-asm.h: Remove file.
57115         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57116         <bp-sym.h> and <bp-asm.h>.
57117         (__clone): Do not use BP_SYM.
57118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57119         <bp-sym.h> and <bp-asm.h>.
57120         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57121         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57122         "bp-asm.h".
57123         (_setjmp): Do not use BP_SYM.
57124         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57125         "bp-asm.h".
57126         (setjmp): Do not use BP_SYM.
57127         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57128         libc_hidden_def.
57129         (mempcpy): Do not use BP_SYM in weak_alias.
57130         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57131         "bp-asm.h".
57132         (strchr): Do not use BP_SYM.
57133         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57134         "bp-asm.h".
57135         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57136         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57137         (_start): Do not use BP_SYM.
57138         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57139         "bp-asm.h".
57140         (strcat): Do not use BP_SYM.
57141         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57142         "bp-asm.h".
57143         (STRCMP): Do not use BP_SYM.
57144         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57145         "bp-asm.h".
57146         (STRCPY): Do not use BP_SYM.
57147         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57148         "bp-asm.h".
57149         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57150         "bp-asm.h".
57151         (FUNCTION): Do not use BP_SYM.
57152         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57153         weak_alias.
57154         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57156 2013-02-17  Andreas Jaeger  <aj@suse.de>
57158         * time/Versions: Sort entries.
57159         * string/Versions: Likewise.
57160         * resolv/Versions: Likewise.
57161         * posix/Versions: Likewise.
57162         * iconv/Versions: Likewise.
57163         * elf/Versions: Likewise.
57164         * wcsmbs/Versions: Likewise.
57166 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57168         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57169         loop termination condition.
57171         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57172         variable to calculate EZ.
57173         (__sqr): Likewise.
57175         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57176         the lower precision input.
57178 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57180         [BZ #13550]
57181         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57182         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57183         (run-via-rtld-prefix): Do not handle %-bp tests.
57184         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57185         (all-object-suffixes): Remove .ob.
57186         (bppfx): Remove variable.
57187         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57188         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57189         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57190         [$(build-bounded) = yes] (libtype.ob): Likewise.
57191         * Makerules (elide-routines.ob): Remove variable.
57192         (do-tests-clean): Do not handle *-bp.out.
57193         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57194         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57195         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57196         (tests): Do not include $(tests-bp.out).
57197         (xtests): Do not include $(xtests-bp.out).
57198         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57199         [$(build-bounded) = yes] ($(addprefix
57200         $(objpfx),$(binaries-bounded))): Remove rule.
57201         ($(objpfx)%-bp.out): Remove rule.
57202         * config.make.in (build-bounded): Remove variable.
57203         * crypt/Makefile [$(build-bounded) = yes]
57204         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57205         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57206         append to variable.
57207         [$(build-bounded) = yes] (install-lib): Likewise.
57208         [$(build-bounded) = yes] (generated): Likewise.
57209         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57210         Remove rule.
57211         * intl/Makefile [$(build-bounded) = yes]
57212         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57213         * math/Makefile [$(build-bounded) = yes]
57214         ($(tests:%=$(objpfx)%-bp): Likewise.
57215         * misc/Makefile [$(build-bounded) = yes]
57216         ($(objpfx)tst-tsearch-bp): Likewise.
57217         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57218         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57219         Remove dependency.
57220         * string/Makefile (o-objects.ob): Remove variable.
57221         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57222         (CFLAGS-.ob): Remove variable.
57223         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57224         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57225         both definitions of variable.
57226         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57227         (ASFLAGS-.ob): Remove variable.
57229 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
57231         [BZ #13550]
57232         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57233         Remove __BOUNDED_POINTERS__ from condition.
57234         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
57235         * string/bits/string2.h [!__NO_STRING_INLINES &&
57236         !__BOUNDED_POINTERS__]: Likewise.
57237         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
57238         Likewise.
57239         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
57240         Remove conditional code.
57241         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
57242         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
57243         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
57244         condition.
57246         [BZ #13550]
57247         * csu/libc-start.c: Do not include <bp-sym.h>.
57248         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
57249         * elf/dl-open.c: Do not include <bp-sym.h>.
57250         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
57251         * math/fegetenv.c: Do not include <bp-sym.h>.
57252         (fegetenv): Do not use BP_SYM in versioned symbols.
57253         * nptl/sysdeps/pthread/bits/libc-lockP.h
57254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
57255         <bp-sym.h>.
57256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57257         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
57258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57259         (__pthread_mutex_destroy): Likewise.
57260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57261         (__pthread_mutex_lock): Likewise.
57262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57263         (__pthread_mutex_trylock): Likewise.
57264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57265         (__pthread_mutex_unlock): Likewise.
57266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57267         (__pthread_mutexattr_init): Likewise.
57268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57269         (__pthread_mutexattr_destroy): Likewise.
57270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57271         (__pthread_mutexattr_settype): Likewise.
57272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57273         (__pthread_rwlock_init): Likewise.
57274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57275         (__pthread_rwlock_destroy): Likewise.
57276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57277         (__pthread_rwlock_rdlock): Likewise.
57278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57279         (__pthread_rwlock_tryrdlock): Likewise.
57280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57281         (__pthread_rwlock_wrlock): Likewise.
57282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57283         (__pthread_rwlock_trywrlock): Likewise.
57284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57285         (__pthread_rwlock_unlock): Likewise.
57286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57287         (__pthread_key_create): Likewise.
57288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57289         (__pthread_setspecific): Likewise.
57290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57291         (__pthread_getspecific): Likewise.
57292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
57293         Likewise.
57294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57295         (_pthread_cleanup_push_defer): Likewise.
57296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57297         (_pthread_cleanup_pop_restore): Likewise.
57298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57299         (pthread_setcancelstate): Likewise.
57300         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
57301         <bp-sym.h>.
57302         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
57303         (memchr): Do not use BP_SYM in weak_alias.
57304         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
57305         (fegetenv): Do not use BP_SYM in versioned symbols.
57306         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
57307         (fesetenv): Do not use BP_SYM in versioned symbols.
57308         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57309         (feupdateenv): Do not use BP_SYM in versioned symbols.
57310         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57311         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57312         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
57313         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
57314         (open64): Do not use BP_SYM in weak_alias.
57315         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
57316         (fegetenv): Do not use BP_SYM in versioned symbols.
57317         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
57318         (fesetenv): Do not use BP_SYM in versioned symbols.
57319         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57320         (feupdateenv): Do not use BP_SYM in versioned symbols.
57321         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
57322         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
57323         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
57324         (feraiseexcept): Do not use BP_SYM in versioned symbols.
57325         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57326         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57327         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
57328         <bp-sym.h>.
57329         (__libc_start_main): Do not use BP_SYM.
57331 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
57334         redundant return line.
57335         (norm): Likewise.
57336         (denorm): Likewise.
57337         (dbl_mp): Likewise.
57338         (sub_magnitudes): Likewise.
57339         (__add): Likewise.
57340         (__sub): Likewise.
57341         (__mul): Likewise.
57342         (__inv): Likewise.
57343         (__dvd): Likewise.
57344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
57345         (norm): Likewise.
57346         (denorm): Likewise.
57347         (dbl_mp): Likewise.
57348         (sub_magnitudes): Likewise.
57349         (__add): Likewise.
57350         (__sub): Likewise.
57351         (__mul): Likewise.
57352         (__inv): Likewise.
57353         (__dvd): Likewise.
57355         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
57356         instead of __mul.
57357         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57358         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
57359         (cc32): Likewise.
57361         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
57362         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
57363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
57364         of __mul for squares.
57365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
57366         function
57367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
57368         Likewise.
57369         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
57370         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57372 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
57374         [BZ #13550]
57375         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
57376         code.
57377         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
57378         prototype or function definition.  Rename ubp_* variables and
57379         parameters.  Remove argv definitions conditional on
57380         [__BOUNDED_POINTERS__].
57381         * debug/backtrace.c (__backtrace): Do not use __unbounded.
57382         * elf/dl-runtime.c (_dl_fixup): Likewise.
57383         * include/set-hooks.h (RUN_HOOK): Likewise.
57384         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
57385         definition.
57386         * string/strcpy.c (strcpy): Do not use __unbounded.
57387         * sysdeps/generic/frame.h (struct layout): Likewise.
57388         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
57389         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
57390         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
57391         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
57392         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
57393         (__backtrace): Likewise.
57394         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
57395         use __ptrvalue.
57396         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
57397         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57398         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
57399         Likewise.
57400         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
57401         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
57402         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57403         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57404         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
57405         Do not use __unbounded.
57406         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
57407         Rename __unboundedrlimits parameter to rlimits in prototype.
57408         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
57409         Do not use __unbounded.
57410         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
57411         not use __ptrvalue.
57412         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57413         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57414         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57415         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57416         __ptrvalue or __unbounded.
57417         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57418         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57419         use __unbounded.
57420         (__new_msgctl): Do not use __ptrvalue.
57421         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57422         __unbounded.
57423         (__libc_msgrcv): Do not use __ptrvalue.
57424         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57425         startup_info): Do not use __unbounded.
57426         (__libc_start_main): Likewise.  Rename ubp_* variables and
57427         parameters.  Remove argv definitions conditional on
57428         [__BOUNDED_POINTERS__].
57429         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57430         __ptrvalue.
57431         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57432         use __unbounded.
57433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57434         or __ptrvalue.
57435         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57436         use __unbounded.
57437         (__new_shmctl): Do not use __ptrvalue.
57438         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57439         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57440         Likewise.
57441         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57442         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57443         (__libc_sigaction): Likewise.
57444         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57445         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57446         Likewise.
57447         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57449 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
57451         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57453         * string/mempcpy.c: Implement by calling memcpy.
57455 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57460         evaluation.
57462         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57463         values in the mantissa.
57465         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57466         minimize writes to Z.
57467         (sub_magnitudes): Simplify code a bit.
57469 2013-02-12  Roland McGrath  <roland@hack.frob.com>
57471         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57472         from the message.  The linker prefixes all warnings with that already.
57474 2013-02-12  Andreas Schwab  <schwab@suse.de>
57476         [BZ #15078]
57477         * posix/regexec.c (extend_buffers): Add parameter min_len.
57478         (check_matching): Pass minimum needed length.
57479         (clean_state_log_if_needed): Likewise.
57480         (get_subexp): Likewise.
57481         * posix/Makefile (tests): Add bug-regex34.
57482         (bug-regex34-ENV): Define.
57483         * posix/bug-regex34.c: New file.
57485         [BZ #11561]
57486         * posix/regcomp.c (parse_bracket_exp): When looking up collating
57487         elements compare against the byte sequence of it, not its name.
57488         * posix/Makefile (tests): Add bug-regex35.
57489         (bug-regex35-ENV): Define.
57490         * posix/bug-regex35.c: New file.
57492 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57494         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
57495         comment.
57496         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57497         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57498         (CHECK_EOL): Add undef.
57500 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
57502         * bits/stdlib-bsearch.h: New file.
57503         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57504         * stdlib/stdlib.h: Likewise.
57506 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57508         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57509         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57510         declaration.
57511         * manual/search.texi (Array Search Function): Add missing const in
57512         lfind prototype.
57513         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57514         declaration to use rlim_t.
57515         (Basic Scheduling Functions): Remove erroneous const from
57516         sched_getparam prototype.  Remove erroneous * from
57517         sched_get_priority_max and sched_get_priority_min prototypes.
57518         (Resource Usage): Fix summary @comment on vtimes to refer to
57519         sys/vtimes.h rather than vtimes.h.
57520         Add missing *s in vtimes prototype.
57521         (Limits on Resources): Fix ulimit prototype to return long int.
57522         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
57523         prototypes to use long int rather than double.
57524         (BSD Random): Fix initstate and setstate to use char *, not void *.
57525         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
57526         prototype to make second argument 'struct aiocb64 *const[]'.
57527         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
57528         (Status of AIO Operations): Remove erroneous const in aio_return and
57529         aio_return64 prototypes.
57530         (Synchronizing I/O): Fix sync prototype to return void.
57531         * manual/startup.texi (Suboptions): Remove an erroneous const in
57532         getsubopt prototype.
57533         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
57534         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
57535         use size_t rather than int.
57536         (Scanning All Users): Likewise for getpwent_r.
57537         (Setting Groups): Add missing const to setgroups prototype.
57538         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
57539         * manual/socket.texi (Host Names): Fix gethostbyaddr and
57540         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
57541         'const void *' rather than 'const char *'.
57542         (Host Address Functions): Likewise for inet_ntop.
57543         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
57544         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
57545         ssize_t for return value.
57546         (Sending Data): Likewise for send, sendto, sendmsg.
57547         (Socket Option Functions): Add a missing const in setsockopt prototype.
57548         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
57549         use wchar_t for the argument.
57550         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
57551         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
57552         take no arguments.
57553         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
57554         double/float/long double for second argument.
57555         Fix return types of significand, significandf, significandl.
57556         * manual/filesys.texi (Setting Permissions): Use mode_t for second
57557         argument in fchmod prototype.
57558         (File Owner): Use uid_t and gid_t in fchown prototype.
57559         (File Times): Add const to utimes, futimes, and lutimes prototypes.
57560         (Making Special Files): Use mode_t and dev_t in mknod prototype.
57561         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57562         use 'const struct dirent **' as argument types to CMP function pointer
57563         argument.
57564         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
57565         (File Times): Fix summary magic @comment for struct utimbuf and utime
57566         to refer to utime.h, not time.h.
57567         * manual/string.texi (Argz Functions): Add missing const in
57568         argz_extract and argz_next prototypes.
57569         (Finding Tokens in a String): Likewise for basename.
57570         (String/Array Comparison): Fix typo in wcscasecmp prototype.
57571         (Copying and Concatenation): Fix typo in wmemmove prototype.
57572         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
57573         (Signal Stack): Remove erroneous const in sigstack prototype.
57574         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
57575         prototype.
57576         (Simple Calendar Time): Likewise for stime.
57577         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
57578         prototype.
57579         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
57580         say sys/sysctl.h instead.
57581         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
57582         and vsyslog prototypes.
57584 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57586         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
57587         Remove.
57589 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57591         * misc/sys/mman.h: Fix typo in mremap comment.
57593 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57595         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
57596         the '\0' terminator.
57598 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57600         [BZ #13550]
57601         * debug/segfault.c: Don't include <bp-checks.h>.
57602         * sysdeps/generic/bp-checks.h: Remove file.
57603         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
57604         (__GETDENTS): Don't use CHECK_N.
57605         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
57606         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
57607         (__getgroups): Don't use CHECK_N.
57608         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
57609         (setgroups): Don't use CHECK_N.
57610         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
57611         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
57612         (__libc_msgrcv): Don't use CHECK_N.
57613         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
57614         (__libc_msgsnd): Don't use CHECK_N.
57615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
57616         <bp-checks.h>.
57617         (__libc_pread): Don't use CHECK_N.
57618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
57619         include <bp-checks.h>.
57620         (__libc_pread64): Don't use CHECK_N.
57621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
57622         include <bp-checks.h>.
57623         (__libc_pwrite): Don't use CHECK_N.
57624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
57625         include <bp-checks.h>.
57626         (__libc_pwrite64): Don't use CHECK_N.
57627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
57628         <bp-checks.h>.
57629         (__libc_pread): Don't use CHECK_N.
57630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
57631         include <bp-checks.h>.
57632         (__libc_pread64): Don't use CHECK_N.
57633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
57634         include <bp-checks.h>.
57635         (__libc_pwrite): Don't use CHECK_N.
57636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
57637         include <bp-checks.h>.
57638         (__libc_pwrite64): Don't use CHECK_N.
57639         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
57640         (do_pread): Don't use CHECK_N.
57641         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
57642         (do_pread64): Don't use CHECK_N.
57643         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
57644         (do_pwrite): Don't use CHECK_N.
57645         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
57646         (do_pwrite64): Don't use CHECK_N.
57647         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
57648         (__libc_readv): Don't use CHECK_N.
57649         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
57650         (semop): Don't use CHECK_N.
57651         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
57652         <bp-checks.h>.
57653         (semtimedop): Don't use CHECK_N.
57654         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
57655         (__libc_pread): Don't use CHECK_N.
57656         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
57657         <bp-checks.h>.
57658         (__libc_pread64): Don't use CHECK_N.
57659         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
57660         <bp-checks.h>.
57661         (__libc_pwrite): Don't use CHECK_N.
57662         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
57663         <bp-checks.h>.
57664         (__libc_pwrite64): Don't use CHECK_N.
57665         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
57666         <bp-checks.h>.
57667         (__libc_msgrcv): Don't use CHECK_N.
57668         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
57669         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
57670         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
57671         (__libc_writev): Don't use CHECK_N.
57673 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57675         * string/strcpy.c: Removed unused variable.
57677         * Makeconfig (+sysdep-includes): Define with := rather than =.
57678         Use an existing include/ subdir of each sysdeps dir before it.
57680 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57682         * nscd/connection.c (register_traced_file): Comment function.
57683         [HAVE_INOTIFY] (union __inev): Define.
57684         [HAVE_INOTIFY] (inotify_check_files): New function.
57685         [HAVE_INOTIFY] (clear_db_cache): Likewise.
57686         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
57687         clear_db_cache.
57688         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
57690 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57692         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
57693         loaded if not already and that a failure is permanent.
57695 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57697         [BZ #15006]
57698         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
57699         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
57701 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57703         [BZ #13550]
57704         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
57705         (CHECK_1_NULL_OK): Likewise.
57706         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
57707         (__fxstat): Do not use CHECK_1.
57708         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
57709         <bp-checks.h>.
57710         (___fxstat64): Do not use CHECK_1.
57711         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
57712         <bp-checks.h>.
57713         (__fxstatat): Do not use CHECK_1.
57714         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
57715         <bp-checks.h>.
57716         (__fxstatat64): Do not use CHECK_1.
57717         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
57718         <bp-checks.h>.
57719         (__fxstat): Do not use CHECK_1.
57720         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
57721         <bp-checks.h>.
57722         (__fxstatat): Do not use CHECK_1.
57723         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57724         <bp-checks.h>.
57725         (__getresgid): Do not use CHECK_1.
57726         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57727         <bp-checks.h>.
57728         (__getresuid): Do not use CHECK_1.
57729         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
57730         <bp-checks.h>.
57731         (__lxstat): Do not use CHECK_1.
57732         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57733         <bp-checks.h>.
57734         (__old_msgctl): Do not use CHECK_1.
57735         (__new_msgctl): Likewise.
57736         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
57737         <bp-checks.h>.
57738         (__new_setrlimit): Do not use CHECK_1.
57739         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57740         <bp-checks.h>.
57741         (__old_shmctl): Do not use CHECK_1.
57742         (__new_shmctl): Likewise.
57743         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
57744         <bp-checks.h>.
57745         (__xstat): Do not use CHECK_1.
57746         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
57747         (__lxstat): Do not use CHECK_1.
57748         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
57749         <bp-checks.h>.
57750         (___lxstat64): Do not use CHECK_1.
57751         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
57752         (__old_msgctl): Do not use CHECK_1.
57753         (__new_msgctl): Likewise.
57754         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
57755         <bp-checks.h>.
57756         (__gettimeofday): Do not use CHECK_1.
57757         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
57758         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
57759         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
57760         <bp-checks.h>.
57761         (__gettimeofday): Do not use CHECK_1.
57762         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
57763         (__old_shmctl): Do not use CHECK_1_NULL_OK.
57764         (__new_shmctl): Do not use CHECK_1.
57765         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
57766         <bp-checks.h>.
57767         (do_sigtimedwait): Do not use CHECK_1.
57768         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
57769         <bp-checks.h>.
57770         (do_sigwaitinfo): Do not use CHECK_1.
57771         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
57772         <bp-checks.h>.
57773         (msgctl): Do not use CHECK_1.
57774         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
57775         <bp-checks.h>.
57776         (shmctl): Do not use CHECK_1.
57777         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
57778         (ustat): Do not use CHECK_1.
57779         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
57780         <bp-checks.h>.
57781         (__fxstat): Do not use CHECK_1.
57782         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
57783         <bp-checks.h>.
57784         (__fxstatat): Do not use CHECK_1.
57785         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
57786         <bp-checks.h>.
57787         (__lxstat): Do not use CHECK_1.
57788         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
57789         <bp-checks.h>.
57790         (__xstat): Do not use CHECK_1.
57791         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
57792         (__xstat): Do not use CHECK_1.
57793         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
57794         (___xstat64): Do not use CHECK_1.
57796         [BZ #13550]
57797         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
57798         definitions.
57799         (CHECK_BOUNDS_HIGH): Likewise.
57800         * string/strcpy.c: Do not include <bp-checks.h>.
57801         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
57803 2013-02-07  Roland McGrath  <roland@hack.frob.com>
57805         * nscd/nscd-client.h (__nscd_drop_map_ref):
57806         Add __attribute__ ((unused)).
57807         * nis/nss-nisplus.h (niserr2nss): Likewise.
57809         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
57810         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
57812         * csu/libc-tls.c (init_static_tls, init_slotinfo):
57813         Remove inline keyword.
57814         * include/rounding-mode.h (round_away): Likewise.
57815         * libio/wfileops.c (adjust_wide_data): Likewise.
57816         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
57817         (__m128i_strloadu_tolower): Likewise.
57818         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
57819         (__m128i_strloadu_tolower): Likewise.
57820         * time/mktime.c (ydhms_diff): Likewise.
57821         * locale/elem-hash.h (elem_hash): Likewise.
57822         * locale/setlocale.c (setdata): Likewise.
57823         * posix/regex_internal.h (re_string_char_size_at): Likewise.
57824         (re_string_wchar_at): Likewise.
57825         (bitset_not, bitset_merge, bitset_mask): Likewise.
57826         [!(__GNUC__ > 3)] (inline): Remove macro.
57827         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
57828         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
57829         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
57830         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
57831         * string/memcmp.c (memcmp_bytes): Likewise.
57832         * locale/programs/locarchive.c (compute_hashval): Likewise.
57833         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
57834         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
57835         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
57836         * nss/getent.c (print_rpc, print_protocols): Likewise.
57837         (print_passwd, print_group, print_aliases): Likewise.
57838         * nis/nss-nisplus.h (niserr2nss): Likewise.
57839         * nscd/connections.c (restart_p): Likewise.
57840         Change return type to bool.
57842 2013-02-05  Roland McGrath  <roland@hack.frob.com>
57844         * Makeconfig (all-Depend-files): Add existing
57845         $(sorted-subdirs:=/Depend) files.
57846         (all-subdirs): Remove nss.
57847         * sysdeps/unix/inet/Subdirs: Add it here instead.
57848         * hesiod/Depend: New file.
57850         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
57851         instead of calling alloca.
57853         * io/lseek.c (__lseek): Rename to __libc_lseek.
57854         Define __lseek as an alias.
57856         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
57858 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
57860         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
57861         else clause and remove check for non-standard endianness.
57863 2013-02-04  David S. Miller  <davem@davemloft.net>
57865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57867 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
57869         [BZ #13550]
57870         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
57871         (__ubp_memchr): Remove prototype.
57872         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
57873         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57874         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
57875         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57876         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
57877         Remove alias.
57878         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
57879         (__ubp_memchr): Likewise.
57880         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
57881         (__ubp_memchr): Likewise.
57882         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
57883         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57884         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57885         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57886         CHECK_STRING.
57887         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57888         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57889         (__getcwd): Do not use CHECK_STRING.
57890         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57891         <bp-checks.h>.
57892         (__real_chown): Do not use CHECK_STRING.
57893         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57894         <bp-checks.h>.
57895         (fchownat): Do not use CHECK_STRING.
57896         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57897         CHECK_STRING.
57898         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57899         <bp-checks.h>.
57900         (__lchown): Do not use CHECK_STRING.
57901         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57902         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57903         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57904         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57906         include <bp-checks.h>.
57907         (truncate64): Do not use CHECK_STRING.
57908         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57909         <bp-checks.h>.
57910         (__real_chown): Do not use CHECK_STRING.
57911         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57912         <bp-checks.h>.
57913         (__lchown): Do not use CHECK_STRING.
57914         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57915         <bp-checks.h>.
57916         (__chown): Do not use CHECK_STRING.
57917         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57918         <bp-checks.h>.
57919         (truncate64): Do not use CHECK_STRING.
57920         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57921         Likewise.
57922         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57923         (__xmknod): Do not use CHECK_STRING.
57924         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57925         <bp-checks.h>.
57926         (__xmknodat): Do not use CHECK_STRING.
57927         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57928         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57930 2013-02-04  Andreas Schwab  <schwab@suse.de>
57932         [BZ #14142]
57933         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57934         * include/netdb.h: Likewise for h_errno.
57935         * elf/tst-stackguard1.c: Include <tls.h>.
57937 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57939         * elf/link.h (struct link_map): Extend the l_addr comment.
57940         * include/link.h (struct link_map): Likewise.
57942 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57944         [BZ #13550]
57945         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57946         (BOUNDED_1): Remove macro.
57947         * debug/backtrace.c: Don't include <bp-checks.h>.
57948         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57949         (__backtrace): Likewise.
57950         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57951         <bp-checks.h>.
57952         (__backtrace): Don't use BOUNDED_1.
57953         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57954         <bp-checks.h>.
57955         (__backtrace): Don't use BOUNDED_1.
57956         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57957         (__backtrace): Don't use BOUNDED_1.
57958         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57959         (shmat): Don't use BOUNDED_N.
57961 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57963         [BZ #13550]
57964         * sysdeps/generic/bp-start.h: Remove file.
57965         * csu/libc-start.c: Don't include <bp-start.h>.
57966         (LIBC_START_MAIN): Set up __environ directly instead of using
57967         INIT_ARGV_and_ENVIRON.
57968         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57969         <bp-start.h>.
57971         [BZ #13550]
57972         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57973         definitions.
57974         (CHECK_FCNTL): Likewise.
57975         (CHECK_N_PAGES): Likewise.
57977         [BZ #13550]
57978         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57979         definitions.
57980         (CHECK_SIGSET_NULL_OK): Likewise.
57981         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57982         <bp-checks.h>.
57983         (sigpending): Don't use CHECK_SIGSET.
57984         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57985         <bp-checks.h>.
57986         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57987         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57988         <bp-checks.h>.
57989         (do_sigsuspend): Don't use CHECK_SIGSET.
57990         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57991         use CHECK_SIGSET.
57992         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57993         (do_sigwait): Don't use CHECK_SIGSET.
57994         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57995         use CHECK_SIGSET.
57996         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57997         include <bp-checks.h>.
57998         (sigpending): Don't use CHECK_SIGSET.
57999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58000         include <bp-checks.h>.
58001         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58002         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58003         <bp-checks.h>.
58004         (sigpending): Don't use CHECK_SIGSET.
58005         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58006         <bp-checks.h>.
58007         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58009         [BZ #13550]
58010         * sysdeps/generic/bp-semctl.h: Remove file.
58011         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58012         <bp-checks.h> and <bp-semctl.h>.
58013         (__old_semctl): Don't use CHECK_SEMCTL.
58014         (__new_semctl): Likewise.
58015         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58016         and <bp-semctl.h>.
58017         (__old_semctl): Don't use CHECK_SEMCTL.
58018         (__new_semctl): Likewise.
58019         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58020         <bp-checks.h> and <bp-semctl.h>.
58021         (__old_semctl): Don't use CHECK_SEMCTL.
58022         (__new_semctl): Likewise.
58023         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58024         <bp-checks.h> and <bp-semctl.h>.
58025         (semctl): Don't use CHECK_SEMCTL.
58027         [BZ #13550]
58028         * Makerules (elide-bp-thunks): Remove variable.
58029         (elide-routines.oS): Don't use $(elide-bp-thunks).
58030         (elide-routines.os): Likewise.
58031         (elide-routines.o): Likewise.
58032         (elide-routines.op): Likewise.
58033         (elide-routines.og): Likewise.
58034         (objects): Don't use $(bp-thunks).
58035         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58036         include.
58037         (common-generated): Do not add s-proto-bp.d.
58038         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58039         (int): Likewise.
58040         (typ): Likewise.
58041         Do not generate makefile rules for bounded-pointer thunks.
58042         * sysdeps/generic/bp-thunks.h: Remove file.
58043         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58044         * sysdeps/unix/s-proto-bp.S: Likewise.
58046         [BZ #15062]
58047         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58048         parts of result separately when argument is not close to line from
58049         -i to i and one part of argument is small.
58050         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58051         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58052         * math/libm-test.inc (cacos_test): Add more tests.
58053         (casin_test): Likewise.
58054         (casinh_test): Likewise.
58055         * sysdeps/i386/fpu/libm-test-ulps: Update.
58056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58058 2013-01-31  David S. Miller  <davem@davemloft.net>
58060         * po/de.po: Update from translation team.
58062 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58064         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58066 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58068         * configure.in (_AC_PROG_CC_C89): New definition.
58069         * configure: Regenerate.
58071         * configure.in (AC_PROG_CPP): New definition.
58072         * configure: Regenerate.
58074 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58076         * debug/tst-backtrace.h: New file.
58077         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58078         (ret): Remove variable.
58079         (x): Likewise.
58080         (FAIL): Remove macro.
58081         (NO_INLINE): Likewise.
58082         (fn1): Use match function instead of strstr.
58083         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58084         (ret): Remove variable.
58085         (x): Likewise.
58086         (FAIL): Remove macro.
58087         (NO_INLINE): Likewise.
58088         (fn): Use match function instead of strstr.
58089         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58090         (ret): Remove variable.
58091         (x): Likewise.
58092         (FAIL): Remove macro.
58093         (NO_INLINE): Likewise.
58094         (handle_signal): Use match function instead of strstr.
58095         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58096         (ret): Remove variable.
58097         (x): Likewise.
58098         (FAIL): Remove macro.
58099         (NO_INLINE): Likewise.
58100         (handle_signal): Use match function instead of strstr.
58102 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58104         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58106 2013-01-23  David S. Miller  <davem@davemloft.net>
58108         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58109         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58110         argument of CAS if possible.
58111         * sysdeps/sparc/sparc64/bits/atomic.h
58112         (__arch_compare_and_exchange_val_32_acq): Likewise.
58113         (__arch_compare_and_exchange_val_64_acq): Likewise.
58115 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58117         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58118         * sysdeps/posix/ulimit.c: ... this.
58119         Include <limits.h>.
58120         * sysdeps/unix/bsd/ulimit.c: Remove file.
58122 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58124         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58125         (LDFLAGS-tst-array5): Likewise.
58127 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58129         [BZ #15036]
58130         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58131         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58132         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58133         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58135 2013-01-21  David S. Miller  <davem@davemloft.net>
58137         * sysdeps/sparc/backtrace.c: New file.
58138         * sysdeps/sparc/sparc32/backtrace.h: New file.
58139         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58140         * sysdeps/sparc/sparc64/backtrace.h: New file.
58141         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58142         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58143         -funwind-tables.
58145 2013-01-21  Andreas Schwab  <schwab@suse.de>
58147         [BZ #15020]
58148         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58149         closed its stdout.
58151 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58154         "mpa2.h".
58155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58157 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58158             Mark Mitchell  <mark@codesourcery.com>
58159             Tom de Vries  <tom@codesourcery.com>
58160             Paul Pluzhnikov  <ppluzhnikov@google.com>
58162         * debug/tst-backtrace2.c: New file.
58163         * debug/tst-backtrace3.c: Likewise.
58164         * debug/tst-backtrace4.c: Likewise.
58165         * debug/tst-backtrace5.c: Likewise.
58166         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58167         (CFLAGS-tst-backtrace3.c): Likewise.
58168         (CFLAGS-tst-backtrace4.c): Likewise.
58169         (CFLAGS-tst-backtrace5.c): Likewise.
58170         (LDFLAGS-tst-backtrace2): Likewise.
58171         (LDFLAGS-tst-backtrace3): Likewise.
58172         (LDFLAGS-tst-backtrace4): Likewise.
58173         (LDFLAGS-tst-backtrace5): Likewise.
58174         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58175         tst-backtrace4 and tst-backtrace5.
58177 2013-01-18  Anton Blanchard  <anton@samba.org>
58178             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58180         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58181         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58182         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58183         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58185         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58186         "+r" and remove output regs list as redundant.  Add explicit inline
58187         asm to specify register of return val to work around compiler codegen
58188         bug.  Remove (int) cast on return value.  Add return type parameter to
58189         use in macro so that this macro does not truncate return value for
58190         64-bit values.
58191         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58192         pass to INTERNAL_VSYSCALL_NCS.
58193         (INLINE_VSYSCALL): Add 'long int' as return type to
58194         INTERNAL_VSYSCALL_NCS macro invocation.
58195         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58196         INTERNAL_VSYSCALL_NCS macro invocation.
58197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58199 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58201         [BZ #14496]
58202         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58203         Fix application of SIMD FP exception mask.
58205         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58206         mp_no from a power of two.
58207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58208         __mpexp_twomm1.  Use __pow_mp.
58210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58211         multiplication.
58213 2013-01-17  David S. Miller  <davem@davemloft.net>
58215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58217 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58219         [BZ #15023]
58220         * include/complex.h: Condition contents on [!_COMPLEX_H].
58221         (__kernel_casinhf): New prototype.
58222         (__kernel_casinh): Likewise.
58223         (__kernel_casinhl): Likewise.
58224         * math/Makefile (libm_calls): Add k_casinh.
58225         * math/k_casinh.c: New file.
58226         * math/k_casinhf.c: Likewise.
58227         * math/k_casinhl.c: Likewise.
58228         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58229         finite nonzero arguments.
58230         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58231         finite nonzero arguments.
58232         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58233         finite nonzero arguments.
58234         * math/s_casinh.c: Do not include <float.h>.
58235         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
58236         * math/s_casinhf.c: Do not include <float.h>.
58237         (__casinhf): Move code for finite nonzero arguments to
58238         k_casinhf.c.
58239         * math/s_casinhl.c: Do not include <float.h>.
58240         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
58241         redefine.
58242         (__casinhl): Move code for finite nonzero arguments to
58243         k_casinhl.c.
58244         * math/libm-test.inc (cacos_test): Add more tests.
58245         * sysdeps/i386/fpu/libm-test-ulps: Update.
58246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58248 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
58250         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
58251         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
58252         [!HAVE_MREMAP]: Remove [defined linux] case.
58253         * malloc/arena.c: Do not include <malloc-sysdep.h>.
58255 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58257         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
58259 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
58261         * elf/elf.h (R_386_SIZE32): New relocation.
58262         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
58263         R_386_SIZE32.
58264         (elf_machine_rela): Likewise.
58265         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58266         R_X86_64_SIZE64 and R_X86_64_SIZE32.
58268 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58270         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
58271         (FP_FAST_FMA): Do not define.
58272         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
58273         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
58274         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
58275         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
58276         !_SOFT_FLOAT]: Likewise.
58277         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
58278         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
58279         value.
58280         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
58281         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
58282         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
58283         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
58284         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
58285         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
58286         file.
58288 2013-01-16  Andreas Schwab  <schwab@suse.de>
58290         [BZ #14327]
58291         * include/stdlib.h (__mktemp): Add declaration.
58292         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
58293         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
58295 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58297         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
58298         definitions.
58299         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58300         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
58301         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
58302         definitions here.
58303         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
58304         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
58305         definitions.
58306         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
58307         and ONE.
58308         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
58309         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
58310         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
58311         definitions.
58312         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
58313         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
58314         definitions.
58315         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58317         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
58319 2013-01-15  David S. Miller  <davem@davemloft.net>
58321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58322         trunc{,f} to libm-sysdep_routes.
58323         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
58325         file.
58326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
58327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
58328         file.
58329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
58330         file.
58331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
58332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
58333         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
58334         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
58335         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
58336         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
58337         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
58338         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
58340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58341         nearbyint{,f} to libm-sysdep_routes.
58342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
58344         New file.
58345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
58346         file.
58347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
58348         New file.
58349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
58350         file.
58351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
58352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
58353         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
58354         file.
58355         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
58356         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
58357         file.
58358         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
58359         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
58360         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
58362         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58363         libc_feholdexcept and libc_fesetenv.
58365 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
58367         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
58369 2013-01-14  David S. Miller  <davem@davemloft.net>
58371         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58372         (SPARC_ASM_VIS2_IFUNC): Likewise.
58373         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
58374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
58375         use of 'siam' instruction.
58376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
58377         Likewise.
58378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
58379         Likewise.
58380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
58381         Likewise.
58382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
58383         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
58384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
58385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
58386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
58387         file.
58388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
58389         file.
58390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
58391         file.
58392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
58393         file.
58394         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
58395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
58396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
58397         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
58398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
58399         new VIS2 routines.
58400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58403         Likewise.
58404         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58405         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58407         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
58409         routines to libm-sysdep_routines.
58410         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58413         fdim/fdimf to libm-sysdep_routines.
58414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58415         file.
58416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58418         file.
58419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58422         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58423         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58424         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58425         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58427 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58429         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58430         to optimize copies.
58432         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58437         local variable MPTWO.
58438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58439         Likewise.
58441 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58443         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58444         GLOB_NOESCAPE.
58446 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58448         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58450 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58452         * manual/pattern.texi (glob_t): Document gl_flags.
58453         (glob64_t): Likewise.
58455 2013-01-11  David S. Miller  <davem@davemloft.net>
58457         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58458         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58459         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
58460         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58461         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58462         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58463         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58464         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58465         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58466         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58467         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58468         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58469         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58471         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58472         sparc V9 rather than using V8 code.
58473         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58474         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58476         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58477         Move to...
58478         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58479         Here.
58481 2013-01-11  Roland McGrath  <roland@hack.frob.com>
58483         [BZ #14941]
58484         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58485         not in the main loop.
58486         * configure: Regenerated.
58488 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
58490         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58491         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58492         to just #else.
58493         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
58494         [!__GLIBC_HAVE_LONG_LONG] case.
58495         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58496         condition to just #else.
58497         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58498         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58499         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58500         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58501         unconditional.
58502         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58503         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58504         #elif condition to just #else.
58505         * sysdeps/unix/sysv/linux/sys/sysmacros.h
58506         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58507         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58508         #elif condition to just #else.
58510 2013-01-11  Steve Ellcey  <sellcey@mips.com>
58512         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58513         (EF_MIPS_ARCH_64): Fix value.
58514         (EF_MIPS_ARCH_32R2): New.
58515         (EF_MIPS_ARCH_64R2): New.
58517 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
58519         * Makeconfig (+link-pie-before-libc): New.
58520         (+link-pie-after-libc): Likewise.
58521         (+link-pie-tests): Likewise.
58522         (+link-pie): Rewritten.
58523         (link-before-libc): Remove $(config-LDFLAGS).
58524         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
58525         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
58526         (config-LDFLAGS): Renamed to ...
58527         (rtld-LDFLAGS): This.
58528         (rtld-tests-LDFLAGS): New macro.
58529         (link-libc-rpath-link): Likewise.
58530         (link-libc-tests-rpath-link): Likewise.
58531         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
58532         (link-libc): Prepand $(link-libc-rpath-link).
58533         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
58534         (test-program-prefix): New macro.
58535         (test-via-rtld-prefix): Likewise.
58536         (test-program-cmd): Likewise.
58537         (host-test-program-cmd): Likewise.
58538         * Makefile ($(common-objpfx)testrun.sh): Replace
58539         $(run-program-prefix) with $(test-program-prefix).
58540         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
58541         $(rtld-LDFLAGS).
58542         ($(common-objpfx)shlib.lds): Likewise.
58543         (build-module-helper): Likewise.
58544         ($(common-objpfx)format.lds): Likewise.
58545         * Rules (binaries-pie-tests): New.
58546         (binaries-pie-notests): Likewise.
58547         (binaries-pie): Rewritten.
58548         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
58549         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
58550         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
58551         (make-test-out): Replace $(host-built-program-cmd) with
58552         $(host-test-program-cmd).
58553         * config.make.in (build-hardcoded-path-in-tests): New variable.
58554         * configure.in (--enable-hardcoded-path-in-tests): New configure
58555         option.
58556         (hardcoded_path_in_tests): New AC_SUBST.
58557         * configure: Regenerated.
58558         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
58559         $(built-program-cmd) with $(test-program-cmd).
58560         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
58561         (test_program_cmd): This.
58562         * elf/Makefile ($(objpfx)order.out): Run test with
58563         $(test-program-prefix).
58564         ($(objpfx)order2.out): Likewise.
58565         ($(objpfx)tst-initorder.out): Likewise.
58566         ($(objpfx)tst-initorder2.out): Likewise.
58567         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
58568         $(test-program-cmd).
58569         ($(objpfx)tst-array1-static.out): Likewise.
58570         ($(objpfx)tst-array2.out): Likewise.
58571         ($(objpfx)tst-array3.out): Likewise.
58572         ($(objpfx)tst-array4.out): Likewise.
58573         ($(objpfx)tst-array5.out): Likewise.
58574         ($(objpfx)tst-array5-static.out): Likewise.
58575         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
58576         $(test-program-cmd).
58577         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
58578         $(run-program-prefix) with $(test-program-prefix).
58579         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
58580         (test_program_prefix): This.
58581         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
58582         $(run-program-prefix) with $(test-program-prefix).
58583         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
58584         (test_program_prefix): This.
58585         * iconvdata/tst-tables.sh: Likewise.
58586         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
58587         $(run-program-prefix) with $(test-program-prefix).
58588         ($(objpfx)tst-translit.out): Likewise.
58589         ($(objpfx)tst-gettext2.out): Likewise.
58590         ($(objpfx)tst-gettext4.out): Likewise.
58591         ($(objpfx)tst-gettext6.out): Likewise.
58592         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
58593         (test_program_prefix): This.
58594         * intl/tst-gettext2.sh: Likewise.
58595         * intl/tst-gettext4.sh  Likewise.
58596         * intl/tst-gettext6.sh: Likewise.
58597         * intl/tst-translit.sh: Likewise.
58598         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
58599         with $(test-program-cmd).
58600         * libio/Makefile ($(objpfx)test-freopen.out): Replace
58601         $(run-program-prefix) with $(test-program-prefix).
58602         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
58603         (test_program_prefix): This.
58604         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
58605         $(run-program-prefix) with $(test-program-prefix).
58606         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
58607         (test_program_prefix): This.
58608         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
58609         * posix/Makefile ($(objpfx)globtest.out): Replace
58610         $(run-via-rtld-prefix) and $(test-wrapper) with
58611         $(test-program-prefix) and $(test-via-rtld-prefix).
58612         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
58613         $(test-program-prefix).
58614         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
58615         $(host-test-program-cmd).
58616         (tst-spawn-ARGS): Likewise.
58617         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
58618         $(test-program-prefix).
58619         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
58620         (test_via_rtld_prefix): This.
58621         (test_wrapper): Renamed to ...
58622         (test_program_prefix): This.
58623         (run_program_prefix): Replaced by test_program_prefix.
58624         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
58625         (test_program_prefix): This.
58626         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
58627         with $(host-test-program-cmd).
58628         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
58629         $(run-program-prefix) with $(test-program-prefix).
58630         ($(objpfx)tst-printf.out): Likewise.
58631         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
58632         $(test-program-cmd).
58633         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
58634         (test_program_prefix): This.
58635         * stdio-common/tst-unbputc.sh: Likewise.
58636         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
58637         $(run-program-prefix) with $(test-program-prefix).
58638         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
58639         (test_program_prefix): This.
58640         * string/Makefile ($(objpfx)tst-svc.out):  Replace
58641         $(built-program-cmd) with $(test-program-cmd).
58643 2013-01-11  Andreas Jaeger  <aj@suse.de>
58645         [BZ #15003]
58646         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
58647         value. Sync with Linux 3.7.
58649 2013-01-10  David S. Miller  <davem@davemloft.net>
58651         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
58652         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58653         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58655 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58657         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
58658         never set.
58659         * configure: Regenerated.
58661 2013-01-10  David S. Miller  <davem@davemloft.net>
58663         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58664         sparc V9 rather than using V8 code.
58665         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58666         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58668 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58670         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
58671         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
58672         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
58673         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
58674         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
58675         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
58676         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
58677         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
58678         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
58679         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
58680         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
58681         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
58682         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
58683         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
58684         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
58685         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
58686         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
58687         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
58688         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
58689         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
58690         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
58691         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
58692         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
58693         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
58694         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
58695         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
58696         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
58698 2013-01-10  David S. Miller  <davem@davemloft.net>
58700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58702 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58704         * posix/Makefile (tests-static): New variable.
58705         (tests): Add $(tests-static).
58706         (tst-exec-static-ARGS): New variable.
58707         (tst-spawn-static-ARGS): Likewise.
58708         * posix/tst-exec-static.c: New file.
58709         * posix/tst-spawn-static.c: Likewise.
58710         * posix/tst-exec.c: Support run directly.
58711         * posix/tst-spawn.c: Likewise.
58713 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
58715         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
58716         long.
58717         * math/bits/mathcalls.h (llrint): Likewise.
58718         (llround): Likewise.
58719         * stdlib/stdlib.h (struct drand48_data): Likewise.
58720         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
58721         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
58722         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
58723         Likewise.
58724         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
58725         Likewise.
58726         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
58727         (elf_greg_t): Likewise.
58728         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
58729         (__jmp_buf): Likewise.
58730         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
58731         definitions.
58732         (llrint): Likewise, for all definitions.
58733         (llrintl): Likewise.
58735         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
58736         Remove [__GNUC__] condition.
58737         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
58738         condition to just [__USE_ISOC99].
58739         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
58741 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58743         [BZ #14200]
58744         * sysdeps/unix/sysv/linux/x86/bits/environments.h
58745         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
58746         defined.
58747         (_POSIX_V6_ILP32_OFF32): Likewise.
58748         (_XBS5_ILP32_OFF32): Likewise.
58749         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
58750         (__ILP32_OFFBIG_LDFLAGS): Likewise.
58752 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58754         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
58756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
58757         doubles __mpexp_twomm1.  Adjust usage.
58758         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
58759         Remove.
58761 2013-01-10  Andreas Schwab  <schwab@suse.de>
58763         [BZ #14964]
58764         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
58765         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
58767 2013-01-09  David S. Miller  <davem@davemloft.net>
58769         [BZ #15003]
58770         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
58771         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
58772         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
58773         (TCP_FASTOPEN): Define.
58774         (tcp_repair_opt): New structure.
58775         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
58776         enum values.
58777         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
58778         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
58779         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
58780         (tcp_cookie_transactions): New structure.
58782 2013-01-09  Anton Blanchard  <anton@samba.org>
58784         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
58785         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
58786         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
58787         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
58789 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
58791         * include/features.h (__USE_ANSI): Remove.
58793 2013-01-09  Roland McGrath  <roland@hack.frob.com>
58795         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
58797         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
58799 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
58801         * sysdeps/s390/fpu/libm-test-ulps: Update.
58803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58805         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
58806         (__acr): Likewise.
58807         (__cpy): Likewise.
58808         (norm): Likewise.
58809         (denorm): Likewise.
58810         (__mp_dbl): Likewise.
58811         (__dbl_mp): Likewise.
58812         (add_magnitudes): Likewise.
58813         (sub_magnitudes): Likewise.
58814         (__add): Likewise.
58815         (__sub): Likewise.
58816         (__mul): Likewise.
58817         (__inv): Likewise.
58818         (__dvd): Likewise.
58819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
58820         (__acr): Likewise.
58821         (__cpy): Likewise.
58822         (norm): Likewise.
58823         (denorm): Likewise.
58824         (__mp_dbl): Likewise.
58825         (__dbl_mp): Likewise.
58826         (add_magnitudes): Likewise.
58827         (sub_magnitudes): Likewise.
58828         (__add): Likewise.
58829         (__sub): Likewise.
58830         (__mul): Likewise.
58831         (__inv): Likewise.
58832         (__dvd): Likewise.
58833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
58834         (__acr): Likewise.
58835         (__cpy): Likewise.
58836         (norm): Likewise.
58837         (denorm): Likewise.
58838         (__mp_dbl): Likewise.
58839         (__dbl_mp): Likewise.
58840         (add_magnitudes): Likewise.
58841         (sub_magnitudes): Likewise.
58842         (__add): Likewise.
58843         (__sub): Likewise.
58844         (__mul): Likewise.
58845         (__inv): Likewise.
58846         (__dvd): Likewise.
58848 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
58850         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
58851         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58852         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
58853         2 && __USE_EXTERN_INLINES]: Likewise.
58855 2013-01-08  Andreas Jaeger  <aj@suse.de>
58857         [BZ# 14985]
58858         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
58859         Remove.
58860         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58861         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58863 2013-01-07  Anton Blanchard  <anton@samba.org>
58865         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
58866         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58867         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
58868         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58869         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58870         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58871         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
58872         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58874         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58875         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58876         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58877         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58878         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58879         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58880         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58881         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58882         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58883         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58884         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58885         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58886         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58887         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58888         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58889         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58890         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58891         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58892         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58893         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58894         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58895         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58897         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58898         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58899         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58900         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58901         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58902         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58903         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58904         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58905         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58906         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58907         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58909 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58911         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58912         (__MALLOC_PMT): Likewise.
58913         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58914         [__GNUC__], only on [_LIBC].
58915         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58916         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58917         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58918         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58919         forward declaration.
58920         (realloc_hook_ini): Likewise.
58921         (memalign_hook_ini): Likewise.
58922         (__libc_memalign): Do not use __MALLOC_PMT in variable
58923         declaration.
58924         (__libc_valloc): Likewise.
58925         (__libc_pvalloc): Likewise.
58926         (__libc_calloc): Likewise.
58927         (__posix_memalign): Likewise.
58929         [BZ #14996]
58930         * math/s_casinh.c: Include <float.h>.
58931         (__casinh): Do not do computation with squaring and square root
58932         for large arguments.
58933         * math/s_casinhf.c: Include <float.h>.
58934         (__casinhf): Do not do computation with squaring and square root
58935         for large arguments.
58936         * math/s_casinhl.c: Include <float.h>.
58937         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58938         (__casinhl): Do not do computation with squaring and square root
58939         for large arguments.
58940         * math/libm-test.inc (casin_test): Add more tests.
58941         (casinh_test): Likewise.
58942         * sysdeps/i386/fpu/libm-test-ulps: Update.
58943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58945 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58947         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58948         (__x86_64_raw_data_cache_size): Likewise.
58949         (__x86_64_data_cache_size_half): Likewise.
58950         (__x86_64_raw_data_cache_size_half): Likewise.
58951         (__x86_64_shared_cache_size): Likewise.
58952         (__x86_64_raw_shared_cache_size): Likewise.
58953         (__x86_64_shared_cache_size_half): Likewise.
58954         (__x86_64_raw_shared_cache_size_half): Likewise.
58955         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58956         to ...
58957         (__x86_data_cache_size): This.
58958         (__x86_64_raw_data_cache_size): Renamed to ...
58959         (__x86_raw_data_cache_size): This.
58960         (__x86_64_data_cache_size_half): Renamed to ...
58961         (__x86_data_cache_size_half): This.
58962         (__x86_64_raw_data_cache_size_half): Renamed to ...
58963         (__x86_raw_data_cache_size_half): This.
58964         (__x86_64_shared_cache_size): Renamed to ...
58965         (__x86_shared_cache_size): This.
58966         (__x86_64_raw_shared_cache_size): Renamed to ...
58967         (__x86_raw_shared_cache_size): This.
58968         (__x86_64_shared_cache_size_half): Renamed to ...
58969         (__x86_shared_cache_size_half): This.
58970         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58971         (__x86_raw_shared_cache_size_half): This.
58972         * sysdeps/x86_64/memcpy.S: Updated.
58973         * sysdeps/x86_64/memset.S: Likewise.
58974         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58975         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58976         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58978 2013-01-04  David S. Miller  <davem@davemloft.net>
58980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58982 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58984         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58985         1 to avoid redefinition warning.
58986         (__USE_GNU): Don't define.
58987         (init_signaling_nan): Protoize.
58989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58991 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58993         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58995         (__cpymn): Likewise.
58996         (norm): Remove commented code.
58997         (denorm): Likewise.
58998         (__mp_dbl): Likewise.
58999         (__inv): Likewise.
59000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59001         (__cpymn): Likewise.
59002         (norm): Remove commented code.
59003         (denorm): Likewise.
59004         (__mp_dbl): Likewise.
59005         (__inv): Likewise.
59007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59008         mp_no value for 1.0 and 2.0.
59009         (norm): Use RADIXI instead of radixi.d.
59010         (denorm): Likewise.
59011         (__mul): Use 0.0 instead of zero.d.
59012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59013         mp_no value for 1.0 and 2.0.
59014         (norm): Use RADIXI instead of radixi.d.
59015         (denorm): Likewise.
59016         (__mul): Use 0.0 instead of zero.d.
59018 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59020         [BZ #14994]
59021         * math/s_casinh.c (__casinh): Reduce finite argument to first
59022         quadrant then set signs of results at the end.
59023         * math/s_casinhf.c (__casinhf): Likewise.
59024         * math/s_casinhl.c (__casinhl): Likewise.
59025         * math/libm-test.inc (casin_test): Add more tests.
59026         (casinh_test): Likewise.
59027         * sysdeps/i386/fpu/libm-test-ulps: Update.
59028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59030 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59032         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59034         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59036         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59037         declarations.
59038         (denorm): Likewise.
59039         (__mp_dbl): Likewise.
59040         (__inv): Likewise.
59042         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59043         and adjust the header comment.
59045         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59046         variable name from declaration.
59048 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59050         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59051         Initialize COMMON_CPUID_INDEX_7 element.
59052         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59053         (CPUID_RTM): Likewise.
59054         (HAS_RTM): Likewise.
59055         (COMMON_CPUID_INDEX_7): New enum.
59057 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59059         [BZ #14981]
59060         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59061         size is zero, record memory as freed.
59063 2013-01-03  Andreas Jaeger  <aj@suse.de>
59065         * po/ia.po: Add new Interlingua translation.
59067 2012-01-03  Allan McRae  <allan@archlinux.org>
59069         * locale/programs/localedef.c: Fix description of '--posix' flag.
59071 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59073         * NEWS: Update dates in second copyright notice.
59074         * README: Update copyright dates in example.
59075         * manual/libc.texinfo: Update copyright dates.
59076         * scripts/test-installation.pl: Update copyright date in --version
59077         output.
59079         * hurd/ctty-input.c: Fix copyright notice formatting.
59080         * hurd/ctty-output.c: Likewise.
59081         * hurd/dtable.c: Likewise.
59082         * hurd/hurd-raise.c: Likewise.
59083         * hurd/hurdprio.c: Likewise.
59084         * hurd/msgportdemux.c: Likewise.
59085         * misc/sys/file.h: Likewise.
59086         * misc/sys/ioctl.h: Likewise.
59087         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59088         * sysdeps/mach/hurd/chdir.c: Likewise.
59089         * sysdeps/mach/hurd/fchdir.c: Likewise.
59090         * sysdeps/mach/hurd/rename.c: Likewise.
59091         * sysdeps/mach/hurd/rmdir.c: Likewise.
59092         * sysdeps/mach/hurd/seekdir.c: Likewise.
59093         * sysdeps/mach/hurd/setsid.c: Likewise.
59094         * sysdeps/posix/wait3.c: Likewise.
59096         * All files with FSF copyright notices: Update copyright dates
59097         using scripts/update-copyrights.
59098         * intl/plural.c: Regenerated.
59099         * locale/programs/charmap-kw.h: Likewise.
59100         * locale/programs/locfile-kw.h: Likewise.
59102 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59104         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59105         four values.
59107         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59108         calculation loop and add branch prediction.
59110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59111         check access beyond bounds of m1np.
59113         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59114         MPTWO.
59115         (__inv): Remove local variable MPTWO to use the global
59116         constant.
59117         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59118         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59119         variable MPTWO.
59120         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59121         MP3HALFS static const.
59123 2013-01-01  David S. Miller  <davem@davemloft.net>
59125         * po/ca.po: Update from translation team.
59127 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59129         * scripts/update-copyrights: New file.
59130         * Makeconfig: Reformat copyright notice.
59131         * ctype/ctype.h: Likewise.
59132         * debug/swprintf_chk.c: Likewise.
59133         * elf/dl-cache.c: Likewise.
59134         * elf/dl-debug.c: Likewise.
59135         * elf/dl-object.c: Likewise.
59136         * grp/initgroups.c: Likewise.
59137         * hurd/Makefile: Likewise.
59138         * hurd/hurd/signal.h: Likewise.
59139         * hurd/hurdfault.c: Likewise.
59140         * hurd/hurdioctl.c: Likewise.
59141         * hurd/hurdlookup.c: Likewise.
59142         * hurd/intr-msg.c: Likewise.
59143         * iconv/gconv_open.c: Likewise.
59144         * libio/swprintf.c: Likewise.
59145         * locale/lc-ctype.c: Likewise.
59146         * locale/nl_langinfo.c: Likewise.
59147         * mach/Machrules: Likewise.
59148         * mach/Makefile: Likewise.
59149         * malloc/obstack.h: Likewise.
59150         * manual/Makefile: Likewise.
59151         * manual/tsort.awk: Likewise.
59152         * misc/bits/stab.def: Likewise.
59153         * nis/nis_print_group_entry.c: Likewise.
59154         * nis/nis_table.c: Likewise.
59155         * nis/nss_compat/compat-pwd.c: Likewise.
59156         * nis/nss_compat/compat-spwd.c: Likewise.
59157         * po/Makefile: Likewise.
59158         * posix/fnmatch.c: Likewise.
59159         * posix/regex.h: Likewise.
59160         * resolv/Makefile: Likewise.
59161         * resolv/nss_dns/dns-network.c: Likewise.
59162         * resolv/res_hconf.c: Likewise.
59163         * scripts/gen-sorted.awk: Likewise.
59164         * soft-fp/soft-fp.h: Likewise.
59165         * stdio-common/printf.h: Likewise.
59166         * stdlib/monetary.h: Likewise.
59167         * stdlib/random.c: Likewise.
59168         * stdlib/random_r.c: Likewise.
59169         * sysdeps/generic/Makefile: Likewise.
59170         * sysdeps/gnu/Makefile: Likewise.
59171         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59172         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59173         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59174         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59175         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59176         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59177         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59178         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59179         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59180         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59181         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59182         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59183         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59184         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59185         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59186         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59187         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59188         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59189         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59190         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59191         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59192         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59193         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59194         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59195         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59196         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59197         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59198         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59199         * sysdeps/mach/hurd/errnos.awk: Likewise.
59200         * sysdeps/mach/hurd/fork.c: Likewise.
59201         * sysdeps/mach/hurd/getcwd.c: Likewise.
59202         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59203         * sysdeps/mach/hurd/mmap.c: Likewise.
59204         * sysdeps/mach/hurd/utimes.c: Likewise.
59205         * sysdeps/mach/hurd/xmknod.c: Likewise.
59206         * sysdeps/posix/profil.c: Likewise.
59207         * sysdeps/posix/readdir_r.c: Likewise.
59208         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59209         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59210         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59211         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59213         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59214         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59215         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59217         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59218         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59219         * sysdeps/pthread/lio_listio.c: Likewise.
59220         * sysdeps/sparc/dl-procinfo.h: Likewise.
59221         * sysdeps/unix/i386/sysdep.S: Likewise.
59222         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59223         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59224         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59225         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59227         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59228         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59229         * sysdeps/unix/sysv/linux/speed.c: Likewise.
59230         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59231         * sysdeps/wordsize-32/divdi3.c: Likewise.
59232         * time/sys/time.h: Likewise.
59233         * wcsmbs/Makefile: Likewise.
59235 2013-01-01  David S. Miller  <davem@davemloft.net>
59237         * po/fr.po: Update from translation team.
59239         * catgets/gencat.c: Update copyright year.
59240         * csu/version.c: Likewise.
59241         * debug/catchsegv.sh: Likewise.
59242         * debug/pcprofiledump.c: Likewise.
59243         * debug/xtrace.sh: Likewise.
59244         * elf/ldconfig.c: Likewise.
59245         * elf/ldd.bash.in: Likewise.
59246         * elf/pldd.c: Likewise.
59247         * elf/sotruss.ksh: Likewise.
59248         * elf/sprof.c: Likewise.
59249         * iconv/iconv_prog.c: Likewise.
59250         * iconv/iconvconfig.c: Likewise.
59251         * locale/programs/locale.c: Likewise.
59252         * locale/programs/localedef.c: Likewise.
59253         * login/programs/pt_chown.c: Likewise.
59254         * malloc/memusage.sh: Likewise.
59255         * malloc/memusagestat.c: Likewise.
59256         * malloc/mtrace.pl: Likewise.
59257         * nscd/nscd.c: Likewise.
59258         * nss/getent.c: Likewise.
59259         * nss/makedb.c: Likewise.
59260         * posix/getconf.c: Likewise.
59262 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59264         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
59265         numbers.
59267 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
59269         * math/bits/mathcalls.h (modf): Use __nonnull.
59271 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59273         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
59274         (split): Use macro CN instead of the bare value.
59275         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
59276         could be used.
59277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
59278         instead of the bare value.
59279         (power1): Likewise.
59281 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59283         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
59284         __ATAN_TWOM.
59285         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59287         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
59288         their values.
59289         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59290         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59291         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
59292         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59294 2012-12-28  Andreas Jaeger  <aj@suse.de>
59296         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
59297         values are from Linux 3.7.
59299         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
59300         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
59302 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59304         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
59305         TRUE case.
59307         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
59308         (norm): Likewise.
59309         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
59310         variables with preprocessor constants.
59311         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59312         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59313         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59315 2012-12-27  Bruno Haible  <bruno@clisp.org>
59317         [BZ #14317]
59318         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
59319         only if needed.
59321 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59323         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
59324         and use variable directly.
59325         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
59327         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59328         MPONE.
59329         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
59330         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59331         variable MPONE.
59332         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59333         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59334         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
59335         include directive.  Remove local variable MPONE.
59336         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
59337         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
59338         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59340 2012-12-25  David S. Miller  <davem@davemloft.net>
59342         * version.h (RELEASE): Set to "development".
59343         (VERSION): Set to "2.17.90".
59344         * NEWS: Add 2.18 section.
59346 2012-12-21  David S. Miller  <davem@davemloft.net>
59348         * po/hr.po: Update from translation team.
59350 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59352         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
59354 2012-12-19  Steve Ellcey  <sellcey@mips.com>
59356         * NEWS:  Mention new memcpy for MIPS.
59358 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59360         * manual/contrib.texi (Contributors): Spelling correction.
59362 2012-12-15  David S. Miller  <davem@davemloft.net>
59364         * po/ru.po: Update from translation team.
59366 2012-12-13  David S. Miller  <davem@davemloft.net>
59368         * NEWS: Mention IFUNC testsuite enhancements.
59370         * po/pl.po: Update from translation team.
59371         * po/bg.po: Likewise.
59373         * manual/contrib.texi (Contributors): Update entries for Hongjiu
59374         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
59376 2012-12-11  David S. Miller  <davem@davemloft.net>
59378         * po/sv.po: Update from translation team.
59380         * po/vi.po: Update from translation team.
59382         * po/cs.po: Update from translation team.
59384         * po/de.po: Update from translation team.
59385         * po/eo.po: Likewise.
59386         * po/nl.po: Likewise.
59388 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59390         [BZ #14246]
59391         * manual/argp.texi (Argp Helper Functions): Move node to follow
59392         Argp Parsing State.
59394         [BZ #14872]
59395         * manual/conf.texi (Limits on File System Capacity): Mention if
59396         terminating null is included in the max size.
59398 2012-12-10  Andreas Jaeger  <aj@suse.de>
59400         * po/cs.po: Update from translation team.
59402 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59404         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
59405         void pointer and cast to uintptr_t.
59406         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
59407         path.
59408         * sysdeps/s390/s390-64/memcpy.S: Likewise.
59409         * sysdeps/s390/s390-64/memset.S: Likewise.
59411 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
59413         [BZ #14833]
59414         * menual/message.texi (Message Translation): Fix typos.
59415         (Helper programs for gettext): Likewise.
59417 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
59419         [BZ #14898]
59420         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59421         Change to -1.
59423 2012-12-07  David S. Miller  <davem@davemloft.net>
59425         * po/libc.pot: Update.
59427 2012-12-07  Richard Henderson  <rth@redhat.com>
59429         [BZ #10114]
59430         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59431         normal/normal case to before the switch.
59432         (_FP_DIV): Likewise.
59434 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59435             Mike Frysinger  <vapier@gentoo.org>
59437         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59438         check for __NR_fadvise64_64.
59440 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
59442         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59443         0, not just to plain "0" as a statement.
59444         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59445         with cw.
59447 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
59449         * NEWS: Use sourceware.org in Bugzilla URL.
59451 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59454         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59456         * stdio-common/tst-put-error.c (do_test): Add newline to the
59457         padded test to ensure flush.
59459 2012-12-05  Jeff Law  <law@redhat.com>
59461         * sunrpc/etc.rpc (fedfs_admin): Add entry.
59463 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
59465         * README: Don't refer to ports add-on as distributed separately.
59466         Mention AArch64 in list of systems supported in the ports add-on.
59468         * LICENSES: Add more non-FSF copyright and license notices.
59470         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59471         ((unused)).
59473         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59475         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59476         10000 as width of padded output.
59478 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59480         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59482         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59483         variable LX with __attribute__ ((unused)).
59484         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59485         Likewise.
59486         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59487         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59488         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59489         with __attribute__ ((unused)).
59491 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
59493         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59495 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59497         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59498         (CFLAGS-nldbl-acos.c): New variable.
59499         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59500         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59501         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59502         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59503         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59504         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59505         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59506         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59507         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59508         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59509         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59510         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59511         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59512         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59513         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59514         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59515         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59516         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59517         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
59518         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
59519         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
59520         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
59521         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
59522         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
59523         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
59524         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
59525         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
59526         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
59527         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
59528         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
59529         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
59530         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
59531         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
59532         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
59533         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
59534         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
59535         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
59536         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
59537         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59538         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
59539         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
59540         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
59541         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
59542         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
59543         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
59544         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
59545         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
59546         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
59547         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
59548         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59549         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
59550         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
59551         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
59552         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
59553         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
59554         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
59555         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
59556         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
59557         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
59558         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
59559         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
59560         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
59561         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
59562         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
59563         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
59564         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
59565         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
59566         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
59567         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
59568         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
59569         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
59570         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
59571         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
59572         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
59573         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
59574         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
59575         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
59576         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
59577         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
59578         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
59579         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
59580         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
59581         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
59582         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
59583         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
59584         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
59585         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
59586         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
59587         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
59588         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
59589         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
59590         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
59591         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
59592         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
59593         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
59594         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
59595         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
59597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59598         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59600         [BZ #14914]
59601         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
59602         whole low double instead of just low 47 bits when splitting values
59603         into two parts.
59605 2012-12-03  Allan McRae  <allan@archlinux.org>
59607         * manual/stdio.texi (Predefined Printf Handlers): Remove
59608         @hsep and @vsep usage.
59610 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
59612         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
59613         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
59615 2012-12-03  Jeff Law  <law@redhat.com>
59617         * time/sys/time.h (settimeofday): Do not mark TV argument
59618         as __nonnull.
59620 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
59622         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
59623         when currently writing and seek to current position when not.
59624         * libio/Makefile (tests): Remove bug-fclose1.
59625         * libio/bug-fclose1.c: Delete.
59627 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
59629         * manual/arith.texi (feenableexcept): Fix typo.
59630         (fedisableexcept): Likewise.
59632 2012-11-30  Roland McGrath  <roland@hack.frob.com>
59634         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
59635         second, differently-typed declaration, rather than a cast.
59637 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59639         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
59640         * include/rpc/svc.h: ... here.
59642 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
59644         [BZ #13013]
59645         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
59646         depending n and resplen2 to catch cases where answer
59647         equals answerp2.
59649 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
59651         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
59652         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
59654 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
59656         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
59658 2012-11-29  Roland McGrath  <roland@hack.frob.com>
59660         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
59662 2012-11-28  Jeff Law  <law@redhat.com>
59664         [BZ #13761]
59665         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
59666         dataset_temporary.  Track alloca usage into alloca_used.
59667         If dataset is large allocate and release it via malloc/free.
59669 2012-06-04  Florian Weimer  <fweimer@redhat.com>
59671         [BZ #14197]
59672         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
59674 2012-11-28  David S. Miller  <davem@davemloft.net>
59676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59678 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59680         [BZ #14803]
59681         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
59682         of pi/2 rounded to nearest to 64 bits.
59683         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
59684         nearest to 64 bits.
59685         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
59686         bits.
59688 2012-11-28  Jeff Law <law@redhat.com>
59689             Martin Osvald <mosvald@redhat.com>
59691         [BZ #14889]
59692         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
59693         * sunrpc/svc.c: Include time.h.
59694         (__svc_accept_failed): New function.
59695         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
59696         any reason other than EINTR, call __svc_accept_failed.
59697         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
59698         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
59700 2012-11-28  Andreas Schwab  <schwab@suse.de>
59702         * scripts/abilist.awk: Also handle indirect functions in .opd
59703         section.
59705 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59707         [BZ #13881]
59708         * sysdeps/x86/fpu/powl_helper.c: New file.
59709         * sysdeps/x86/fpu/Makefile: Likewise.
59710         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
59711         (p3): New object.
59712         (__ieee754_powl): Use __powl_helper for finite arguments except
59713         integer exponents below 8.
59714         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
59715         (p3): New object.
59716         (__ieee754_powl): Use __powl_helper for finite arguments except
59717         integer exponents below 8.
59718         * math/libm-test.inc (pow_test): Add more tests and enable some
59719         previously disabled tests.
59720         * sysdeps/i386/fpu/libm-test-ulps: Update.
59721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59723 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59724             Carlos O'Donell  <carlos_odonell@mentor.com>
59726         * nss/makedb.c (is_prime): Assert that input is odd and greater
59727         than 4.  Note that fact in a comment too.
59728         (next_prime): Add 4 to input.
59730 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59732         [BZ #11741]
59733         * libio/Makefile (tests): Add test case tst-fwrite-error.
59734         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
59735         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
59736         * libio/tst-fwrite-error.c: New test case.
59738 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
59740         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
59741         before casting to void *.
59742         * include/libc-internal.h (__pointer_type): New macro.
59743         (__integer_if_pointer_type_sub): Likewise.
59744         (__integer_if_pointer_type): Likewise.
59745         (cast_to_integer): Likewise.
59746         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
59747         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
59748         before casting to atomic64_t.
59749         (atomic_exchange_acq): Likewise.
59750         (__arch_exchange_and_add_body): Likewise.
59751         (__arch_add_body): Likewise.
59752         (atomic_add_negative): Likewise.
59753         (atomic_add_zero): Likewise.
59755 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
59757         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
59758         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
59759         (add_fdes): Likewise.
59760         (linear_search_fdes): Likewise.
59761         (binary_search_unencoded_fdes): Likewise.
59763 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
59765         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
59767 2012-11-24  Adam Conrad  <adconrad@0c3.net>
59769         * configure.in: Autodetect C++ header directories.
59770         * configure: Regenerated.
59772 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
59774         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
59776 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
59778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59780 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
59782         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
59783         LDBL_MANT_DIG == 106]: Disable some tests.
59784         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59785         Likewise.
59786         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59787         Likewise.
59789         [BZ #14871]
59790         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
59791         input for small inputs.  Return +/- pi/2 for large inputs.
59792         * math/libm-test.inc (atan_test): Add more tests.
59794         * sysdeps/generic/unwind-dw2-fde-glibc.c
59795         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
59796         __attribute__ ((unused)).
59798         [BZ #14645]
59799         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
59800         x * y if x and y are nonzero and z is zero.
59802         [BZ #14811]
59803         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
59804         nonzero exponents with absolute value below 0x1p-117 to +/-
59805         0x1p-117.
59807         [BZ #14869]
59808         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
59809         up arguments below 2**-450, not just those below 2**-500.
59810         * math/libm-test.inc (hypot_test): Add another test.
59812         [BZ #14868]
59813         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
59814         Return a+b for ratio over 2**120, not 2**60.
59815         * math/libm-test.inc (hypot_test): Add another test.
59817         * math/libm-test.inc (clog_test): Use
59818         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
59819         (clog10_test): Likewise.
59821         [BZ #6778]
59822         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
59824 2012-11-22  Andreas Schwab  <schwab@suse.de>
59826         * sysdeps/i386/fpu/libm-test-ulps: Update.
59828 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
59830         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
59831         printf output with newline.
59833 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
59835         [BZ #14865]
59836         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
59837         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
59838         -z nodlopen, -z initfirst and -z execstack support.
59839         * configure: Regenerated.
59841         * elf/elf.h (DF_1_NODIRECT): New macro.
59842         (DF_1_IGNMULDEF): Likewise.
59843         (DF_1_NOKSYMS): Likewise.
59844         (DF_1_NOHDR): Likewise.
59845         (DF_1_EDITED): Likewise.
59846         (DF_1_NORELOC): Likewise.
59847         (DF_1_SYMINTPOSE): Likewise.
59848         (DF_1_GLOBAUDIT): Likewise.
59849         (DF_1_SINGLETON): Likewise.
59850         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
59851         DT_1_SUPPORTED_MASK bits.
59852         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59854 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
59856         * sysdeps/unix/make-syscalls.sh: Document prefixes.
59858 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
59860         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
59861         macro.
59863         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
59864         (sendmmsg): Move declarations...
59865         * socket/sys/socket.h: ... here.
59866         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
59867         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59868         include it from...
59869         * socket/recvmmsg.c: ... this new file.
59870         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
59871         (sendmmsg): Rename to __sendmmsg, create weak alias and make
59872         definition of __sendmmsg hidden.
59873         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
59874         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
59875         Move ENOSYS stub into and include it from...
59876         * socket/sendmmsg.c: ... this new file.
59877         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
59878         (sysdep_routines): Move recvmmsg and sendmmsg...
59879         * socket/Makefile (routines): ... here.
59880         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
59881         (GLIBC_PRIVATE): Add __sendmmsg.
59882         * include/sys/socket.h (__sendmmsg): Add declarations.
59883         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59884         sendmmsg.
59886 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59888         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59889         variable I1 with __attribute__ ((unused)).
59890         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59892 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59894         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59895         DUMMY variables with __attribute__ ((unused)).
59897         * bits/byteswap.h: Include <bits/types.h>.
59898         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59900 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59902         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59903         string_t.  Do not manually set errno.
59904         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59905         length with __strnlen.  Make sure to both set errno and return it on
59906         failure.
59908 2012-11-19  David S. Miller  <davem@davemloft.net>
59910         With help from Joseph Myers.
59911         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59912         very large arguments properly.
59913         * math/libm-test.inc (atan_test): New tests.
59914         (atan2_test): New tests.
59915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59918 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59920         [BZ #14856]
59921         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59922         Define to 3.
59924         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59925         [POSIX] (EADDRNOTAVAIL): Likewise.
59926         [POSIX] (EAFNOSUPPORT): Likewise.
59927         [POSIX] (EALREADY): Likewise.
59928         [POSIX] (ECONNABORTED): Likewise.
59929         [POSIX] (ECONNREFUSED): Likewise.
59930         [POSIX] (ECONNRESET): Likewise.
59931         [POSIX] (EDESTADDRREQ): Likewise.
59932         [POSIX] (EDQUOT): Likewise.
59933         [POSIX] (EHOSTUNREACH): Likewise.
59934         [POSIX] (EIDRM): Likewise.
59935         [POSIX] (EISCONN): Likewise.
59936         [POSIX] (ELOOP): Likewise.
59937         [POSIX] (EMULTIHOP): Likewise.
59938         [POSIX] (ENETDOWN): Likewise.
59939         [POSIX] (ENETUNREACH): Likewise.
59940         [POSIX] (ENOBUFS): Likewise.
59941         [POSIX] (ENODATA): Likewise.
59942         [POSIX] (ENOLINK): Likewise.
59943         [POSIX] (ENOMSG): Likewise.
59944         [POSIX] (ENOPROTOOPT): Likewise.
59945         [POSIX] (ENOSR): Likewise.
59946         [POSIX] (ENOSTR): Likewise.
59947         [POSIX] (ENOTCONN): Likewise.
59948         [POSIX] (ENOTSOCK): Likewise.
59949         [POSIX] (EOPNOTSUPP): Likewise.
59950         [POSIX] (EOVERFLOW): Likewise.
59951         [POSIX] (EPROTO): Likewise.
59952         [POSIX] (EPROTONOSUPPORT): Likewise.
59953         [POSIX] (EPROTOTYPE): Likewise.
59954         [POSIX] (ESTALE): Likewise.
59955         [POSIX] (ETIME): Likewise.
59956         [POSIX] (ETXTBSY): Likewise.
59957         [POSIX] (EWOULDBLOCK): Likewise.
59958         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59959         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59960         [POSIX] (SEEK_CUR): Likewise.
59961         [POSIX] (SEEK_END): Likewise.
59962         [POSIX || UNIX98] (mode_t): Do not require.
59963         [POSIX] (off_t): Likewise.
59964         [POSIX] (pid_t): Likewise.
59965         [POSIX] (sys/stat.h): Do not allow header.
59966         [POSIX] (unistd.h): Likewise.
59967         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59968         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59969         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59970         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59971         require.
59972         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59973         sigevent): Specify elements.
59974         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59975         entry.
59976         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59977         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59979         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59980         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59981         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59982         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59983         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59984         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59985         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59986         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59987         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59988         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59989         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59990         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59991         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59992         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59993         Likewise.
59994         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59995         Likewise.
59996         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59997         Likewise.
59998         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59999         Likewise.
60000         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60001         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60002         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60003         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60004         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60005         Specify lower bound on value.
60006         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60007         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60008         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60009         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60010         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60011         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60012         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60013         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60014         value.
60015         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60016         as optional.
60017         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60018         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60019         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60020         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60021         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60022         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60023         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60024         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60025         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60026         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60027         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60028         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60029         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60030         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60031         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60032         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60033         entry.
60034         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60035         optional.
60036         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60037         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60038         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60039         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60040         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60041         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60042         Likewise.
60043         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60044         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60045         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60046         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60047         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60048         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60049         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60050         as optional.
60051         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60052         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60053         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60054         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60055         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60056         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60057         specify as optional.
60058         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60059         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60060         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60061         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60062         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60063         [XPG3] (NL_LANGMAX): Likewise.
60064         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60065         [POSIX || XPG3] (NL_NMAX): Likewise.
60066         [POSIX || XPG3] (NL_SETMAX): Likewise.
60067         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60068         [XPG3] (NZERO): Likewise.
60069         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60070         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60071         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60072         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60073         (REG_ERANGE): Expect.
60074         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60075         optional-constant.
60076         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60077         Use (void) in prototype.
60078         [POSIX] (*_t): Allow.
60079         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60080         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60081         (WRDE_BADVAL): Expect.
60083         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60084         expect.
60085         [XPG3 || XPG4] (O_RSYNC): Likewise.
60086         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60087         Likewise.
60088         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60089         [XPG3 || XPG4] (sigqueue): Likewise.
60090         [XPG3 || XPG4] (sigtimedwait): Likewise.
60091         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60092         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60093         [XPG3 || XPG4] (vsnprintf): Likewise.
60094         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60095         Likewise.
60096         [XPG3 || XPG4] (blksize_t): Likewise.
60097         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60098         Likewise.
60099         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60100         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60101         [XPG3 || XPG4] (struct itimerspec): Likewise.
60102         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60103         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60104         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60105         [XPG3 || XPG4] (clockid_t): Likewise.
60106         [XPG3 || XPG4] (timer_t): Likewise.
60107         [XPG3 || XPG4] (clock_getres): Likewise.
60108         [XPG3 || XPG4] (clock_gettime): Likewise.
60109         [XPG3 || XPG4] (clock_settime): Likewise.
60110         [XPG3 || XPG4] (nanosleep): Likewise.
60111         [XPG3 || XPG4] (timer_create): Likewise.
60112         [XPG3 || XPG4] (timer_delete): Likewise.
60113         [XPG3 || XPG4] (timer_gettime): Likewise.
60114         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60115         [XPG3 || XPG4] (timer_settime): Likewise.
60116         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60117         [XPG3 || XPG4] (getlogin_r): Likewise.
60118         [XPG3 || XPG4] (pread): Likewise.
60119         [XPG3 || XPG4] (pthread_atfork): Likewise.
60120         [XPG3 || XPG4] (pwrite): Likewise.
60122         [BZ #14835]
60123         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60124         <bits/siginfo.h>.
60126 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60128         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60129         finalizing MALLSTREAM.
60131         * sysdeps/mach/hurd/syncfs.c: New file.
60133 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60135         [BZ #14719]
60136         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60137         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60138         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60139         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60140         (_nss_dns_gethostbyname4_r): Likewise.
60141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60142         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60144 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60146         [BZ #13763]
60147         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60149 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60151         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60152         * elf/cache.c (print_entry): Print ",AArch64" for
60153         FLAG_AARCH64_LIB64
60155         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60156         * elf/cache.c (print_entry): Print ",hard-float" for
60157         FLAG_ARM_LIBHF.
60159 2012-11-18  David S. Miller  <davem@davemloft.net>
60161         With help from Joseph Myers.
60162         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60163         cutoff to 2**-13.
60164         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60165         cutoff to 2**-25.
60166         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60167         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60168         small.
60169         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60170         * math/libm-test.inc (y0_test): New tests.
60171         (y1_test): New tests.
60172         * sysdeps/i386/fpu/libm-test-ulps: Update.
60173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60176 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60178         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60179         64-bit targets.
60180         * configure: Regenerated.
60182 2012-11-17  David S. Miller  <davem@davemloft.net>
60184         [BZ #14811]
60185         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60186         nonzero exponents with absolute value below 0x1p-128 to +/-
60187         0x1p-128.
60189 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60191         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60193         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60195         * posix/getconf-speclist.c: New file.
60196         * posix/posix-envs.def: Likewise.
60197         * posix/confstr.c (START_ENV_GROUP): New macro.
60198         (END_ENV_GROUP): Likewise.
60199         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60200         (KNOWN_PRESENT_ENV_STRING): Likewise.
60201         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60202         (UNKNOWN_ENVIRONMENT): Likewise.
60203         (confstr): Include posix-envs.def instead of handling
60204         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60205         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60206         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60207         (END_ENV_GROUP): Likewise.
60208         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60209         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60210         (UNKNOWN_ENVIRONMENT): Likewise.
60211         (__sysconf): Include posix-envs.def instead of handling associated
60212         cases directly here.
60213         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60214         preprocessing getconf-speclist.c rather than running getconf or
60215         generating empty file.
60217 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60219         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60221 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60223         [BZ #14672]
60224         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60226 2012-11-16  David S. Miller  <davem@davemloft.net>
60228         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60229         smaller than LDBL_EPSILON/2.0L, just return xm1.
60231 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
60233         * elf/tst-array1.c (init): Set constructor priority to 1000.
60234         (fini): Set destructor priority to 1000.
60235         * elf/tst-array2dep.c: Likewise.
60237 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60239         [BZ #11741]
60240         * libio/fileops.c (_IO_new_file_write): Correctly return error.
60241         (_IO_new_file_xsputn): Also return EOF if none of the input
60242         data was written when overflow failed.
60243         * libio/iopadn.c (_IO_padn): Likewise.
60244         * libio/iowpadn.c (_IO_wpadn): Likewise.
60245         * stdio-common/tst-put-error.c: Add copyright notice.
60246         (do_test): Add case for printing padded string.
60247         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
60248         _IO_padn returned error.
60249         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
60250         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
60251         return EOF.
60253 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60255         * libio/libioP.h: Add comment note that the references to C++
60256         bits are now obsolete.
60258 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60260         * math/libm-test.inc (check_complex): Use asprintf.
60262 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
60264         * debug/pcprofiledump.c (print_version): Update copyright year.
60265         * malloc/memusagestat.c (print_version): Likewise.
60267 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
60269         [BZ #14831]
60270         * elf/Makefile (tests): Add tst-audit8.
60271         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
60272         ($(objpfx)tst-audit8.out): New target.
60273         (tst-audit8-ENV): New variable.
60274         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
60275         audit if l_reloc_result is NULL.
60276         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
60277         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
60278         * elf/tst-audit8.c: New file.
60280 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60282         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
60283         * misc/Makefile (CFLAGS-select.c): Define.
60284         * posix/Makefile (CFLAGS-pause.c): Define.
60286 2012-11-13  David S. Miller  <davem@davemloft.net>
60288         * crypt/Makefile: Move test targets after toplevel Rules
60289         inclusion.  Grab any necessary sysdep routines when linking.
60290         * crypt/md5.c (md5_process_block): Remove define, we will always
60291         name it __md5_process_block.
60292         (md5_finish_ctx): Update md5_process_block call.
60293         (md5_stream): Likewise.
60294         (md5_process_bytes): Likewise.
60295         (md5_process_block): Rename to __md5_process_block and move to ...
60296         * crypt/md5-block.c: ... here.
60297         * crypt/sha256.c (sha256_process_block): Move to ...
60298         * crypt/sha256-block.c: ... here.
60299         * crypt/sha512.c (sha512_process_block): Move to ...
60300         * crypt/sha512-block.c: ... here.
60301         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
60302         path.
60303         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
60304         * sysdeps/sparc/sparc64/multiarch/Makefile
60305         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
60306         crypt subdir.
60307         (localedef-aux): Add md5 crypto assembler when in locale subdir.
60308         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
60309         multiarch changes.
60310         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
60311         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60312         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
60313         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
60314         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
60315         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
60316         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
60317         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
60318         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
60319         file.
60320         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60321         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
60322         file.
60323         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
60325 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
60327         * timezone/tzselect.ksh: Update from tzcode git revision
60328         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
60329         * timezone/zdump.c: Likewise.
60330         * timezone/zic.c: Likewise.
60331         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
60332         in TZVERSION setting, not $(PKGVERSION).
60333         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
60334         REPORT_BUGS_TO settings.
60336         [BZ #14838]
60337         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
60338         macro.
60340 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60342         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
60343         detection to immediately after _FP_ROUND().
60344         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
60345         bits are 0.
60347 2012-11-11  David S. Miller  <davem@davemloft.net>
60349         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
60350         inttypes.h
60351         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
60352         __close rather than their public counterparts.
60354 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
60356         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
60357         file.
60358         [UNIX98] (sem_timedwait): Do not expect.
60359         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
60360         [XPG4 || UNIX98] (sockatmark): Do not expect.
60361         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
60362         (clock_getcpuclockid): Do not expect.
60363         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
60364         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
60365         Do not expect.
60366         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
60367         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
60368         [UNIX98] (vwscanf): Likewise.
60369         [UNIX98] (vswscanf): Likewise.
60371 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
60373         * timezone/version.h: Remove file.
60374         * timezone/README: Do not refer to version.h.
60375         * timezone/Makefile ($(objpfx)zic.o): New dependency on
60376         $(objpfx)version.h.
60377         ($(objpfx)zdump.o): Likewise.
60378         ($(objpfx)version.h): New target.
60380         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
60381         2012i.
60382         * timezone/README: Don't mention modification to tzselect.ksh.
60383         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60384         work on unmodified tzselect.ksh.  Substitute version numbers in
60385         tzselect.ksh.
60387         * Makefile (format-me): Remove.
60388         (INSTALL): Adjust indentation.  Use commands directly instead of
60389         using $(format-me).
60391         * aclocal.m4 (ACX_PKGVERSION): New macro.
60392         (ACX_BUGURL): Likewise.
60393         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
60394         (PKGVERSION): New AC_DEFINE_UNQUOTED.
60395         (REPORT_BUGS_TO): Likewise.
60396         * configure: Regenerated.
60397         * config.h.in (PKGVERSION): New macro.
60398         (REPORT_BUGS_TO): Likewise.
60399         * config.make.in (PKGVERSION): New variable.
60400         (PKGVERSION_TEXI): Likewise.
60401         (REPORT_BUGS_TO): Likewise.
60402         (REPORT_BUGS_TEXI): Likewise.
60403         * Makefile (format-me): Use -I$(common-objpfx)manual.
60404         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
60405         ($(common-objpfx)manual/%): New target.
60406         (manual/%): Remove target.
60407         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
60408         (print_version): Use PKGVERSION.
60409         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
60410         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
60411         and REPORT_BUGS_TO.
60412         ($(objpfx)xtrace): Likewise.
60413         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60414         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60415         (print_version): Use PKGVERSION.
60416         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60417         (do_version): Use PKGVERSION.
60418         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60419         REPORT_BUGS_TO.
60420         (common-ldd-rewrite): Likewise.
60421         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60422         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60423         (print_version): Use PKGVERSION.
60424         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60425         * elf/pldd.c (argp_program_bug_address): Remove variable.
60426         (more_help): New function.
60427         (argp): Use more_help.
60428         (print_version): Use PKGVERSION.
60429         * elf/sln.c (main): Use PKGVERSION.
60430         (usage): Use REPORT_BUGS_TO.
60431         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60432         (top level): Use PKGVERSION.
60433         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60434         (print_version): Use PKGVERSION.
60435         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60436         (print_version): Use PKGVERSION.
60437         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60438         (print_version): Use PKGVERSION.
60439         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60440         (print_version): Use PKGVERSION.
60441         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60442         (print_version): Use PKGVERSION.
60443         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60444         (print_version): Use PKGVERSION.
60445         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60446         and BUGURL.
60447         ($(objpfx)memusage): Likewise.
60448         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60449         (do_version): Use PKGVERSION.
60450         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60451         (print_version): Use PKGVERSION.
60452         * malloc/mtrace.pl ($PACKAGE): Remove variable.
60453         ($PKGVERSION): New variable.
60454         ($REPORT_BUGS_TO): Likewise.
60455         (usage): Use $REPORT_BUGS_TO.
60456         (top level): Use $PKGVERSION.
60457         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60458         ($(objpfx)pkgvers.texi): New rule.
60459         ($(objpfx)stamp-pkgvers): Likewise.
60460         * manual/install.texi: Include pkgvers.texi.
60461         (--with-pkgversion): Document new configure option.
60462         (--with-bugurl): Likewise.
60463         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60464         than necessarily for this particular distribution.  Use
60465         REPORT_BUGS_TO for where to report bugs.
60466         * INSTALL: Regenerated.
60467         * manual/libc.texinfo: Include pkgvers.texi.
60468         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60469         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60470         (print_version): Use PKGVERSION.
60471         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60472         (print_version): Use PKGVERSION.
60473         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60474         (print_version): Use PKGVERSION.
60475         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60476         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60477         macro.
60478         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60479         (print_version): Use PKGVERSION.
60480         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60481         (print_version): Use PKGVERSION.
60482         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60483         and PKGVERSION.
60485         * timezone/checktab.awk: Update from tzcode 2012i.
60486         * timezone/ialloc.c: Likewise.
60487         * timezone/private.h: Likewise.
60488         * timezone/scheck.c: Likewise.
60489         * timezone/tzfile.h: Likewise.
60490         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60491         (TZVERSION): Hardcode tzcode version number.
60492         * timezone/zdump.c: Update from tzcode 2012i.
60493         * timezone/zic.c: Likewise.
60494         * timezone/version.h: New file.
60495         * timezone/README: Describe version.h.  Update upstream location.
60497         [BZ #14824]
60498         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60499         (mktemp): Enable declaration.
60500         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60501         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60503         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60504         Likewise.
60505         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60506         Likewise.
60507         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60508         Likewise.
60509         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60510         Likewise.
60511         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60512         Likewise.
60513         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60514         Likewise.
60516         [BZ #14821]
60517         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
60518         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
60519         for copies of such integer values.
60520         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60521         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60523 2012-11-09  Andreas Jaeger  <aj@suse.de>
60525         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
60526         definitions and declarations that are provided by
60527         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60529 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60531         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
60532         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
60533         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
60534         definition.
60536 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60538         * elf/elf.h: Update comment before AArch64 relocations.
60540 2012-11-07  David S. Miller  <davem@davemloft.net>
60542         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
60543         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60544         (__start_context): Declare.
60545         (__makecontext_ret): Delete.
60546         (__makecontext): Hook up __start_context instead of
60547         __makecontext_ret.
60548         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
60549         (sysdep_routines): Add __start_context when in stdlib.
60551 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60553         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
60554         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
60555         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
60556         hardcoded "nm".
60557         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
60558         (READELF): New variable.  Use it instead of hardcoded "readelf".
60560 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60562         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
60563         * sysdeps/x86/Makefile: Here.
60564         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
60565         * sysdeps/x86/tst-xmmymm.sh: This.
60567 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60569         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
60570         expectations.
60571         [UNIX98] (pthread_barrier_t): Do not expect.
60572         [UNIX98] (pthread_barrierattr_t): Likewise.
60573         [UNIX98] (pthread_spinlock_t): Likewise.
60574         [UNIX98] (pthread_barrier_destroy): Likewise.
60575         [UNIX98] (pthread_barrier_init): Likewise.
60576         [UNIX98] (pthread_barrier_wait): Likewise.
60577         [UNIX98] (pthread_barrierattr_destroy): Likewise.
60578         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
60579         [UNIX98] (pthread_barrierattr_init): Likewise.
60580         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
60581         [UNIX98] (pthread_getcpuclockid): Likewise.
60582         [UNIX98] (pthread_mutex_timedlock): Likewise.
60583         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
60584         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
60585         [UNIX98] (pthread_sigmask): Likewise.
60586         [UNIX98] (pthread_spin_destroy): Likewise.
60587         [UNIX98] (pthread_spin_init): Likewise.
60588         [UNIX98] (pthread_spin_lock): Likewise.
60589         [UNIX98] (pthread_spin_trylock): Likewise.
60590         [UNIX98] (pthread_spin_unlock): Likewise.
60591         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
60592         Do not expect.
60593         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
60594         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
60595         [XPG3 || XPG4] (pthread_cond_t): Likewise.
60596         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
60597         [XPG3 || XPG4] (pthread_key_t): Likewise.
60598         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60599         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
60600         [XPG3 || XPG4] (pthread_once_t): Likewise.
60601         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
60602         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
60603         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
60604         [XPG3 || XPG4] (pthread_t): Likewise.
60606         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
60607         not expect.
60608         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
60610         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
60611         Change function return type to int.
60613         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
60614         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
60615         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
60616         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
60617         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
60618         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60619         [!POSIX] (posix_madvise): Likewise.
60620         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
60621         && !UNIX98].
60622         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
60623         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
60624         (mode_t): Likewise.
60625         (posix_mem_offset): Likewise.
60626         (posix_typed_mem_get_info): Likewise.
60627         (posix_typed_mem_open): Likewise.
60629         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
60630         Change condition to [XOPEN2K8].
60632         * conform/conformtest.pl: Preprocess allow-header data with -x c
60633         instead of from stdin.
60634         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
60635         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
60636         [C99-based standards] (cerfc): Likewise.
60637         [C99-based standards] (cexp2): Likewise.
60638         [C99-based standards] (cexpm1): Likewise.
60639         [C99-based standards] (clog10): Likewise.
60640         [C99-based standards] (clog1p): Likewise.
60641         [C99-based standards] (clog2): Likewise.
60642         [C99-based standards] (clgamma): Likewise.
60643         [C99-based standards] (ctgamma): Likewise.
60644         [C99-based standards] (cerff): Likewise.
60645         [C99-based standards] (cerfcf): Likewise.
60646         [C99-based standards] (cexp2f): Likewise.
60647         [C99-based standards] (cexpm1f): Likewise.
60648         [C99-based standards] (clog10f): Likewise.
60649         [C99-based standards] (clog1pf): Likewise.
60650         [C99-based standards] (clog2f): Likewise.
60651         [C99-based standards] (clgammaf): Likewise.
60652         [C99-based standards] (ctgammaf): Likewise.
60653         [C99-based standards] (cerfl): Likewise.
60654         [C99-based standards] (cerfcl): Likewise.
60655         [C99-based standards] (cexp2l): Likewise.
60656         [C99-based standards] (cexpm1l): Likewise.
60657         [C99-based standards] (clog10l): Likewise.
60658         [C99-based standards] (clog1pl): Likewise.
60659         [C99-based standards] (clog2l): Likewise.
60660         [C99-based standards] (clgammal): Likewise.
60661         [C99-based standards] (ctgammal): Likewise.
60662         * conform/data/inttypes.h-data [C99-based standards]: Include
60663         stdint.h-data.  Remove all expectations for stdint.h contents.
60664         [C99-based standards] (PRI*): Do not allow.
60665         [C99-based standards] (SCN*): Likewise.
60666         [C99-based standards] (*_t): Likewise.
60667         [C99-based-standards] (PRId8): Expect macro.
60668         [C99-based-standards] (PRIi8): Likewise.
60669         [C99-based-standards] (PRIo8): Likewise.
60670         [C99-based-standards] (PRIu8): Likewise.
60671         [C99-based-standards] (PRIx8): Likewise.
60672         [C99-based-standards] (PRIX8): Likewise.
60673         [C99-based-standards] (SCNd8): Likewise.
60674         [C99-based-standards] (SCNi8): Likewise.
60675         [C99-based-standards] (SCNo8): Likewise.
60676         [C99-based-standards] (SCNu8): Likewise.
60677         [C99-based-standards] (SCNx8): Likewise.
60678         [C99-based-standards] (PRIdLEAST8): Likewise.
60679         [C99-based-standards] (PRIiLEAST8): Likewise.
60680         [C99-based-standards] (PRIoLEAST8): Likewise.
60681         [C99-based-standards] (PRIuLEAST8): Likewise.
60682         [C99-based-standards] (PRIxLEAST8): Likewise.
60683         [C99-based-standards] (PRIXLEAST8): Likewise.
60684         [C99-based-standards] (SCNdLEAST8): Likewise.
60685         [C99-based-standards] (SCNiLEAST8): Likewise.
60686         [C99-based-standards] (SCNoLEAST8): Likewise.
60687         [C99-based-standards] (SCNuLEAST8): Likewise.
60688         [C99-based-standards] (SCNxLEAST8): Likewise.
60689         [C99-based-standards] (PRIdFAST8): Likewise.
60690         [C99-based-standards] (PRIiFAST8): Likewise.
60691         [C99-based-standards] (PRIoFAST8): Likewise.
60692         [C99-based-standards] (PRIuFAST8): Likewise.
60693         [C99-based-standards] (PRIxFAST8): Likewise.
60694         [C99-based-standards] (PRIXFAST8): Likewise.
60695         [C99-based-standards] (SCNdFAST8): Likewise.
60696         [C99-based-standards] (SCNiFAST8): Likewise.
60697         [C99-based-standards] (SCNoFAST8): Likewise.
60698         [C99-based-standards] (SCNuFAST8): Likewise.
60699         [C99-based-standards] (SCNxFAST8): Likewise.
60700         [C99-based-standards] (PRId16): Likewise.
60701         [C99-based-standards] (PRIi16): Likewise.
60702         [C99-based-standards] (PRIo16): Likewise.
60703         [C99-based-standards] (PRIu16): Likewise.
60704         [C99-based-standards] (PRIx16): Likewise.
60705         [C99-based-standards] (PRIX16): Likewise.
60706         [C99-based-standards] (SCNd16): Likewise.
60707         [C99-based-standards] (SCNi16): Likewise.
60708         [C99-based-standards] (SCNo16): Likewise.
60709         [C99-based-standards] (SCNu16): Likewise.
60710         [C99-based-standards] (SCNx16): Likewise.
60711         [C99-based-standards] (PRIdLEAST16): Likewise.
60712         [C99-based-standards] (PRIiLEAST16): Likewise.
60713         [C99-based-standards] (PRIoLEAST16): Likewise.
60714         [C99-based-standards] (PRIuLEAST16): Likewise.
60715         [C99-based-standards] (PRIxLEAST16): Likewise.
60716         [C99-based-standards] (PRIXLEAST16): Likewise.
60717         [C99-based-standards] (SCNdLEAST16): Likewise.
60718         [C99-based-standards] (SCNiLEAST16): Likewise.
60719         [C99-based-standards] (SCNoLEAST16): Likewise.
60720         [C99-based-standards] (SCNuLEAST16): Likewise.
60721         [C99-based-standards] (SCNxLEAST16): Likewise.
60722         [C99-based-standards] (PRIdFAST16): Likewise.
60723         [C99-based-standards] (PRIiFAST16): Likewise.
60724         [C99-based-standards] (PRIoFAST16): Likewise.
60725         [C99-based-standards] (PRIuFAST16): Likewise.
60726         [C99-based-standards] (PRIxFAST16): Likewise.
60727         [C99-based-standards] (PRIXFAST16): Likewise.
60728         [C99-based-standards] (SCNdFAST16): Likewise.
60729         [C99-based-standards] (SCNiFAST16): Likewise.
60730         [C99-based-standards] (SCNoFAST16): Likewise.
60731         [C99-based-standards] (SCNuFAST16): Likewise.
60732         [C99-based-standards] (SCNxFAST16): Likewise.
60733         [C99-based-standards] (PRId32): Likewise.
60734         [C99-based-standards] (PRIi32): Likewise.
60735         [C99-based-standards] (PRIo32): Likewise.
60736         [C99-based-standards] (PRIu32): Likewise.
60737         [C99-based-standards] (PRIx32): Likewise.
60738         [C99-based-standards] (PRIX32): Likewise.
60739         [C99-based-standards] (SCNd32): Likewise.
60740         [C99-based-standards] (SCNi32): Likewise.
60741         [C99-based-standards] (SCNo32): Likewise.
60742         [C99-based-standards] (SCNu32): Likewise.
60743         [C99-based-standards] (SCNx32): Likewise.
60744         [C99-based-standards] (PRIdLEAST32): Likewise.
60745         [C99-based-standards] (PRIiLEAST32): Likewise.
60746         [C99-based-standards] (PRIoLEAST32): Likewise.
60747         [C99-based-standards] (PRIuLEAST32): Likewise.
60748         [C99-based-standards] (PRIxLEAST32): Likewise.
60749         [C99-based-standards] (PRIXLEAST32): Likewise.
60750         [C99-based-standards] (SCNdLEAST32): Likewise.
60751         [C99-based-standards] (SCNiLEAST32): Likewise.
60752         [C99-based-standards] (SCNoLEAST32): Likewise.
60753         [C99-based-standards] (SCNuLEAST32): Likewise.
60754         [C99-based-standards] (SCNxLEAST32): Likewise.
60755         [C99-based-standards] (PRIdFAST32): Likewise.
60756         [C99-based-standards] (PRIiFAST32): Likewise.
60757         [C99-based-standards] (PRIoFAST32): Likewise.
60758         [C99-based-standards] (PRIuFAST32): Likewise.
60759         [C99-based-standards] (PRIxFAST32): Likewise.
60760         [C99-based-standards] (PRIXFAST32): Likewise.
60761         [C99-based-standards] (SCNdFAST32): Likewise.
60762         [C99-based-standards] (SCNiFAST32): Likewise.
60763         [C99-based-standards] (SCNoFAST32): Likewise.
60764         [C99-based-standards] (SCNuFAST32): Likewise.
60765         [C99-based-standards] (SCNxFAST32): Likewise.
60766         [C99-based-standards] (PRId64): Likewise.
60767         [C99-based-standards] (PRIi64): Likewise.
60768         [C99-based-standards] (PRIo64): Likewise.
60769         [C99-based-standards] (PRIu64): Likewise.
60770         [C99-based-standards] (PRIx64): Likewise.
60771         [C99-based-standards] (PRIX64): Likewise.
60772         [C99-based-standards] (SCNd64): Likewise.
60773         [C99-based-standards] (SCNi64): Likewise.
60774         [C99-based-standards] (SCNo64): Likewise.
60775         [C99-based-standards] (SCNu64): Likewise.
60776         [C99-based-standards] (SCNx64): Likewise.
60777         [C99-based-standards] (PRIdLEAST64): Likewise.
60778         [C99-based-standards] (PRIiLEAST64): Likewise.
60779         [C99-based-standards] (PRIoLEAST64): Likewise.
60780         [C99-based-standards] (PRIuLEAST64): Likewise.
60781         [C99-based-standards] (PRIxLEAST64): Likewise.
60782         [C99-based-standards] (PRIXLEAST64): Likewise.
60783         [C99-based-standards] (SCNdLEAST64): Likewise.
60784         [C99-based-standards] (SCNiLEAST64): Likewise.
60785         [C99-based-standards] (SCNoLEAST64): Likewise.
60786         [C99-based-standards] (SCNuLEAST64): Likewise.
60787         [C99-based-standards] (SCNxLEAST64): Likewise.
60788         [C99-based-standards] (PRIdFAST64): Likewise.
60789         [C99-based-standards] (PRIiFAST64): Likewise.
60790         [C99-based-standards] (PRIoFAST64): Likewise.
60791         [C99-based-standards] (PRIuFAST64): Likewise.
60792         [C99-based-standards] (PRIxFAST64): Likewise.
60793         [C99-based-standards] (PRIXFAST64): Likewise.
60794         [C99-based-standards] (SCNdFAST64): Likewise.
60795         [C99-based-standards] (SCNiFAST64): Likewise.
60796         [C99-based-standards] (SCNoFAST64): Likewise.
60797         [C99-based-standards] (SCNuFAST64): Likewise.
60798         [C99-based-standards] (SCNxFAST64): Likewise.
60799         [C99-based-standards] (PRIdMAX): Likewise.
60800         [C99-based-standards] (PRIiMAX): Likewise.
60801         [C99-based-standards] (PRIoMAX): Likewise.
60802         [C99-based-standards] (PRIuMAX): Likewise.
60803         [C99-based-standards] (PRIxMAX): Likewise.
60804         [C99-based-standards] (PRIXMAX): Likewise.
60805         [C99-based-standards] (SCNdMAX): Likewise.
60806         [C99-based-standards] (SCNiMAX): Likewise.
60807         [C99-based-standards] (SCNoMAX): Likewise.
60808         [C99-based-standards] (SCNuMAX): Likewise.
60809         [C99-based-standards] (SCNxMAX): Likewise.
60810         [C99-based-standards] (PRIdPTR): Likewise.
60811         [C99-based-standards] (PRIiPTR): Likewise.
60812         [C99-based-standards] (PRIoPTR): Likewise.
60813         [C99-based-standards] (PRIuPTR): Likewise.
60814         [C99-based-standards] (PRIxPTR): Likewise.
60815         [C99-based-standards] (PRIXPTR): Likewise.
60816         [C99-based-standards] (SCNdPTR): Likewise.
60817         [C99-based-standards] (SCNiPTR): Likewise.
60818         [C99-based-standards] (SCNoPTR): Likewise.
60819         [C99-based-standards] (SCNuPTR): Likewise.
60820         [C99-based-standards] (SCNxPTR): Likewise.
60821         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
60822         allow.
60823         * conform/data/stdint.h-data: Update comments to clarify
60824         requirements.
60825         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
60826         type.
60827         [C99-based standards] (INT8_MAX): Likewise.
60828         [C99-based standards] (INT16_MIN): Likewise.
60829         [C99-based standards] (INT16_MAX): Likewise.
60830         [C99-based standards] (INT32_MIN): Likewise.
60831         [C99-based standards] (INT32_MAX): Likewise.
60832         [C99-based standards] (INT64_MIN): Likewise.
60833         [C99-based standards] (INT64_MAX): Likewise.
60834         [C99-based standards] (UINT8_MAX): Likewise.
60835         [C99-based standards] (UINT16_MAX): Likewise.
60836         [C99-based standards] (UINT32_MAX): Likewise.
60837         [C99-based standards] (UINT64_MAX): Likewise.
60838         [C99-based standards] (INT_LEAST8_MIN): Likewise.
60839         [C99-based standards] (INT_LEAST8_MAX): Likewise.
60840         [C99-based standards] (INT_LEAST16_MIN): Likewise.
60841         [C99-based standards] (INT_LEAST16_MAX): Likewise.
60842         [C99-based standards] (INT_LEAST32_MIN): Likewise.
60843         [C99-based standards] (INT_LEAST32_MAX): Likewise.
60844         [C99-based standards] (INT_LEAST64_MIN): Likewise.
60845         [C99-based standards] (INT_LEAST64_MAX): Likewise.
60846         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
60847         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
60848         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
60849         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
60850         [C99-based standards] (INT_FAST8_MIN): Likewise.
60851         [C99-based standards] (INT_FAST8_MAX): Likewise.
60852         [C99-based standards] (INT_FAST16_MIN): Likewise.
60853         [C99-based standards] (INT_FAST16_MAX): Likewise.
60854         [C99-based standards] (INT_FAST32_MIN): Likewise.
60855         [C99-based standards] (INT_FAST32_MAX): Likewise.
60856         [C99-based standards] (INT_FAST64_MIN): Likewise.
60857         [C99-based standards] (INT_FAST64_MAX): Likewise.
60858         [C99-based standards] (UINT_FAST8_MAX): Likewise.
60859         [C99-based standards] (UINT_FAST16_MAX): Likewise.
60860         [C99-based standards] (UINT_FAST32_MAX): Likewise.
60861         [C99-based standards] (UINT_FAST64_MAX): Likewise.
60862         [C99-based standards] (INTPTR_MIN): Likewise.
60863         [C99-based standards] (INTPTR_MAX): Likewise.
60864         [C99-based standards] (UINTPTR_MAX): Likewise.
60865         [C99-based standards] (INTMAX_MIN): Likewise.
60866         [C99-based standards] (INTMAX_MAX): Likewise.
60867         [C99-based standards] (UINTMAX_MAX): Likewise.
60868         [C99-based standards] (PTRDIFF_MIN): Likewise.
60869         [C99-based standards] (PTRDIFF_MAX): Likewise.
60870         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
60871         [C99-based standards] (SIZE_MAX): Likewise.
60872         [C99-based standards] (WCHAR_MAX): Likewise.
60873         [C99-based standards] (WINT_MAX): Likewise.
60874         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
60875         constraint on value.
60876         [C99-based standards] (WCHAR_MIN): Likewise.
60877         [C99-based standards] (WINT_MIN): Likewise.
60878         [C99-based standards] (*_t): Allow.
60879         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
60880         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
60881         Include math.h-data and complex.h-data.  Remove all expectations
60882         of math.h and complex.h contents.
60883         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60884         at end of line.
60885         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60886         (struct tm): Expect tag.
60887         [C99-based-standards] (wcstof): Expect function.
60888         [C99-based-standards] (wcstold): Likewise.
60889         [C99-based-standards] (wcstoll): Likewise.
60890         [C99-based-standards] (wcstoull): Likewise.
60891         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60892         macro-int-constant.  Specify type.
60893         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60894         constraint on value.
60895         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60896         Specify type.
60897         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60898         Specify value.
60899         [ISO C standards]: Do not allow headers.
60900         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60901         wcs[abcdefghijklmnopqrstuvwxyz]*.
60902         [ISO C standards] (*_t): Do not allow.
60903         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60904         Expect function.
60905         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60906         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60907         Specify type.
60908         [ISO C standards]: Do not allow headers.
60909         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60910         is[abcdefghijklmnopqrstuvwxyz]*.
60911         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60912         to[abcdefghijklmnopqrstuvwxyz]*.
60913         [ISO C standards] (*_t): Do not allow.
60914         * conform/data/stdalign.h-data: New file.
60915         * conform/data/stdbool.h-data: Likewise.
60916         * conform/data/stdnoreturn.h-data: Likewise.
60918 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60920         [BZ #14815]
60921         * manual/filesys.texi (Directory Entries): Typo fix.
60922         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60924 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60926         * elf/elf.h (EM_AARCH64): New macro.
60927         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60928         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60929         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60930         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60931         (R_AARCH64_TLSDESC): Likewise.
60932         (NT_ARM_TLS): Likewise.
60933         (NT_ARM_HW_BREAK): Likewise.
60934         (NT_ARM_HW_WATCH): Likewise.
60936 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60938         [BZ #14811]
60939         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60940         (__ieee754_powl): Saturate nonzero exponents with absolute value
60941         below 0x1p-79 to +/- 0x1p-79.
60942         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60943         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60944         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60945         nonzero exponents with absolute value below 0x1p-32 to +/-
60946         0x1p-32.
60947         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60948         (__ieee754_powl): Saturate nonzero exponents with absolute value
60949         below 0x1p-79 to +/- 0x1p-79.
60950         * math/libm-test.inc (pow_test): Add more tests.
60952 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60954         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60955         _dl_s390_cap_flags with kernel. Increase string length.
60956         (_dl_s390_platforms): Add z196 and zEC12.
60958 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60960         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60961         Change XOPEN21K to XOPEN2K.
60963 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60965         * string/memmove.c: Use memcpy when possible.
60967 2012-11-06  Andreas Jaeger  <aj@suse.de>
60969         * po/eo.po: Update from translation team.
60971 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60973         [BZ #14793]
60974         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60975         exponent and small x and y exponents, scale x or y up.  Increase
60976         by 2 the exponent used in scaling up.
60977         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60978         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60979         * math/libm-test.inc (fma_test): Add more tests.
60980         (fma_test_towardzero): Likewise.
60981         (fma_test_downward): Likewise.
60982         (fma_test_upward): Likewise.
60984 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60986         [BZ #14805]
60987         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60988         fenv_t *.
60990         [BZ #14801]
60991         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60992         namespace for names of struct fields.
60993         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60994         fenv_t fields.
60995         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60996         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60998 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61000         [BZ #3665]
61001         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61003 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61005         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61006         PTR_DEMANGLE.
61008         [BZ #5246]
61009         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61010         PTR_DEMANGLE.
61012 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61014         [BZ #14797]
61015         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61016         definitely overflow as x * y not x * y + z.
61017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61018         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61019         * math/libm-test.inc (fma_test): Add more tests.
61020         (fma_test_towardzero): Likewise.
61021         (fma_test_downward): Likewise.
61022         (fma_test_upward): Likewise.
61024 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61026         [BZ #157]
61028         * include/stub-tag.h: Remove file.
61029         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61030         '#include' of it.
61031         * manual/maint.texi (Porting): Don't reference it.
61032         * Makerules ($(objpfx)stubs): Likewise.
61033         * dirent/closedir.c: Don't include <stub-tag.h>.
61034         * dirent/dirfd.c: Likewise.
61035         * dirent/fdopendir.c: Likewise.
61036         * dirent/getdents.c: Likewise.
61037         * dirent/getdents64.c: Likewise.
61038         * dirent/opendir.c: Likewise.
61039         * dirent/readdir.c: Likewise.
61040         * dirent/readdir64.c: Likewise.
61041         * dirent/readdir64_r.c: Likewise.
61042         * dirent/readdir_r.c: Likewise.
61043         * dirent/rewinddir.c: Likewise.
61044         * dirent/seekdir.c: Likewise.
61045         * dirent/telldir.c: Likewise.
61046         * gmon/profil.c: Likewise.
61047         * grp/setgroups.c: Likewise.
61048         * inet/if_index.c: Likewise.
61049         * io/access.c: Likewise.
61050         * io/chdir.c: Likewise.
61051         * io/chmod.c: Likewise.
61052         * io/chown.c: Likewise.
61053         * io/close.c: Likewise.
61054         * io/dup.c: Likewise.
61055         * io/dup2.c: Likewise.
61056         * io/dup3.c: Likewise.
61057         * io/euidaccess.c: Likewise.
61058         * io/faccessat.c: Likewise.
61059         * io/fchdir.c: Likewise.
61060         * io/fchmod.c: Likewise.
61061         * io/fchmodat.c: Likewise.
61062         * io/fchown.c: Likewise.
61063         * io/fchownat.c: Likewise.
61064         * io/fcntl.c: Likewise.
61065         * io/flock.c: Likewise.
61066         * io/fstatfs.c: Likewise.
61067         * io/fstatfs64.c: Likewise.
61068         * io/fstatvfs.c: Likewise.
61069         * io/fstatvfs64.c: Likewise.
61070         * io/futimens.c: Likewise.
61071         * io/fxstat.c: Likewise.
61072         * io/fxstat64.c: Likewise.
61073         * io/fxstatat.c: Likewise.
61074         * io/fxstatat64.c: Likewise.
61075         * io/getcwd.c: Likewise.
61076         * io/isatty.c: Likewise.
61077         * io/lchmod.c: Likewise.
61078         * io/lchown.c: Likewise.
61079         * io/link.c: Likewise.
61080         * io/linkat.c: Likewise.
61081         * io/lseek.c: Likewise.
61082         * io/lseek64.c: Likewise.
61083         * io/lxstat64.c: Likewise.
61084         * io/mkdir.c: Likewise.
61085         * io/mkdirat.c: Likewise.
61086         * io/mkfifo.c: Likewise.
61087         * io/mkfifoat.c: Likewise.
61088         * io/open.c: Likewise.
61089         * io/open64.c: Likewise.
61090         * io/openat.c: Likewise.
61091         * io/openat64.c: Likewise.
61092         * io/pipe.c: Likewise.
61093         * io/pipe2.c: Likewise.
61094         * io/poll.c: Likewise.
61095         * io/posix_fadvise.c: Likewise.
61096         * io/posix_fadvise64.c: Likewise.
61097         * io/posix_fallocate.c: Likewise.
61098         * io/posix_fallocate64.c: Likewise.
61099         * io/read.c: Likewise.
61100         * io/readlink.c: Likewise.
61101         * io/readlinkat.c: Likewise.
61102         * io/rmdir.c: Likewise.
61103         * io/sendfile.c: Likewise.
61104         * io/sendfile64.c: Likewise.
61105         * io/statfs.c: Likewise.
61106         * io/statfs64.c: Likewise.
61107         * io/statvfs.c: Likewise.
61108         * io/statvfs64.c: Likewise.
61109         * io/symlink.c: Likewise.
61110         * io/symlinkat.c: Likewise.
61111         * io/ttyname.c: Likewise.
61112         * io/ttyname_r.c: Likewise.
61113         * io/umask.c: Likewise.
61114         * io/unlink.c: Likewise.
61115         * io/unlinkat.c: Likewise.
61116         * io/utime.c: Likewise.
61117         * io/utimensat.c: Likewise.
61118         * io/write.c: Likewise.
61119         * io/xmknod.c: Likewise.
61120         * io/xmknodat.c: Likewise.
61121         * io/xstat.c: Likewise.
61122         * io/xstat64.c: Likewise.
61123         * login/getpt.c: Likewise.
61124         * login/grantpt.c: Likewise.
61125         * login/unlockpt.c: Likewise.
61126         * math/e_acoshl.c: Likewise.
61127         * math/e_acosl.c: Likewise.
61128         * math/e_asinl.c: Likewise.
61129         * math/e_atan2l.c: Likewise.
61130         * math/e_atanhl.c: Likewise.
61131         * math/e_coshl.c: Likewise.
61132         * math/e_expl.c: Likewise.
61133         * math/e_fmodl.c: Likewise.
61134         * math/e_gammal_r.c: Likewise.
61135         * math/e_hypotl.c: Likewise.
61136         * math/e_j0l.c: Likewise.
61137         * math/e_j1l.c: Likewise.
61138         * math/e_jnl.c: Likewise.
61139         * math/e_lgammal_r.c: Likewise.
61140         * math/e_log10l.c: Likewise.
61141         * math/e_log2l.c: Likewise.
61142         * math/e_logl.c: Likewise.
61143         * math/e_powl.c: Likewise.
61144         * math/e_rem_pio2l.c: Likewise.
61145         * math/e_sinhl.c: Likewise.
61146         * math/e_sqrtl.c: Likewise.
61147         * math/fclrexcpt.c: Likewise.
61148         * math/fedisblxcpt.c: Likewise.
61149         * math/feenablxcpt.c: Likewise.
61150         * math/fegetenv.c: Likewise.
61151         * math/fegetexcept.c: Likewise.
61152         * math/fegetround.c: Likewise.
61153         * math/feholdexcpt.c: Likewise.
61154         * math/fesetenv.c: Likewise.
61155         * math/fesetround.c: Likewise.
61156         * math/feupdateenv.c: Likewise.
61157         * math/fgetexcptflg.c: Likewise.
61158         * math/fraiseexcpt.c: Likewise.
61159         * math/fsetexcptflg.c: Likewise.
61160         * math/ftestexcept.c: Likewise.
61161         * math/k_cosl.c: Likewise.
61162         * math/k_rem_pio2l.c: Likewise.
61163         * math/k_sinl.c: Likewise.
61164         * math/k_tanl.c: Likewise.
61165         * math/s_asinhl.c: Likewise.
61166         * math/s_atanl.c: Likewise.
61167         * math/s_cbrtl.c: Likewise.
61168         * math/s_erfl.c: Likewise.
61169         * math/s_expm1l.c: Likewise.
61170         * math/s_log1pl.c: Likewise.
61171         * math/s_tanhl.c: Likewise.
61172         * misc/acct.c: Likewise.
61173         * misc/brk.c: Likewise.
61174         * misc/chflags.c: Likewise.
61175         * misc/chroot.c: Likewise.
61176         * misc/fchflags.c: Likewise.
61177         * misc/fgetxattr.c: Likewise.
61178         * misc/flistxattr.c: Likewise.
61179         * misc/fremovexattr.c: Likewise.
61180         * misc/fsetxattr.c: Likewise.
61181         * misc/fsync.c: Likewise.
61182         * misc/ftruncate.c: Likewise.
61183         * misc/futimes.c: Likewise.
61184         * misc/futimesat.c: Likewise.
61185         * misc/getdomain.c: Likewise.
61186         * misc/getdtsz.c: Likewise.
61187         * misc/gethostid.c: Likewise.
61188         * misc/gethostname.c: Likewise.
61189         * misc/getloadavg.c: Likewise.
61190         * misc/getpagesize.c: Likewise.
61191         * misc/getsysstats.c: Likewise.
61192         * misc/getxattr.c: Likewise.
61193         * misc/gtty.c: Likewise.
61194         * misc/ioctl.c: Likewise.
61195         * misc/lgetxattr.c: Likewise.
61196         * misc/listxattr.c: Likewise.
61197         * misc/llistxattr.c: Likewise.
61198         * misc/lremovexattr.c: Likewise.
61199         * misc/lsetxattr.c: Likewise.
61200         * misc/lutimes.c: Likewise.
61201         * misc/madvise.c: Likewise.
61202         * misc/mincore.c: Likewise.
61203         * misc/mlock.c: Likewise.
61204         * misc/mlockall.c: Likewise.
61205         * misc/mmap.c: Likewise.
61206         * misc/mprotect.c: Likewise.
61207         * misc/msync.c: Likewise.
61208         * misc/munlock.c: Likewise.
61209         * misc/munlockall.c: Likewise.
61210         * misc/munmap.c: Likewise.
61211         * misc/preadv.c: Likewise.
61212         * misc/preadv64.c: Likewise.
61213         * misc/ptrace.c: Likewise.
61214         * misc/pwritev.c: Likewise.
61215         * misc/pwritev64.c: Likewise.
61216         * misc/readv.c: Likewise.
61217         * misc/reboot.c: Likewise.
61218         * misc/remap_file_pages.c: Likewise.
61219         * misc/removexattr.c: Likewise.
61220         * misc/revoke.c: Likewise.
61221         * misc/select.c: Likewise.
61222         * misc/setdomain.c: Likewise.
61223         * misc/setegid.c: Likewise.
61224         * misc/seteuid.c: Likewise.
61225         * misc/sethostid.c: Likewise.
61226         * misc/sethostname.c: Likewise.
61227         * misc/setregid.c: Likewise.
61228         * misc/setreuid.c: Likewise.
61229         * misc/setxattr.c: Likewise.
61230         * misc/sstk.c: Likewise.
61231         * misc/stty.c: Likewise.
61232         * misc/swapoff.c: Likewise.
61233         * misc/swapon.c: Likewise.
61234         * misc/sync.c: Likewise.
61235         * misc/syncfs.c: Likewise.
61236         * misc/syscall.c: Likewise.
61237         * misc/truncate.c: Likewise.
61238         * misc/ualarm.c: Likewise.
61239         * misc/usleep.c: Likewise.
61240         * misc/ustat.c: Likewise.
61241         * misc/utimes.c: Likewise.
61242         * misc/vhangup.c: Likewise.
61243         * misc/writev.c: Likewise.
61244         * posix/_exit.c: Likewise.
61245         * posix/alarm.c: Likewise.
61246         * posix/execve.c: Likewise.
61247         * posix/fexecve.c: Likewise.
61248         * posix/fork.c: Likewise.
61249         * posix/fpathconf.c: Likewise.
61250         * posix/getaddrinfo.c: Likewise.
61251         * posix/getegid.c: Likewise.
61252         * posix/geteuid.c: Likewise.
61253         * posix/getgid.c: Likewise.
61254         * posix/getgroups.c: Likewise.
61255         * posix/getlogin.c: Likewise.
61256         * posix/getlogin_r.c: Likewise.
61257         * posix/getpgid.c: Likewise.
61258         * posix/getpid.c: Likewise.
61259         * posix/getppid.c: Likewise.
61260         * posix/getresgid.c: Likewise.
61261         * posix/getresuid.c: Likewise.
61262         * posix/getsid.c: Likewise.
61263         * posix/getuid.c: Likewise.
61264         * posix/glob64.c: Likewise.
61265         * posix/nanosleep.c: Likewise.
61266         * posix/pathconf.c: Likewise.
61267         * posix/pause.c: Likewise.
61268         * posix/posix_madvise.c: Likewise.
61269         * posix/pread.c: Likewise.
61270         * posix/pread64.c: Likewise.
61271         * posix/pwrite.c: Likewise.
61272         * posix/pwrite64.c: Likewise.
61273         * posix/sched_getaffinity.c: Likewise.
61274         * posix/sched_getp.c: Likewise.
61275         * posix/sched_gets.c: Likewise.
61276         * posix/sched_primax.c: Likewise.
61277         * posix/sched_primin.c: Likewise.
61278         * posix/sched_rr_gi.c: Likewise.
61279         * posix/sched_setaffinity.c: Likewise.
61280         * posix/sched_setp.c: Likewise.
61281         * posix/sched_sets.c: Likewise.
61282         * posix/sched_yield.c: Likewise.
61283         * posix/setgid.c: Likewise.
61284         * posix/setlogin.c: Likewise.
61285         * posix/setpgid.c: Likewise.
61286         * posix/setresgid.c: Likewise.
61287         * posix/setresuid.c: Likewise.
61288         * posix/setsid.c: Likewise.
61289         * posix/setuid.c: Likewise.
61290         * posix/sleep.c: Likewise.
61291         * posix/spawni.c: Likewise.
61292         * posix/sysconf.c: Likewise.
61293         * posix/times.c: Likewise.
61294         * posix/wait.c: Likewise.
61295         * posix/wait3.c: Likewise.
61296         * posix/wait4.c: Likewise.
61297         * posix/waitpid.c: Likewise.
61298         * resolv/gai_sigqueue.c: Likewise.
61299         * resource/getpriority.c: Likewise.
61300         * resource/getrlimit.c: Likewise.
61301         * resource/getrusage.c: Likewise.
61302         * resource/nice.c: Likewise.
61303         * resource/setpriority.c: Likewise.
61304         * resource/setrlimit.c: Likewise.
61305         * resource/ulimit.c: Likewise.
61306         * rt/aio_cancel.c: Likewise.
61307         * rt/aio_fsync.c: Likewise.
61308         * rt/aio_read.c: Likewise.
61309         * rt/aio_sigqueue.c: Likewise.
61310         * rt/aio_suspend.c: Likewise.
61311         * rt/aio_write.c: Likewise.
61312         * rt/clock_getres.c: Likewise.
61313         * rt/clock_gettime.c: Likewise.
61314         * rt/clock_nanosleep.c: Likewise.
61315         * rt/clock_settime.c: Likewise.
61316         * rt/lio_listio.c: Likewise.
61317         * rt/mq_close.c: Likewise.
61318         * rt/mq_getattr.c: Likewise.
61319         * rt/mq_notify.c: Likewise.
61320         * rt/mq_open.c: Likewise.
61321         * rt/mq_receive.c: Likewise.
61322         * rt/mq_send.c: Likewise.
61323         * rt/mq_setattr.c: Likewise.
61324         * rt/mq_timedreceive.c: Likewise.
61325         * rt/mq_timedsend.c: Likewise.
61326         * rt/mq_unlink.c: Likewise.
61327         * rt/shm_open.c: Likewise.
61328         * rt/shm_unlink.c: Likewise.
61329         * rt/timer_create.c: Likewise.
61330         * rt/timer_delete.c: Likewise.
61331         * rt/timer_getoverr.c: Likewise.
61332         * rt/timer_gettime.c: Likewise.
61333         * rt/timer_settime.c: Likewise.
61334         * setjmp/__longjmp.c: Likewise.
61335         * setjmp/setjmp.c: Likewise.
61336         * signal/kill.c: Likewise.
61337         * signal/killpg.c: Likewise.
61338         * signal/raise.c: Likewise.
61339         * signal/sigaction.c: Likewise.
61340         * signal/sigaltstack.c: Likewise.
61341         * signal/sigblock.c: Likewise.
61342         * signal/sigignore.c: Likewise.
61343         * signal/sigintr.c: Likewise.
61344         * signal/signal.c: Likewise.
61345         * signal/sigpause.c: Likewise.
61346         * signal/sigpending.c: Likewise.
61347         * signal/sigqueue.c: Likewise.
61348         * signal/sigreturn.c: Likewise.
61349         * signal/sigset.c: Likewise.
61350         * signal/sigsetmask.c: Likewise.
61351         * signal/sigstack.c: Likewise.
61352         * signal/sigsuspend.c: Likewise.
61353         * signal/sigtimedwait.c: Likewise.
61354         * signal/sigvec.c: Likewise.
61355         * signal/sigwait.c: Likewise.
61356         * signal/sigwaitinfo.c: Likewise.
61357         * signal/sysv_signal.c: Likewise.
61358         * socket/accept.c: Likewise.
61359         * socket/accept4.c: Likewise.
61360         * socket/bind.c: Likewise.
61361         * socket/connect.c: Likewise.
61362         * socket/getpeername.c: Likewise.
61363         * socket/getsockname.c: Likewise.
61364         * socket/getsockopt.c: Likewise.
61365         * socket/isfdtype.c: Likewise.
61366         * socket/listen.c: Likewise.
61367         * socket/recv.c: Likewise.
61368         * socket/recvfrom.c: Likewise.
61369         * socket/recvmsg.c: Likewise.
61370         * socket/send.c: Likewise.
61371         * socket/sendmsg.c: Likewise.
61372         * socket/sendto.c: Likewise.
61373         * socket/setsockopt.c: Likewise.
61374         * socket/shutdown.c: Likewise.
61375         * socket/sockatmark.c: Likewise.
61376         * socket/socket.c: Likewise.
61377         * socket/socketpair.c: Likewise.
61378         * stdio-common/ctermid.c: Likewise.
61379         * stdio-common/cuserid.c: Likewise.
61380         * stdio-common/remove.c: Likewise.
61381         * stdio-common/rename.c: Likewise.
61382         * stdio-common/renameat.c: Likewise.
61383         * stdio-common/tempname.c: Likewise.
61384         * stdlib/getcontext.c: Likewise.
61385         * stdlib/makecontext.c: Likewise.
61386         * stdlib/setcontext.c: Likewise.
61387         * stdlib/swapcontext.c: Likewise.
61388         * stdlib/system.c: Likewise.
61389         * streams/fattach.c: Likewise.
61390         * streams/fdetach.c: Likewise.
61391         * streams/getmsg.c: Likewise.
61392         * streams/getpmsg.c: Likewise.
61393         * streams/putmsg.c: Likewise.
61394         * streams/putpmsg.c: Likewise.
61395         * sysdeps/unix/bsd/getpt.c: Likewise.
61396         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
61397         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
61398         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61400         Likewise.
61401         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
61402         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61403         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
61404         * sysvipc/msgctl.c: Likewise.
61405         * sysvipc/msgget.c: Likewise.
61406         * sysvipc/msgrcv.c: Likewise.
61407         * sysvipc/msgsnd.c: Likewise.
61408         * sysvipc/semctl.c: Likewise.
61409         * sysvipc/semget.c: Likewise.
61410         * sysvipc/semop.c: Likewise.
61411         * sysvipc/semtimedop.c: Likewise.
61412         * sysvipc/shmat.c: Likewise.
61413         * sysvipc/shmctl.c: Likewise.
61414         * sysvipc/shmdt.c: Likewise.
61415         * sysvipc/shmget.c: Likewise.
61416         * termios/tcdrain.c: Likewise.
61417         * termios/tcflow.c: Likewise.
61418         * termios/tcflush.c: Likewise.
61419         * termios/tcgetattr.c: Likewise.
61420         * termios/tcgetpgrp.c: Likewise.
61421         * termios/tcsendbrk.c: Likewise.
61422         * termios/tcsetattr.c: Likewise.
61423         * termios/tcsetpgrp.c: Likewise.
61424         * time/adjtime.c: Likewise.
61425         * time/clock.c: Likewise.
61426         * time/getitimer.c: Likewise.
61427         * time/gettimeofday.c: Likewise.
61428         * time/setitimer.c: Likewise.
61429         * time/settimeofday.c: Likewise.
61430         * time/stime.c: Likewise.
61431         * time/time.c: Likewise.
61433 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61435         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61436         /usr/old/bin.
61438         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61439         instead of spaces.
61440         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61442 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
61444         [BZ #14796]
61445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61446         FE_TONEAREST before applying Dekker multiplication and Knuth
61447         addition.  Clear inexact exceptions and check for exact zero
61448         results afterwards.
61449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61450         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61452         * math/libm-test.inc (fma_test): Add more tests.
61453         (fma_test_towardzero): Likewise.
61454         (fma_test_downward): Likewise.
61455         (fma_test_upward): Likewise.
61456         * sysdeps/generic/math_private.h (default_libc_fesetround): New
61457         function.
61458         (libc_fesetround): New macro.
61459         (libc_fesetroundf): Likewise.
61460         (libc_fesetroundl): Likewise.
61461         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61462         function.
61463         (libc_fesetround_387): Likewise.
61464         (libc_fesetroundf): New macro.
61465         (libc_fesetround): Likewise.
61466         (libc_fesetroundl): Likewise.
61467         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61468         function.
61469         (libc_fesetroundf): New macro.
61470         (libc_fesetround): Likewise.
61471         (libc_fesetroundl): Likewise.
61472         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61473         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61474         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61475         libm_hidden_ver.
61476         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61477         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61478         libm_hidden_def.
61479         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61480         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61481         libm_hidden_ver.
61482         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61483         libm_hidden_def.
61485         [BZ #3439]
61486         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61487         integer constant usable in #if and use that to give value to enum
61488         constant.
61489         (FE_DIVBYZERO): Likewise.
61490         (FE_UNDERFLOW): Likewise.
61491         (FE_OVERFLOW): Likewise.
61492         (FE_INVALID): Likewise.
61493         (FE_INVALID_SNAN): Likewise.
61494         (FE_INVALID_ISI): Likewise.
61495         (FE_INVALID_IDI): Likewise.
61496         (FE_INVALID_ZDZ): Likewise.
61497         (FE_INVALID_IMZ): Likewise.
61498         (FE_INVALID_COMPARE): Likewise.
61499         (FE_INVALID_SOFTWARE): Likewise.
61500         (FE_INVALID_SQRT): Likewise.
61501         (FE_INVALID_INTEGER_CONVERSION): Likewise.
61502         (FE_TONEAREST): Likewise.
61503         (FE_TOWARDZERO): Likewise.
61504         (FE_UPWARD): Likewise.
61505         (FE_DOWNWARD): Likewise.
61506         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61507         (FE_DIVBYZERO): Likewise.
61508         (FE_OVERFLOW): Likewise.
61509         (FE_UNDERFLOW): Likewise.
61510         (FE_INEXACT): Likewise.
61511         (FE_TONEAREST): Likewise.
61512         (FE_DOWNWARD): Likewise.
61513         (FE_UPWARD): Likewise.
61514         (FE_TOWARDZERO): Likewise.
61515         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61516         (FE_UNDERFLOW): Likewise.
61517         (FE_OVERFLOW): Likewise.
61518         (FE_DIVBYZERO): Likewise.
61519         (FE_INVALID): Likewise.
61520         (FE_TONEAREST): Likewise.
61521         (FE_TOWARDZERO): Likewise.
61522         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
61523         (FE_OVERFLOW): Likewise.
61524         (FE_UNDERFLOW): Likewise.
61525         (FE_DIVBYZERO): Likewise.
61526         (FE_INEXACT): Likewise.
61527         (FE_TONEAREST): Likewise.
61528         (FE_TOWARDZERO): Likewise.
61529         (FE_UPWARD): Likewise.
61530         (FE_DOWNWARD): Likewise.
61531         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
61532         (FE_DIVBYZERO): Likewise.
61533         (FE_OVERFLOW): Likewise.
61534         (FE_UNDERFLOW): Likewise.
61535         (FE_INEXACT): Likewise.
61536         (FE_TONEAREST): Likewise.
61537         (FE_DOWNWARD): Likewise.
61538         (FE_UPWARD): Likewise.
61539         (FE_TOWARDZERO): Likewise.
61541 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
61543         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
61545 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
61547         * scripts/cross-test-ssh.sh (command): Use newlines to separate
61548         commands.  Quote $PWD.
61549         (blacklist_exports): Don't use remove_newlines.  Replace "declare
61550         -x" by "export".
61551         (remove_newlines): Remove.
61553 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
61555         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
61556         * stdlib/stdlib.h (atof): Moved to ...
61557         * include/bits/stdlib-float.h: Here.  New file.
61558         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
61559         * stdlib/bits/stdlib-float.h: New file.
61560         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
61561         -mno-sse -mno-mmx.
61562         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
61563         <xmmintrin.h>.
61565 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61567         * conform/conformtest.pl (@headers): Add fenv.h.
61568         * conform/data/fenv.h-data: New file.
61569         * include/fenv.h [_ISOMAC]: Disable all contents of file except
61570         include of <math/fenv.h>.
61572         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
61573         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
61574         && !UNIX98].  Enables tests for XOPEN2K8.
61575         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
61576         POSIX2008]: Likewise.
61578         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
61579         (struct rusage): Do not expect type or its members.
61581         [BZ #3439]
61582         * math/math.h (FP_NAN): Define macro to integer constant usable in
61583         #if and use that to give value to enum constant.
61584         (FP_INFINITE): Likewise.
61585         (FP_ZERO): Likewise.
61586         (FP_SUBNORMAL): Likewise.
61587         (FP_NORMAL): Likewise.
61589 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
61591         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
61592         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
61593         arguments.
61595 2012-11-02  Roland McGrath  <roland@hack.frob.com>
61597         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
61598         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
61599         autoconf-time if not.
61600         * configure.in: Remove AC_PREREQ.
61602 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61604         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61605         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
61606         of the internal implementation.
61608 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61610         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
61611         except include of <misc/sys/syslog.h>.
61613 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
61616         function returns with a NULL context exit with zero.
61618 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61620         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
61622 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
61624         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61625         (run_program_cmd): This.
61626         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
61627         (tst_langinfo): New variable.  Use it.
61629 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
61631         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
61632         floating point opcodes.
61634 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61636         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
61637         variable.
61639         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
61641         * sysdeps/mach/hurd/powerpc: Remove directory.
61642         * sysdeps/mach/powerpc: Likewise.
61644 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61646         * scripts/check-local-headers.sh: Ignore c++ headers.
61648 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61650         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
61651         __libc_cleanup_region_start argument.
61653 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
61655         [BZ #14784]
61656         [BZ #14785]
61657         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
61658         x * y using scaling, not as x * y + z.
61659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61661         * math/libm-test.inc (fma_test): Add more tests.
61662         (fma_test_towardzero): Likewise.
61663         (fma_test_downward): Likewise.
61664         (fma_test_upward): Likewise.
61666 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61668         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
61670 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61672         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
61673         New variable.
61675 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
61677         * rt/tst-shm.c (worker): Correct checking for mmap failure.
61679 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61682         Fix sort order.
61683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61684         Likewise.
61686 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61689         Fix the order of the list for glibc 2.17.
61690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61691         Likewise.
61693 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61697 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61699         [BZ #14610]
61700         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
61701         for low part of x being zero before using __atanl (y).
61702         * math/libm-test.inc (atan2_test): Add another test.
61704         * manual/install.texi (Configuring and compiling): Document
61705         general use of test-wrapper and test-wrapper-env.
61706         * INSTALL: Regenerated.
61708         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
61709         (__fma): Do not extract and scale down low bits on after-rounding
61710         systems when result rounded to normal precision would have normal
61711         exponent.
61712         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
61713         (__fmal): Do not extract and scale down low bits on after-rounding
61714         systems when result rounded to normal precision would have normal
61715         exponent.
61716         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
61717         (__fmal): Do not extract and scale down low bits on after-rounding
61718         systems when result rounded to normal precision would have normal
61719         exponent.
61720         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
61721         macro.
61722         (fma_test): Add more tests.
61723         (fma_test_towardzero): Likewise.
61724         (fma_test_downward): Likewise.
61725         (fma_test_upward): Likewise.
61727 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
61729         * sysdeps/i386/tininess.h: Renamed to ...
61730         * sysdeps/x86/tininess.h: This.
61731         * sysdeps/x86_64/tininess.h: Removed.
61733 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61735         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
61736         input.  Use $(build-program-cmd).
61737         ($(objpfx)tst-array1-static.out): Likewise.
61738         ($(objpfx)tst-array2.out): Likewise.
61739         ($(objpfx)tst-array3.out): Likewise.
61740         ($(objpfx)tst-array4.out): Likewise.
61741         ($(objpfx)tst-array5.out): Likewise.
61742         ($(objpfx)tst-array5-static.out): Likewise.
61744 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
61746         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
61747         if defined.
61749         * nss/nsswitch.h (nss_interface_function): Provide new
61750         macro for use with NSS functions.
61751         * grp/initgroups.c: Use new macro.
61752         * nss/getXXbyYY.c: Likewise.
61753         * nss/getXXbyYY_r.c: Likewise.
61754         * nss/getXXent.c: Likewise.
61755         * nss/getXXent_r.c: Likewise.
61756         * sysdeps/posix/getaddrinfo.c: Likewise.
61758 2012-10-30  Andreas Jaeger  <aj@suse.de>
61760         * po/ru.po: Update Russion translation from translation project.
61762 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61764         [BZ #14152]
61765         [BZ #14783]
61766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
61767         result and shift together with sticky bit instead of replicating
61768         round-to-nearest rounding.
61769         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61770         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61771         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
61772         missing underflow exceptions.
61773         (fma_test_towardzero): Add more tests.
61774         (fma_test_downward): Likewise.
61775         (fma_test_upward): Likewise.
61777         [BZ #14047]
61778         * sysdeps/generic/tininess.h: New file.
61779         * sysdeps/i386/tininess.h: Likewise.
61780         * sysdeps/sh/tininess.h: Likewise.
61781         * sysdeps/x86_64/tininess.h: Likewise.
61782         * stdlib/tst-strtod-underflow.c: Likewise.
61783         * stdlib/tst-tininess.c: Likewise.
61784         * stdlib/strtod_l.c: Include <tininess.h>.
61785         (round_and_return): Do not set errno for exact underflow cases.
61786         Force an underflow exception when setting errno for underflow.
61787         Determine underflow based on rounding to normal precision if
61788         TININESS_AFTER_ROUNDING.
61789         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
61790         ERANGE for exact underflow cases.
61791         * stdlib/Makefile (tests): Add tst-tininess and
61792         tst-strtod-underflow.
61793         ($(objpfx)tst-tininess): Use $(link-libm).
61794         ($(objpfx)tst-strtod-underflow): Likewise.
61796 2012-10-30  Andreas Jaeger  <aj@suse.de>
61798         [BZ#14767]
61799         * elf/Makefile (tests): Remove conditional for have-initfini-array
61800         since this is now always required and the variable does not exist
61801         anymore.
61802         (tests-static): Likewise.
61803         (modules-names): Likewise.
61805         * po/eo.po: Add Esperanto translation from translation project.
61807         * elf/tst-array1.c (fini_array): Make writeable so that it can be
61808         merged with constructor/destructor.
61809         (init_array): Likewise.
61810         * elf/tst-array2dep.c (fini_array): Likewise.
61811         (init_array): Likewise.
61813 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
61815         * manual/message.texi: Delete @cartouche tags.
61817 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
61819         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
61820         EOPNOTSUPP.
61821         * sysdeps/mach/hurd/fsync.c: Likewise.
61823         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
61824         [_POSIX_REALTIME_SIGNALS]: Change condition to
61825         [_POSIX_REALTIME_SIGNALS > 0].
61827 2012-10-27  Andreas Jaeger  <aj@suse.de>
61829         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
61830         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
61831         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
61832         [__WORDSIZE != 64]: Likewise.
61834 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
61836         *  iconvdata/tst-table.sh: Remove ${SHELL}.
61837         *  iconvdata/tst-tables.sh: Likewise.
61839 2012-10-25  David S. Miller  <davem@davemloft.net>
61841         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61842         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
61843         of strtoull.
61845         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
61846         ifunc-impl-list.c
61847         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61848         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
61849         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
61850         file.
61852 2012-10-25  Roland McGrath  <roland@hack.frob.com>
61854         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61855         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
61856         __getdirentries.
61858 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61859             Jim Blandy  <jimb@codesourcery.com>
61861         * scripts/cross-test-ssh.sh: New file.
61862         * manual/install.texi (Configuring and compiling): Document use of
61863         cross-test-ssh.sh.
61864         * INSTALL: Regenerated.
61866 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
61868         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
61869         EOPNOTSUPP.
61871 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61873         * Makeconfig (run-program-prefix): Fix comment.
61875 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61876             Jim Blandy  <jimb@codesourcery.com>
61878         * Makeconfig (test-wrapper): New variable,
61879         (test-wrapper-env): Likewise.
61880         [$(cross-compiling) = yes && $(test-wrapper) != ""]
61881         (run-built-tests): Define to yes.
61882         (run-program-prefix): Use $(test-wrapper).
61883         (built-program-cmd): Likewise.
61884         * Rules (make-test-out): Use $(test-wrapper-env) and
61885         $(host-built-program-cmd).
61886         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61887         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61888         tst-pathopt.sh.
61889         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61890         $(test-wrapper-env) to tst-rtld-load-self.sh.
61891         ($(objpfx)order2.out): Use $(test-wrapper).
61892         ($(objpfx)tst-initorder.out): Likewise.
61893         ($(objpfx)tst-initorder2.out): Likewise.
61894         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61895         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61896         (test_wrapper_env): New variable.  Use it to run ld.so.
61897         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61898         Use it to run ld.so.
61899         (test_wrapper_env): Likewise.
61900         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61901         $(test-wrapper) to run-iconv-test.sh.
61902         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61903         (ICONV): Use $test_wrapper.
61904         * posix/Makefile ($(objpfx)globtest.out): Pass
61905         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61906         globtest.sh, not $(run-program-prefix).
61907         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61908         (test_wrapper): Likewise.
61909         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61910         set together with run_via_rtld_prefix.
61911         (run_program_prefix): Define in terms of test_wrapper and
61912         run_via_rtld_prefix.
61914 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61916         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61917         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61918         Targets removed.
61920         [BZ #14743]
61921         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61922         Declare __clock_getres, __clock_gettime, __clock_settime,
61923         __clock_nanosleep, and __clock_getcpuclockid.
61924         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61925         Remove librt_hidden_def (clock_gettime).
61926         * sysdeps/unix/clock_gettime.c: Likewise.
61927         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61928         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61929         * rt/clock_getres.c: Define __clock_getres as an alias.
61930         * sysdeps/posix/clock_getres.c: Likewise.
61931         * rt/clock_settime.c: Define __clock_settime as an alias.
61932         * sysdeps/unix/clock_settime.c: Likewise.
61933         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61934         * sysdeps/unix/clock_nanosleep.c: Likewise.
61935         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61936         * rt/clock-compat.c: New file.
61937         * rt/Makefile (librt-routines): Add clock-compat and move
61938         $(clock-routines) to ...
61939         (routines): ... here, new variable.
61940         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61941         Don't add get_clockfreq here.
61942         * rt/Versions (libc: GLIBC_2.17): New version set.
61943         Add clock_* symbols here.
61944         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61945         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61946         (GLIBC_2.17): Add clock_* symbols.
61947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61949         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61951         Likewise.
61952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61953         Likewise.
61954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61958         * NEWS: Mention the move.
61960         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61961         Use __open, __read, __close rather than their public counterparts.
61962         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61963         (__get_clockfreq_via_cpuinfo): Likewise.
61964         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61965         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61967         * config.h.in (HAVE_IFUNC): New #undef.
61968         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61969         was successful.
61970         * configure: Regenerated.
61972 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61974         * configure.in: Move READELF check to start of file.
61975         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61976         libc_cv_asm_gnu_indirect_function in the process.
61977         * configure: Regenerated.
61979 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61981         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61982         send the output to /dev/null.
61983         (libc_cv_cc_with_libunwind): Likewise.
61984         (libc_cv_as_noexecstack): Likewise.
61985         * configure: Regenerate.
61987 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61989         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61991         * posix/globtest.sh (TMPDIR): Do not set.
61992         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61993         (testout): Likewise.
61995 2012-10-24  Andreas Jaeger  <aj@suse.de>
61997         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61998         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61999         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62000         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62001         posix_fadvise64, posix_fallocate64.
62003         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62004         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62005         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62006         Likewise.
62007         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62008         Likewise.
62009         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62012         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62013         <bits/fcntl-linux.h>.
62014         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62016         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62017         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62018         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62019         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62020         [__WORDSIZE != 64]: Likewise.
62022 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62024         * Makeconfig (run-built-tests): New variable.
62025         * Rules [$(cross-compiling) = yes]: Change condition to
62026         [$(run-built-tests) = no].
62027         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62028         to [$(run-built-tests) = yes].
62029         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62030         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62031         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62032         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62033         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62034         * io/Makefile [$(cross-compiling) = no]: Likewise.
62035         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62036         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62037         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62038         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62039         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62040         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62041         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62042         * string/Makefile [$(cross-compiling) = no]: Likewise.
62044         * posix/Makefile ($(objpfx)globtest.out): Pass
62045         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62046         $(rtld-installed-name).
62047         * posix/globtest.sh (elf_objpfx): Remove variable.
62048         (rtld_installed_name): Likewise.
62049         (library_path): Likewise.
62050         (run_program_prefix): New variable.  Use for running globtest
62051         binary.
62053 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62054             Joseph Myers  <joseph@codesourcery.com>
62056         * Makeconfig (host-built-program-cmd): New variable.
62057         * elf/Makefile (tst-stackguard1-ARGS): Use
62058         $(host-built-program-cmd).
62059         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62060         (tst-spawn-ARGS): Likewise.
62061         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62063 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62064             Jim Blandy  <jimb@codesourcery.com>
62066         * Makeconfig (run-via-rtld-prefix): New variable.
62067         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62068         (built-program-cmd): Likewise.
62070 2012-10-22  Andreas Jaeger  <aj@suse.de>
62072         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62073         __O_RSYNC if it exists, otherwise to O_SYNC.
62075 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62076             Joseph Myers  <joseph@codesourcery.com>
62078         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62079         /dev/null.
62080         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62081         from /dev/null
62082         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62083         /dev/null.
62085 2012-10-22  Andreas Jaeger  <aj@suse.de>
62087         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62088         Define always.
62089         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62092         bits/fcntl-linux.h.
62094         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62095         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62097         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62098         to __O_LARGEFILE.
62099         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62100         to __O_LARGEFILE.
62102 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62103             Joseph Myers  <joseph@codesourcery.com>
62105         * config.make.in (NM): New variable.
62107 2012-10-21  Andreas Jaeger  <aj@suse.de>
62109         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62110         definitions and declarations that are provided by
62111         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62113 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62115         [BZ #14683]
62116         * elf/Makefile (tests-static): Add tst-leaks1-static.
62117         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62118         ($(objpfx)tst-leaks1-static): New rule.
62119         ($(objpfx)tst-leaks1-static-mem): Likewise.
62120         (tst-leaks1-static-ENV): New macro.
62121         * elf/dl-open.c (dl_open_worker): Check the main application
62122         only if SHARED is defined.
62123         * elf/tst-leaks1-static.c: New file.
62125 2012-10-20  Andreas Jaeger  <aj@suse.de>
62127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62128         generic values for Linux.
62129         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62130         and declarations that are provided by <bits/fcntl-linux.h> and
62131         include <bits/fcntl-linux.h>.
62132         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62133         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62135 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62137         * io/fcntl.h: Move include of <bits/types.h> to the top and
62138         include it unconditionally.
62140 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62142         * wcsmbs/Makefile (tests-ifunc): New variable.
62143         (tests): Add $(tests-ifunc).
62144         * wcsmbs/test-wcschr-ifunc.c: New file.
62145         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62146         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62147         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62148         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62149         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62151         * string/Makefile (tests-ifunc): New variable.
62152         (tests): Add $(tests-ifunc).
62153         * string/test-memccpy.c (TEST_NAME): New macro.
62154         * string/test-memchr.c (TEST_NAME): Likewise.
62155         * string/test-memcmp.c (TEST_NAME): Likewise.
62156         * string/test-memcpy.c (TEST_NAME): Likewise.
62157         * string/test-memmem.c (TEST_NAME): Likewise.
62158         * string/test-memmove.c (TEST_NAME): Likewise.
62159         * string/test-memset.c (TEST_NAME): Likewise.
62160         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62161         * string/test-stpcpy.c (TEST_NAME): Likewise.
62162         * string/test-stpncpy.c (TEST_NAME): Likewise.
62163         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62164         * string/test-strcasestr.c (TEST_NAME): Likewise.
62165         * string/test-strcat.c (TEST_NAME): Likewise.
62166         * string/test-strchr.c (TEST_NAME): Likewise.
62167         * string/test-strcmp.c(TEST_NAME): Likewise.
62168         * string/test-strcpy.c (TEST_NAME): Likewise.
62169         * string/test-strcspn.c (TEST_NAME): Likewise.
62170         * string/test-strlen.c (TEST_NAME): Likewise.
62171         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62172         * string/test-strncmp.c (TEST_NAME): Likewise.
62173         * string/test-strncpy.c (TEST_NAME): Likewise.
62174         * string/test-strnlen.c (TEST_NAME): Likewise.
62175         * string/test-strpbrk.c (TEST_NAME): Likewise.
62176         * string/test-strrchr.c (TEST_NAME): Likewise.
62177         * string/test-strspn.c (TEST_NAME): Likewise.
62178         * string/test-strstr.c (TEST_NAME): Likewise.
62179         * string/test-bcopy-ifunc.c: New file.
62180         * string/test-bzero-ifunc.c: Likewise.
62181         * string/test-memccpy-ifunc.c: Likewise.
62182         * string/test-memchr-ifunc.c: Likewise.
62183         * string/test-memcmp-ifunc.c: Likewise.
62184         * string/test-memcpy-ifunc.c: Likewise.
62185         * string/test-memmem-ifunc.c: Likewise.
62186         * string/test-memmove-ifunc.c: Likewise.
62187         * string/test-mempcpy-ifunc.c: Likewise.
62188         * string/test-memset-ifunc.c: Likewise.
62189         * string/test-rawmemchr-ifunc.c: Likewise.
62190         * string/test-stpcpy-ifunc.c: Likewise.
62191         * string/test-stpncpy-ifunc.c: Likewise.
62192         * string/test-strcasecmp-ifunc.c: Likewise.
62193         * string/test-strcasestr-ifunc.c: Likewise.
62194         * string/test-strcat-ifunc.c: Likewise.
62195         * string/test-strchr-ifunc.c: Likewise.
62196         * string/test-strchrnul-ifunc.c: Likewise.
62197         * string/test-strcmp-ifunc.c: Likewise.
62198         * string/test-strcpy-ifunc.c: Likewise.
62199         * string/test-strcspn-ifunc.c: Likewise.
62200         * string/test-strlen-ifunc.c: Likewise.
62201         * string/test-strncasecmp-ifunc.c: Likewise.
62202         * string/test-strncat-ifunc.c: Likewise.
62203         * string/test-strncmp-ifunc.c: Likewise.
62204         * string/test-strncpy-ifunc.c: Likewise.
62205         * string/test-strnlen-ifunc.c: Likewise.
62206         * string/test-strpbrk-ifunc.c: Likewise.
62207         * string/test-strrchr-ifunc.c: Likewise.
62208         * string/test-strspn-ifunc.c: Likewise.
62209         * string/test-strstr-ifunc.c: Likewise.
62211         * debug/Makefile (tests-ifunc): New variable.
62212         (tests): Add $(tests-ifunc).
62213         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62214         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62215         * debug/test-stpcpy_chk-ifunc.c: New file.
62216         * debug/test-strcpy_chk-ifunc.c: Likewise.
62218 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62220         [BZ #13601]
62221         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62222         header is not read in.
62224 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62226         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62227         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62228         directly.  Pass built executable to script as
62229         $(built-program-cmd).
62230         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
62231         $testprogram without using LD_LIBRARY_PATH and $ldso.
62233         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
62234         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
62235         $(rtld-installed-name).
62236         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
62237         (rtld_installed_name): Likewise.
62238         (library_path): Likewise.
62239         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
62240         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
62241         $(run-program-prefix) to tst-tables.sh.
62242         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
62243         it to run tst-table-from and tst-table-to.
62244         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
62245         Pass it to tst-table.sh.
62246         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
62247         $(run-program-prefix) to tst-gettext.sh.
62248         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
62249         tst-translit.sh.
62250         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
62251         tst-gettext2.sh.
62252         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
62253         to run tst-gettext.
62254         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
62255         to run tst-gettext2.
62256         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
62257         to run tst-translit.
62258         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
62259         $(run-program-prefix) to tst-mtrace.sh.
62260         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
62261         to run tst-mtrace.
62262         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
62263         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
62264         $(rtld-installed-name).
62265         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
62266         (rtld_installed_name): Likewise.
62267         (run_program_prefix): New variable.  Use it to run wordexp-test.
62269         * Makeconfig (ARCH): Remove all definitions.
62270         (machine): Likewise.
62271         [ARCH]: Remove conditional code.
62272         [!objdir]: Give error.
62273         [!objdir] (objpfx): Remove.
62274         [!objdir] (common-objpfx): Likewise.
62275         [!objdir] (common-objdir): Likewise.
62276         * configure.in (config_makefile): Remove.  Hardcode Makefile in
62277         AC_CONFIG_FILES call.
62278         * configure: Regenerated.
62280         [BZ #13888]
62281         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
62282         or TMPDIR.
62283         (testout): Likewise.
62285         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
62286         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
62287         $(rtld-installed-name).
62288         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
62289         (rtld_installed_name): Likwise.
62290         (runit): Remove function.
62291         (run_getconf): New variable,  Use it for running getconf binary.
62293 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
62295         [BZ #14716]
62296         * string/test-memmem.c (check_result): New function.
62297         (do_one_test): Use it.
62298         (check1): New function.
62299         (test_main): Use it.
62301 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
62303         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
62305 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
62307         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
62308         (_G_LSEEK64): Likewise.
62309         (_G_MMAP64): Likewise.
62310         (_G_FSTAT64): Likewise.
62311         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
62312         (_G_LSEEK64): Likewise.
62313         (_G_MMAP64): Likewise.
62314         (_G_FSTAT64): Likewise.
62315         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
62316         unconditional.  Call __mmap64 directly.
62317         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
62318         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
62319         __lseek64 directly.
62320         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62321         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
62322         __mmap64 directly.
62323         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
62324         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62325         __lseek64 directly.
62326         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
62327         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62328         __lseek64 directly.
62329         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
62330         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
62331         __lseek64 directly.
62332         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
62333         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
62334         __fxstat64 directly.
62335         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
62336         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
62337         unconditional.
62338         (freopen64) [!_G_OPEN64]: Remove conditional code.
62339         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
62340         unconditional.
62341         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
62342         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
62343         unconditional.
62344         (ftello64) [!_G_LSEEK64]: Remove conditional code.
62345         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
62346         unconditional.
62347         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62348         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
62349         unconditional.
62350         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
62351         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
62352         unconditional.
62353         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62354         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
62355         unconditional.
62356         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62357         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
62358         unconditional.
62359         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62361 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62363         [BZ #12140]
62364         * manual/memory.texi (Malloc Tunable Parameters): Add note
62365         about free list pointers overwriting some perturb bytes.
62366         Wording suggested by Roland McGrath.
62368 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
62370         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
62371         (lgamma_test): Likewise.
62372         (tgamma_test): Likewise.
62374 2012-10-16  Florian Weimer  <fweimer@redhat.com>
62376         [BZ #14700]
62377         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
62378         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
62380 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
62382         * NEWS: Mention BZ #14716.
62383         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
62384         when removing AVAILABLE1_USES_J macro.
62386 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
62388         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
62389         (__bswap_64): __uint64_t for unsigned 64-bit int.
62391 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
62393         * include/string.h (memmem): Declare libc hidden alias.
62394         * string/memmem.c (memmem): Define libc hidden alias.
62395         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
62396         __read, __close instead of open, read, close.
62398 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
62400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
62401         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
62402         global and hidden.
62403         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
62404         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
62405         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
62406         Likewise.
62407         (__rawmemchr_sse2): Likewise.
62408         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
62409         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
62410         (__strchr_sse2): Likewise.
62411         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
62412         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62413         (__strcasecmp_sse2): Likewise.
62414         (__strncasecmp_sse2): Likewise.
62415         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62416         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62417         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62418         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62419         (__strrchr_sse2): Likewise.
62420         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62421         ifunc-impl-list.c.
62422         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62423         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62424         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62425         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62426         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62427         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62428         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62429         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62430         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62431         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62432         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62433         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62434         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62435         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62436         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62437         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62438         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62439         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62440         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62441         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62442         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62443         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62444         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62445         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62446         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62447         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62448         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62449         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62450         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62451         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62453         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62454         global and hidden.
62455         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62456         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62457         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62458         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62459         Likewise.
62460         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62461         Likewise.
62462         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62463         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62464         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62465         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62466         ifunc-impl-list.c.
62467         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62468         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62469         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62470         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62471         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62472         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62473         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62474         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62475         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62476         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62477         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62478         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62479         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62480         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62481         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62482         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62483         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62484         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62485         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62486         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62487         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62488         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62489         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62490         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62491         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62492         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62493         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62494         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62495         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62496         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62497         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62498         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62499         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62500         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62501         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62502         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62503         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62504         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62505         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62506         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62507         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62509         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62510         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62511         * include/ifunc-impl-list.h: New file.
62512         * misc/ifunc-impl-list.c: Likewise.
62513         * misc/Makefile (routines): Add ifunc-impl-list.
62514         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62515         * string/test-string.h: Include <ifunc-impl-list.h>.
62516         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62517         TEST_NAME]: New variables.
62518         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
62519         are defined.
62520         (test_init): Call __libc_ifunc_impl_list to initialize
62521         func_list if TEST_IFUNC and TEST_NAME are defined.
62523         * string/Makefile (strop-tests): Add bcopy and bzero.
62524         * string/test-bcopy.c: New file.
62525         * string/test-bzero.c: Likewise.
62526         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
62527         defined.
62528         * string/test-memset.c: Support bzero test if TEST_BZERO is
62529         defined.
62530         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
62531         __libc_memmove.
62532         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
62533         __libc_memset.
62534         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
62535         of memset.
62537 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
62539         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
62540         * configure: Regenerated.
62542         * Makeconfig (+link-static-before-libc): Don't include
62543         $(link-static-libc).
62545         * libio/libio.h (_IO_pos_t): Remove.
62547 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62549         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
62550         McGrath.
62552 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62554         * crypt/crypt-entry.c: Include fips-private.h.
62555         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
62556         * crypt/md5c-test.c (main): Tolerate disabled MD5.
62557         * sysdeps/unix/sysv/linux/fips-private.h: New file.
62558         * sysdeps/generic/fips-private.h: New file, dummy fallback.
62560 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62562         * crypt/crypt-private.h: Include stdbool.h.
62563         (_ufc_setup_salt_r): Return bool.
62564         * crypt/crypt-entry.c: Include errno.h.
62565         (__crypt_r): Return NULL with EINVAL for bad salt.
62566         * crypt/crypt_util.c (bad_for_salt): New.
62567         (_ufc_setup_salt_r): Check that salt is long enough and within
62568         the specified alphabet.
62569         * crypt/badsalttest.c: New file.
62570         * crypt/Makefile (tests): Add it.
62571         ($(objpfx)badsalttest): New.
62573 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
62575         * NEWS: Add entry for BZ #14602.
62577 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62579         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
62580         type-generic.
62581         * math/libm-test.inc: Update comment listing what functions and
62582         macros are tested.
62583         (isgreater_test): New function.
62584         (isgreaterequal_test): Likewise.
62585         (isless_test): Likewise.
62586         (islessequal_test): Likewise.
62587         (islessgreater_test): Likewise.
62588         (isunordered_test): Likewise.
62589         (main): Call the new functions.
62591 2012-10-09  Roland McGrath  <roland@hack.frob.com>
62593         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
62594         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
62595         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
62596         * sysdeps/i386/configure: Regenerated.
62597         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62598         * sysdeps/mach/configure: Regenerated.
62599         * sysdeps/mach/hurd/configure: Regenerated.
62600         * sysdeps/powerpc/configure: Regenerated.
62601         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62602         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62603         * sysdeps/s390/s390-32/configure: Regenerated.
62604         * sysdeps/s390/s390-64/configure: Regenerated.
62605         * sysdeps/sh/configure: Regenerated.
62606         * sysdeps/sparc/configure: Regenerated.
62607         * sysdeps/unix/sysv/linux/configure: Regenerated.
62608         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
62609         * sysdeps/x86_64/configure: Regenerated.
62611         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
62612         defined.  Don't check if MAP is NULL.
62614 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62616         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
62617         (_G_stat64): Likewise.
62618         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
62619         (_G_stat64): Likewise.
62620         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
62621         instead of struct _G_stat64.
62622         * libio/fileops.c (mmap_remap_check): Likewise.
62623         (decide_maybe_mmap): Likewise.
62624         (_IO_new_file_seekoff): Likewise.
62625         (_IO_file_stat): Likewise.
62626         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
62627         _G_off64_t.
62628         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
62629         instead of struct _G_stat64.
62630         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62632 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
62634         [BZ #14602]
62635         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62636         Replace with ...
62637         (CHECK_EOL): New macro.
62638         (two_way_short_needle): Check beginning of haystack for EOL.  Use
62639         CHECK_EOL.
62640         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62641         Replace with CHECK_EOL.
62642         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62643         Replace with CHECK_EOL.
62645 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
62647         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
62648         type-generic.
62649         * math/libm-test.inc: Update comment listing what functions and
62650         macros are tested.
62651         (finite_test): New function.
62652         (isinf_test): Likewise.
62653         (isnan_test): Likewise.
62654         (fpclassify_test): Test subnormal input.
62655         (isfinite_test): Likewise.
62656         (isnormal_test): Likewise.
62657         (main): Call the new functions.
62659 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
62661         [BZ #14660]
62662         * Makerules (%.dynsym): Force C locale when running
62663         $(OBJDUMP) --dynamic-syms.
62665 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
62667         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
62668         <stdint.h>.
62670 2012-10-06  David S. Miller  <davem@davemloft.net>
62672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
62673         upper 32-bits of the length value in %o2 since we use branch-on-register
62674         tests which consider the entire 64-bit register.
62676 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
62678         * string/test-strstr.c (check2): Add a test for page boundary.
62680 2012-10-05  David S. Miller  <davem@davemloft.net>
62682         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
62683         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
62684         file.
62685         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62686         sysdep_routines.
62687         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62688         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
62689         and bzero when HWCAP_SPARC_CRYPTO is present.
62691 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
62693         [BZ #14602]
62694         * string/test-strstr.c (check2): New function.
62695         (test_main): Call check2.
62697         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
62698         and bug-strchr1.
62699         * string/bug-strcasestr1.c (do_test): Moved to ...
62700         * string/test-strcasestr.c (check1): Here.  New function.
62701         (do_one_test): Break out result checking code into ...
62702         (check_result): This.  New function.
62703         (do_one_test): Call check_result.
62704         (test_main): Call check1.
62705         * string/bug-strchr1.c (do_test): Moved to ...
62706         * string/test-strchr.c (check1): Here.  New function.
62707         (do_one_test): Break out result checking code into ...
62708         (check_result): This.  New function.
62709         (do_one_test): Call check_result.
62710         (test_main): Call check1.
62711         * string/bug-strstr1.c (main): Moved to ...
62712         * string/test-strstr.c (check1): Here.  New function.
62713         (do_one_test): Break out result checking code into ...
62714         (check_result): This.  New function.
62715         (do_one_test): Call check_result.
62716         (test_main): Call check1.
62717         * string/bug-strcasestr1.c: Removed.
62718         * string/bug-strchr1.c: Likewise.
62719         * string/bug-strstr1.c: Likewise.
62721         * elf/Makefile (dl-routines): Add hwcaps.
62722         * elf/dl-support.c (_dl_important_hwcaps): Removed.
62723         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
62724         (_dl_important_hwcaps): Moved to ...
62725         * elf/dl-hwcaps.c: Here.  New file.
62726         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
62728         [BZ #14557]
62729         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
62730         if IS_IN_rtld isn't defined.
62732         * elf/dl-support.c (_dl_sysinfo_map): New.
62733         Include "get-dynamic-info.h" and "setup-vdso.h".
62734         (_dl_non_dynamic_init): Call setup_vdso.
62735         * elf/dynamic-link.h: Don't include <assert.h>.
62736         (elf_get_dynamic_info): Moved to ...
62737         * elf/get-dynamic-info.h: Here.  New file.
62738         * elf/dynamic-link.h: Include "get-dynamic-info.h".
62739         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
62740         * elf/setup-vdso.h: Here.  New file.
62741         * elf/rtld.c: Include "setup-vdso.h".
62742         (dl_main): Call setup_vdso.
62744 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
62746         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
62747         creal in comment listing functions tested.  List finite, isinf,
62748         isnan, isless, islessequal, isgreater, isgreaterequal,
62749         islessgreater, isunordered, lgamma_r and pow10 as functions and
62750         macros not tested.  Mention which functions not tested are aliases
62751         for other functions.  Fix typo.  Note that signs of NaNs are not
62752         tested.
62754         * scripts/config.guess: Update from config.git.
62755         * scripts/config.sub: Likewise.
62757 2012-10-04  Roland McGrath  <roland@hack.frob.com>
62759         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
62760         * misc/madvise.c (madvise): Renamed to __madvise.
62761         Make madvise a weak alias.
62762         * include/sys/mman.h: Declare __madvise.
62763         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
62764         * sysdeps/unix/syscalls.list
62765         (madvise): Make __madvise the strong name, and madvise a weak alias.
62766         * sysdeps/unix/sysv/linux/syscalls.list
62767         (madvise, mmap): Remove redundant entries.
62768         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
62769         * malloc/malloc.c (mtrim): Likewise.
62770         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
62772 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62774         * sysdeps/mach/hurd/dl-cache.c: File removed.
62775         * config.h.in (USE_LDCONFIG): New #undef.
62776         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
62777         * configure: Regenerated.
62778         * elf/Makefile (dl-routines): Add dl-cache only under
62779         [$(use-ldconfig) = yes].
62780         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
62781         cache on [USE_LDCONFIG].
62782         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
62783         [USE_LDCONFIG].
62784         * elf/rtld.c (dl_main): Likewise.
62786 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
62788         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
62789         _SC_LEVEL4_CACHE_LINESIZE.
62791 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62793         * sysdeps/unix/bsd/confstr.h: File removed.
62795 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
62797         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
62798         sys/sdt-config.h.
62800 2012-10-02  Roland McGrath  <roland@hack.frob.com>
62802         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
62803         Make 'mapoff' field ElfW(Off) rather than off_t.
62805 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
62807         * nscd/Makefile: Remove nscd-cflags and all its users.
62808         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
62809         (CFLAGS-nonlib): Add compiler flags for nscd modules.
62811         [BZ #10631]
62812         * malloc.c (malloc_printerr): Clarify error message.
62814 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
62816         [BZ #14648]
62817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62818         Set bit_FMA_Usable if FMA is supported.
62819         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
62820         macro.
62821         (bit_FMA4_Usable): Updated.
62822         (index_FMA_Usable): New macro.
62823         (CPUID_FMA): Likewise.
62824         (HAS_FMA): Defined with bit_FMA_Usable.
62826 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62828         * bits/types.h (__swblk_t): Type removed.
62829         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
62830         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
62831         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62832         (__SWBLK_T_TYPE): Likewise.
62833         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62834         (__SWBLK_T_TYPE): Likewise.
62835         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62836         (__SWBLK_T_TYPE): Likewise.
62837         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62838         (__SWBLK_T_TYPE): Likewise.
62840 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
62841             Honza Horak <hhorak@redhat.com>
62843         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
62844         (xdr_mapname): Use YPMAXMAP as maxsize.
62845         (xdr_peername): Use YPMAXPEER as maxsize.
62846         (xdr_keydat): Use YPAXRECORD as maxsize.
62847         (xdr_valdat): Use YPMAXRECORD as maxsize.
62849 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62851         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62853         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
62854         * csu/init-first.c: ... here.
62855         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
62856         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
62857         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
62858         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
62859         * sysdeps/i386/init-first.c: File removed.
62860         * sysdeps/sh/init-first.c: File removed.
62862 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
62864         [BZ #14645]
62865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
62866         if x * y might underflow to zero and z is zero.
62867         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62868         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62869         * math/libm-test.inc (min_subnorm_value): New variable.
62870         (fma_test): Add more tests.
62871         (fma_test_towardzero): Likewise.
62872         (fma_test_downward): Likewise.
62873         (fma_test_upward): Likewise.
62874         (initialize): Set min_subnorm_value.
62876 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
62878         [BZ #14638]
62879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
62880         0 + 0.
62881         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
62882         mode for addition resulting in exact zero.
62883         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62884         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62885         exact 0 + 0.
62886         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62887         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62888         * math/libm-test.inc (fma_test): Add more tests.
62889         (fma_test_towardzero): New function.
62890         (fma_test_downward): Likewise.
62891         (fma_test_upward): Likewise.
62892         (main): Call the new functions.
62894 2012-09-28  David S. Miller  <davem@davemloft.net>
62896         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62898 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62900         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62901         instead of SIGALRM.
62903         * sysdeps/gnu/_G_config.h: Moved to ...
62904         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62905         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62906         * sysdeps/generic/_G_config.h: ... here.
62908         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62910         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62912         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62913         Conditionalize target on [libnss_test1.so-version].
62915         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62917         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62918         (elfobjdir): Move out of conditionals.
62920         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62921         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62922         (__nss_lookup_function): Conditionalize label remove_from_tree on
62923         [!DO_STATIC_NSS || SHARED], matching its only use.
62925 2012-09-28  David S. Miller  <davem@davemloft.net>
62927         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62928         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62929         file.
62930         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62931         sysdep_routines.
62932         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62933         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62934         when HWCAP_SPARC_CRYPTO is present.
62936 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62938         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62940 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62942         [BZ #6530]
62943         * stdio-common/vfprintf.c (process_string_arg): Revert
62944         2000-07-22 change.
62946 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62948         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62949         for testcase.
62950         * stdio-common/tst-sprintf.c: Include <locale.h>
62951         (main): Test sprintf's handling of incomplete multibyte
62952         characters.
62954 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62956         * elf/dl-runtime.c (VERSYMIDX): Removed.
62957         * elf/dl-version.c (VERSYMIDX): Likewise.
62958         * elf/do-rel.h (VERSYMIDX): Likewise.
62959         (VALIDX): Likewise.
62960         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62961         * elf/rtld.c (VALIDX): Likewise.
62962         (ADDRIDX): Likewise.
62963         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62964         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62965         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62966         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62967         (VALIDX): Likewise.
62968         (ADDRIDX): Likewise.
62970 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62972         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62974 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62976         [BZ #11438]
62977         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62978         to global scope.
62979         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62980         addresses are in the same scope as 192.0.2/24.
62981         * posix/gai.conf: Document new scope table defaults.
62983 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62985         [BZ #5298]
62986         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62987         for ftell.  Compute offsets from write pointers instead.
62988         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62990 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62992         [BZ #14543]
62993         * libio/Makefile (tests): New test case tst-fseek.
62994         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62995         combination works in wide mode.
62996         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62997         state when the external buffer state changes.
62999 2012-09-27  David S. Miller  <davem@davemloft.net>
63001         [BZ #14376]
63002         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63003         pass reloc->r_addend in as the 'high' argument to
63004         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63008 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63010         * rt/tst-aio2.c: Include <pthread.h>.
63011         * rt/tst-aio3.c: Likewise.
63013 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63015         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63017 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63019         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63020         contents on [SHARED].
63022 2012-09-26  Marek Polacek  <polacek@redhat.com>
63024         [BZ #14530]
63025         [BZ #13741]
63026         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63027         for C++ and GCC <4.3 as well as for non GCC compilers.
63029 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63033 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63035         * Makefile.in (all, install): Declare with .PHONY.
63036         Reported by Michael Hope <michael.hope@linaro.org>.
63038 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63040         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63041         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63042         system header.
63043         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63044         Likewise.
63045         (sydep_routines): Add the new and the internal functions.
63046         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63047         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63049         (GLIBC_2.17): Add the new function.
63050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63051         (GLIBC_2.17): Likewise.
63052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63053         (GLIBC_2.17): Likewise.
63054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63055         (GLIBC_2.17): Likewise.
63056         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63058 2012-09-25  Alan Modra  <amodra@gmail.com>
63060         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63061         Add release barrier before setting once_control to say
63062         initialisation is done.  Add hints on lwarx.  Use macro in
63063         place of isync.
63064         (clear_once_control): Add release barrier.
63066 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63068         [BZ #13629]
63069         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63070         specially.
63071         * math/s_clog10.c (__clog10): Likewise.
63072         * math/s_clog10f.c (__clog10f): Likewise.
63073         * math/s_clog10l.c (__clog10l): Likewise.
63074         * math/s_clogf.c (__clogf): Likewise.
63075         * math/s_clogl.c (__clogl): Likewise.
63076         * math/Makefile (libm-calls): Add x2y2m1.
63077         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63078         (__x2y2m1): Likewise.
63079         (__x2y2m1l): Likewise.
63080         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63081         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63082         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63083         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63084         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63085         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63086         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63087         * sysdeps/i386/fpu/libm-test-ulps: Update.
63088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63090         [BZ #14621]
63091         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63092         int as type of variable DEPTH.
63093         (glob): Use size_t instead of int as type of variables NEWCOUNT
63094         and OLD_PATHC.
63096 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63098         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63099         Add s_sincosf-sse2.
63100         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63101         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63102         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63103         macros for using routine as __sincosf_ia32.
63104         Use macro for function declaration and weak_alias.
63105         * sysdeps/i386/fpu/libm-test-ulps: Update.
63107         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63110         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63111         subnormal argument.
63112         * math/s_cexpf.c (__cexpf): Likewise.
63113         * math/s_csinf.c (__csinf): Likewise.
63114         * math/s_csinhf.c (__csinhf): Likewise.
63115         * math/s_ctanf.c (__ctanf): Likewise.
63116         * math/s_ctanhf.c (__ctanhf): Likewise.
63117         * math/s_ccosh.c (__ccoshf): Likewise.
63118         * math/s_cexp.c (__cexpl): Likewise.
63119         * math/s_csin.c (__csin): Likewise.
63120         * math/s_csinh.c (__csinh): Likewise.
63121         * math/s_ctan.c (__ctan): Likewise.
63122         * math/s_ctanh.c (ctanh): Likewise.
63123         * math/s_ccoshl.c (__ccoshl): Likewise.
63124         * math/s_cexpl.c (__cexpl): Likewise.
63125         * math/s_csinl.c (__csinl): Likewise.
63126         * math/s_csinhl.c (__csinhl): Likewise.
63127         * math/s_ctanl.c (__ctanl): Likewise.
63128         * math/s_ctanhl.c (__ctanhl): Likewise.
63130 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63132         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63133         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63134         (_IO_off_t): Define to __off_t, not _G_off_t.
63135         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63136         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63137         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63138         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63139         type of __dummy and __dummy2 fields.
63140         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63141         (_G_ssize_t): Likewise.
63142         (_G_off_t): Likewise.
63143         (_G_pid_t): Likewise.
63144         (_G_uid_t): Likewise.
63145         (_G_wchar_t): Likewise.
63146         (_G_wint_t): Likewise.
63147         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63148         (_G_ssize_t): Likewise.
63149         (_G_off_t): Likewise.
63150         (_G_pid_t): Likewise.
63151         (_G_uid_t): Likewise.
63152         (_G_wchar_t): Likewise.
63153         (_G_wint_t): Likewise.
63154         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63155         (_G_ssize_t): Likewise.
63156         (_G_off_t): Likewise.
63157         (_G_pid_t): Likewise.
63158         (_G_uid_t): Likewise.
63159         (_G_wchar_t): Likewise.
63160         (_G_wint_t): Likewise.
63162 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63164         * malloc/arena.c: Include malloc-sysdep.h.
63165         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63166         is sufficient to shrink the heap or an unmap is needed.
63167         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63168         new function check_may_shrink_heap.
63169         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63170         new function check_may_shrink_heap.
63172 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63174         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63175         comments.
63177 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63179         * catgets/test-gencat.sh: Add "set -e".
63180         * elf/tst-pathopt.sh: Likewise.
63181         * grp/tst_fgetgrent.sh: Likewise.
63182         * iconvdata/run-iconv-test.sh: Likewise.
63183         * intl/tst-gettext.sh: Likewise.
63184         * intl/tst-gettext2.sh: Likewise.
63185         * intl/tst-gettext4.sh: Likewise.
63186         * intl/tst-gettext6.sh: Likewise.
63187         * intl/tst-translit.sh: Likewise.
63188         * io/ftwtest-sh: Likewise.
63189         * libio/test-freopen.sh: Likewise.
63190         * malloc/tst-mtrace.sh: Likewise.
63191         * posix/globtest.sh: Likewise.
63192         * posix/tst-getconf.sh: Likewise.
63193         * posix/wordexp-tst.sh: Likewise.
63194         * stdio-common/tst-printf.sh: Likewise.
63195         * stdio-common/tst-unbputc.sh: Likewise.
63196         * stdlib/tst-fmtmsg.sh: Likewise.
63197         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63198         * catgets/Makefile: Do not specify -e option when running
63199         testsuite shell scripts.
63200         * elf/Makefile: Likewise.
63201         * grp/Makefile: Likewise.
63202         * iconvdata/Makefile: Likewise.
63203         * intl/Makefile: Likewise.
63204         * io/Makefile: Likewise.
63205         * libio/Makefile: Likewise.
63206         * malloc/Makefile: Likewise.
63207         * posix/Makefile: Likewise.
63208         * stdio-common/Makefile: Likewise.
63209         * stdlib/Makefile: Likewise.
63210         * sysdeps/x86_64/Makefile: Likewise.
63212         * io/ftwtest-sh: Add copyright header.
63213         * posix/globtest.sh: Likewise.
63214         * posix/tst-getconf.sh: Likewise.
63215         * posix/wordexp-tst.sh: Likewise.
63216         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63218 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63220         [BZ #13679]
63221         * Makeconfig (+link): Defined as $(+link-static) if
63222         $(build-shared) isn't yes.
63223         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63224         isn't yes.
63225         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63227         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63229         [BZ #14562]
63230         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63231         new chunk size with MALLOC_ALIGN_MASK.
63233 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
63235         [BZ #5044]
63236         * stdio-common/printf_fphex.c: Include <stdbool.h> and
63237         <rounding-mode.h>.
63238         (__printf_fphex): Determine rounding using get_rounding_mode and
63239         round_away.
63240         * stdio-common/tst-printf-round.c (struct hex_test): New
63241         structure.
63242         (hex_tests): New variable.
63243         (test_hex_in_one_mode): New function.
63244         (do_test): Also run tests for hex float output.
63246 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
63248         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63249         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63250         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
63251         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63252         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63253         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
63254         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63255         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63257 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
63259         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
63260         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
63261         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
63262         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
63264 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
63266         [BZ #14579]
63267         * elf/rtld.c (dl_main): Limit the check for self loading to normal
63268         mode only.
63269         * elf/tst-rtld-load-self.sh: New test.
63270         * elf/Makefile: Run it.
63272 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
63274         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
63275         (tst-writev-ENV): Remove.
63276         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
63278 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
63280         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
63282 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
63284         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
63285         unconditional.
63286         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
63287         Likewise.
63288         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
63289         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
63290         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
63291         Likewise.
63293 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
63295         [BZ #14587]
63296         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
63297         * config.make.in (have-cpp-asm-debuginfo): Removed.
63298         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
63299         * configure: Regenerated.
63301 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
63303         [BZ #5044]
63304         * stdio-common/printf_fp.c: Include <stdbool.h> and
63305         <rounding-mode.h>.
63306         (___printf_fp): Determine rounding using get_rounding_mode and
63307         round_away.
63308         * stdio-common/tst-printf-round.c: New file.
63309         * stdio-common/Makefile (tests): Add tst-printf-round.
63310         (link-libm): New variable.
63311         ($(objpfx)tst-printf-round): Depend in $(link-libm).
63313 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
63315         [BZ #14576]
63316         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
63317         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
63318         Likewise.
63319         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
63320         Likewise.
63322 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
63324         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
63325         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63326         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63327         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63329 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
63331         [BZ #14518]
63332         * include/rounding-mode.h: New file.
63333         * sysdeps/generic/get-rounding-mode.h: Likewise.
63334         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
63335         * stdlib/strtod_l.c: Include <rounding-mode.h>.
63336         (MAX_VALUE): New macro.
63337         (MIN_VALUE): Likewise.
63338         (overflow_value): New function.
63339         (underflow_value): Likewise.
63340         (round_and_return): Use overflow_value and underflow_value to
63341         determine return values in overflow and underflow cases.  Use
63342         round_away to determine rounding depending on rounding mode.
63343         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
63344         determine return values in overflow and underflow cases.
63345         * stdlib/tst-strtod-round.c: Include <fenv.h>.
63346         (struct test_results): New structure.
63347         (struct test): Use struct test_results to store expected results
63348         for all rounding modes.
63349         (TEST): Include expected results for all rounding modes.
63350         (test_in_one_mode): New function.
63351         (do_test): Use test_in_one_mode to compute and check results.
63352         Check results for all rounding modes.
63353         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
63354         $(link-libm).
63356 2012-12-09  Allan McRae  <allan@archlinux.org>
63358         * sysdeps/i386/fpu/libm-test-ulps: Update
63360 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
63362         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
63363         (_G_int32_t): Likewise.
63364         (_G_uint16_t): Likewise.
63365         (_G_uint32_t): Likewise.
63366         (_G_HAVE_BOOL): Likewise.
63367         (_G_HAVE_ATEXIT): Likewise.
63368         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63369         (_G_HAVE_IO_FILE_OPEN): Likewise.
63370         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
63371         (_G_int32_t): Likewise.
63372         (_G_uint16_t): Likewise.
63373         (_G_uint32_t): Likewise.
63374         (_G_HAVE_BOOL): Likewise.
63375         (_G_HAVE_ATEXIT): Likewise.
63376         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63377         (_G_HAVE_IO_FILE_OPEN): Likewise.
63378         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
63379         (_G_int32_t): Likewise.
63380         (_G_uint16_t): Likewise.
63381         (_G_uint32_t): Likewise.
63382         (_G_HAVE_BOOL): Likewise.
63383         (_G_HAVE_ATEXIT): Likewise.
63384         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63385         (_G_HAVE_IO_FILE_OPEN): Likewise.
63387 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
63389         * csu/libc-tls.c: Update copyright years.
63391 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
63393         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
63394         [!_G_USING_THUNKS]: Remove conditional code.
63395         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
63396         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
63398         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
63399         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
63400         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63401         (_G_VTABLE_LABEL_PREFIX): Likewise.
63402         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63403         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63404         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63405         (_G_VTABLE_LABEL_PREFIX): Likewise.
63406         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63407         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63408         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63409         (_G_VTABLE_LABEL_PREFIX): Likewise.
63410         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63412 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
63414         * libio/Makefile: Include ../Makeconfig before tests.
63415         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63416         only if $(build-shared) is yes.
63418         * iconv/gconv_db.c: Update copyright years.
63420 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63422         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63423         unwind info if defined PIC. Fix special cases description.
63424         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63426         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63427         DP_HI_MASK entry.
63428         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63430 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63432         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63434         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63435         is NULL.
63437         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63438         (LDLIBS-tst-chk4): This.
63439         (LDFLAGS-tst-chk5): Renamed to ...
63440         (LDLIBS-tst-chk5): This.
63441         (LDFLAGS-tst-chk6): Renamed to ...
63442         (LDLIBS-tst-chk6): This.
63443         (LDFLAGS-tst-lfschk4): Renamed to ...
63444         (LDLIBS-tst-lfschk4): This.
63445         (LDFLAGS-tst-lfschk5): Renamed to ...
63446         (LDLIBS-tst-lfschk5): This.
63447         (LDFLAGS-tst-lfschk6): Renamed to ...
63448         (LDLIBS-tst-lfschk6): This.
63450         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63451         on $(common-objpfx)soversions.mk.
63453 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
63455         [BZ #10014]
63456         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63457         example host name.
63459 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63461         * malloc/arena.c (arena_get_retry): New function that gets
63462         another arena for the caller to try its request on.
63463         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63464         current arena cannot fulfill the request.
63465         (__libc_memalign): Likewise.
63466         (__libc_memalign): Likewise.
63467         (__libc_pvalloc): Likewise.
63468         (__libc_calloc): Likewise.
63470 2012-09-05  John Tobey  <john.tobey@gmail.com>
63472         [BZ #13542]
63473         * manual/arith.texi (Operations on Complex): Fix description
63474         of carg branch cut.
63476 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63478         [BZ #10014]
63479         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63480         host name.
63482         [BZ #10038]
63483         * manual/memory.texi (Memory): Make order of menu items match
63484         order of sections.
63486 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63488         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63489         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
63490         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63492 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63494         * csu/libc-tls.c (static_dtv): Renamed to ...
63495         (_dl_static_dtv): This.  Make it global.
63496         (_dl_initial_dtv): Removed.
63497         (__libc_setup_tls): Updated.
63498         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63499         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63500         DL_INITIAL_DTV.
63502 2012-09-06  Petr Machata  <pmachata@redhat.com>
63504         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63505         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63506         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63507         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63509 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63511         [BZ #14545]
63512         * csu/libc-tls.c (_dl_initial_dtv): New variable.
63513         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63514         freeing dtv[-1].
63516 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63518         [BZ #14544]
63519         * Makeconfig (link-static-before-libc): Replace $(+prector)
63520         with $(+prectorT).
63521         (link-static-after-libc): Replace $(+postctor) with
63522         $(+postctorT).
63523         (link-bounded): Replace $(+prector)/$(+postctor) with
63524         $(+prectorT)/$(+postctorT).
63525         (+prectorT): New macro.
63526         (+postctorT): Likewise.
63528 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63530         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
63531         (round_str): Handle values above the maximum for IBM long double
63532         as inexact.
63533         * stdlib/tst-strtod-round.c (tests): Regenerated.
63535 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63537         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
63538         assembler flag.
63539         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
63540         zarch_nohighgprs around the zarch optimized routines.
63541         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
63542         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
63543         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
63544         for zarch.
63546 2012-09-05  David S. Miller  <davem@davemloft.net>
63548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63550         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
63551         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
63552         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
63553         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63554         entries.
63556 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63558         * malloc/arena.c: Fold copyright years.
63559         * malloc/mcheck.c, malloc/memusage.c: Likewise.
63561 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63563         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
63565 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63567         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
63569 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63571         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
63572         change internal state upon failure.
63574 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63576         * malloc/mcheck.c (mcheck_check_all): Fix typo.
63577         * malloc/memusage.c (mmap): Likewise.
63578         (mmap64, mremap): Likewise.  Adjust name in comment.
63580 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63582         * libio/fileops.c: Fix typos in comments.
63583         * libio/oldfileops.c: Likewise.
63584         * libio/wfileops.c: Likewise.
63586 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63588         [BZ #1349]
63589         * malloc/Makefile (tests): Add tst-malloc-usable test case.
63590         (tst-malloc-usable-ENV): Set environment for test case.
63591         * malloc/hooks.c (malloc_check_get_size): New function to get
63592         requested size.
63593         * malloc/malloc.c (musable): Use malloc_check_get_size.
63594         * malloc/tst-malloc-usable.c: New test case.
63596 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63598         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
63600 2012-09-05  Allan McRae  <allan@archlinux.org>
63602         [BZ #13966]
63603         * configure.in (CXX_SYSINCLUDES): Use compiler output to
63604         determine header location.
63605         * configure: Regenerated.
63607 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63609         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
63610         float format.
63611         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
63612         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
63613         format.
63614         (test): Regenerate.
63616 2012-09-04  David S. Miller  <davem@davemloft.net>
63618         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
63619         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
63620         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
63622 2012-09-04  Florian Weimer  <fweimer@redhat.com>
63624         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
63625         failures.
63627         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
63629 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
63631         [BZ #9914]
63632         * libio/iogetdelim.c: Include <limits.h>.
63633         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
63634         + len + 1 would overflow.
63636 2012-09-03  Andreas Jaeger  <aj@suse.de>
63638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63639         * sysdeps/i386/fpu/libm-test-ulps: Update.
63641 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63643         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63644         Add s_sinf-sse2, s_conf-sse2.
63646         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
63647         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
63648         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
63649         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
63651         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
63652         for using routine as __sinf_ia32.
63653         Use macro for function declaration and weak_alias.
63654         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
63655         for using routine as __cosf_ia32.
63656         Use macro for function declaration and weak_alias.
63658         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
63659         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
63661         * sysdeps/x86_64/fpu/s_sinf.S: New file.
63662         * sysdeps/x86_64/fpu/s_cosf.S: New file.
63663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63665         * math/libm-test.inc (cos_test): Add more test cases.
63666         (sin_test): Likewise.
63667         (sincos_test): Likewise.
63669 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63671         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
63672         (IFUNC_RESOLVE): Make pointers to the specialized implementations
63673         hidden.
63674         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63676 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
63678         [BZ #14538]
63679         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
63680         first element of the GOT.
63681         (elf_machine_load_address): Return the difference between
63682         the runtime address of _DYNAMIC and elf_machine_dynamic ().
63684 2012-09-01  Allan McRae  <allan@archlinux.org>
63686         [BZ #13412]
63687         * configure.in (AWK): Require gawk version 3.0 or later.
63688         * configure: Regenerated.
63690 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
63692         * sysdeps/unix/sysv/linux/kernel-features.h
63693         (__ASSUME_POSIX_CPU_TIMERS): Remove.
63694         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63695         [__NR_clock_getres]: Make code unconditional.
63696         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
63697         (clock_getcpuclockid): Remove code left unreachable by removal of
63698         conditionals.
63699         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
63700         code unconditional.
63701         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63702         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63703         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
63704         Make code unconditional.
63705         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63706         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63707         * sysdeps/unix/sysv/linux/clock_settime.c
63708         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
63709         conditional code.
63710         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
63711         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63713 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
63715         [BZ #14476]
63716         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
63717         scripts/test-installation.pl.
63719         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
63720         and $ld_so_version if it is set.
63722 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63724         [BZ #14516]
63725         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
63726         failure if reading from procfs failed.
63727         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
63729 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63731         * sysdeps/unix/sysv/linux/kernel-features.h
63732         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
63733         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63734         Remove conditional code.
63735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63736         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
63737         Remove conditional code.
63738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63739         * sysdeps/unix/sysv/linux/i386/fxstat.c
63740         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63742         * sysdeps/unix/sysv/linux/i386/fxstatat.c
63743         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63744         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63745         * sysdeps/unix/sysv/linux/i386/lxstat.c
63746         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63747         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63748         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
63749         Remove conditional code.
63750         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63751         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63752         Remove conditional code.
63753         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63754         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
63755         <kernel-features.h>.
63756         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
63757         Remove.
63758         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
63759         Remove conditional code.
63760         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63761         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
63762         Remove conditional.
63764 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
63766         [BZ #5400]
63767         * NEWS: Add fixed bug number.
63769 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63771         [BZ #14519]
63772         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
63773         underflowing exponent in case of negative sign.
63774         * stdlib/tst-strtod-round-data: Add more tests.
63775         * stdlib/tst-strtod-round.c (tests): Regenerated.
63777         [BZ #3479]
63778         * stdlib/strtod_l.c (NDIG): Remove.
63779         (HEXNDIG): Likewise.
63780         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
63781         smallest representable value.
63782         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
63783         lie within an exact representation of 1/2 ulp of the result.
63784         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
63785         unconditionally.
63786         (TENS_P9_IDX): Define unconditionally.
63787         (TENS_P9_SIZE): Likewise.
63788         (TENS_P10_IDX): Likewise.
63789         (TENS_P10_SIZE): Likewise.
63790         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
63791         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
63792         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
63793         entries for 10^2^13 and 10^2^14.
63794         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
63795         (TENS_P13_IDX): Define.
63796         (TENS_P13_SIZE): Likewise.
63797         (TENS_P14_IDX): Likewise.
63798         (TENS_P14_SIZE): Likewise.
63799         (_fpioconst_pow10): Change array size to
63800         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
63801         unconditional.
63802         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
63803         1024]: Add entries for 10^2^13 and 10^2^14.
63804         [LAST_POW10 > _LAST_POW10]: Remove #error.
63805         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
63806         (_fpioconst_pow10): Change array size to
63807         FPIOCONST_POW10_ARRAY_SIZE.
63808         * stdlib/gen-fpioconst.c: New file.
63809         * stdlib/gen-tst-strtod-round.c: Likewise.
63810         * stdlib/tst-strtod-round-data: Likewise.
63811         * stdlib/tst-strtod-round.c: Likewise.
63812         * stdlib/Makefile (tests): Add tst-strtod-round.
63814         [BZ #14459]
63815         * stdlib/strtod_l.c: Include <stdint.h>.
63816         (NDEBUG): Do not define.
63817         (round_and_return): Change EXPONENT parameter to type intmax_t.
63818         Rearrange calculations to avoid internal overflow possibilities.
63819         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
63820         Rearrange calculations to avoid internal overflow possibilities.
63821         Assert that number fits inside MPNSIZE limbs.
63822         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
63823         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
63824         calculations and add assertions to avoid internal overflow
63825         possibilities.  Add casts to avoid signed/unsigned operations.
63826         * stdlib/tst-strtod-overflow.c: New file.
63827         * stdlib/Makefile (tests): Add tst-strtod-overflow.
63829 2012-08-25  Marek Polacek  <polacek@redhat.com>
63831         * time/time.h: Fix some typos in comments.
63833 2012-08-23  Roland McGrath  <roland@hack.frob.com>
63835         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
63836         * posix/tst-rfc3484-2.c: Likewise.
63837         * posix/tst-rfc3484-3.c: Likewise.
63839 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
63841         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
63842         (EF_ARM_ABI_FLOAT_HARD): Likewise.
63844 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
63846         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
63847         #include of fxstatat64.c.
63849 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63851         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
63852         * shadow/getspent_r.c: Likewise.
63853         * shadow/getspnam.c: Likewise.
63854         * shadow/getspnam_r.c: Likewise.
63855         * gshadow/getsgent.c: Likewise.
63856         * gshadow/getsgent_r.c: Likewise.
63857         * gshadow/getsgnam.c: Likewise.
63858         * gshadow/getsgnam_r.c: Likewise.
63859         * inet/getnetbyad.c: Likewise.
63860         * inet/getnetbyad_r.c: Likewise.
63861         * inet/getnetbynm.c: Likewise.
63862         * inet/getnetbynm_r.c: Likewise.
63863         * inet/getnetent.c: Likewise.
63864         * inet/getnetent_r.c: Likewise.
63865         * inet/getproto.c: Likewise.
63866         * inet/getproto_r.c: Likewise.
63867         * inet/getprtent.c: Likewise.
63868         * inet/getprtent_r.c: Likewise.
63869         * inet/getprtname.c: Likewise.
63870         * inet/getprtname_r.c: Likewise.
63871         * inet/getrpcbyname.c: Likewise.
63872         * inet/getrpcbyname_r.c: Likewise.
63873         * inet/getrpcbynumber.c: Likewise.
63874         * inet/getrpcbynumber_r.c: Likewise.
63875         * inet/getrpcent.c: Likewise.
63876         * inet/getrpcent_r.c: Likewise.
63877         * inet/getaliasent.c: Likewise.
63878         * inet/getaliasent_r.c: Likewise.
63879         * inet/getaliasname.c: Likewise.
63880         * inet/getaliasname_r.c: Likewise.
63881         * nscd/getgrgid_r.c: Likewise.
63882         * nscd/getgrnam_r.c: Likewise.
63883         * nscd/gethstbyad_r.c: Likewise.
63884         * nscd/gethstbynm3_r.c: Likewise.
63885         * nscd/getpwnam_r.c: Likewise.
63886         * nscd/getpwuid_r.c: Likewise.
63887         * nscd/getsrvbynm_r.c: Likewise.
63888         * nscd/getsrvbypt_r.c: Likewise.
63889         * nscd/gai.c: Likewise.
63891         * configure.in (build_nscd): New substituted variable, set
63892         by --disable-build-nscd and defaults to $use_nscd.
63893         * configure: Regenerated.
63894         * config.make.in (build-nscd): New substituted variable.
63895         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63896         Change conditional to require [$(build-nscd) = yes] as well.
63897         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63899         [BZ# 13696]
63900         * configure.in (use_nscd): New substituted variable, set by
63901         --disable-nscd.  If enabled, define USE_NSCD.
63902         * configure: Regenerated.
63903         * config.h.in: Add USE_NSCD.
63904         * config.make.in (use-nscd): New substituted variable.
63905         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63906         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63907         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63908         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63909         (CFLAGS-getgrnam_r.c): Likewise.
63910         (CFLAGS-initgroups.c): Likewise.
63911         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63912         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63913         Variables removed.
63914         * inet/getnetgrent_r.c
63915         (nscd_setnetgrent): New function, broken out of ...
63916         (setnetgrent): ... here.  Call it.
63917         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63918         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63919         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63920         * nscd/Makefile (routines, aux): Move definitions after include of
63921         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63922         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63923         Conditionalize on [USE_NSCD].
63924         (is_nscd, nscd_init_cb): Likewise.
63925         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63926         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63927         * nss/nss_db/db-init.c: Likewise.
63928         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63929         [USE_NSCD].
63930         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63931         (make_request): Use it.
63932         (cache_valid_p): New function.
63933         (__check_pf): Use it.
63934         * NEWS: Add item for --disable-nscd.
63936 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63938         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63939         to support sed >= 4.2.1-20-ga9bf076.
63940         * configure: Regenerated.
63942 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63944         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63945         Conditionalize whole body on [IREL].
63947 2012-08-22  Jeff Law <law@redhat.com>
63949         [BZ #14505]
63950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63951         if the family is PF_UNSPEC.
63953 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63955         * Makerules (lib-version): Rename from V.
63956         (install-lib-nosubdir): Change V to lib-version.
63958 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63960         [BZ #14252]
63961         * powerpc32/power6/wcschr.c: New file.
63962         * powerpc32/power6/wcscpy.c: New file.
63963         * powerpc32/power6/wcsrchr.c: New file.
63964         * powerpc64/power6/wcschr.c: New file.
63965         * powerpc64/power6/wcscpy.c: New file.
63966         * powerpc64/power6/wcsrchr.c: New file.
63968 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63970         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63971         (two_way_short_needle): Use it.
63972         * string/strstr.c (AVAILABLE1_USES_J): Define.
63973         * string/strcasestr.c: Likewise.
63975         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63976         array references.
63977         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63979         [BZ #11607]
63980         * NEWS: Add an entry.
63981         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63982         define their defaults.
63983         (two_way_short_needle): Detect end-of-string on-the-fly.
63984         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63985         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63986         * string/bug-strcasestr1.c: New test.
63987         * string/Makefile: Run it.
63989 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63991         [BZ #11607]
63992         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63993         the first character.
63995 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63997         * csu/elf-init.c (__libc_csu_irel): Function removed.
63998         * csu/libc-start.c (apply_irel): New function.
63999         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64001 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64003         * sysdeps/unix/sysv/linux/kernel-features.h
64004         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64005         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64006         <kernel-features.h>.
64007         [__NR_fadvise64_64]: Make code unconditional.
64008         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64009         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64010         !__NR_fadvise64_64)]: Likewise.
64011         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64012         !__NR_fadvise64_64))]: Likewise.
64013         [__NR_fadvise64]: Make code unconditional.
64014         [!__NR_fadvise64]: Remove conditional code.
64015         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64016         <kernel-features.h>.
64017         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64018         unconditional.
64019         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64020         conditional code.
64021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64022         not include <kernel-features.h>.
64023         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64024         unconditional.
64025         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64026         conditional code.
64027         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64028         include <kernel-features.h>.
64029         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64030         unconditional.
64031         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64032         conditional code.
64034 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64036         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64037         slight instruction rearrangements per scrollpipe analysis.
64038         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64040 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64042         * manual/syslog.texi (syslog; vsyslog, closelog):
64043         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64044         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64046         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64047         DSOCAPS to match condition on defining it.
64049 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64051         * sysdeps/unix/sysv/linux/kernel-features.h
64052         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64054         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64055         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64057         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64058         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64060         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64061         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64063         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64064         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64066         * sysdeps/unix/sysv/linux/kernel-features.h
64067         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64068         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64069         unconditional.
64070         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64071         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64072         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64073         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64074         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64075         Make code unconditional.
64076         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64077         (__mmap64) [!__NR_mmap2]: Likewise.
64078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64079         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64080         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64081         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64082         [__NR_mmap2]: Make code unconditional.
64083         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64084         (__mmap64) [!__NR_mmap2]: Likewise.
64086 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64088         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64090 2012-08-18  Andreas Jaeger  <aj@suse.de>
64092         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64094 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64096         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64097         * include/unistd.h (__have_sock_cloexec): Likewise.
64098         (__have_pipe2): Likewise.
64099         (__have_dup3): Likewise.
64101 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64103         [BZ #9685]
64104         * include/unistd.h (__have_pipe2): Change define into an extern int.
64105         (__have_dup3): Likewise.
64106         * socket/have_sock_cloexec.c: Include fcntl.h.
64107         (__have_pipe2): New variable.
64108         (__have_dup3): Likewise.
64110 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64112         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64114 2012-08-17  Marek Polacek  <polacek@redhat.com>
64116         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64117         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64119 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64121         * configure.in: Add AC_SUBST for sysheaders.
64122         * configure: Regenerated.
64123         * config.make.in (sysheaders): New substituted variable.
64125         * sysdeps/unix/mkfifo.c: Moved ...
64126         * sysdeps/posix/mkfifo.c: ... here.
64127         * sysdeps/unix/mkfifoat.c: Moved ...
64128         * sysdeps/posix/mkfifoat.c: ... here.
64130         * sysdeps/unix/utime.c: Moved ...
64131         * sysdeps/posix/utime.c: ... here.
64133         * sysdeps/unix/time.c: Moved ...
64134         * sysdeps/posix/time.c: ... here.
64135         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64136         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64138         * sysdeps/unix/nice.c: Moved ...
64139         * sysdeps/posix/nice.c: ... here.
64141         * sysdeps/unix/alarm.c: Moved ...
64142         * sysdeps/posix/alarm.c: ... here.
64144         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64146 2012-08-17  Jeff Law <law@redhat.com>
64148         * intl/Makefile (codeset_mo): New variable.
64149         ($(codeset_mo)): New target.
64150         (tst-codeset.out): Depend on that.  Remove explicit rule.
64151         (tst-gettext3.out, tst-gettext5.out): Likewise.
64152         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64153         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64154         * intl/tst-codeset.sh: Remove.
64155         * intl/tst-gettext3.sh: Likewise.
64156         * intl/tst-gettext5.sh: Likewise.
64158 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64160         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64161         * sysdeps/unix/syscalls.list: ... here.
64163         * sysdeps/posix/getaddrinfo.c
64164         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64165         (gaiconf_init, gaiconf_reload): Use them.
64166         [!_STATBUF_ST_NSEC]
64167         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64168         Define using time_t rather than struct timespec.
64170         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64171         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64172         Macros removed.
64173         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64174         [!NO_THREADS].
64175         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64176         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64177         Likewise.
64179         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64180         __libc_cleanup_push argument.
64182         * bits/param.h: New file.
64183         * misc/sys/param.h: New file.
64184         * include/sys/param.h: New file.
64185         * misc/Makefile (headers): Add bits/param.h.
64186         * sysdeps/generic/sys/param.h: File removed.
64187         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64188         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64189         * sysdeps/mach/hurd/bits/param.h: New file.
64190         * sysdeps/mach/hurd/sys/param.h: File removed.
64192         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64193         last change.
64195         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64196         [_IO_MTSAFE_IO].
64197         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64198         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64199         New macros.
64201         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64202         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64203         rather than -D_IO_MTSAFE_IO conditionally.
64204         * stdio-common/Makefile (CPPFLAGS): Likewise.
64205         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64206         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64207         Use $(libio-mtsafe).
64208         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64209         of -D_IO_MTSAFE_IO.
64210         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64211         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64212         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64213         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64214         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64215         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64216         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64217         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64218         (CFLAGS-fread_u_chk.c): Likewise.
64219         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64220         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64221         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64222         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64223         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64224         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64225         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64226         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64227         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64229         * libio/Makefile: Test [$(libc-reentrant) = yes]
64230         instead of [$(filter %REENTRANT, $(defines)) nonempty].
64232         * Makeconfig
64233         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
64234         * sysdeps/pthread/configure: File removed.
64235         * sysdeps/pthread/Makeconfig: New file.
64236         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
64237         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
64239 2012-08-16  Gary Benson  <gbenson@redhat.com>
64241         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
64242         unmapping the first object in a namespace.
64244 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64246         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
64247         (__internal_setnetgrent): ... this.  Add internal_function to
64248         definition.  Add libc_hidden_def.
64249         (setnetgrent): Update caller.
64250         (internal_endnetgrent): Renamed to ...
64251         (__internal_endnetgrent): ... this.  Add internal_function to
64252         definition.  Add libc_hidden_def.
64253         (endnetgrent): Update caller.
64254         (internal_getnetgrent_r): Renamed to ...
64255         (__internal_getnetgrent_r): ... this.  Add internal_function to
64256         definition.  Add libc_hidden_def.
64257         (__getnetgrent_r): Update caller.
64258         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
64260 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64262         * stdlib/longlong.h: Update from GCC.
64264 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64266         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
64267         on _QL, which is set by umul_ppmm but never used.
64268         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
64269         variables, which are set by GMP macros but never used.
64270         * stdio-common/_itowa.c (_itowa): Likewise.
64271         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
64272         * stdlib/mod_1.c (mpn_mod_1): Likewise.
64274 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
64276         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
64277         struct La_sh_regs is not constant.
64278         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
64279         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
64280         and struct La_sparc64_regs are not constant.
64282 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64284         * sysdeps/unix/sysv/linux/kernel-features.h
64285         (__ASSUME_POSIX_TIMERS): Remove.
64286         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64288         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
64289         Make code unconditional.
64290         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64291         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
64292         Make code unconditional.
64293         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64294         * sysdeps/unix/sysv/linux/clock_nanosleep.c
64295         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
64296         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64297         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
64298         Make code unconditional.
64299         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64300         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
64301         (__libc_missing_posix_timers): Remove.
64303 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64305         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
64306         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64308         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
64310         * elf/dl-sym.c: Include <stdlib.h>.
64312         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
64313         constants, which avoids warnings in 32-bit builds.
64315         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
64316         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
64318         * misc/lseek.c: File moved to ...
64319         * io/lseek.c: ... here.
64321         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
64323         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
64324         shifting LEN more than 31 bits at once.
64326 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64328         [BZ #14195]
64329         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
64330         segmentation fault for a case of two empty input strings.
64331         * string/test-strncasecmp.c (check1): Renamed to...
64332         (bz12205): ...this.
64333         (bz14195): Add new testcase for two empty input strings and N > 0.
64334         (test_main): Call new testcase, adapt for renamed function.
64336 2012-08-15  Andreas Jaeger  <aj@suse.de>
64338         [BZ #14090]
64339         * crypt/md5test2.c: New test, based on test supplied by Serge
64340         Belyshev <belyshev@depni.sinp.msu.ru>.
64341         * crypt/Makefile (xtests): Add md5test-giant..
64342         * crypt/Makefile ($(objpfx)md5test-giant): Add.
64344 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
64346         [BZ #14090]
64347         * crypt/md5.c (md5_process_block): Don't assume the buffer
64348         length is less than 2**32.
64349         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
64350         length is less than 2**64.
64352 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64354         * string/str-two-way.h: Include <sys/param.h>.
64355         (MAX): Macro removed.
64357         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
64358         Move #define and #undef of memmove to just before and after
64359         including <string.h>.
64361         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
64362         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
64363         and after including <string.h>.  Move declarations of
64364         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
64365         to before #include "string/memmove.c".
64367         * include/dirent.h: Declare __getdirentries.
64369         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
64370         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
64372 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
64374         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
64375         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
64376         * sysdeps/i386/configure: Regenerated.
64377         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
64378         STABS_CURRENT_FILE, and STABS_FUN.
64379         (END): Remove call to STABS_FUN_END.
64380         (STABS_CURRENT_FILE1): Delete.
64381         (STABS_CURRENT_FILE): Likewise.
64382         (STABS_FUN): Likewise.
64383         (STABS_FUN_END): Likewise.
64384         (STABS_FUN2): Likewise.
64385         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
64386         * sysdeps/x86_64/configure: Regenerated.
64388 2012-08-14  Roland McGrath  <roland@hack.frob.com>
64390         * elf/dl-open.c: Include <atomic.h>.
64391         * elf/dl-lookup.c: Likewise.
64393 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
64395         * sysdeps/unix/sysv/linux/kernel-features.h
64396         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
64397         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64398         unconditionally.
64399         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
64400         unconditionally.
64401         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
64402         condition on __ASSUME_CLONE_THREAD_FLAGS.
64404 2012-08-14  Andreas Jaeger  <aj@suse.de>
64406         * sysdeps/i386/fpu/libm-test-ulps: Update.
64408 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
64410         * include/atomic.h (atomic_exchange_and_add): Split into ...
64411         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
64412         New atomic macros.
64414 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
64416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64418 2012-08-13  Jeff Law <law@redhat.com>
64420         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64421         null byte in the output string.
64423 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64425         * sysdeps/unix/sysv/linux/kernel-features.h
64426         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64427         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64428         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64429         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64430         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64431         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64432         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64434 2012-08-09  Jeff Law <law@redhat.com>
64436         [BZ #13939]
64437         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64438         When avoid_arena is set, don't retry in the that arena.  Pick the
64439         next one, whatever it might be.
64440         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64441         (arena_lock): Pass in new parameter to arena_get2.
64442         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64443         arena_get2.
64444         (__libc_malloc): Unify retrying after main arena failure with
64445         __libc_memalign version.
64446         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64448 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
64450         [BZ #14166]
64451         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64452         to __redirect_strstr.
64453         (__strstr_sse42): Use typeof __redirect_strstr.
64454         (__strstr_ia32): Likewise.
64455         (__libc_strstr): New prototype.
64456         (strstr): Renamed to ...
64457         (__libc_strstr): This.
64458         (strstr): New strong alias of __libc_strstr.
64459         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64460         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64461         __redirect_time.
64462         Include <time.h>.
64463         (__libc_time): New prototype.
64464         (time_ifunc): Replace time with __libc_time.
64465         (time): New strong alias and hidden definition of __libc_time.
64466         (__GI_time): Remove strong alias.
64467         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64468         Include <stddef.h>.
64469         (memmove): Redefined to __redirect_memmove.
64470         (__memmove_sse2): Use typeof __redirect_memmove.
64471         (__memmove_ssse3): Likewise.
64472         (__memmove_ssse3_back): Likewise.
64473         (__libc_memmove): New prototype.
64474         (memmove): Renamed to ...
64475         (__libc_memmove): This.
64476         (memmove): New strong alias of __libc_memmove.
64478 2012-08-08  Mark Salter  <msalter@redhat.com>
64480         * elf/elf.h
64481         (R_MN10300_TLS_GD): Define.
64482         (R_MN10300_TLS_LD): Likewise.
64483         (R_MN10300_TLS_LDO): Likewise.
64484         (R_MN10300_TLS_GOTIE): Likewise.
64485         (R_MN10300_TLS_IE): Likewise.
64486         (R_MN10300_TLS_LE): Likewise.
64487         (R_MN10300_TLS_DTPMOD): Likewise.
64488         (R_MN10300_TLS_DTPOFF): Likewise.
64489         (R_MN10300_TLS_TPOFF): Likewise.
64490         (R_MN10300_SYM_DIFF): Likewise.
64491         (R_MN10300_ALIGN): Likewise.
64492         (R_MN10300_NUM): Update.
64494 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
64496         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64497         Remove.
64499 2012-08-08  Roland McGrath  <roland@hack.frob.com>
64501         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64503         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64504         sysdeps/unix -> sysdeps/posix move.
64505         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64507 2012-08-07      Allan McRae     <allan@archlinux.org>
64509         [BZ #14303]
64510         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64511         (SUNOS_CPP): Likewise.
64512         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64513         not found.
64514         (open_input): Call CPP using execvp.
64516 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64518         * sysdeps/unix/sysv/linux/kernel-features.h
64519         (__ASSUME_PROT_GROWSUPDOWN): Remove.
64520         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64521         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64522         (__ASSUME_WAITID_SYSCALL): Likewise.
64523         * sysdeps/unix/sysv/linux/dl-execstack.c
64524         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
64525         code unconditional.
64526         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
64527         conditional code.
64528         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
64529         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
64530         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
64531         code.
64532         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
64533         unconditional.
64534         [__ASSUME_WAITID_SYSCALL]: Likewise.
64535         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
64537 2012-08-07  Roland McGrath  <roland@hack.frob.com>
64539         * sysdeps/unix/closedir.c: Renamed to ...
64540         * sysdeps/posix/closedir.c: ... here.
64541         * sysdeps/unix/dirfd.c: Renamed to ...
64542         * sysdeps/posix/dirfd.c: ... here.
64543         * sysdeps/unix/dirstream.h: Renamed to ...
64544         * sysdeps/posix/dirstream.h: ... here.
64545         * sysdeps/unix/fdopendir.c: Renamed to ...
64546         * sysdeps/posix/fdopendir.c: ... here.
64547         * sysdeps/unix/opendir.c: Renamed to ...
64548         * sysdeps/posix/opendir.c: ... here.
64549         * sysdeps/unix/readdir.c: Renamed to ...
64550         * sysdeps/posix/readdir.c: ... here.
64551         * sysdeps/unix/readdir_r.c: Renamed to ...
64552         * sysdeps/posix/readdir_r.c: ... here.
64553         * sysdeps/unix/rewinddir.c: Renamed to ...
64554         * sysdeps/posix/rewinddir.c: ... here.
64555         * sysdeps/unix/seekdir.c: Renamed to ...
64556         * sysdeps/posix/seekdir.c: ... here.
64557         * sysdeps/unix/telldir.c: Renamed to ...
64558         * sysdeps/posix/telldir.c: ... here.
64559         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
64560         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
64561         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64562         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
64564         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
64565         * bits/fcntl.h: ... here.
64567         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
64568         not 0.
64569         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
64570         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
64571         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
64572         (struct flock): Move l_start, l_len to the beginning.
64573         Use __pid_t for l_pid.
64574         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
64575         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
64576         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
64577         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
64578         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
64579         [__USE_LARGEFILE64] (struct flock64): New type.
64580         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
64582         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
64583         * bits/dirent.h: ... here.
64585         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
64586         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
64588 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64590         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64591         Change from 2.6.0 to 2.6.16.
64592         * sysdeps/unix/sysv/linux/configure: Regenerated.
64593         * sysdeps/unix/sysv/linux/kernel-features.h
64594         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
64595         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
64596         version.
64597         (__ASSUME_UTIMES): Likewise.
64598         (__ASSUME_CLONE_STOPPED): Remove.
64599         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
64600         architectures, not kernel version.
64601         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
64602         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64603         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64604         (__ASSUME_WAITID_SYSCALL): Likewise.
64605         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
64606         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
64607         * README: State 2.6.16 as minimum Linux kernel version.  Do not
64608         refer to older versions.
64610 2012-08-06  Roland McGrath  <roland@hack.frob.com>
64612         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
64613         Define alphasort64 as an alias.
64614         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
64615         Define versionsort64 as an alias.
64616         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
64617         Define scandir64 as an alias.
64618         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
64619         Define scandirat64 as an alias.
64620         * dirent/alphasort64.c (alphasort64):
64621         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
64622         * dirent/versionsort64.c: Likewise.
64623         * dirent/scandir64.c: Likewise.
64624         * dirent/scandirat64.c: Likewise.
64625         * sysdeps/wordsize-64/alphasort.c: File removed.
64626         * sysdeps/wordsize-64/alphasort64.c: File removed.
64627         * sysdeps/wordsize-64/scandir.c: File removed.
64628         * sysdeps/wordsize-64/scandir64.c: File removed.
64629         * sysdeps/wordsize-64/scandirat.c: File removed.
64630         * sysdeps/wordsize-64/scandirat64.c: File removed.
64631         * sysdeps/wordsize-64/versionsort.c: File removed.
64632         * sysdeps/wordsize-64/versionsort64.c: File removed.
64633         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
64634         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
64635         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
64636         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
64637         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
64638         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
64639         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
64640         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
64642         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
64643         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64644         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
64645         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64646         [defined __arch64__ || defined __sparcv9]
64647         (__INO_T_MATCHES_INO64_T): New macro.
64648         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64649         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
64650         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
64651         * sysdeps/unix/sysv/linux/bits/dirent.h
64652         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
64653         (_DIRENT_MATCHES_DIRENT64): New macro.
64655         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
64656         Define lockf64 as an alias.
64657         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
64658         Define fseeko64 as an alias.
64659         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
64660         Define ftello64 as an alias.
64661         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
64662         Define _IO_fgetpos64 and fgetpos64 as aliases.
64663         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
64664         Define _IO_fsetpos64 and fsetpos64 as aliases.
64665         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
64666         Conditionalize body on this.
64667         * libio/fseeko64.c: Likewise.
64668         * libio/ftello64.c: Likewise.
64669         * libio/iofgetpos64.c: Likewise.
64670         * libio/iofsetpos64.c: Likewise.
64671         * sysdeps/wordsize-64/lockf.c: File removed.
64672         * sysdeps/wordsize-64/lockf64.c: File removed.
64673         * sysdeps/wordsize-64/fseeko.c: File removed.
64674         * sysdeps/wordsize-64/fseeko64.c: File removed.
64675         * sysdeps/wordsize-64/ftello.c: File removed.
64676         * sysdeps/wordsize-64/ftello64.c: File removed.
64677         * sysdeps/wordsize-64/iofgetpos.c: File removed.
64678         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
64679         * sysdeps/wordsize-64/iofsetpos.c: File removed.
64680         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
64681         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
64682         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
64683         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
64684         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
64685         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
64686         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
64687         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
64688         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
64689         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
64690         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
64692         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64693         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64694         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
64695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64696         [defined __arch64__ || defined __sparcv9]
64697         (__OFF_T_MATCHES_OFF64_T): New macro.
64698         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64699         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64700         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64701         (__OFF_T_MATCHES_OFF64_T): New macro.
64703 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64705         * stdlib/secure-getenv.c (__secure_getenv): Replace
64706         GLIBC_2_16 with GLIBC_2_17.
64708 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64710         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
64711         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64713 2012-08-03  David S. Miller  <davem@davemloft.net>
64715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64717 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64719         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
64720         Remove.
64721         (__ASSUME_CORRECT_SI_PID): Likewise.
64722         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
64723         (__ASSUME_TMPFS_NAME): Likewise.
64724         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
64725         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
64726         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
64727         (HAVE_AUX_SECURE): Make definition unconditional.
64728         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
64729         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
64731 2012-08-03  Roland McGrath  <roland@hack.frob.com>
64733         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
64734         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
64735         * sysdeps/mach/hurd/eloop-threshold.h: New file.
64736         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64737         __eloop_threshold instead of SYMLOOP_MAX.
64739         * sysdeps/generic/eloop-threshold.h: New file.
64740         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
64741         of MAXSYMLINKS.
64742         * elf/chroot_canon.c (chroot_canon): Likewise.
64744 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64746         [BZ #13717]
64747         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64748         Change to 2.6.0 everywhere.
64749         * sysdeps/unix/sysv/linux/configure: Regenerated.
64750         * sysdeps/unix/sysv/linux/kernel-features.h
64751         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
64752         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
64753         kernel versions.
64754         (__ASSUME_POSIX_TIMERS): Define unconditionally.
64755         (__ASSUME_FUTEX_REQUEUE): Remove.
64756         (__ASSUME_STATFS64): Define unconditionally.
64757         (__ASSUME_AT_SECURE): Likewise.
64758         (__ASSUME_CORRECT_SI_PID): Likewise.
64759         (__ASSUME_TGKILL): Define without depending on kernel version for
64760         i386.
64761         (__ASSUME_UTIMES): Likewise.
64762         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
64763         kernel version.
64764         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
64765         (__ASSUME_TMPFS_NAME): Likewise.
64766         * README: Update reference to Linux kernel versions.
64768 2012-08-02  Marek Polacek  <polacek@redhat.com>
64770         [BZ# 14150]
64771         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
64772         libc_cv_asm_type_prefix with %.
64773         * configure: Regenerated.
64774         * include/libc-symbols.h: Remove comment about
64775         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64776         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
64777         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
64778         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
64779         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
64780         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64781         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
64782         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
64783         * elf/tst-unique2mod1.c: Likewise.
64784         * elf/tst-unique1mod2.c: Likewise.
64785         * elf/tst-unique1mod1.c: Likewise.
64786         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
64787         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
64788         Replace ASM_TYPE_DIRECTIVE with .type.
64789         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64790         * sysdeps/i386/sysdep.h: Likewise.
64791         * sysdeps/x86_64/sysdep.h: Likewise.
64792         * sysdeps/sh/sysdep.h: Likewise.
64793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64794         Do not define ASM_TYPE_DIRECTIVE.
64795         * sysdeps/powerpc/sysdep.h: Likewise.
64796         * sysdeps/powerpc/powerpc32/sysdep.h:
64797         Replace ASM_TYPE_DIRECTIVE with .type.
64798         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64799         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64800         * sysdeps/i386/fpu/e_powf.S: Likewise.
64801         * sysdeps/i386/fpu/e_expl.S: Likewise.
64802         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64803         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64804         * sysdeps/i386/fpu/e_pow.S: Likewise.
64805         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64806         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64807         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64808         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64809         * sysdeps/i386/fpu/e_log2.S: Likewise.
64810         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64811         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64812         * sysdeps/i386/fpu/e_powl.S: Likewise.
64813         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64814         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64815         * sysdeps/i386/fpu/e_logl.S: Likewise.
64816         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64817         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64818         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64819         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64820         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64821         * sysdeps/i386/fpu/e_log.S: Likewise.
64822         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64823         * sysdeps/i386/fpu/e_logf.S: Likewise.
64824         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64825         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64826         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64827         * sysdeps/i386/fpu/e_log10.S: Likewise.
64828         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64829         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64830         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64831         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64832         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64833         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
64834         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64835         * sysdeps/i386/i686/strtok.S: Likewise.
64836         * sysdeps/i386/i386-mcount.S: Likewise.
64837         * sysdeps/i386/strtok.S: Likewise.
64838         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
64839         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64840         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64841         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64842         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64843         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64844         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64845         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64846         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64847         * sysdeps/x86_64/_mcount.S: Likewise.
64848         * sysdeps/x86_64/strtok.S: Likewise.
64849         * sysdeps/sh/_mcount.S: Likewise.
64851 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64853         * libio/iofopen.c: Include <fcntl.h>.
64854         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
64855         (_IO_fopen64, fopen64): Define as aliases.
64856         * libio/iofopen64.c: Include <fcntl.h>.
64857         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
64858         Conditionalize body on this.
64859         * sysdeps/wordsize-64/iofopen.c: File removed.
64860         * sysdeps/wordsize-64/iofopen64.c: File removed.
64862 2012-08-01  Marek Polacek  <polacek@redhat.com>
64864         * libc/Makeconfig: Use elf in place of binfmt-subdir.
64865         Use dlfcn directly instead of a variable.
64866         (binfmt-subdir): Do not define.
64867         (dlfcn): Likewise.
64869 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
64871         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
64872         Remove all definitions.
64873         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
64874         <kernel-features.h>.
64875         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64876         (miss_F_GETOWN_EX): Remove all definitions.
64877         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
64878         macro definition.
64879         [!__ASSUME_FCNTL64]: Remove conditional code.
64880         [__ASSUME_FCNTL64]: Make code unconditional.
64881         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
64882         <kernel-features.h>.
64883         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64884         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64885         (lockf64) [__NR_fcntl64]: Make code unconditional.
64886         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64888         * sysdeps/unix/sysv/linux/kernel-features.h
64889         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64890         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64891         Make code unconditional.
64892         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64893         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64895         [__NR_vfork]: Make code unconditional.
64896         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64897         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64899         [__NR_vfork]: Make code unconditional.
64900         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64901         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64903 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64905         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64906         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64908         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64909         Define mkstemp64 as an alias.
64910         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64911         Define mkstemps64 as an alias.
64912         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64913         Define mkostemp64 as an alias.
64914         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64915         Define mkostemps64 as an alias.
64916         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64917         Conditionalize body on this.
64918         * misc/mkostemp64.c: Likewise.
64919         * misc/mkostemps64.c: Likewise.
64920         * misc/mkstemps64.c: Likewise.
64921         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64922         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64923         * sysdeps/wordsize-64/mkostemp.c: File removed.
64924         * sysdeps/wordsize-64/mkstemp.c: File removed.
64925         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64926         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64927         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64928         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64930         [BZ #14138]
64931         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64932         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64933         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64934         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64936         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64937         compat_symbol macros from <shlib-compat.h> rather than the underlying
64938         default_symbol_version and symbol_version macros, so that DEFAULT
64939         lines in shlib-versions are respected.
64940         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64942 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64944         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64945         Declare with warn_unused_result.
64946         (setgid, setregid, setegid, setresgid): Likewise.
64947         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64948         Likewise.
64949         * WUR-REPORT: Remove set*id functions.
64951 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64953         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64955 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64957         [BZ #10191]
64958         * include/sys/socket.h (__libc_accept, __libc_accept4):
64959         Add attribute_hidden.
64960         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64962         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64963         use of PTR_MANGLE.
64964         * inet/getnetgrent_r.c (setup): Likewise.
64966         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64968 2012-07-31  David S. Miller  <davem@davemloft.net>
64970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64972 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64974         [BZ #13629]
64975         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64976         value between 1.0 and 2.0 and smaller part has absolute value less
64977         than 1.0.
64978         * math/s_clog10.c (__clog10): Likewise.
64979         * math/s_clog10f.c (__clog10f): Likewise.
64980         * math/s_clog10l.c (__clog10l): Likewise.
64981         * math/s_clogf.c (__clogf): Likewise.
64982         * math/s_clogl.c (__clogl): Likewise.
64983         * math/libm-test.inc (clog_test): Add more tests.
64984         (clog10_test): Likewise.
64985         * sysdeps/i386/fpu/libm-test-ulps: Update.
64986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64988 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64990         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64991         Exit with zero in case no suitable GID is found, and write a
64992         message to standard error.
64994 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64996         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64997         rather than to 1.
64998         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64999         (MAXPATHLEN): Removed.
65000         (NOGROUP, NODEV): New macros.
65001         (setbit, clrbit, isset, isclr): New macros.
65002         (howmany, roundup, powerof2): New macros.
65003         (DEV_BSIZE): New macro.
65005         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65006         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65008         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65009         definition on [!__NO_LONG_DOUBLE_MATH].
65011         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65012         PTR_MANGLE and PTR_DEMANGLE.
65014         * socket/accept4.c (accept4): Rename to __libc_accept4.
65015         Define accept4 as a weak alias.
65017         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65018         on [_DIRENT_HAVE_D_TYPE].
65019         * io/ftw.c (ftw_dir): Likewise.
65021         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65023         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65025         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65026         Use the BSD numbers rather than the arbitrary ones we had.
65027         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65028         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65029         (SIGXCPU, SIGXFSZ): New macros.
65030         (_NSIG): Now 32.
65032         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65033         initializer on [_LIBC_REENTRANT].
65035         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65036         definitions inside [_POSIX_MAPPED_FILES].
65038         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65040         * dirent/opendir.c: Include <fcntl.h>.
65042         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65043         (__libc_getspecific): Likewise.
65044         (__libc_key_create): Likewise.
65046         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65047         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65048         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65049         (tmpfile64): Define as alias.
65050         * sysdeps/wordsize-64/tmpfile.c: File removed.
65051         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65052         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65053         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65055         * stdio-common/vfscanf.c: Include <stdbool.h>.
65056         * nss/makedb.c: Likewise.
65057         * stdio-common/_i18n_number.h: Likewise.
65058         * argp/argp-help.c: Likewise.
65059         * posix/wordexp.c: Likewise.
65060         * sysdeps/posix/spawni.c: Likewise.
65061         * nss/nss_files/files-initgroups.c: Likewise.
65062         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65063         * nss/nss_files/files-initgroups.c: Likewise.
65064         * nss/nss_db/db-netgrp.c: Likewise.
65065         * nss/nss_db/db-initgroups.c: Likewise.
65066         * io/fchmodat.c: Include <sys/stat.h>.
65068         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65069         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65071         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65072         [HAVE_MMAP].
65074         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65075         Add multiple inclusion protection.
65077 2012-07-27  David S. Miller  <davem@davemloft.net>
65079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65081 2012-07-27  Gary Benson  <gbenson@redhat.com>
65083         [BZ #14298]
65084         * elf/rtld.c: Include <stap-probe.h>.
65085         (dl_main): Added static probes "init_start" and "init_complete".
65086         * elf/dl-load.c: Include <stap-probe.h>.
65087         (lose): Take new parameter "nsid".
65088         Added static probe "map_failed".
65089         (_dl_map_object_from_fd): Pass namespace id to lose.
65090         Added static probe "map_start".
65091         (open_verify): Pass namespace id to lose.
65092         * elf/dl-open.c: Include <stap-probe.h>.
65093         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65094         and "reloc_complete".
65095         * elf/dl-close.c: Include <stap-probe.h>.
65096         (_dl_close_worker): Added static probes "unmap_start" and
65097         "unmap_complete".
65098         * elf/rtld-debugger-interface.txt: New file documenting the above.
65100 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65102         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65103         rather than a string variable.
65104         * sunrpc/rpc_main.c (h_output): Likewise.
65105         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65107 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65109         * inet/check_native.c: New file.
65111 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65113         [BZ #13629]
65114         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65115         if larger part has absolute value 1.0.
65116         * math/s_clog10.c (__clog10): Likewise.
65117         * math/s_clog10f.c (__clog10f): Likewise.
65118         * math/s_clog10l.c (__clog10l): Likewise.
65119         * math/s_clogf.c (__clogf): Likewise.
65120         * math/s_clogl.c (__clogl): Likewise.
65121         * math/libm-test.inc (clog_test): Add more tests.
65122         (clog10_test): Likewise.
65123         * sysdeps/i386/fpu/libm-test-ulps: Update.
65124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65126         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65127         (pltexit): Likewise.
65128         (La_regs): Likewise.
65129         (La_retval): Likewise.
65130         (int_retval): Likewise.
65131         Update #error for removed macros to refer only to definitions in
65132         tst-audit.h.
65133         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65134         macro.
65135         (pltexit): Likewise.
65136         (La_regs): Likewise.
65137         (La_retval): Likewise.
65138         (int_retval): Likewise.
65139         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65140         macro.
65141         (pltexit): Likewise.
65142         (La_regs): Likewise.
65143         (La_retval): Likewise.
65144         (int_retval): Likewise.
65145         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65146         macro.
65147         (pltexit): Likewise.
65148         (La_regs): Likewise.
65149         (La_retval): Likewise.
65150         (int_retval): Likewise.
65151         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65152         macro.
65153         (pltexit): Likewise.
65154         (La_regs): Likewise.
65155         (La_retval): Likewise.
65156         (int_retval): Likewise.
65157         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65158         macro.
65159         (pltexit): Likewise.
65160         (La_regs): Likewise.
65161         (La_retval): Likewise.
65162         (int_retval): Likewise.
65163         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65164         macro.
65165         (pltexit): Likewise.
65166         (La_regs): Likewise.
65167         (La_retval): Likewise.
65168         (int_retval): Likewise.
65169         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65170         macro definitions in tst-audit.h.
65171         * sysdeps/i386/tst-audit.h: New file.
65172         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65173         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65174         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65175         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65176         * sysdeps/sh/tst-audit.h: Likewise.
65177         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65178         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65179         * sysdeps/x86_64/tst-audit.h: Likewise.
65181 2012-07-26  Andreas Jaeger  <aj@suse.de>
65183         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65184         ptrace.
65186         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65187         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65188         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65189         PTRACE_O_MASK.
65190         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65191         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65192         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65194         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65195         value.
65197         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65198         _sigsys.
65199         (si_call_addr, si_syscall, si_arch): Define new macro.
65200         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65201         _sigsys.
65202         (si_call_addr, si_syscall, si_arch): Define new marcro.
65203         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65204         _sigsys.
65205         (si_call_addr, si_syscall, si_arch): Define new macro.
65206         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65207         _sigsys.
65208         (si_call_addr, si_syscall, si_arch): Define new macro.
65210 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65212         [BZ #13717]
65213         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65214         Change to 2.4.21 where previously 2.4.1.
65215         * sysdeps/unix/sysv/linux/configure: Regenerated.
65216         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65217         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65218         Linux kernel version.
65219         (__ASSUME_STD_AUXV): Remove.
65220         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65221         kernel version.
65222         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65223         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65224         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65225         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65226         (__ASSUME_NETLINK_SUPPORT): Likewise.
65227         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65228         (__no_netlink_support): Remove conditional definition.
65229         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65230         Remove.
65231         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65232         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65233         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
65234         (if_nameindex_ioctl): Remove.
65235         (if_nameindex_netlink): Do not handle __no_netlink_support.
65236         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65237         code.
65238         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
65239         Remove conditional code.
65240         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65241         code.
65242         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
65243         unconditional.
65244         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65245         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
65246         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
65247         Remove.
65248         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
65249         [!__ASSUME_STD_AUXV]: Remove conditional code.
65250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
65251         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
65252         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
65253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
65254         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
65255         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65256         code.
65257         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
65259         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
65260         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65261         conditional code.
65262         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
65264         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65265         code.
65266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
65267         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65268         conditional code.
65269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
65270         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65271         code unconditional.
65272         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65273         conditional code.
65274         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65275         unconditional.
65276         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65277         conditional code.
65278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65279         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65280         unconditional.
65281         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65282         conditional code.
65283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
65284         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65285         code unconditional.
65286         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65287         conditional code.
65288         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65289         unconditional.
65290         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65291         conditional code.
65292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
65293         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65294         code unconditional.
65295         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65296         conditional code.
65297         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65298         unconditional.
65299         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65300         conditional code.
65302 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
65304         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
65305         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
65306         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
65307         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
65308         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
65309         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
65310         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65311         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
65312         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
65313         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
65314         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
65315         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
65316         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
65317         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
65318         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
65319         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
65320         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
65321         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
65322         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
65323         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
65324         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
65325         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
65326         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65328 2012-07-25  Florian Weimer  <fweimer@redhat.com>
65330         * Versions.def: Add GLIBC_2.17.
65331         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
65332         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
65333         Introduce __libc_secure_getenv.
65334         * stdlib/Versions (2.17): Add secure_getenv
65335         (GLIBC_PRIVATE): Add __libc_secure_getenv.
65336         * stdlib/secure-getenv.c: Rename __secure_getenv to
65337         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
65338         symbol __secure_getenv for GLIBC_2.0.
65339         * stdlib/tst-secure-getenv.c: New.
65340         * stdlib/Makefile (tests): Add testcase.
65341         * manual/startup.texi (Environment Access): Document
65342         secure_getenv.
65343         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
65344         __libc_secure_getenv.
65345         * inet/ruserpass.c (ruserpass): Likewise.
65346         * malloc/mtrace.c (mtrace): Likewise.
65347         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
65348         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
65349         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
65350         * sysdeps/posix/tempname.c: Likewise.  Evaluate
65351         HAVE_SECURE_GETENV.
65352         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
65353         __secure_getenv to __libc_secure_getenv.
65354         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
65355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65356         Likewise.
65357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65358         Likewise.
65359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65361         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65367 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65369         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
65370         (struct La_i86_retval): Likewise.
65371         (struct La_x86_64_regs): Likewise.
65372         (struct La_x86_64_retval): Likewise.
65373         (struct La_x32_regs): Likewise.
65374         (struct La_x32_retval): Likewise.
65375         (struct La_ppc32_regs): Likewise.
65376         (struct La_ppc32_retval): Likewise.
65377         (struct La_ppc64_regs): Likewise.
65378         (struct La_ppc64_retval): Likewise.
65379         (struct La_sh_regs): Likewise.
65380         (struct La_sh_retval): Likewise.
65381         (struct La_s390_32_regs): Likewise.
65382         (struct La_s390_32_retval): Likewise.
65383         (struct La_s390_64_regs): Likewise.
65384         (struct La_s390_64_retval): Likewise.
65385         (struct La_sparc32_regs): Likewise.
65386         (struct La_sparc32_retval): Likewise.
65387         (struct La_sparc64_regs): Likewise.
65388         (struct La_sparc64_retval): Likewise.
65389         (struct audit_ifaces): Remove architecture-specific pltenter and
65390         pltexit members.
65391         * sysdeps/i386/ldsodefs.h: New file.
65392         * sysdeps/powerpc/ldsodefs.h: Likewise.
65393         * sysdeps/s390/ldsodefs.h: Likewise.
65394         * sysdeps/sh/ldsodefs.h: Likewise.
65395         * sysdeps/sparc/ldsodefs.h: Likewise.
65396         * sysdeps/x86_64/ldsodefs.h: Likewise.
65398 2012-07-25  Marek Polacek  <polacek@redhat.com>
65400         [BZ #6808]
65401         * math/libm-test.inc (yn_test): Add another test.
65402         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
65403         to ERANGE when the result is +-Inf.
65404         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
65405         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
65406         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
65407         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
65409 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
65411         * conform/data/time.h-data (NULL): Use macro-constant.  Require
65412         equal to 0.
65413         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
65414         clock_t.
65415         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
65417 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
65419         * configure.in <sysdeps resolving>: Correct printing
65420         Implies_before.
65421         * configure: Regenerate.
65423 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65425         * math/w_ilogb.c: Include <limits.h>.
65426         * math/w_ilogbl.c: Likewise.
65428 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65430         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65431         va_copy.  Document allowing for unavailable va_copy only as
65432         pre-C99 compatibility.
65433         * manual/string.texi (Copying and Concatenation): Use va_copy
65434         instead of __va_copy in concat example.
65436 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
65438         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65439         (__sendto): Use create_address_port.  Initialize APORT and deallocate
65440         it if not null.
65442         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65443         with O_NOLINK passed to __file_name_lookup.
65445         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65446         with O_NOLINK passed to __file_name_lookup.
65448         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65449         negative N or less than NGIDS.
65451         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65452         type to string_t.  Set ERANGE as errno and return it if NAME is not big
65453         enough.  Use memcpy instead of strncpy.
65455 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65457         * elf/Makefile (check-data): Remove.
65458         (localplt.data): New vpath directive.
65459         ($(objpfx)check-localplt.out): Use localplt.data from vpath
65460         instead of $(check-data).
65461         * scripts/data/localplt-generic.data: Move to ...
65462         * sysdeps/generic/localplt.data: ... here.
65463         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65464         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65465         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65467         ... here.
65468         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65470         ... here.
65471         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65473         ... here.
65474         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65476         ... here.
65477         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65479         ... here.
65480         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65482         ... here.
65484 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65486         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65487         PPC32 and PPC64 files.
65488         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65489         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65491 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65493         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65494         __makecontext_ret to ...
65495         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65496         ... here and call exit if uc_link is NULL.  New file.
65497         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65498         __makecontext_ret.S.
65499         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65500         __makecontext_ret to ...
65501         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65502         ... here and call exit if uc_link is NULL.  New file.
65503         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65504         __makecontext_ret.S.
65506 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65508         * elf/elf.h (R_390_IRELATIVE): New definition.
65509         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65510         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
65511         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65512         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65513         (elf_machine_lazy_rel): Likewise.
65514         * sysdeps/s390/dl-irel.h: New file.
65515         * sysdeps/s390/s390-64/memcpy.S: New asm code.
65516         * sysdeps/s390/s390-64/memset.S: New asm code.
65517         * sysdeps/s390/s390-64/memcmp.S: New asm code.
65518         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
65519         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
65520         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
65521         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
65522         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
65523         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
65524         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
65525         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
65526         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
65527         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
65528         * sysdeps/s390/s390-32/memcpy.S: New asm code.
65529         * sysdeps/s390/s390-32/memset.S: New asm code.
65530         * sysdeps/s390/s390-32/memcmp.S: New asm code.
65532 2012-07-17  Marek Polacek  <polacek@redhat.com>
65534         [BZ #14349]
65535         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
65536         * sysdeps/s390/s390-64/configure.in: Likewise.
65537         * sysdeps/sparc/configure.in: Likewise.
65538         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
65539         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
65540         * sysdeps/i386/configure.in: Likewise.
65541         * sysdeps/x86_64/configure.in: Likewise.
65542         * sysdeps/sh/configure.in: Likewise.
65543         * sysdeps/s390/s390-32/configure: Regenerated.
65544         * sysdeps/s390/s390-64/configure: Likewise.
65545         * sysdeps/x86_64/configure: Likewise.
65546         * sysdeps/sh/configure: Likewise.
65547         * sysdeps/powerpc/powerpc64/configure: Likewise.
65548         * sysdeps/powerpc/powerpc32/configure: Likewise.
65549         * sysdeps/sparc/configure: Likwise.
65550         * sysdeps/i386/configure: Likewise.
65552         * elf/dl-open.c: Comment fixes.
65554 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
65556         * Makefile [CXX] (check-data): Remove.
65557         [CXX] (c++-types.data): New vpath directive.
65558         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
65559         vpath.  Do not allow for C++ type data being missing.
65560         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
65561         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
65562         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
65563         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
65564         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
65565         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
65566         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
65567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
65568         ... here.
65569         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
65570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
65571         ... here.
65572         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
65573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
65574         ... here.
65575         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
65576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
65577         ... here.
65578         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
65579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
65580         ... here.
65581         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
65582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
65583         ... here.
65584         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
65585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
65586         ... here.
65587         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
65588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
65590         * elf/tls-macros.h (TLS_LE): Move architecture-specific
65591         definitions to architecture-specific files.
65592         (TLS_IE): Likewise.
65593         (TLS_LD): Likewise.
65594         (TLS_GD): Likewise.
65595         * sysdeps/i386/tls-macros.h: New file.
65596         * sysdeps/powerpc/tls-macros.h: Likewise.
65597         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65598         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
65599         * sysdeps/sh/tls-macros.h: Likewise.
65600         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
65601         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
65602         * sysdeps/x86_64/tls-macros.h: Likewise.
65604 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65606         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
65607         zero value for regular exit case.
65609         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
65610         (__start_context): Preserve zero value for regular exit case.
65612 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65613             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65615         * manual/setjmp.texi (setcontext): Clarify normal process
65616         termination when uc_link is the null pointer.
65617         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65618         exit call.
65620 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
65622         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
65623         preprocessor.  Test for each exception mask separately.
65625 2012-07-16  Andreas Jaeger  <aj@suse.de>
65627         * po/ru.po: Update from translation team.
65629 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
65631         * conform/data/string.h-data (NULL): Use macro-constant.  Require
65632         equal to 0.
65633         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65634         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65635         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
65636         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
65637         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65639 2012-07-13  Andreas Jaeger  <aj@suse.de>
65641         * po/fr.po: Update from translation team.
65643 2012-07-12  Marek Polacek  <polacek@redhat.com>
65645         [BZ #14173]
65646         * math/libm-test.inc (yn_test): Add test for BZ #14173.
65647         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
65648         loop condition.
65650 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
65652         [BZ #13717]
65653         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65654         Change to 2.4.1 where previously 2.4.0.
65655         * sysdeps/unix/sysv/linux/configure: Regenerated.
65656         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
65657         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
65658         version.
65659         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
65660         (__ASSUME_AT_CLKTCK): Remove.
65661         (__ASSUME_AT_PAGESIZE): Likewise.
65662         (__ASSUME_AT_XID): Likewise.
65663         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
65664         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
65665         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
65666         unconditionally.
65667         (HAVE_AUX_PAGESIZE): Likewise.
65668         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
65669         [__ASSUME_AT_CLKTCK]: Make code unconditional.
65670         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
65672 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
65674         [BZ #14307]
65675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
65676         the temporary buffer used to invoke __gethostbyname2_r,
65677         __gethostbyaddr_r and gethostbyname4_r to make room for struct
65678         host_data / struct gaih_addrtuple.
65679         * resolv/nss_dns/dns-host.c (global scope): Move definition of
65680         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
65681         header file nss/nsswitch.h.
65682         * nss/nsswitch.h (global scope): Add definition of implementation
65683         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
65684         resolv/nss_dns/dns-host.c).
65686 2012-07-11  Andreas Jaeger  <aj@suse.de>
65688         * po/fr.po: Update from translation team.
65690         * po/sv.po: Update from translation team
65691         * po/fr.po: Another update from translation team.
65693 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65695         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
65696         for subnormals or multiply small sinh result by itself.
65697         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65700 2012-07-11  David S. Miller  <davem@davemloft.net>
65702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65704 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
65706         [BZ #14347]
65707         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
65708         (INTERNAL_MARK): Shift it here.
65710 2012-07-10  Marek Polacek  <polacek@redhat.com>
65712         [BZ #14151]
65713         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
65714         libc_cv_asm_global_directive with .globl.
65715         * configure: Regenerated.
65716         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
65717         with .globl.
65718         * sysdeps/i386/configure: Regenerated.
65719         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
65720         with .globl.
65721         * sysdeps/x86_64/configure: Regenerated.
65722         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
65723         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
65724         * elf/tst-unique2mod2.c: Likewise.
65725         * elf/tst-unique2mod1.c: Likewise.
65726         * elf/tst-unique1mod2.c: Likewise.
65727         * elf/tst-unique1mod1.c: Likewise.
65728         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65729         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65730         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65731         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65732         * sysdeps/mach/sysdep.h: Likewise.
65733         * sysdeps/i386/sysdep.h: Likewise.
65734         * sysdeps/i386/i386-mcount.S: Likewise.
65735         * sysdeps/x86_64/_mcount.S: Likewise.
65736         * sysdeps/x86_64/sysdep.h: Likewise.
65737         * sysdeps/sh/_mcount.S: Likewise.
65738         * sysdeps/sh/sysdep.h: Likewise.
65739         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
65740         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
65741         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
65742         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65743         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
65744         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
65745         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
65746         * locale/localeinfo.h: Likewise.
65747         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
65748         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
65750 2012-07-09  Roland McGrath  <roland@hack.frob.com>
65752         [BZ #14336]
65753         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
65754         system".
65755         * manual/message.texi (The Uniforum approach): Likewise.
65756         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
65757         (glibc iconv Implementation): Likewise.
65759 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
65761         [BZ #14337]
65762         * math/s_clog.c (__clog): Avoid scaling a value down where that
65763         could result in underflow.
65764         * math/s_clog10.c (__clog10): Likewise.
65765         * math/s_clog10f.c (__clog10f): Likewise.
65766         * math/s_clog10l.c (__clog10l): Likewise.
65767         * math/s_clogf.c (__clogf): Likewise.
65768         * math/s_clogl.c (__clogl): Likewise.
65769         * math/libm-test.inc (clog_test): Add more tests.
65770         (clog10_test): Likewise.
65771         * sysdeps/i386/fpu/libm-test-ulps: Update.
65772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65774 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
65776         [BZ #14283]
65777         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
65778         by 7 not 8 to examine high bit of fractional part.
65780         [BZ #14042]
65781         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
65782         for call to __mcount_internal.
65783         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
65784         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
65785         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
65787 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
65789         [BZ #14154]
65790         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
65791         approximation for values within 0x1p-13f of an odd multiple of
65792         pi/4.
65793         * math/libm-test.inc (tan_test): Do not allow spurious underflow
65794         exception.  Add more tests.
65795         * sysdeps/i386/fpu/libm-test-ulps: Update.
65797         [BZ #6778]
65798         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
65799         inputs and return -1 for them.  Do not check for +Inf in case not
65800         reachable for +Inf.
65801         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
65802         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
65803         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65804         and return -1 for them.  Do not check for +Inf in case not
65805         reachable for +Inf.
65806         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
65807         define.
65808         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65809         and return -1 for them.  Do not check for +Inf in case not
65810         reachable for +Inf.
65811         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
65812         spurious underflow.
65813         * sysdeps/i386/fpu/libm-test-ulps: Update.
65814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65816 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
65818         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
65820 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
65822         [BZ #14157]
65823         [BZ #14331]
65824         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
65825         could result in spurious underflow.  Scale down values above
65826         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
65827         * math/s_csqrtf.c (__csqrtf): Likewise.
65828         * math/s_csqrtl.c (__csqrtl): Likewise.
65829         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
65830         spurious underflow.
65831         * sysdeps/i386/fpu/libm-test-ulps: Update.
65832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65834 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
65836         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
65837         xopen-msg.sed.
65838         * catgets/xopen-msg.awk: New file.
65839         * catgets/xopen-msg.sed: Removed.
65841         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
65842         po2text.sed.
65843         * intl/po2test.awk: New file.
65844         * intl/po2test.sed: Removed.
65846 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
65848         [BZ #14328]
65849         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
65850         or multiply small sinh result by itself.
65851         * math/s_ctanf.c (__ctanf): Likewise.
65852         * math/s_ctanh.c (__ctanh): Likewise.
65853         * math/s_ctanhf.c (__ctanhf): Likewise.
65854         * math/s_ctanhl.c (__ctanhl): Likewise.
65855         * math/s_ctanl.c (__ctanl): Likewise.
65856         * math/libm-test.inc (ctan_test_tonearest): New function.
65857         (ctan_test_towardzero): Likewise.
65858         (ctan_test_downward): Likewise.
65859         (ctan_test_upward): Likewise.
65860         (ctanh_test_tonearest): Likewise.
65861         (ctanh_test_towardzero): Likewise.
65862         (ctanh_test_downward): Likewise.
65863         (ctanh_test_upward): Likewise.
65864         (main): Call these new functions.
65865         * sysdeps/i386/fpu/libm-test-ulps: Update.
65866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65868 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
65870         * .gitignore: Delete /ports entry.
65872 2012-07-03  Andreas Jaeger  <aj@suse.de>
65874         * po/bg.po: Update from translation team.
65875         * po/cs.po: Likewise.
65876         * po/de.po: Likewise.
65877         * po/hr.po: Likewise.
65878         * po/nl.pl: Likewise.
65879         * po/pl.po: Likewise.
65880         * po/vi.po: Likewise.
65882 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
65884         * Makeconfig [!+link] (+link-before-libc): New variable.
65885         [!+link] (+link-after-libc): Likewise.
65886         [!+link] (+link-tests): Likewise.
65887         [!+link] (+link): Define in terms of $(+link-before-libc) and
65888         $(+link-after-libc).
65889         [!+link-static] (+link-static-before-libc): New variable.
65890         [!+link-static] (+link-static-after-libc): Likewise.
65891         [!+link-static] (+link-static-tests): Likewise.
65892         [!+link-static] (+link-static): Define in terms of
65893         $(+link-static-before-libc) and $(+link-static-after-libc).
65894         [build-shared] (link-libc-before-gnulib): New variable.
65895         [build-shared] (link-libc-tests): Likewise.
65896         [build-shared] (link-libc): Define in terms of
65897         $(link-libc-before-gnulib).
65898         [!build-shared] (link-libc-tests): New variable.
65899         (link-libc-static-tests): New variable.
65900         [!gnulib] (gnulib-arch): New variable.
65901         [!gnulib] (gnulib-tests): Likewise.
65902         [!gnulib] (static-gnulib-arch): Likewise.
65903         [!gnulib] (static-gnulib-tests): Likewise.
65904         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65905         Define with "=" instead of ":=".
65906         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65907         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65908         * Rules (binaries-all-notests): New variable.
65909         (binaries-all-tests): Likewise.
65910         (binaries-static-notests): Likewise.
65911         (binaries-static-tests): Likewise.
65912         (binaries-all): Define using $(binaries-all-notests) and
65913         $(binaries-all-tests).
65914         (binaries-static): Define using $(binaries-static-notests) and
65915         $(binaries-static-tests).
65916         (binaries-shared-tests): New variable.
65917         (binaries-shared-notests): Likewise.
65918         (binaries-shared): Remove variable.
65919         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65920         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65921         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65922         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65923         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65924         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65925         * elf/Makefile (sln-modules): New variable.
65926         (extra-objs): Add $(sln-modules:=.o).
65927         (ldconfig-modules): Add static-stubs.
65928         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65929         * elf/static-stubs.c: New file.
65931         [BZ #14283]
65932         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65933         by 7 not 8 to examine high bit of fractional part.  Use volatile
65934         variables when splitting into final array of floats if
65935         __FLT_EVAL_METHOD__ != 0.
65936         * math/libm-test.inc (cos_test): Add another test.
65937         (sin_test): Likewise.
65938         * sysdeps/i386/fpu/libm-test-ulps: Update.
65940         [BZ #14273]
65941         * math/libm-test.inc (cosh_test): Add more tests.
65943         * version.h (RELEASE): Set to "development".
65944         (VERSION): Set to "2.16.90".
65946 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65948         * NEWS: Update copyright. Remove last-updated date.
65949         Mention math library bug fixes and timezone data changes.
65950         * README: Mention GNU/Hurd, x32, and HPPA support status.
65952 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65954         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65956 2012-06-27  Andreas Jaeger  <aj@suse.de>
65958         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65960 2012-06-25  Andreas Jaeger  <aj@suse.de>
65962         * sysdeps/s390/fpu/libm-test-ulps: Update.
65964 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65965             Thomas Schwinge  <thomas@codesourcery.com>
65967         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65968         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65969         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65970         fanotify_mark.
65972 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65974         * sysdeps/mach/start.c: Remove file.
65975         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65976         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65977         * sysdeps/sh/init-first.c: Likewise.
65979         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65980         registers for frame unwinding purposes, add CFI directives.
65981         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65982         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65983         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65984         Likewise.
65986         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65987         __fortify_fail returning.
65988         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65990         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65991         sysdeps/sh/____longjmp_chk.S.
65992         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65993         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65994         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65995         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65997         * sysdeps/sh/abort-instr.h: New file.
65998         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65999         process in case exit returns.
66001         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66002         initialize the GOT register before use.
66004         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66005         calculation of ARGC > 4.
66007         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66008         meaningful names to some local labels.
66010 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66011             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66013         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66014         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66015         (__arch_compare_and_exchange_val_16_acq): Likewise.
66016         (__arch_compare_and_exchange_val_32_acq): Likewise.
66017         (atomic_exchange_and_add): Fix gUSA sequence.
66018         (atomic_add): Likewise.
66019         (atomic_add_negative): Likewise.
66020         (atomic_add_zero): Likewise.
66021         (atomic_bit_test_set): Likewise.
66023 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66025         [BZ #13579]
66026         * include/link.h (struct link_map): Add l_free_initfini.
66027         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66028         l_initfini.
66029         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66030         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66031         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66032         set.
66034 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66036         * configure.in: Use AC_LANG_SOURCE.
66037         * configure: Regenerate.
66039 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66041         * configure.in (libc_cv_localstatedir): New substituted variable.
66042         * configure: Regenerated.
66043         * config.make.in (localstatedir): New variable, substituted from
66044         libc_cv_localstatedir.
66045         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66046         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66047         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66048         * sysdeps/gnu/configure: Regenerated.
66050 2012-06-21  Jeff Law  <law@redhat.com>
66052         [BZ #14277]
66053         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66054         free.  Simplify list management for _LIBC case.
66056 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66058         [BZ #14273]
66059         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66060         Clear sign bit of 64-bit integer value before comparing against
66061         overflow value.
66063         * sysdeps/mach/configure: Regenerated.
66065 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66067         [BZ #14278]
66068         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66070 2012-06-21  Jeff Law  <law@redhat.com>
66072         [BZ #13882]
66073         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66074         uint16_t for elements in the "seen" array to avoid char overflows.
66075         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66076         * elf/dl-open.c (dl_open_worker): Likewise.
66078 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66080         * scripts/list-sources.sh: Scan PORTS for translations.
66081         * po/libc.pot: Regenerated.
66083 2012-06-21  Andreas Jaeger  <aj@suse.de>
66085         [BZ #12194]
66086         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66087         warning.
66088         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66089         * bits/byteswap-16.h (__bswap_16): Likewise.
66090         * bits/byteswap.h (__bswap_constant_16): Likewise.
66092 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66094         [BZ #14117]
66095         * sysdeps/i386/fpu_control.h: Removed.
66096         * sysdeps/x86_64/fpu_control.h: Moved to ...
66097         * sysdeps/x86/fpu_control.h: Here.
66099         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66100         (_FPU_SETCW): Likewise.
66102 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66104         [BZ #14117]
66105         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66106         * sysdeps/x86/fpu/bits/mathinline.h: This.
66107         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66109         [BZ #14050]
66110         [BZ #14117]
66111         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66112         functions if __x86_64__ is defined.
66114 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66116         * string/endian.h: Add !__ASSEMBLER__ condition for including
66117         conversion interfaces.
66119 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66121         [BZ #14241]
66122         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66123         of ABS(x) in calculating zero to negative powers other than odd
66124         integers.
66125         * math/libm-test.inc (pow_test): Add more tests.
66127 2012-06-15  Andreas Jaeger  <aj@suse.de>
66129         * manual/contrib.texi (Contributors): Update entry of Liubov
66130         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66131         Machado Filho.
66133 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66135         * string/string.h: Add __wur to GNU version of strerror_r.
66137 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66139         [BZ #14229]
66140         * string/Makefile (tests): Add tst-strtok_r.
66141         * string/tst-strtok_r.c: New file.
66142         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66143         RAX_LP/RDX_LP on SAVE_PTR.
66145 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66147         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66149 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66151         * libm_test.inc (csqrt_test): Allow more spurious underflow
66152         exceptions.
66153         (j0_test): Likewise.
66154         (j1_test): Likewise.
66155         (y0_test): Likewise.
66156         (y1_test): Likewise.
66158 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66160         * po/Makefile (libc.pot): Use UTF-8 charset.
66162 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66164         [BZ #14210]
66165         Suppress sign-conversion warning from FD_SET.
66166         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66167         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66168         not unsigned long int.
66169         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66171 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66173         [BZ #14050]
66174         [BZ #14117]
66175         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66176         __extern_always_inline instead of __extern_inline.
66177         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66178         (__signbit): Likewise.
66179         (__signbitl): Support C++ namespace.
66180         (lrintf): New inline function.
66181         (lrint): Likewise.
66182         (llrintf): Likewise.
66183         (llrint): Likewise.
66184         (fmaxf): Likewise.
66185         (fmax): Likewise.
66186         (fminf): Likewise.
66187         (fmin): Likewise.
66188         (rint): Likewise.
66189         (rintf): Likewise.
66190         (ceil): Likewise.
66191         (ceilf): Likewise.
66192         (floor): Likewise.
66193         (floorf): Likewise.
66194         (nearbyint): Likewise.
66195         (nearbyintf): Likewise.
66197 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66199         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66200         non-default versions.
66202 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66204         [BZ #14218]
66205         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66207 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66209         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66210         (FE_UPWARD, FE_DOWNWARD): Don't define.
66211         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66212         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66214         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66215         reading it.
66216         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66217         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66219 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66221         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66222         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66223         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66224         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66226 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66228         [BZ #14117]
66229         * sysdeps/i386/fpu/bits/fenv.h: Removed.
66230         * sysdeps/i386/fpu/Implies: New file.
66231         * sysdeps/x86_64/fpu/Implies: Likewise.
66232         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66233         * sysdeps/x86/fpu/bits/fenv.h: This.
66235         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
66236         __SSE_MATH__.
66238 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66240         [BZ #14134]
66241         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
66242         character 0xffff that matches the last element of the
66243         conversion table.
66245 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66247         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
66248         fmodl commit.
66250 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66252         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
66253         values higher than 25.6283.
66255 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66257         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
66258         subnormal exponent extraction and add some __builtin_expect.
66259         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
66260         Fix for subnormal mantissa calculation.
66262 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
66264         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
66265         cpu2 is -1 and errno is not ENOSYS.
66267 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
66269         [BZ #14117]
66270         * sysdeps/i386/i486/bits/string.h: Renamed to ...
66271         * sysdeps/x86/bits/string.h: This.
66272         * sysdeps/x86_64/bits/string.h: Removed.
66274         * sysdeps/i386/i486/bits/string.h: Define inline functions only
66275         if not compiling for x86-64, but compiling for >= i486.
66277         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
66278         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
66280         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
66281         New macro from Linux kernel 3.4.0.
66282         (FP_XSTATE_MAGIC2): Likewise.
66283         (FP_XSTATE_MAGIC2_SIZE): Likewise.
66284         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
66285         (struct _fpx_sw_bytes): New struct.
66286         (struct _xsave_hdr): Likewise.
66287         (struct _ymmh_state): Likewise.
66288         (struct _xstate): Likewise.
66290         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66291         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
66292         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
66293         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
66294         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
66295         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66297         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
66298         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
66299         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
66300         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
66301         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
66302         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
66304 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66306         [BZ #13743]
66307         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
66308         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
66309         (sysdep_headers): Include sys/platform/ppc.h.
66310         * sysdeps/powerpc/test-gettimebase.c: Test for
66311         __ppc_get_timebase() to catch future ISA opcode/insn changes.
66312         * manual/Makefile (appendices): Include platform.texi.
66313         * manual/contrib.texi (Contributors): Update @node pointers.
66314         * manual/maint.texi (Maintenance): Likewise.
66315         (Platform): New node.
66316         * manual/platform.texi: New file.  Document the new features.
66318 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66319             Jakub Jelinek  <jakub@redhat.com>
66321         [BZ #14188]
66322         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
66323         where __builtin_expect is unavailable.
66325 2012-06-03  David S. Miller  <davem@davemloft.net>
66327         * stdlib/longlong.h: Updated from GCC.
66329 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
66331         [BZ #14042]
66332         * sysdeps/powerpc/powerpc32/mcount.c: New file.
66333         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
66334         __mcount_internal.
66335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66336         (GLIBC_2.16): Likewise.
66338 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66340         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
66342 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
66345         (default-abi): New variable.
66346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
66347         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
66348         variable.
66349         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
66350         Likewise.
66351         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66352         Likewise.
66353         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
66354         Likewise.
66356         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
66357         definition.  Document in comment.
66359 2012-06-01  David S. Miller  <davem@davemloft.net>
66361         * stdlib/longlong.h: Updated from GCC.
66363 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66365         [BZ #14117]
66366         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
66367         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
66368         sys/debugreg.h sys/io.h here.
66369         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
66370         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
66371         sys/io.h.
66372         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
66373         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
66374         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
66375         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
66376         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
66377         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
66379         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
66380         Define only if __x86_64__ is defined.
66382 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66384         [BZ #14048]
66385         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
66386         Use int64_t for variable i.
66387         * math/libm-test.inc (fmod_test): Add more tests.
66389         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
66390         z computation is not scheduled after fetestexcept.
66391         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
66392         Use math_force_eval instead of asm to ensure calculation scheduled
66393         before exception test.
66394         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
66395         Ensure a1 + u.d computation is not scheduled after fetestexcept.
66397 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
66399         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
66400         computation is not scheduled after fetestexcept.
66402 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66404         [BZ #14117]
66405         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
66406         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
66408 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66410         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
66411         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66413 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66415         [BZ #14117]
66416         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66417         <bits/wordsize.h>.
66418         (__WCHAR_MIN): Support __WORDSIZE == 64.
66419         (__WCHAR_MAX): Likewise.
66421         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66422         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66424         [BZ #14183]
66425         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66426         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66428         [BZ #14117]
66429         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66430         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66432         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66433         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66435         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66436         Defined to 1 if __x86_64__ isn't defined.
66437         (_STAT_VER_LINUX_OLD): New.
66438         (st_atime): Remove duplicate.
66439         (st_mtime): Likewise.
66440         (st_ctime): Likewise.
66442 2012-05-31  David S. Miller  <davem@davemloft.net>
66444         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66445         entries.
66447 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
66449         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66450         gen-libm-test.pl.
66452         [BZ #14132]
66453         * elf/dl-reloc.c: Include <_itoa.h>.
66454         (_dl_reloc_bad_type): Remove use of INTUSE.
66455         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66456         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66457         * stdio-common/psiginfo.c (psiginfo): Likewise.
66458         * stdio-common/psignal.c (psignal): Likewise.
66459         * string/strsignal.c (strsignal): Likewise.
66460         * include/signal.h (_sys_siglist): Declare hidden proto.
66461         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
66462         INTVARDEF with libc_hidden_data_def.
66463         * stdio-common/itoa-udigits.c: Likewise.
66464         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66465         (_itoa_lower_digits_internal): Remove declaration.
66466         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66467         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66468         (_sys_sigabbrev_internal): Remove aliases.
66469         (_sys_siglist): Define hidden alias.
66471 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
66473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66474         bits/sysctl.h.
66476 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66478         [BZ #14117]
66479         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66480         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66482         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66483         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66484         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66485         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66486         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66487         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66489         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66490         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66491         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66493         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66494         with __addr.
66495         (insw): Likewise.
66496         (insl): Likewise.
66497         (outsb): Likewise.
66498         (outsw): Likewise.
66499         (outsl): Likewise.
66501         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66502         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66503         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66505         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66506         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66507         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66508         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66509         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66510         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66512         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66513         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66515         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66516         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
66518         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
66519         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
66520         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
66522         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
66523         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
66524         to ...
66525         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
66527         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
66528         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
66529         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
66531         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
66532         for x86-64.
66533         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
66535 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
66537         * math/math.h (M_El): Use two more decimal places.
66538         (M_LOG2El): Likewise.
66539         (M_LOG10El): Likewise.
66540         (M_LN2l): Likewise.
66541         (M_LN10l): Likewise.
66542         (M_PIl): Likewise.
66543         (M_PI_2l): Likewise.
66544         (M_PI_4l): Likewise.
66545         (M_1_PIl): Likewise.
66546         (M_2_PIl): Likewise.
66547         (M_2_SQRTPIl): Likewise.
66548         (M_SQRT2l): Likewise.
66549         (M_SQRT1_2l): Likewise.
66551 2012-05-31  David S. Miller  <davem@davemloft.net>
66553         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
66554         values between float registers.
66555         * sysdeps/sparc/sparc64/memset.S: Likewise.
66556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66558 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
66560         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
66561         -D_FORTIFY_SOURCE=1.
66562         (CPPFLAGS-tst-longjmp_chk.c): Define.
66563         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
66564         (CPPFLAGS-tst-longjmp_chk2.c): Define.
66565         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
66566         CFLAGS-tst-wchar-h.c.
66568 2012-05-31  Marek Polacek  <polacek@redhat.com>
66570         [BZ #14132]
66571         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
66572         __endmntent_internal): Remove declaration.
66573         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66574         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
66575         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
66577 2012-05-30  David S. Miller  <davem@davemloft.net>
66579         * sysdeps/sparc/sparc32/soft-fp/q_util.c
66580         (___Q_simulate_exceptions): Use real FP ops rather than writing
66581         into the %fsr.
66582         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
66583         Likewise.
66585 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66587         [BZ #14117]
66588         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66589         * sysdeps/x86/bits/xtitypes.h: This.
66591         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
66592         * sysdeps/x86/bits/wordsize.h: This.
66594         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
66595         * sysdeps/x86/bits/huge_vall.h: This.
66597         * sysdeps/i386/bits/select.h: Removed.
66598         * sysdeps/x86_64/bits/select.h: Renamed to ...
66599         * sysdeps/x86/bits/select.h: This.
66601         * sysdeps/i386/bits/setjmp.h: Removed.
66602         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
66603         * sysdeps/x86/bits/setjmp.h: This.
66605         * sysdeps/i386/bits/mathdef.h: Removed.
66606         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
66607         * sysdeps/x86/bits/mathdef.h: This.
66609 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
66611         [BZ #14132]
66612         * include/sys/socket.h (__connect_internal)
66613         (__libc_sa_len_internal): Remove declaration.
66614         (__connect, __libc_sa_len): Declare hidden_proto.
66615         (SA_LEN): Remove use of INTUSE.
66616         * socket/connect.c: Add libc_hidden_def.
66617         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
66618         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
66619         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
66620         alias.
66621         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
66622         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
66623         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
66624         of adding _internal alias.
66626 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66628         [BZ #14117]
66629         * sysdeps/i386/bits/link.h: Removed.
66630         * sysdeps/i386/bits/linkmap.h: Likewise.
66631         * sysdeps/x86_64/bits/link.h: Renamed to ...
66632         * sysdeps/x86/bits/link.h: This.
66633         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
66634         * sysdeps/x86/bits/linkmap.h: This.
66636         * sysdeps/i386/bits/endian.h: Removed.
66637         * sysdeps/x86_64/bits/endian.h: Renamed to ...
66638         * sysdeps/x86/bits/endian.h: This.
66640         * sysdeps/i386/bits/byteswap.h: Removed.
66641         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66642         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
66643         * sysdeps/x86/bits/byteswap.h: This.
66644         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
66645         * sysdeps/x86/bits/byteswap-16.h: This.
66646         * sysdeps/i386/Implies: Add x86.
66647         * sysdeps/x86_64/Implies: Likewise.
66649 2012-05-30  David S. Miller  <davem@davemloft.net>
66651         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
66652         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
66653         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
66654         (FP_TRAPPING_EXCEPTIONS): Define.
66655         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
66656         (FP_TRAPPING_EXCEPTIONS): Define.
66657         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
66658         subnormals only when inexact has been signalled or underflow
66659         exceptions are enabled.
66660         (_FP_PACK_CANONICAL): Likewise.
66662 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66664         [BZ #14183]
66665         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
66666         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
66668 2012-05-30  Richard Henderson  <rth@twiddle.net>
66670         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
66671         with #ifndef NOT_IN_libc.
66673         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
66674         marked to avoid plt entry.
66676 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66678         [BZ #14112]
66679         * Makeconfig (default-abi): New macro.
66680         (abi-includes): Likewise.
66681         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
66682         $(abi-$(default-abi)-lib-soname) for soname if defined.
66683         ($(common-objpfx)gnu/lib-names.stmp): Generate from
66684         abi-variants.
66685         * Makefile (installed-stubs): Likewise.
66686         * include/stubs-biarch.h: Removed.
66687         * scripts/lib-names.awk: Only handle one library at a time.
66688         * scripts/soversions.awk: Remove WORDSIZE support.
66689         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
66690         entries.
66691         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
66692         Removed.
66693         (syscall-list-default-condition): Likewise.
66694         (syscall-list-default-condition): Likewise.
66695         (syscall-list-includes): Likewise.
66696         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
66697         syscall-list-* with abi-*.  Handle undefined abi-variants.
66698         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
66699         * sysdeps/unix/sysv/linux/i386/Implies: New file.
66700         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
66701         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
66702         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
66703         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
66704         Removed.
66705         (syscall-list-32-options): Likewise.
66706         (syscall-list-32-condition): Likewise.
66707         (syscall-list-64-options): Likewise.
66708         (syscall-list-64-condition): Likewise.
66709         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
66710         macro.
66711         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
66712         Renamed to ...
66713         (abi-*): This.
66714         (abi-64-ld-soname): New macro.
66715         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
66716         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
66717         Renamed to ...
66718         (abi-*): This.
66719         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
66720         * sysdeps/x86_64/x32/shlib-versions: Likewise.
66722 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
66724         * sysdeps/unix/sysv/linux/kernel-features.h
66725         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
66726         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
66727         include <kernel-features.h>.
66728         [!__NR_ftruncate64]: Remove conditional code.
66729         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66730         [__NR_ftruncate64]: Make code unconditional.
66731         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66732         * sysdeps/unix/sysv/linux/truncate64.c: Do not
66733         include <kernel-features.h>.
66734         [!__NR_ftruncate64]: Remove conditional code.
66735         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66736         [__NR_ftruncate64]: Make code unconditional.
66737         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
66739         include <kernel-features.h>.
66740         [!__NR_ftruncate64]: Remove conditional code.
66741         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66742         [__NR_ftruncate64]: Make code unconditional.
66743         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66745         include <kernel-features.h>.
66746         [!__NR_ftruncate64]: Remove conditional code.
66747         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66748         [__NR_ftruncate64]: Make code unconditional.
66749         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66751         * configure.in (libc_cv_fpie): Weaken to a compile test using
66752         LIBC_TRY_CC_OPTION.
66753         * configure: Regenerated.
66755 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
66758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
66759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
66760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66761         Refreshed.
66762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
66763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
66764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
66765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
66766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
66767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66768         Refreshed.
66770 2012-05-27  David S. Miller  <davem@davemloft.net>
66772         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
66773         (___Q_zero): New.
66774         (__Q_simulate_exceptions): Return void.  Change to simulate
66775         exceptions by writing into the %fsr.
66776         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
66777         (__Qp_handle_exceptions): Likewise.
66778         (numbers): Delete.
66779         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
66780         __Qp_handle_exceptions.
66781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
66782         __Qp_handle_exceptions.
66783         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66784         as unused and give dummy FP_RND_NEAREST initializer.
66785         (FP_INHIBIT_RESULTS): Define.
66786         (___Q_simulate_exceptions): Update declaration.
66787         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
66788         formatting.
66789         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66790         as unused and give dummy FP_RND_NEAREST initializer.
66791         (__Qp_handle_exceptions): Update declaration.
66792         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
66793         formatting.
66795 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
66797         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
66798         the temporary FPU control word.
66799         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
66800         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
66801         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
66802         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66803         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
66804         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
66805         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
66806         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66807         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66808         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
66809         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66811 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66813         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
66814         fields.
66816 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
66818         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
66819         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
66820         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
66821         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
66822         Likewise.
66823         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
66824         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
66825         Likewise.
66827 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
66829         * po/h.po: Update from translation team.
66831 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
66833         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
66835         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
66836         handling of denormals.
66837         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66838         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
66839         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66840         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66841         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66842         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
66843         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
66844         Likewise.
66846 2012-05-26  Marek Polacek  <polacek@redhat.com>
66848         [BZ #14152]
66849         * math/libm-test.inc (fma_test): Don't always expect underflow
66850         exception.
66852 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66854         [BZ #12416]
66855         * elf/tst-execstack.c: Include stackinfo.h.
66856         (do_test): Adjust test case to ensure that pthread_getattr_np
66857         behaviour remains the same after marking stack executable.
66859 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66861         * sysdeps/unix/sysv/linux/kernel-features.h
66862         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
66863         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
66864         kernel-features.h.
66865         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66866         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66867         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
66868         kernel-features.h.
66869         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66870         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66872 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
66874         * configure.in: Define the default includes to being none.
66875         * configure: Regenerated.
66877 2012-05-25  Roland McGrath  <roland@hack.frob.com>
66879         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
66880         * sysdeps/x86_64/setjmp.S: Likewise.
66881         * sysdeps/i386/bsd-setjmp.S: Likewise.
66882         * sysdeps/i386/bsd-_setjmp.S: Likewise.
66883         * sysdeps/i386/setjmp.S: Likewise.
66884         * sysdeps/i386/__longjmp.S: Likewise.
66885         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66886         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66888         * include/stap-probe.h: New file.
66889         * configure.in: Handle --enable-systemtap.
66890         * configure: Regenerated.
66891         * config.h.in (USE_STAP_PROBE): New #undef.
66892         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66893         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66894         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66896 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66898         [BZ #13717]
66899         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66900         to 2.4.0 where earlier.
66901         * sysdeps/unix/sysv/linux/configure: Regenerated.
66902         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66903         <kernel-features.h>.
66904         [__ASSUME_32BITUIDS]: Make code unconditional.
66905         [!__ASSUME_32BITUIDS]: Remove conditional code.
66906         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66907         <kernel-features.h>.
66908         [__ASSUME_32BITUIDS]: Make code unconditional.
66909         [!__ASSUME_32BITUIDS]: Remove conditional code.
66910         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66911         [__ASSUME_32BITUIDS]: Make code unconditional.
66912         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66913         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
66914         <kernel-features.h>.
66915         [__ASSUME_32BITUIDS]: Make code unconditional.
66916         [!__ASSUME_32BITUIDS]: Remove conditional code.
66917         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
66918         <kernel-features.h>.
66919         [__ASSUME_32BITUIDS]: Make code unconditional.
66920         [!__ASSUME_32BITUIDS]: Remove conditional code.
66921         * sysdeps/unix/sysv/linux/i386/getgid.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/i386/getgroups.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/i386/getresgid.c: Do not include
66930         <kernel-features.h>.
66931         [__ASSUME_32BITUIDS]: Make code unconditional.
66932         [!__ASSUME_32BITUIDS]: Remove conditional code.
66933         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66934         <kernel-features.h>.
66935         [__ASSUME_32BITUIDS]: Make code unconditional.
66936         [!__ASSUME_32BITUIDS]: Remove conditional code.
66937         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66938         <kernel-features.h>.
66939         [__ASSUME_32BITUIDS]: Make code unconditional.
66940         [!__ASSUME_32BITUIDS]: Remove conditional code.
66941         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66942         <kernel-features.h>.
66943         [__ASSUME_32BITUIDS]: Make code unconditional.
66944         [!__ASSUME_32BITUIDS]: Remove conditional code.
66945         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66946         <kernel-features.h>.
66947         [__ASSUME_32BITUIDS]: Make code unconditional.
66948         [!__ASSUME_32BITUIDS]: Remove conditional code.
66949         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66950         <kernel-features.h>.
66951         [__ASSUME_32BITUIDS]: Make code unconditional.
66952         [!__ASSUME_32BITUIDS]: Remove conditional code.
66953         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66954         <kernel-features.h>.
66955         [__NR_setresgid] (__setresgid): Do not declare.
66956         [__ASSUME_32BITUIDS]: Make code unconditional.
66957         [!__ASSUME_32BITUIDS]: Remove conditional code.
66958         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66959         <kernel-features.h>.
66960         [__NR_setresuid] (__setresuid): Do not declare.
66961         [__ASSUME_32BITUIDS]: Make code unconditional.
66962         [!__ASSUME_32BITUIDS]: Remove conditional code.
66963         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66964         <kernel-features.h>.
66965         [__ASSUME_32BITUIDS]: Make code unconditional.
66966         [!__ASSUME_32BITUIDS]: Remove conditional code.
66967         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66968         <kernel-features.h>.
66969         [__ASSUME_32BITUIDS]: Make code unconditional.
66970         [!__ASSUME_32BITUIDS]: Remove conditional code.
66971         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66972         <kernel-features.h>.
66973         [__ASSUME_32BITUIDS]: Make code unconditional.
66974         [!__ASSUME_32BITUIDS]: Remove conditional code.
66975         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66976         <kernel-features.h>.
66977         [__ASSUME_32BITUIDS]: Make code unconditional.
66978         [!__ASSUME_32BITUIDS]: Remove conditional code.
66979         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66980         <kernel-features.h>.
66981         [__ASSUME_32BITUIDS]: Make code unconditional.
66982         [!__ASSUME_32BITUIDS]: Remove conditional code.
66983         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66984         <kernel-features.h>.
66985         [__ASSUME_32BITUIDS]: Make code unconditional.
66986         [!__ASSUME_32BITUIDS]: Remove conditional code.
66987         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66988         <kernel-features.h>.
66989         [__ASSUME_32BITUIDS]: Make code unconditional.
66990         [!__ASSUME_32BITUIDS]: Remove conditional code.
66991         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66992         <kernel-features.h>.
66993         [__ASSUME_32BITUIDS]: Make code unconditional.
66994         [!__ASSUME_32BITUIDS]: Remove conditional code.
66995         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66996         <kernel-features.h>.
66997         [__ASSUME_32BITUIDS]: Make code unconditional.
66998         [!__ASSUME_32BITUIDS]: Remove conditional code.
66999         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67000         <kernel-features.h>.
67001         [__ASSUME_32BITUIDS]: Make code unconditional.
67002         [!__ASSUME_32BITUIDS]: Remove conditional code.
67003         * sysdeps/unix/sysv/linux/kernel-features.h
67004         (__ASSUME_SETRESUID_SYSCALL): Remove.
67005         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67006         (__ASSUME_32BITUIDS): Likewise.
67007         (__ASSUME_LDT_WORKS): Likewise.
67008         (__ASSUME_O_DIRECTORY): Likewise.
67009         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67010         architecture but not kernel version.
67011         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67012         (__ASSUME_MMAP2_SYSCALL): Likewise.
67013         (__ASSUME_STAT64_SYSCALL): Likewise.
67014         (__ASSUME_IPC64): Likewise.
67015         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67016         <kernel-features.h>.
67017         [__ASSUME_32BITUIDS]: Make code unconditional.
67018         [!__ASSUME_32BITUIDS]: Remove conditional code.
67019         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67020         <kernel-features.h>.
67021         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67022         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67023         132096]: Remove conditional code.
67024         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67025         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67026         <kernel-features.h>.
67027         [__ASSUME_32BITUIDS]: Make code unconditional.
67028         [!__ASSUME_32BITUIDS]: Remove conditional code.
67029         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67030         <kernel-features.h>.
67031         [__ASSUME_32BITUIDS]: Make code unconditional.
67032         [!__ASSUME_32BITUIDS]: Remove conditional code.
67033         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67034         <kernel-features.h>.
67035         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67036         unconditional.
67037         (__setresgid): Do not declare.
67038         [__ASSUME_32BITUIDS]: Make code unconditional.
67039         [!__ASSUME_32BITUIDS]: Remove conditional code.
67040         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67041         <kernel-features.h>.
67042         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67043         unconditional.
67044         (__setresuid): Do not declare.
67045         [__ASSUME_32BITUIDS]: Make code unconditional.
67046         [!__ASSUME_32BITUIDS]: Remove conditional code.
67047         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67048         <kernel-features.h>.
67049         [__ASSUME_32BITUIDS]: Make code unconditional.
67050         [!__ASSUME_32BITUIDS]: Remove conditional code.
67051         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67052         <kernel-features.h>.
67053         [__ASSUME_32BITUIDS]: Make code unconditional.
67054         [!__ASSUME_32BITUIDS]: Remove conditional code.
67056 2012-05-25  Richard Henderson  <rth@twiddle.net>
67058         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67059         dl_hwcap to ifunc resolver.
67060         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67061         elf_ifunc_invoke.
67062         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67063         dl_hwcap to ifunc resolver.
67064         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67066 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67068         [BZ #14153]
67069         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67070         for |x| <= 2**-26, not 2**-57.
67071         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67072         exception.
67074 2012-05-24  Jeff Law  <law@redhat.com>
67076         * stdio-common/Makefile (tests): Add bug25.
67077         * stdio-common/bug25.c: New test.
67079 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67081         [BZ #13576]
67082         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67083         multiple of MALLOC_ALIGNMENT in size.
67084         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67086 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67088         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67089         Require >= 256.
67090         (FILENAME_MAX): Use macro-int-constant.
67091         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67092         (_IOFBF): Use macro-int-constant.
67093         (_IOLBF): Likewise.
67094         (_IONBF): Likewise.
67095         (SEEK_CUR): Likewise.
67096         (SEEK_END): Likewise.
67097         (SEEK_SET): Likewise.
67098         (TMP_MAX): Likewise.
67099         (EOF): Use macro-int-constant.  Require < 0.
67100         (NULL): Use macro-constant.  Require == 0.
67101         (stdin): Require type to be FILE *.
67102         (stdout): Likewise.
67103         (stderr): Likewise.
67104         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67105         macro-int-constant.
67106         (EXIT_SUCCESS): Likewise.
67107         (NULL): Use macro-constant.  Require == 0.
67108         (RAND_MAX): Use macro-int-constant.
67109         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67110         [C99-based standards] (strtof): Require function.
67111         [C99-based standards] (strtold): Likewise.
67112         [C99-based standards] (strtoll): Likewise.
67113         [C99-based standards] (strtoull): Likewise.
67114         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67115         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67116         [ISO || ISO99 || ISO11] (math.h): Likewise.
67117         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67118         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67119         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67121 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67123         [BZ #14132]
67124         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67125         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67126         * intl/dgettext.c (DCGETTEXT): Likewise.
67127         * intl/gettext.c (DCGETTEXT): Likewise.
67128         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67129         * posix/regex_internal.h (gettext): Likewise.
67130         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67131         Remove declaration.
67132         * include/argz.h (__argz_count_internal)
67133         (__argz_stringify_internal): Remove declaration.
67134         (__argz_count, __argz_stringify): Declare hidden proto.
67135         * intl/dcgettext.c: Remove use of INTDEF.
67136         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67137         * string/argz-stringify.c: Likewise.
67138         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67139         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67140         Declare hidden proto.
67141         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67142         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67143         Declare hidden proto.
67144         * include/stdio.h (__asprintf_internal): Don't declare.
67145         (__asprintf): Don't define as macro.  Declare hidden proto.
67146         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67147         (__fsetlocking): Declare hidden proto.
67148         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67149         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67150         hidden proto.
67151         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67152         (_IO_setlinebuf): Remove use of INTUSE.
67153         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67154         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67155         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67156         Remove declaration.
67157         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67158         (_IO_do_flush): Remove use of INTUSE.
67159         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67160         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67161         (_IO_adjust_column, _IO_least_wmarker)
67162         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67163         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67164         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67165         (_IO_default_doallocate, _IO_wdefault_doallocate)
67166         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67167         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67168         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67169         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67170         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67171         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67172         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67173         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67174         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67175         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67176         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67177         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67178         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67179         proto.
67180         (_IO_flush_all_internal, _IO_adjust_column_internal)
67181         (_IO_default_uflow_internal, _IO_default_finish_internal)
67182         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67183         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67184         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67185         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67186         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67187         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67188         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67189         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67190         (_IO_file_close_internal, _IO_file_close_it_internal)
67191         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67192         (_IO_file_init_internal, _IO_file_attach_internal)
67193         (_IO_file_fopen_internal, _IO_file_read_internal)
67194         (_IO_file_sync_internal, _IO_file_seek_internal)
67195         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67196         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67197         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67198         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67199         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67200         (_IO_list_all_internal, _IO_link_in_internal)
67201         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67202         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67203         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67204         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67205         (_IO_do_write_internal, _IO_padn_internal)
67206         (_IO_getline_info_internal, _IO_getline_internal)
67207         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67208         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67209         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67210         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67211         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67212         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67213         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67214         with libc_hidden_ver, remove use of INTUSE.
67215         * libio/genops.c: Likewise.
67216         * libio/freopen.c: Likewise.
67217         * libio/freopen64.c: Likewise.
67218         * libio/iofclose.c: Likewise.
67219         * libio/iofdopen.c: Likewise.
67220         * libio/iofflush.c: Likewise.
67221         * libio/iofflush_u.c: Likewise.
67222         * libio/iofgets.c: Likewise.
67223         * libio/iofgets_u.c: Likewise.
67224         * libio/iofopen.c: Likewise.
67225         * libio/iofopncook.c: Likewise.
67226         * libio/iofread.c: Likewise.
67227         * libio/iofread_u.c: Likewise.
67228         * libio/ioftell.c: Likewise.
67229         * libio/iofwrite.c: Likewise.
67230         * libio/iogetline.c: Likewise.
67231         * libio/iogets.c: Likewise.
67232         * libio/iogetwline.c: Likewise.
67233         * libio/iopadn.c: Likewise.
67234         * libio/iopopen.c: Likewise.
67235         * libio/ioseekoff.c: Likewise.
67236         * libio/ioseekpos.c: Likewise.
67237         * libio/iosetbuffer.c: Likewise.
67238         * libio/iosetvbuf.c: Likewise.
67239         * libio/ioungetc.c: Likewise.
67240         * libio/ioungetwc.c: Likewise.
67241         * libio/iovdprintf.c: Likewise.
67242         * libio/iovsprintf.c: Likewise.
67243         * libio/iovsscanf.c: Likewise.
67244         * libio/memstream.c: Likewise.
67245         * libio/obprintf.c: Likewise.
67246         * libio/oldfileops.c: Likewise.
67247         * libio/oldiofclose.c: Likewise.
67248         * libio/oldiofdopen.c: Likewise.
67249         * libio/oldiofopen.c: Likewise.
67250         * libio/oldiopopen.c: Likewise.
67251         * libio/oldstdfiles.c: Likewise.
67252         * libio/putc.c: Likewise.
67253         * libio/setbuf.c: Likewise.
67254         * libio/setlinebuf.c: Likewise.
67255         * libio/stdfiles.c: Likewise.
67256         * libio/strops.c: Likewise.
67257         * libio/vasprintf.c: Likewise.
67258         * libio/vscanf.c: Likewise.
67259         * libio/vsnprintf.c: Likewise.
67260         * libio/vswprintf.c: Likewise.
67261         * libio/wfiledoalloc.c: Likewise.
67262         * libio/wfileops.c: Likewise.
67263         * libio/wgenops.c: Likewise.
67264         * libio/wmemstream.c: Likewise.
67265         * libio/wstrops.c: Likewise.
67266         * libio/__fpurge.c: Likewise.
67267         * libio/__fsetlocking.c: Likewise.
67268         * assert/assert.c: Likewise.
67269         * debug/fgets_chk.c: Likewise.
67270         * debug/fgets_u_chk.c: Likewise.
67271         * debug/fread_chk.c: Likewise.
67272         * debug/fread_u_chk.c: Likewise.
67273         * debug/gets_chk.c: Likewise.
67274         * debug/obprintf_chk.c: Likewise.
67275         * debug/vasprintf_chk.c: Likewise.
67276         * debug/vdprintf_chk.c: Likewise.
67277         * debug/vsnprintf_chk.c: Likewise.
67278         * debug/vsprintf_chk.c: Likewise.
67279         * malloc/mtrace.c: Likewise.
67280         * misc/error.c: Likewise.
67281         * misc/syslog.c: Likewise.
67282         * stdio-common/asprintf.c: Likewise.
67283         * stdio-common/fxprintf.c: Likewise.
67284         * stdio-common/getw.c: Likewise.
67285         * stdio-common/isoc99_fscanf.c: Likewise.
67286         * stdio-common/isoc99_scanf.c: Likewise.
67287         * stdio-common/isoc99_vfscanf.c: Likewise.
67288         * stdio-common/isoc99_vscanf.c: Likewise.
67289         * stdio-common/isoc99_vsscanf.c: Likewise.
67290         * stdio-common/printf-prs.c: Likewise.
67291         * stdio-common/printf_fp.c: Likewise.
67292         * stdio-common/printf_fphex.c: Likewise.
67293         * stdio-common/printf_size.c: Likewise.
67294         * stdio-common/putw.c: Likewise.
67295         * stdio-common/scanf.c: Likewise.
67296         * stdio-common/sprintf.c: Likewise.
67297         * stdio-common/tmpfile.c: Likewise.
67298         * stdio-common/vfprintf.c: Likewise.
67299         * stdio-common/vfscanf.c: Likewise.
67300         * stdlib/strfmon_l.c: Likewise.
67301         * sunrpc/openchild.c: Likewise.
67302         * sunrpc/xdr_stdio.c: Likewise.
67303         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
67304         * sysdeps/mach/hurd/tmpfile.c: Likewise.
67306 2012-05-24  Roland McGrath  <roland@hack.frob.com>
67308         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67310         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
67311         in the third column, to generate for the shared library an IFUNC
67312         that uses _dl_vdso_vsym.
67313         * Makerules (COMPILE.c, compile-stdin.c): New variables.
67314         * Makeconfig (object-suffixes-noshared): New variable.
67316         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
67317         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
67318         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
67319         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
67321         [BZ #14132]
67322         * include/sys/time.h (__gettimeofday): Remove macro.
67323         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
67324         * time/gettimeofday.c (__gettimeofday): Remove #undef.
67325         Remove INTDEF.
67326         (__gettimeofday): Add libc_hidden_def.
67327         (gettimeofday): Add libc_hidden_weak.
67328         * sysdeps/mach/gettimeofday.c: Likewise.
67329         * sysdeps/posix/gettimeofday.c: Likewise.
67330         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
67331         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
67332         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
67333         (__gettimeofday_internal): Remove strong_alias.
67334         (__gettimeofday): Add libc_hidden_def.
67335         (gettimeofday): Add libc_hidden_weak.
67336         * sysdeps/unix/syscalls.list (gettimeofday):
67337         Remove __gettimeofday_internal alias.
67339 2012-05-24  Daniel Jacobowitz  <drow@false.org>
67340             H.J. Lu  <hongjiu.lu@intel.com>
67342         [BZ #12495]
67343         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
67344         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
67345         (largebin_index_32_big): New.
67346         (largebin_index): Use it for 16-byte alignment.
67347         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
67348         correction with front_misalign.
67350 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
67353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
67354         Likewise.
67355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
67356         Likewise.
67357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67358         Likewise.
67359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
67360         Likewise.
67361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
67362         Likewise.
67363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
67364         Likewise.
67365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
67366         Likewise.
67367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
67368         Likewise.
67369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
67370         Likewise.
67371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67372         Likewise.
67373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
67374         Likewise.
67375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
67376         Likewise.
67378         * scripts/data/c++-types-x32-linux-gnu.data: New file.
67379         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
67381 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67383         [BZ #10846]
67384         [BZ #14036]
67385         * math/libm-test.inc (exp_test): Add test from bug 14036.
67386         (pow_test): Add test from bug 10846.
67388         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
67389         and other flags.
67390         (special_function): Do not include flags in test name.
67391         (parse_args): Likewise.
67392         * sysdeps/i386/fpu/libm-test-ulps: Update.
67393         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67394         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
67395         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
67396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67398         * math/gen-libm-test.pl (%beautify): Add entries for underflow
67399         exceptions.
67400         * math/libm-test.inc ("Philosophy"): Update comment about
67401         exception testing.
67402         (UNDERFLOW_EXCEPTION): New macro.
67403         (UNDERFLOW_EXCEPTION_OK): Likewise.
67404         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
67405         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
67406         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
67407         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
67408         (INVALID_EXCEPTION_OK): Update value.
67409         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67410         (OVERFLOW_EXCEPTION_OK): Likewise.
67411         (IGNORE_ZERO_INF_SIGN): Likewise.
67412         (test_exceptions): Handle underflow exceptions.
67413         (acos_test): Update for underflow exception expectations.
67414         (cexp_test): Likewise.
67415         (clog_test): Likewise.
67416         (clog10_test): Likewise.
67417         (csqrt_test): Likewise.
67418         (ctan_test): Likewise.
67419         (ctanh_test): Likewise.
67420         (exp_test): Likewise.
67421         (exp10_test): Likewise.
67422         (exp2_test): Likewise.
67423         (expm1_test): Likewise.
67424         (fma_test): Likewise.
67425         (j0_test): Likewise.
67426         (jn_test): Likewise.
67427         (nexttoward_test): Likewise.
67428         (pow_test): Likewise.
67429         (scalbn_test): Likewise.
67430         (scalbln_test): Likewise.
67431         (tan_test): Likewise.
67432         (y1_test): Likewise.
67433         * sysdeps/i386/fpu/libm-test-ulps: Update.
67434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67436 2012-05-23  David S. Miller  <davem@davemloft.net>
67438         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67439         (__libc_sigaction): Remove unused local variables.
67441 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67443         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67445 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
67447         mktime: avoid signed integer overflow
67448         * time/mktime.c (__mktime_internal): Do not mishandle the case
67449         where diff == INT_MIN.
67451         mktime: simplify computation of average
67452         * time/mktime.c (ranged_convert): Use new time_t_avg function
67453         instead of rolling our own (probably-slower) code.
67455         mktime: do not assume signed right shift propagates sign bit
67456         * time/mktime.c (isdst_differ): New static function.
67457         (__mktime_internal): No need to normalize tm_isdst now.
67458         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67459         tm_isdst values.
67461         mktime: merge another wrapv change from gnulib
67462         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67463         from some compilers.
67465         mktime: remove incorrect attempt at unusual arithmetics
67466         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67467         The code didn't really work on such machines anyway.
67468         (TYPE_MINIMUM): Assume two's complement.
67469         (twos_complement_arithmetic): Verify that long_int and time_t
67470         are two's complement (or unsigned, in the latter case).
67472         mktime: check signed shifts on long_int and time_t, too
67473         * time/mktime.c (SHR): Check that shifts work as desired
67474         on the types long_int and time_t too, as SHR is used on
67475         such types.
67477         mktime: do not assume 'long' is wide enough
67478         * time/mktime.c (verify): Move decl up.
67479         (long_int): New type.
67480         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67481         to remove assumption in the code that 'long' is wide enough to
67482         store year values.  This assumption is not true on x32 and on
67483         some non-glibc platforms.
67485         mktime: merge wrapv change from gnulib
67486         * time/mktime.c (WRAPV): New macro.
67487         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67488         (guess_time_tm, __mktime_internal): Do not assume that signed
67489         integer overflow wraps around; modern compilers generate code
67490         where this assumption is no longer valid.
67492 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67494         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67495         Replace "jmp L(pseudo_end)" with "ret".
67496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67497         Likewise.
67499 2012-05-23  Andreas Jaeger  <aj@suse.de>
67501         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67502         * sysdeps/unix/sysv/linux/poll.c: Remove file.
67504 2012-05-23  Andreas Jaeger  <aj@suse.de>
67505             Maximilian Attems  <max@stro.at>
67507         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67508         New macros.
67510 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67512         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67513         code so that pseudo_end is just ret and the stack pointer is
67514         correct also for static library in error case.
67516 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
67518         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67519         move to syscalls.list.
67520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
67521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
67523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
67525         * manual/install.texi (Running make install): Do not mention Linux
67526         kernel version for which pt_chown is not needed.
67527         (Linux): Do not mention problems with nscd with 2.0 kernels.
67528         * INSTALL: Regenerated.
67530 2012-05-23  Andreas Jaeger  <aj@suse.de>
67532         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
67533         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
67534         macro.
67535         * sysdeps/unix/sysv/linux/s390/bits/mman.h
67536         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67537         * sysdeps/unix/sysv/linux/sh/bits/mman.h
67538         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67539         * sysdeps/unix/sysv/linux/i386/bits/mman.h
67540         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67541         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
67542         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67543         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
67544         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67545         * sysdeps/unix/sysv/linux/bits/in.h
67546         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
67548 2012-05-22  Roland McGrath  <roland@hack.frob.com>
67550         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
67551         (PREPARE_VERSION): Just use assert instead, it will be elided
67552         under [NDEBUG] anyway.
67554 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67556         * sysdeps/unix/sysv/linux/Makefile: Include
67557         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
67558         (sysdep_routines): Remove sysctl.
67559         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
67560         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
67561         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
67562         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
67563         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
67565 2012-05-22  Andreas Jaeger  <aj@suse.de>
67567         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
67568         that pseudo_end is just ret and the stack pointer is correct also
67569         for static library in error case.
67571 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
67573         [BZ #14122]
67574         * nss/nsswitch.c (defconfig_entries): New variable.
67575         (__nss_database_lookup): Don't leak defconfig entries.
67576         (nss_parse_service_list): Don't leak on error paths.
67577         (free_database_entries): New function.
67578         (free_defconfig): New function.
67579         (free_mem): Move common code to free_database_entries.
67581 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67583         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
67584         Add arch_prctl.
67585         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
67587         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
67588         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
67589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
67590         New macro.
67591         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
67592         (INTERNAL_SYSCALL_TYPES): Likewise.
67593         (LOAD_ARGS_TYPES_[1-6]): Likewise.
67594         (LOAD_REGS_TYPES_[1-6]): Likewise.
67595         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
67596         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
67598 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67600         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
67601         copysignl for GLIBC_2_0.
67602         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
67603         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
67604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
67605         logbl for GLIBC_2_0.
67606         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
67607         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
67609 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67611         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
67612         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67614         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67615         Use "neg %eax".
67617         * time/mktime.c: Update copyright years.
67619 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
67621         mktime: merge comment-quoting-style change from gnulib
67622         * time/mktime.c: Quote 'like this' in comments.
67623         The GNU coding standards suggest that we no longer quote `like this',
67624         as "`" and "'" are typically rendered asymmetrically nowadays.
67625         The typical gnulib style is to quote 'like this' when quoting
67626         code, and "like this" when quoting English.
67628         * time/mktime.c (compile-command): Add "-I.".
67630         mktime: merge mktime-internal.h change from gnulib
67631         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
67633         mktime: merge time_r change from gnulib
67634         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
67636         mktime: merge DEBUG change from gnulib
67637         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
67638         case system <time.h> has a #define.
67640         mktime: merge <sys/types.h> change from gnulib
67641         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
67642         since <time.t> is now guaranteed to define time_t.
67644         mktime: merge HAVE_CONFIG_H change from gnulib
67645         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
67647 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67650         Use "neg %eax".
67652         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
67653         __rlim_t cast.
67654         (struct rusage): Use anonymous union to pad each field to
67655         __syscall_slong_t.
67657 2012-05-21  David S. Miller  <davem@davemloft.net>
67659         * Makefules (o-iterator): Remove .s cases.
67660         (compile-command.s): Delete.
67661         (COMPILE.s): Delete.
67662         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
67664 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
67666         * configure.in (libc_cv_predef_stack_protector): Only consider
67667         "foobar" and "__stack_chk_fail" lines in libc_undefs.
67668         * configure: Regenerated.
67670 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67673         New macro.  Use R*LP on int and pointer.
67674         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
67675         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
67676         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
67677         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
67679         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
67680         [__WORDSIZE_TIME64_COMPAT32] instead of
67681         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
67682         (struct utmp): Likewise.
67683         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
67684         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
67685         Renamed to ...
67686         (__WORDSIZE_TIME64_COMPAT32): This.
67687         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
67688         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
67689         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
67690         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
67691         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
67692         (__WORDSIZE_TIME64_COMPAT32): New macro.
67694 2012-05-21  Andreas Jaeger  <aj@suse.de>
67696         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
67697         only if [SHARED]. Add prototype for __wcschr_ia32.
67699 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67701         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
67702         of %rbp unmolested in the jmp_buf while mangling the low bits.
67703         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
67704         unmolested high bits of %rbp while demangling the low bits.
67705         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67707 2012-05-21  Andreas Jaeger  <aj@suse.de>
67709         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
67710         * sunrpc/svc_simple.c: Use it for registerrpc.
67711         * sunrpc/xcrypt.c: Use it for passwd2des.
67713         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
67715 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67717         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
67718         Don't define if [__SYSCALL_WORDSIZE != 32].
67719         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
67720         New macro.
67722 2012-05-21  Bruno Haible  <bruno@clisp.org>
67723             Andreas Jaeger  <aj@suse.de>
67725         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
67726         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
67727         inptr and inend for must_buffer_ch.
67728         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
67729         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
67730         * stdio-common/Makefile (tests): Remove bug15.
67731         (bug15-ENV): Remove macro.
67732         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
67733         anymore.
67735 2012-05-19  Andreas Jaeger  <aj@suse.de>
67736             Roland McGrath  <roland@hack.frob.com>
67738         * manual/contrib.texi: Completely rewritten. It contains now an
67739         alphabetical list of contributors and their contributions.
67741 2012-05-21  Richard Henderson  <rth@twiddle.net>
67743         * misc/getauxval.c (__getauxval): Use unsigned long int.
67744         * misc/sys/auxv.h: Include <sys/cdefs.h>.
67745         (getauxval): Use unsigned long int.
67747 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67749         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67751 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67753         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
67754         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
67755         __alignof__ (long double).
67757 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67761 2012-05-20  Richard Henderson  <rth@twiddle.net>
67763         * misc/getauxval.c: New file.
67764         * misc/sys/auxv.h: New file.
67765         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
67766         (routines): Add getauxval.
67767         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
67768         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
67769         * elf/dl-sysdep.c (_dl_auxv): Remove.
67770         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
67771         * elf/dl-support.c (_dl_auxv): New variable.
67772         (_dl_aux_init): Initialize it.
67773         * manual/startup.texi (Auxiliary Vector): New node.
67774         * sysdeps/generic/bits/hwcap.h: New file.
67775         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
67776         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
67777         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
67778         * sysdeps/sparc/sysdep.h: ... here.  Include it.
67779         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
67780         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
67781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67782         Update.
67783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
67784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
67785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
67786         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
67787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
67790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
67792 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67796 2012-05-19  David S. Miller  <davem@davemloft.net>
67798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67800 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67802         [BZ #14123]
67803         * math/s_ccosh.c: Include <float.h>
67804         (__ccosh): Avoid internal overflow calculating sinh and cosh
67805         values before multiplying by sin and cos values.
67806         * math/s_ccoshf.c: Likewise.
67807         * math/s_ccoshl.c: Likewise.
67808         * math/s_csin.c: Likewise.
67809         * math/s_csinf.c: Likewise.
67810         * math/s_csinl.c: Likewise.
67811         * math/s_csinh.c: Likewise.
67812         * math/s_csinhf.c: Likewise.
67813         * math/s_csinhl.c: Likewise.
67814         * math/libm-test.inc (ccos_test): Add more tests.
67815         (ccosh_test): Likewise.
67816         (csin_test): Likewise.
67817         (csinh_test): Likewise.
67818         * sysdeps/i386/fpu/libm-test-ulps: Update.
67819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67821 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
67823         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
67824         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
67826         * sysdeps/x86_64/x32/_itoa.h: Add comment.
67828 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67830         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
67831         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
67832         * sysdeps/powerpc/soft-fp/Versions: Likewise.
67833         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
67834         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
67835         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
67836         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
67837         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
67838         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
67839         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
67840         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
67841         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
67842         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
67843         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
67844         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
67845         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
67846         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
67847         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
67848         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
67849         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
67850         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
67851         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
67852         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
67853         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
67854         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
67855         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
67856         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
67857         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67858         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
67859         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
67860         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
67862 2012-05-18  Andreas Jaeger  <aj@suse.de>
67864         * csu/.gitignore: Delete.
67866 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67868         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
67869         (timex): Use __syscall_slong_t.
67871 2012-05-18  Andreas Jaeger  <aj@suse.de>
67872             Carlos O'Donell  <carlos_odonell@mentor.com>
67874         * manual/install.texi (Configuring and compiling): Update
67875         description about files modified in the source directory.
67876         * INSTALL: Regenerated.
67878 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67880         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
67881         value.  Use "or" to set return value to -1.
67882         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
67883         negate return value.
67885 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67887         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67888         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67889         failure if the compiler has Graphite support disabled.
67890         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67891         Likewise.
67892         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67893         (CFLAGS-memmove.c): Likewise.
67894         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67895         Likewise.
67897 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67899         * sysdeps/x86_64/x32/_itoa.h: New file.
67901         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67902         getdents system call only if kernel and user dirents have the
67903         same d_ino and d_off.
67905         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67906         LLONG_MAX != LONG_MAX.
67907         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67908         (_fitoa_word): Likewise.
67910         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67911         years.
67912         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67913         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67914         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67916         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67917         include <bits/wordsize.h>.  Check __x86_64__ instead of
67918         __WORDSIZE.
67919         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67920         if __x86_64__ is defined.  Use anonymous union on fpstate.
67922         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67923         anonymous union.
67925 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67927         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67928         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67929         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67930         Refer to _rtld_local_ro instead of _rtld_global_ro.
67931         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67932         Likewise.
67933         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67934         Likewise.
67935         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67936         Likewise.
67937         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67938         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67939         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67941         [BZ #10882]
67942         * sysdeps/powerpc/powerpc32/dl-machine.c
67943         (__elf_machine_runtime_setup) [PROF]: Don't reference
67944         _dl_prof_resolve.
67946 2012-05-18  Andreas Jaeger  <aj@suse.de>
67948         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67949         function only available for GCCs before 3.4 since GCC 3.4
67950         introduced a builtin.
67951         (lrint): Likewise.
67952         (llrintf): Likewise.
67953         (llrint): Likewise.
67954         (fmaxf): Likewise.
67955         (fmax): Likewise.
67956         (fminf): Likewise.
67957         (fmin): Likewise.
67958         (rint): Likewise.
67959         (rintf): Likewise.
67960         (nearbyint): Likewise.
67961         (nearbyintf): Likewise.
67962         (ceil): Likewise.
67963         (ceilf): Likewise.
67964         (floor): Likewise.
67965         (floorf): Likewise.
67967 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67969         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67970         on both fields and cast pointer to __syscall_ulong_t.
67972         * bits/types.h (__fsword_t): New type.
67973         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67974         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67975         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67976         (__FSWORD_T_TYPE): Likewise.
67977         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67978         (__FSWORD_T_TYPE): Likewise.
67979         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67980         (__FSWORD_T_TYPE): Likewise.
67981         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67982         (__FSWORD_T_TYPE): Likewise.
67983         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67984         __SWORD_TYPE with __fsword_t.
67985         (statfs64): Likewise.
67987 2012-05-17  David S. Miller  <davem@davemloft.net>
67989         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67991 2012-05-17  Andreas Jaeger  <aj@suse.de>
67993         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67994         warning.
67996 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67998         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68000 2012-05-17  Andreas Jaeger  <aj@suse.de>
68002         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68003         when it is used.
68005 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68007         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68009 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68011         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68012         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68014 2012-05-17  Andreas Jaeger  <aj@suse.de>
68015             Carlos O'Donell  <carlos_odonell@mentor.com>
68017         [BZ #14059]
68018         * sysdeps/x86_64/multiarch/init-arch.h
68019         (bit_YMM_Usable): Rename to...
68020         (bit_AVX_Usable): ... this.
68021         (bit_FMA4_Usable): New macro.
68022         (bit_XMM_state): New macro.
68023         (bit_YMM_state): New macro.
68024         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68025         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68026         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68027         (CPUID_OSXSAVE): New macro.
68028         (CPUID_AVX): New macro.
68029         (CPUID_FMA4): New macro.
68030         (index_YMM_Usable): Rename to...
68031         (index_AVX_Usable): ... this.
68032         (HAS_AVX): Use HAS_ARCH_FEATURE.
68033         (HAS_FMA4): Likewise.
68034         (HAS_YMM_USABLE): Remove.
68035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68036         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68037         are present.
68038         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68039         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68040         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68041         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68042         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68044 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68046         * math/libm-test.c: Support platforms without multiple rounding modes.
68047         * math/bug-nextafter.c: Support platforms without FP exceptions.
68048         * math/bug-nexttoward.c: Likewise.
68049         * math/test-fenv.c: Likewise.
68050         * math/test-misc.c: Likewise.
68051         * stdlib/bug-getcontext.c: Likewise.
68053 2012-05-17  Andreas Jaeger  <aj@suse.de>
68055         * manual/examples/search.c (critter_cmp): Change signature to
68056         avoid warnings.
68057         * manual/string.texi (Collation Functions): Likewise.
68059 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68061         * bits/types.h: Fold copyright years.
68062         * bits/typesizes.h: Likewise.
68063         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68064         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68065         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68066         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68067         * time/time.h: Likewise.
68069 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68071         [BZ #208]
68072         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68073         in instead of returning them.  Return void.
68074         (__libc_mallinfo): Accumulate over all arenas.
68075         (__malloc_stats): Adjust for change in int_mallinfo interface.
68077 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68079         [BZ #10375]
68080         * configure.in (NM): Add AC_CHECK_TOOL for it.
68081         (libc_extra_cflags): New substituted variable.
68082         Check for -fstack-protector being used implicitly.
68083         * configure: Regenerated.
68084         * config.make.in (config-extra-cflags): New variable,
68085         gets @libc_extra_cflags@.
68086         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68088         [BZ #10375]
68089         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68090         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68091         * configure: Regenerated.
68092         * config.make.in (CPPUNDEFS): New substituted variable.
68093         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68094         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68095         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68097 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68099         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68100         (mq_attr): Use __syscall_slong_t.
68102 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68104         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68105         Check __x86_64__ instead of __WORDSIZE.
68106         (_STAT_VER_LINUX): Likewise.
68107         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68108         __syscall_ulong_t and __syscall_slong_t.
68109         (stat64): Likewise.
68111 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68113         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68115 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68117         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68119 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68121         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68122         __syscall_ulong_t.
68124         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68125         include <bits/wordsize.h>.  Check __x86_64__ instead of
68126         __WORDSIZE.
68127         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68128         defined.
68129         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68131         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68132         include <bits/wordsize.h>.  Check __x86_64__ instead of
68133         __WORDSIZE.
68134         (user_regs_struct): Use "__extension__ unsigned long long"
68135         instead of "unsigned long" if __x86_64__ is defined.
68136         (user): Likewise.  Pad after pointer field if __ILP32__ is
68137         defined.
68139 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68141         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68142         versions 5 to 9.
68143         * configure: Regenerated.
68144         * manual/install.texi (texinfo): Increase version requirement to
68145         4.5 or later.
68146         * INSTALL: Regenerated.
68148         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68150 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68152         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68154         * sysdeps/x86_64/x32/ffs.c: New file.
68156         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68157         __syscall_ulong_t.
68158         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68159         defined.  Use __syscall_ulong_t.
68160         (shminfo): Use __syscall_ulong_t.
68161         (shm_info): Likewise.
68163         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68164         __syscall_ulong_t.
68166         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68167         <bits/wordsize.h>.
68168         (msgqnum_t): Use __syscall_ulong_t.
68169         (msglen_t): Likewise.
68170         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68171         __syscall_ulong_t.
68173         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68174         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68176         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68178         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68179         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68181         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68182         __syscall_slong_t.
68184         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68185         include <bits/wordsize.h>.  Check __x86_64__ instead of
68186         __WORDSIZE.
68188         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68189         "unsigned long long int" if __x86_64__ is defined.
68190         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68192         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68193         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68194         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68196         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68197         <stdint.h>.
68198         (GET_PC): Cast to uintptr_t first.
68199         (GET_FRAME): Likewise.
68200         (GET_STACK): Likewise.
68202         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68203         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68204         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68205         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68206         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68207         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68208         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68209         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68210         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68211         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68212         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68213         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68214         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68215         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68216         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68217         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68218         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68219         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68220         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68221         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68222         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68223         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68224         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68225         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68226         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68227         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68228         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68229         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68230         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68232 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
68234         * Makerules (+depfiles): Also collect depfiles from .oS in
68235         $(extra-objs).
68236         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
68237         .oS, $(libnldbl-routines)).
68239         * Makerules (native-compile-mkdep-flags): Define.
68240         * sunrpc/Makefile (extra-objs): Add $(addprefix
68241         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
68242         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
68243         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
68244         calling $(make-target-directory).
68246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68248         * bits/types.h (__snseconds_t): Removed.
68249         * time/time.h (struct timespec): Replace __snseconds_t with
68250         __syscall_slong_t.
68251         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
68252         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
68253         Likewise.
68254         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68255         (__SNSECONDS_T_TYPE): Likewise.
68256         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68257         (__SNSECONDS_T_TYPE): Likewise.
68258         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68259         (__SNSECONDS_T_TYPE): Likewise.
68261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68263         * sysdeps/mach/hurd/bits/typesizes.h
68264         (__SYSCALL_SLONG_TYPE): New macro.
68265         (__SYSCALL_ULONG_TYPE): Likewise.
68267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68269         * bits/types.h (__syscall_slong_t): New type.
68270         (__syscall_ulong_t): Likewise.
68272         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
68273         (__SYSCALL_ULONG_TYPE): Likewise.
68274         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68275         (__SYSCALL_SLONG_TYPE): Likewise.
68276         (__SYSCALL_ULONG_TYPE): Likewise.
68277         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68278         (__SYSCALL_SLONG_TYPE): Likewise.
68279         (__SYSCALL_ULONG_TYPE): Likewise.
68280         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68281         (__SYSCALL_SLONG_TYPE): Likewise.
68282         (__SYSCALL_ULONG_TYPE): Likewise.
68284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68286         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
68287         Add sigaltstack-offsets.sym.
68288         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
68289         <sigaltstack-offsets.h>.
68290         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
68291         longjmp_msg pointer.
68292         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
68293         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
68294         signal stack.
68295         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
68297 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68299         * elf/stackguard-macros.h: Remove file.
68300         * sysdeps/generic/stackguard-macros.h: New file.
68301         * sysdeps/i386/stackguard-macros.h: Likewise.
68302         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
68303         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
68304         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
68305         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
68306         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
68307         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
68308         * sysdeps/x86_64/stackguard-macros.h: Likewise.
68309         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
68310         <elf/stackguard-macros.h>.
68312         [BZ #14109]
68313         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
68314         __aligned__ in attribute.
68315         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
68316         (gregset_t): Likewise.
68318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68320         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
68321         * sysdeps/x86_64/64/Implies-after: Here.  New file.
68322         * sysdeps/x86_64/x32/Implies-after: New file.
68324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68326         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
68327         and access return value for _dl_profile_fixup.  Use R10_LP to
68328         load frame size.
68330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68332         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
68334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68336         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
68337         * sysdeps/x86_64/x32/sysdep.h: New file.
68339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68341         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
68342         * sysdeps/x86_64/setjmp.S: Likewise.
68344 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68346         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
68347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
68348         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
68349         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
68350         remove unused global constant.
68352 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
68354         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
68355         include of <not-cancel.h>.
68357 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68359         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
68361 2012-05-15  Jeff Law  <law@redhat.com>
68362             Andreas Jaeger  <aj@suse.de>
68364         [BZ #13594]
68365         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
68366         out from...
68367         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
68368         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
68369         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
68370         code changing __hst_map_handle.map.
68372 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68374         * configure.in (sysnames): Look for Implies-before and Implies-after
68375         files.
68376         * configure: Regenerated.
68378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68380         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
68381         8-byte data alignment with LP_SIZE alignment.
68383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68385         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
68386         into R10_LP.
68388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68390         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
68392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68394         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
68395         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
68396         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
68397         Likewise.
68398         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68402         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
68403         (stackinfo_sub_sp): Likewise.
68405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68407         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
68408         RAX_LP.
68410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68413         into R*_LP.
68415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68417         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68418         sizes into R*_LP.
68420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68422         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68426         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68427         into R11_LP and load __x86_64_shared_cache_size_half into
68428         R8_LP.
68430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68432         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68433         R8_LP.
68435 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68438         logb for POWER7.
68439         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68440         logbf for POWER7.
68441         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68442         logbl for POWER7.
68443         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68444         powerpc32/power7/fpu/s_logb.c via #include.
68445         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68446         powerpc32/power7/fpu/s_logbf.c via #include.
68447         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68448         powerpc32/power7/fpu/s_logbl.c via #include.
68450 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68452         * README.libm: Remove file.
68454 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68456         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68457         count for x32.  Use R*_LP and omit operand-size suffix.
68459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68461         * shlib-versions: Move x86_64-.*-linux.* entries to ...
68462         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
68463         * sysdeps/x86_64/x32/shlib-versions: New file.
68465 2012-05-14  Roland McGrath  <roland@hack.frob.com>
68467         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68468         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68469         Use _dl_fatal_printf instead.
68471 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68473         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68474         set if not set by the user.  Do not allow for being unset.
68475         * sysdeps/unix/sysv/linux/configure: Regenerated.
68477 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68479         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68480         the `q' suffix from lea and replace .quad with ASM_ADDR.
68482 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68485         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
68486         instead of $17.
68487         (PTR_DEMANGLE): Likewise.
68489 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68491         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68492         (LP_OP): Likewise.
68493         (ASM_ADDR): Likewise.
68494         (RAX_LP): Likewise.
68495         (RBP_LP): Likewise.
68496         (RBX_LP): Likewise.
68497         (RCX_LP): Likewise.
68498         (RDI_LP): Likewise.
68499         (RSI_LP): Likewise.
68500         (RSP_LP): Likewise.
68501         (R8_LP): Likewise.
68502         (R9_LP): Likewise.
68503         (R10_LP): Likewise.
68504         (R10_LP): Likewise.
68505         (R11_LP): Likewise.
68506         (R12_LP): Likewise.
68507         (R13_LP): Likewise.
68508         (R14_LP): Likewise.
68509         (R15_LP): Likewise.
68511 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68513         * sysdeps/x86_64/x32/dl-machine.h: New file.
68515 2012-05-14  Andreas Jaeger  <aj@suse.de>
68517         * manual/Makefile (subdir): Remove export of subdir.
68518         (all): Remove target.
68519         (.PHONY): Remove all from list.
68520         (mkinstalldirs): Remove.
68521         (.PHONY): Remove installdirs from list.
68522         ($(inst_infodir)/libc.info): Use make-target-directory.
68523         (installdirs): Remove.
68524         (subdir_%): Remove.
68525         (glibc-targets): Remove.
68526         (lib): Remove.
68527         (stubs): Remove.
68528         ($(objpfx)stubs ../po/manual.pot): Remove.
68529         ($(objpfx)stamp%): Remove.
68530         (make-target-directory): Remove.
68531         (subdir_install): Remove.
68532         (routines): Remove.
68533         (aux): Remove.
68534         (sources): Remove.
68535         (objects): Remove.
68536         (headers): Remove.
68538         [BZ #13750]
68539         * manual/.gitignore: Remove, it's not needed anymore.
68540         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
68541         all files in it.
68542         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
68543         directory.
68544         (texis): Renamed to $(objpfx)texis.
68545         (texis-path): New, contains path to generated files.
68546         (chapters.%): Use texis-path for complete path, add extra argument
68547         libc-texinfo.sh.
68548         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68549         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
68550         (summary,texi, stamp-summary): Use complete path of
68551         files. Generate files in build dir.
68552         (dir-add.texi): Build in build dir.
68553         (libm-err.texi,stamp-libm-err): Likewise.
68554         (version.texi, stamp-version): Likewise.
68555         (.%c.texi): Likewise.
68556         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
68557         (mostlyclean): Remove target.
68558         (realclean): Remove target.
68559         (generated): Add new variable with contents from mostlyclean and
68560         realclean, remove entries duplicated in common-mostlyclean, add
68561         stamp-libm-err and stamp-version.
68562         (generated-dirs): Add libc directory.
68563         ($(inst_infodir)/libc.info): Install files from build dir.
68565         * manual/install.texi (Configuring and compiling): Adjust since
68566         the info files are not part of the tar ball anymore.
68568 2012-05-14  Andreas Jaeger  <aj@suse.de>
68570         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
68571         variable.
68573 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68575         [BZ #13717]
68576         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68577         to 2.2.0 where earlier.
68578         * sysdeps/unix/sysv/linux/configure: Regenerated.
68579         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
68580         Remove conditional code.
68581         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68582         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
68583         Remove conditional code.
68584         [!__NR_lchown]: Likewise.
68585         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68586         [__NR_lchown]: Likewise.
68587         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
68588         comment referencing __ASSUME_LCHOWN_SYSCALL.
68589         * sysdeps/unix/sysv/linux/i386/sigaction.c
68590         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68591         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68592         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
68593         Remove conditional code.
68594         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
68595         (__protocol_available): Remove #if 0 code.
68596         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
68597         conditional code.
68598         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
68599         * sysdeps/unix/sysv/linux/kernel-features.h
68600         (__ASSUME_GETCWD_SYSCALL): Don't define.
68601         (__ASSUME_REALTIME_SIGNALS): Likewise.
68602         (__ASSUME_PREAD_SYSCALL): Likewise.
68603         (__ASSUME_PWRITE_SYSCALL): Likewise.
68604         (__ASSUME_POLL_SYSCALL): Likewise.
68605         (__ASSUME_LCHOWN_SYSCALL): Likewise.
68606         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
68607         non-SPARC.
68608         (__ASSUME_SIOCGIFNAME): Don't define.
68609         (__ASSUME_MSG_NOSIGNAL): Likewise.
68610         (__ASSUME_SENDFILE): Define unconditionally.
68611         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
68612         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
68613         conditional code.
68614         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
68615         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
68616         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68617         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68618         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
68619         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68620         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
68622         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68623         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
68625         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68626         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
68628         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68629         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
68631         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68632         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
68634         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68635         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
68637         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
68640         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68641         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
68643         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68645         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
68646         Remove conditional code.
68647         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68648         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68649         Remove conditional code.
68650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68651         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
68652         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
68653         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68654         Remove conditional code.
68655         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68656         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
68657         Remove conditional code.
68658         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68659         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
68660         Remove conditional code.
68661         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68662         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68663         Remove conditional code.
68664         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68665         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68666         Remove conditional code.
68667         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68668         * sysdeps/unix/sysv/linux/sh/pwrite64.c
68669         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68670         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68671         * sysdeps/unix/sysv/linux/sigaction.c
68672         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68673         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68674         * sysdeps/unix/sysv/linux/sigpending.c
68675         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68676         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68677         * sysdeps/unix/sysv/linux/sigprocmask.c
68678         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68679         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68680         * sysdeps/unix/sysv/linux/sigsuspend.c
68681         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68682         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68683         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68684         (__libc_missing_rt_sigs): Remove.
68685         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
68686         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
68687         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
68688         Remove conditional code.
68689         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
68690         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
68691         return 1.
68692         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
68693         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
68694         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
68695         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
68697 2012-05-14  Andreas Jaeger  <aj@suse.de>
68699         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
68700         it's not used in glibc.
68701         (__coshm1): Likewise.
68702         (__acosh1p): Likewise.
68703         (__sgn): Likewise.
68705         * manual/string.texi (Copying and Concatenation): Add missing
68706         variable in concat example.
68707         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
68709 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68711         [BZ #14103]
68712         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
68713         __builtin_clzl with __builtin_clzll.
68715 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68717         [BZ #14104]
68718         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
68719         libc_freeres_ptr.
68721 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68723         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
68724         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
68725         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
68726         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
68728 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
68730         * NEWS: Update ia64 info.
68732 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
68734         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
68735         used as bcopy.
68737 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
68739         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
68740         * sysdeps/unix/syscalls.list (dup3): Likewise.
68741         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
68742         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
68744 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68746         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
68747         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
68749 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68751         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
68752         thread pointer.
68753         (TLS_IE): Use mov/add instead of movq/addq to load thread
68754         pointer.
68755         (TLS_GD_PREFIX): New.
68756         (TLS_GD): Use it.
68758 2012-05-11  David S. Miller  <davem@davemloft.net>
68760         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
68761         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
68762         (_FPU_SETCW): Likewise.
68764 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68766         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
68767         is 32-byte aligned.
68769 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
68771         [BZ #11837]
68772         * iconvdata/gb18030.c: Update tables.
68773         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
68774         characters specially.
68775         (BODY for TO_LOOP): Add encoding of missing ranges.
68777 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
68779         [BZ #13673]
68780         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
68781         * sysdeps/mach/hurd/dup3.c: Likewise.
68782         * sysdeps/mach/hurd/readlinkat.c: Likewise.
68783         * sysdeps/powerpc/memmove.c:: Likewise.
68785 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68787         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
68788         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
68790 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68792         * elf/elf.h (R_X86_64_RELATIVE64): New.
68793         (R_X86_64_NUM): Updated.
68794         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68795         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
68796         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
68797         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
68798         tst-quad1pie tst-quad2pie
68799         (modules-names): Add tst-quadmod1 tst-quadmod2.
68800         ($(objpfx)tst-quad1): New dependency.
68801         ($(objpfx)tst-quad2): Likewise.
68802         ($(objpfx)tst-quad1pie): Likewise.
68803         ($(objpfx)tst-quad2pie): Likewise.
68804         * sysdeps/x86_64/tst-quad1.c: New file.
68805         * sysdeps/x86_64/tst-quad1pie.c: New file.
68806         * sysdeps/x86_64/tst-quad2.c: Likewise.
68807         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
68808         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
68809         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
68810         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
68811         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
68813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68815         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
68816         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
68817         * streams/stropts.h (t_scalar_t): Define type.
68819         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
68820         (_PATH_PRESERVE): Set to "/var/lib".
68821         (_PATH_RWHODIR): Set to "/var/spool/rwho".
68823         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
68824         instead of int.
68826         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
68827         if __dir_mkfile succeeded.
68829         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
68830         checking for _hurd_dtablesize.  Unlock it right after having
68831         finished _hurd_dtable allocation.
68833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68835         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
68836         * sysdeps/mach/hurd/configure: Regenerated.
68837         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
68838         special-casing to...
68839         * sysdeps/gnu/configure.in: ... this new file.
68840         * sysdeps/unix/sysv/linux/configure: Regenerated.
68841         * sysdeps/gnu/configure: New generated file.
68843         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
68844         for Linux: use nsec instead of usec, as well as:
68845         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
68846         members of type struct timespec.
68847         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
68848         New macros.
68849         (struct stat64): Likewise.
68850         (_STATBUF_ST_NSEC): New macro.
68851         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68853         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68854         __strtoul_internal rather than strtoul.
68856 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68858         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
68859         and reject them.
68861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68863         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
68864         which preserves existing values.
68865         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
68867 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68869         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
68870         TIMEOUT values.  Return EINVAL for NFDS values either negative or
68871         greater than FD_SETSIZE.
68873 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68875         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
68876         allocated, call __vm_protect to finish enabling the existing space, and
68877         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
68878         allocate the remainder.
68880 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68882         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
68883         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
68885 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68887         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68888         sysdeps/mach/hurd/readlink.c.
68890         * posix/tst-sysconf.c (posix_options): Only use
68891         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68892         _POSIX_SYNCHRONIZED_IO when they are defined
68893         * sysdeps/mach/hurd/bits/posix_opt.h:
68894         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68895         (_XOPEN_REALTIME): Undefine macro.
68896         (_XOPEN_REALTIME_THREADS): Undefine macro.
68897         (_XOPEN_SHM): Undefine macro.
68898         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68899         macro to -1.
68900         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68901         macro to -1.
68902         (_POSIX_ASYNC_IO): Undefine macro.
68903         (_POSIX_PRIORITIZED_IO): Undefine macro.
68904         (_POSIX_SPIN_LOCKS): Define macro to -1.
68906         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68907         SA_NODEFER, SA_RESETHAND.
68908         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68909         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68910         F_DUPFD_CLOEXEC.
68912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68914         * elf/Makefile (pldd-modules): Define unconditionally.
68916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68918         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68922         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68923         Return ENOENT when name is empty.
68924         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68926 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68928         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68930         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68934         Fix mlock in all cases except non-readable pages.
68935         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68936         instead of VM_PROT_ALL as parameter to __vm_wire function.
68938         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68939         (__mkdir): When path is `/', just fail with EEXIST.
68940         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68942 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68944         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68945         <sys/uio.h> (for writev).
68946         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68947         and <sys/param.h> (for MIN).
68949 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68951         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68952         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68953         if interrupted.
68955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68957         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68958         Depend on against $(link-rpcuserlibs).
68960 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68962         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68963         (__libc_stack_end): Do not use attribute_relro.
68964         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68965         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68966         to libthread-provided value.
68967         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68968         attribute_relro.
68970 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68972         [BZ #3748]
68973         * bits/libc-lock.h (__libc_once_get): New macro.
68974         * sysdeps/mach/bits/libc-lock.h: Likewise.
68975         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68976         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68977         instead of using implementation details.
68979         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68980         * libio/freopen.c: Likewise.
68981         * libio/freopen64.c: Likewise.
68982         * misc/syslog.c: Likewise.
68983         * nscd/connections.c: Likewise.
68984         * nscd/netgroupcache.c: Likewise.
68985         * sysdeps/posix/getcwd.c: Likewise.
68987 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68989         * math/w_ilogbf.c: Add #include <limits.h>.
68991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68993         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68994         path instead of returning without unlocking.
68996         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68997         immediate-write ioctls.
68998         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69002         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69003         __builtin_frame_address instead of making assumptions about the
69004         location of the return address relative to DATA.  Force early load of
69005         the return address.
69006         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69007         __builtin_frame_address.
69009         dup3 for GNU Hurd.
69010         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69011         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69012         implement dup3 and do some further code clean-ups.
69013         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69014         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69016 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69018         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69020         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69021         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69022         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69023         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69024         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69025         d->port.lock.
69027         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69028         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69029         when handler == SIG_ERR, not when handler != SIG_ERR.
69031 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69033         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69034         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69035         definitions.
69037         accept4 for GNU Hurd.
69038         * include/sys/socket.h (__libc_accept4): New prototype.
69039         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69040         to implement __libc_accept4.
69041         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69042         __libc_accept4.
69043         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69045         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69046         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69047         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69048         signal-defines.sym.
69050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69052         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69054 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69056         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69057         assertion on O_CLOEXEC flag.
69058         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69059         * hurd/intern-fd.c: Likewise.
69060         * hurd/port2fd.c: Likewise.
69062 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69064         [BZ #3906]
69065         * bits/in.h (IPV6_PKTINFO): Define new macro.
69066         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69068 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69070         [BZ #13954]
69071         [BZ #13955]
69072         [BZ #13956]
69073         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69074         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69075         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69076         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69077         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69078         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69079         * math/libm-test.inc (logb_test) : Additional logb tests.
69081 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69082             Andreas Jaeger  <aj@suse.de>
69084         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69085         * configure: Regenerated.
69086         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69087         * config.make.in (link-obsolete-rpc): New substituted variable.
69088         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69089         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69090         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69091         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69092         so that libc.a contains the symbols.
69093         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69094         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69095         * sunrpc/auth_none.c: Likewise.
69096         * sunrpc/auth_unix.c: Likewise.
69097         * sunrpc/authdes_prot.c: Likewise.
69098         * sunrpc/authuxprot.c: Likewise.
69099         * sunrpc/clnt_gen.c: Likewise.
69100         * sunrpc/clnt_perr.c: Likewise.
69101         * sunrpc/clnt_raw.c: Likewise.
69102         * sunrpc/clnt_simp.c: Likewise.
69103         * sunrpc/clnt_tcp.c: Likewise.
69104         * sunrpc/clnt_udp.c: Likewise.
69105         * sunrpc/clnt_unix.c: Likewise.
69106         * sunrpc/des_crypt.c: Likewise.
69107         * sunrpc/des_soft.c: Likewise.
69108         * sunrpc/get_myaddr.c: Likewise.
69109         * sunrpc/key_call.c: Likewise.
69110         * sunrpc/key_prot.c: Likewise.
69111         * sunrpc/netname.c: Likewise.
69112         * sunrpc/pm_getmaps.c: Likewise.
69113         * sunrpc/pm_getport.c: Likewise.
69114         * sunrpc/pmap_clnt.c: Likewise.
69115         * sunrpc/pmap_prot.c: Likewise.
69116         * sunrpc/pmap_prot2.c: Likewise.
69117         * sunrpc/pmap_rmt.c: Likewise.
69118         * sunrpc/publickey.c: Likewise.
69119         * sunrpc/rpc_cmsg.c: Likewise.
69120         * sunrpc/rpc_common.c: Likewise.
69121         * sunrpc/rpc_dtable.c: Likewise.
69122         * sunrpc/rpc_prot.c: Likewise.
69123         * sunrpc/rpc_thread.c: Likewise.
69124         * sunrpc/rtime.c: Likewise.
69125         * sunrpc/svc.c: Likewise.
69126         * sunrpc/svc_auth.c: Likewise.
69127         * sunrpc/svc_raw.c: Likewise.
69128         * sunrpc/svc_run.c: Likewise.
69129         * sunrpc/svc_tcp.c: Likewise.
69130         * sunrpc/svc_udp.c: Likewise.
69131         * sunrpc/svc_unix.c: Likewise.
69132         * sunrpc/svcauth_des.c: Likewise.
69133         * sunrpc/xcrypt.c: Likewise.
69134         * sunrpc/xdr.c: Likewise.
69135         * sunrpc/xdr_array.c: Likewise.
69136         * sunrpc/xdr_float.c: Likewise.
69137         * sunrpc/xdr_intXX_t.c: Likewise.
69138         * sunrpc/xdr_mem.c: Likewise.
69139         * sunrpc/xdr_rec.c: Likewise.
69140         * sunrpc/xdr_ref.c: Likewise.
69141         * sunrpc/xdr_sizeof.c: Likewise.
69142         * sunrpc/xdr_stdio.c: Likewise.
69144 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69146         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69147         change.  Update copyright years.
69149 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69151         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69153 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69154             Joseph Myers  <joseph@codesourcery.com>
69155             Paul Pluzhnikov  <ppluzhnikov@google.com>
69157         [BZ #14012]
69158         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69159         requiring rpcgen.
69160         [cross-compiling] (extra-libs): Likewise.
69161         [cross-compiling] (extra-libs-others): Likewise.
69162         [cross-compiling] (librpcsvc-routines): Likewise.
69163         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69164         [cross-compiling] (omit-deps): Likewise.
69165         (sunrpc-CPPFLAGS): New variable.
69166         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69167         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69168         (cross-rpcgen-objs): New variable.
69169         (extra-objs): Append $(cross-rpcgen-objs).
69170         ($(cross-rpcgen-objs)): New rule.
69171         ($(objpfx)cross-rpcgen): Likewise.
69172         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69173         comment.
69174         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69175         ($(objpfx)x%.stmp): Likewise.
69176         * sunrpc/proto.h [IS_IN_build] (_): Define.
69177         [IS_IN_build] (_libc_intl_domainname): Likewise.
69179 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69181         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69182         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69183         and R_X86_64_TPOFF64.
69185 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69187         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69188         sysdeps/unix/sysv/syscalls.list.
69189         (stime): Likewise.
69190         (utime): Likewise.
69191         * sysdeps/unix/sysv/syscalls.list: Remove file.
69193 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69195         [BZ #3440]
69196         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69197         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69198         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69199         (__LC_IDENTIFICATION): Make these macros useful in #if
69200         expressions, as required by C99.
69202 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69204         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69205         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69206         after this.
69208 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69210         * stdlib/longlong.h: Updated from GCC.
69212 2012-05-09  Andreas Jaeger  <aj@suse.de>
69214         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69215         default is first entry.
69216         (run_mode): Set type.
69217         (main): Remove informal message about syslog.
69218         (options): Fix typo.
69220         [BZ #14053]
69221         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69222         to asm.
69223         (lrint): Likewise.
69224         (llrintf): Likewise.
69225         (llrint): Likewise.
69226         (rint): Likewise.
69227         (rintf): Likewise.
69228         (nearbyint): Likewise.
69229         (nearbyintf): Likewise.
69231 2012-05-09  Andreas Jaeger  <aj@suse.de>
69232             Pedro Alves  <palves@redhat.com>
69234         * nscd/nscd.c (run_mode): Use enum.
69235         (main): Cleanup coding style issue.
69237 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
69238             Andreas Jaeger  <aj@suse.de>
69240         * nscd/nscd.c (go_background): Replaced with...
69241         (run_mode): ... this.
69242         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
69243         (options): Add -F --foreground.
69244         (main): Implement it.
69245         (parse_opt): Parse it.
69247 2012-05-09  Andreas Jaeger  <aj@suse.de>
69249         [BZ #14083]
69250         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
69251         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
69252         -Wconversion warning.
69253         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
69254         Likewise.
69256 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
69258         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
69259         == 0.
69260         (LC_ALL): Use macro-int-constant.
69261         (LC_COLLATE): Likewise.
69262         (LC_CTYPE): Likewise.
69263         (LC_MESSAGES): Likewise.
69264         (LC_MONETARY): Likewise.
69265         (LC_NUMERIC): Likewise.
69266         (LC_TIME): Likewise.
69267         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
69268         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69269         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69270         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
69271         Specify type.
69272         [C99-based standards] (float_t): Expect type.
69273         [C99-based standards] (double_t): Expect type.
69274         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
69275         type.
69276         [C99-based standards] (HUGE_VALL): Likewise.
69277         [C99-based standards] (INFINITY): Likewise.
69278         [C99-based standards] (NAN): Likewise.
69279         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69280         [C99-based standards] (FP_NAN): Likewise.
69281         [C99-based standards] (FP_NORMAL): Likewise.
69282         [C99-based standards] (FP_SUBNORMAL): Likewise.
69283         [C99-based standards] (FP_ZERO): Likewise.
69284         [C99-based standards] (FP_FAST_FMA): Use
69285         optional-macro-int-constant.  Specify type.  Require == 1.
69286         [C99-based standards] (FP_FAST_FMAF): Likewise.
69287         [C99-based standards] (FP_FAST_FMAL): Likewise.
69288         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
69289         [C99-based standards] (FP_ILOGBNAN): Likewise.
69290         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
69291         Specify type.
69292         [C99-based standards] (MATH_ERREXCEPT): Likewise.
69293         [C99-based standards] (math_errhandling): Specify type.
69294         [ISO99 || ISO11] (signgam): Do not allow.
69295         [non-C99-based standards] (copysignf): Do not allow.
69296         [non-C99-based standards] (exp2f): Likewise.
69297         [non-C99-based standards] (log2f): Likewise.
69298         [non-C99-based standards] (modff): Allow.
69299         [non-C99-based standards] (erff): Do not allow.
69300         [non-C99-based standards] (erfcf): Likewise.
69301         [non-C99-based standards] (gammaf): Likewise.
69302         [non-C99-based standards] (hypotf): Likewise.
69303         [non-C99-based standards] (j0f): Likewise.
69304         [non-C99-based standards] (j1f): Likewise.
69305         [non-C99-based standards] (jnf): Likewise.
69306         [non-C99-based standards] (lgammaf): Likewise.
69307         [non-C99-based standards] (tgammaf): Likewise.
69308         [non-C99-based standards] (y0f): Likewise.
69309         [non-C99-based standards] (y1f): Likewise.
69310         [non-C99-based standards] (ynf): Likewise.
69311         [non-C99-based standards] (isnanf): Likewise.
69312         [non-C99-based standards] (acoshf): Likewise.
69313         [non-C99-based standards] (asinhf): Likewise.
69314         [non-C99-based standards] (atanhf): Likewise.
69315         [non-C99-based standards] (cbrtf): Likewise.
69316         [non-C99-based standards] (expm1f): Likewise.
69317         [non-C99-based standards] (ilogbf): Likewise.
69318         [non-C99-based standards] (log1pf): Likewise.
69319         [non-C99-based standards] (logbf): Likewise.
69320         [non-C99-based standards] (nextafterf): Likewise.
69321         [non-C99-based standards] (remainderf): Likewise.
69322         [non-C99-based standards] (rintf): Likewise.
69323         [non-C99-based standards] (scalbf): Likewise.
69324         [non-C99-based standards] (copysignl): Likewise.
69325         [non-C99-based standards] (exp2l): Likewise.
69326         [non-C99-based standards] (log2l): Likewise.
69327         [non-C99-based standards] (modfl): Allow.
69328         [non-C99-based standards] (erfl): Do not allow.
69329         [non-C99-based standards] (erfcl): Likewise.
69330         [non-C99-based standards] (gammal): Likewise.
69331         [non-C99-based standards] (hypotl): Likewise.
69332         [non-C99-based standards] (j0l): Likewise.
69333         [non-C99-based standards] (j1l): Likewise.
69334         [non-C99-based standards] (jnl): Likewise.
69335         [non-C99-based standards] (lgammal): Likewise.
69336         [non-C99-based standards] (tgammal): Likewise.
69337         [non-C99-based standards] (y0l): Likewise.
69338         [non-C99-based standards] (y1l): Likewise.
69339         [non-C99-based standards] (ynl): Likewise.
69340         [non-C99-based standards] (isnanl): Likewise.
69341         [non-C99-based standards] (acoshl): Likewise.
69342         [non-C99-based standards] (asinhl): Likewise.
69343         [non-C99-based standards] (atanhl): Likewise.
69344         [non-C99-based standards] (cbrtl): Likewise.
69345         [non-C99-based standards] (expm1l): Likewise.
69346         [non-C99-based standards] (ilogbl): Likewise.
69347         [non-C99-based standards] (log1pl): Likewise.
69348         [non-C99-based standards] (logbl): Likewise.
69349         [non-C99-based standards] (nextafterl): Likewise.
69350         [non-C99-based standards] (remainderl): Likewise.
69351         [non-C99-based standards] (rintl): Likewise.
69352         [non-C99-based standards] (scalbl): Likewise.
69353         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69354         [non-C99-based standards] (FP_*): Do not allow.
69355         [C99-based standards] (FP_*): Change to
69356         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69357         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69358         allow.
69359         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
69360         (SIG_ERR): Likewise.
69361         [X/Open-based standards] (SIG_HOLD): Likewise.
69362         (SIG_IGN): Likewise.
69363         (SIGABRT): Use macro-int-constant.  Specify type.  Require
69364         positive value.
69365         (SIGFPE): Likewise.
69366         (SIGILL): Likewise.
69367         (SIGINT): Likewise.
69368         (SIGSEGV): Likewise.
69369         (SIGTER): Likewise.
69370         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
69371         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
69372         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
69373         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
69374         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
69375         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
69376         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
69377         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
69378         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
69379         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
69380         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
69381         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
69382         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
69383         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
69384         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
69385         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
69386         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
69387         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
69388         [X/Open-based standards] (SIGTRAP): Likewise.
69389         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
69390         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
69391         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
69392         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
69393         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69394         allow.
69396 2012-05-08  Ian Wienand  <ianw@vmware.com>
69398         [BZ #14080]
69399         * time/tzset.c (__tzset_parse_tz): Update default rules for
69400         daylight time changes in the Energy Policy Act of 2005.
69402 2012-05-09  Andreas Jaeger  <aj@suse.de>
69404         [BZ #13983]
69405         * elf/ldconfig.c (parse_conf): Change string to make clear that
69406         ldconfig only issued a warning if ld.so.conf does not exist.
69408 2012-05-08  David S. Miller  <davem@davemloft.net>
69410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
69411         movxtod instead of popping the value on the stack.
69413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69415 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
69417         * config.h.in: Add HAVE_ARM_PCS_VFP.
69419 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69421         [BZ #13979]
69422         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69423         checking but the checks are disabled for any reason.
69425 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69427         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69428         and ELF64_R_TYPE with ELFW(R_TYPE).
69430 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69432         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69433         (ulimit): Likewise.
69435         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69436         (settimeofday): Likewise.
69438 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
69440         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
69441         a struct th_u2 inside the union, and move tu_block/tu_code into
69442         a new th_u3 union of tu_block/tu_code inside of that.  Move
69443         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
69444         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
69445         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69446         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69447         (th_stuff): Change to th_u1.tu_stuff.
69448         (th_data): Define.
69449         (th_msg): Change to th_u1.th_u2.tu_data.
69451 2012-05-07  David S. Miller  <davem@davemloft.net>
69453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69455         [BZ #14074]
69456         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69457         (SETUP_PIC_REG): Use it.
69458         (SETUP_PIC_REG_LEAF): Use it.
69460 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
69462         [BZ #13885]
69463         [BZ #13923]
69464         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69465         USE_AS_EXPM1L.
69466         (EXPL_FINITE): Likewise.
69467         (FLDLOG): Likewise.
69468         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69469         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69470         e_expl.S.
69471         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69472         USE_AS_EXPM1L.
69473         (EXPL_FINITE): Likewise.
69474         (FLDLOG): Likewise.
69475         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69476         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69477         e_expl.S.
69478         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
69479         test of -max_value argument for long double.
69480         * sysdeps/i386/fpu/libm-test-ulps: Update.
69481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69483 2012-05-06  David S. Miller  <davem@davemloft.net>
69485         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69486         quad soft-float symbols whose references which are compiler
69487         generated.
69488         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69490 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
69492         [BZ #13884]
69493         [BZ #13914]
69494         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69495         USE_AS_EXP10L.
69496         (EXPL_FINITE): Likewise.
69497         (FLDLOG): Likewise.
69498         (c0): Likewise.
69499         (c1): Likewise.
69500         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69501         Adjust comments for base varying.
69502         (__expl_finite): Change alias to EXPL_FINITE.
69503         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69504         e_expl.S.
69505         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69506         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69507         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69508         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69509         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69510         USE_AS_EXP10L.
69511         (EXPL_FINITE): Likewise.
69512         (FLDLOG): Likewise.
69513         (c0): Likewise.
69514         (c1): Likewise.
69515         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69516         Adjust comments for base varying.
69517         (__expl_finite): Change alias to EXPL_FINITE.
69518         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
69519         tests for bugs.
69520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69522         [BZ #14064]
69523         * math/libm-test.inc (check_float_internal): Correct ulp
69524         calculation for subnormal expected results.
69526 2012-05-06  Andreas Jaeger  <aj@suse.de>
69528         * Makeconfig (+math-flags): New, set to -frounding-math.
69529         (+cflags): Add +math-flags so that all of glibc gets compiled with
69530         it.
69532         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
69534 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
69536         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
69537         Disable one test.
69539         [BZ #13787]
69540         [BZ #13922]
69541         [BZ #14036]
69542         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
69543         (__ieee754_expl): Allow for and saturate large arguments.
69544         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
69545         (u_threshold): Likewise.
69546         (__exp): Call __ieee754_exp before checking for overflow and
69547         underflow.
69548         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
69549         (u_threshold): Likewise.
69550         (__expf): Call __ieee754_expf before checking for overflow and
69551         underflow.
69552         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
69553         (u_threshold): Likewise.
69554         (__expl): Call __ieee754_expl before checking for overflow and
69555         underflow.
69556         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
69557         (__ieee754_expl): Allow for and saturate large arguments.
69558         * math/libm-test.inc (exp_test): Add another test.  Do not allow
69559         missing overflow exception on overflow.
69560         (expm1_test): Do not allow missing overflow exception on overflow.
69562         * sysdeps/i386/fpu/e_expl.c: Move to ...
69563         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
69564         rather than using inline asm.
69565         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
69566         * sysdeps/x86_64/fpu/e_expl.S: Copy from
69567         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
69569         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
69570         (nice): Likewise.
69571         (poll): Likewise.
69572         (signal): Likewise.
69573         (time): Likewise.
69574         (times): Likewise.
69576 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69578         * sysdeps/unix/syscalls.list (adjtime): Add entry from
69579         sysdeps/unix/common/syscalls.list.
69580         (fchmod): Likewise.
69581         (fchown): Likewise.
69582         (ftruncate): Likewise.
69583         (getrusage): Likewise.
69584         (gettimeofday): Likewise.
69585         (setpgid): Likewise.
69586         (setregid): Likewise.
69587         (setreuid): Likewise.
69588         (sigaction): Likewise.
69589         (truncate): Likewise.
69590         (vhangup): Likewise.
69591         * sysdeps/unix/common/syscalls.list: Remove file.
69592         * sysdeps/unix/bsd/Implies: Don't include unix/common.
69593         * sysdeps/unix/sysv/linux/Implies: Likewise.
69595 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
69597         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
69598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
69599         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
69600         Moved to ...
69601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
69602         Here.
69603         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
69604         to ...
69605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
69606         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
69607         to ...
69608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
69609         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
69610         to ...
69611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
69612         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
69613         to ...
69614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
69615         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
69616         to ...
69617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
69618         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
69619         to ...
69620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
69621         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
69622         to ...
69623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
69624         Here.
69625         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
69626         to ...
69627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
69628         Here.
69629         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
69630         to ...
69631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
69632         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
69633         Moved to ...
69634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
69635         Here.
69636         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
69637         to ...
69638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
69640 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69642         * sysdeps/unix/common/bits/dirent.h: Remove file.
69643         * sysdeps/unix/common/bits/fcntl.h: Likewise.
69645         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
69646         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
69647         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
69648         * sysdeps/unix/bsd/isatty.c: Likewise.
69649         * sysdeps/unix/bsd/tcdrain.c: Likewise.
69650         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
69651         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
69653 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69655         [BZ #13563]
69656         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
69657         long double comparison inaccuracies.
69658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
69659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69661 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
69663         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
69664         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
69666 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69668         [BZ #14049]
69669         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
69670         nonzero digits before rounding a hex value.
69671         * stdlib/tst-strtod.c (tests): Add another test.
69673 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69675         * sysdeps/s390/fpu/libm-test-ulps: Update.
69677 2012-05-03  Andreas Jaeger  <aj@suse.de>
69679         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
69680         does not get optimized out.
69681         (malloc_opt_barrier): New.
69683 2012-05-03  Andreas Jaeger  <aj@suse.de>
69684             Roland McGrath  <roland@hack.frob.com>
69686         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
69687         intermediate file deletion.
69688         (generated): Add .symlist files.
69690 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
69692         [BZ #13775]
69693         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
69694         Redirect under this condition.
69695         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69696         [__USE_GNU] (__dprintf_chk): Not under this condition.
69697         [__USE_GNU] (__vdprintf_chk): Likewise.
69698         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
69699         under this condition.
69700         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69701         [__USE_XOPEN2K8] (dprintf): Define under this condition.
69702         [__USE_XOPEN2K8] (vdprintf): Likewise.
69703         [__USE_GNU] (__dprintf_chk): Not under this condition.
69704         [__USE_GNU] (__vdprintf_chk): Likewise.
69705         [__USE_GNU] (dprintf): Likewise.
69706         [__USE_GNU] (vdprintf): Likewise.
69708 2012-05-03  Roland McGrath  <roland@hack.frob.com>
69710         * elf/Makefile (common-generated): Set this instead of generated for
69711         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
69712         $(all-built-dso)-derived lists.
69714 2012-05-03  Andreas Jaeger  <aj@suse.de>
69716         * sysdeps/i386/fpu/libm-test-ulps: Update.
69718         * FAQ: Removed.
69719         * FAQ.in: Likewise.
69720         * scripts/gen-FAQ.pl: Likewise.
69721         * manual/install.texi (Installation): Point to online location of
69722         FAQ.
69723         * Makefile (files-for-dist): Remove FAQ.
69724         (FAQ): Remove.
69726 2012-05-02  Allan McRae  <allan@archlinux.org>
69728         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
69729         (LDFLAGS-reldepmod5.so): Likewise.
69730         (LDFLAGS-reldep6mod1.so): Likewise.
69731         (LDFLAGS-reldep6mod4.so): Likewise.
69732         (LDFLAGS-reldep8mod3.so): Likewise.
69733         (LDFLAGS-unload4mod1.so): Likewise.
69734         (LDFLAGS-unload4mod2.so): Likewise.
69735         (LDFLAGS-tst-initorder): Likewise.
69736         (LDFLAGS-tst-initordera2.so): Likewise.
69737         (LDFLAGS-tst-initordera3.so): Likewise.
69738         (LDFLAGS-tst-initordera4.so): Likewise.
69739         (LDFLAGS-tst-initorderb2.so): Likewise.
69740         (LDFLAGS-noload): Likewise.
69741         (LDFLAGS-next): Likewise.
69742         (LDFLAGS-order2mod1.so): Likewise.
69743         (LDFLAGS-order2mod2.so): Likewise.
69744         (LDFLAGS-tst-initorder2): Likewise.
69745         (LDFLAGS-tst-initorder2a.so): Likewise.
69746         (LDFLAGS-tst-initorder2b.so): Likewise.
69747         (LDFLAGS-tst-initorder2c.so): Likewise.
69748         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
69750 2012-05-02  David S. Miller  <davem@davemloft.net>
69752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69754 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
69756         [BZ #14055]
69757         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
69759 2012-05-02  Andreas Jaeger  <aj@suse.de>
69761         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
69762         since we manipulate rounding mode.
69763         (CPPFLAGS-test-idouble.c): Likewise.
69764         (CPPFLAGS-test-ifloat.c): Likewise.
69765         (CFLAGS-test-ldouble.c): Likewise.
69766         (CFLAGS-test-double.c): Likewise.
69767         (CFLAGS-test-float.c): Likewise.
69768         (CFLAGS-test-misc.c): Likewise.
69769         (CFLAGS-test-test-fenv.c): Likewise.
69771 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69773         [BZ #2550]
69774         [BZ #2570]
69775         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
69776         comparisons to determine direction to adjust input.
69778 2012-05-01  Roland McGrath  <roland@hack.frob.com>
69780         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
69781         output to the target.
69783         * scripts/localplt.awk: New file.
69784         * elf/Makefile ($(objpfx)check-localplt): Target removed.
69785         (check-localplt-CFLAGS): Variable removed.
69786         ($(all-built-dso:=.jmprel)): New static pattern rule.
69787         (generated): Add those targets.
69788         (localplt-built-dso): New variable.
69789         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
69791         * elf/check-localplt.c: File removed.
69793         * scripts/check-execstack.awk: New file.
69794         * elf/Makefile ($(objpfx)check-execstack): Target removed.
69795         (check-execstack-CFLAGS): Variable removed.
69796         ($(objpfx)check-execstack.h): Target removed.
69797         ($(objpfx)execstack-default): New target.
69798         (generated): Add that instead of check-execstack.h.
69799         ($(all-built-dso:=.phdr)): New static pattern rule.
69800         (generated): Add those targets.
69801         * elf/check-execstack.c: File removed.
69803         * scripts/check-textrel.awk: New file.
69804         * elf/Makefile ($(objpfx)check-textrel): Target removed.
69805         (check-textrel-CFLAGS): Variable removed.
69806         (all-built-dso): Use := to define.o
69807         ($(all-built-dso:=.dyn)): New static pattern rule.
69808         (generated): Add those targets.
69809         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
69810         * config.make.in (READELF): New substituted variable.
69811         * elf/check-textrel.c: File removed.
69813 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69815         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69816         allow.
69817         * conform/data/ctype.h-data [C99-based standards] (isblank):
69818         Expect function.
69819         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
69820         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
69821         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69822         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
69823         Specify type.  Require positive value.
69824         (EILSEQ): Likewise.
69825         (ERANGE): Likewise.
69826         [ISO || POSIX] (EILSEQ): Do not expect.
69827         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
69828         Specify type.  Require positive value.
69829         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
69830         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
69831         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
69832         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
69833         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
69834         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
69835         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
69836         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
69837         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
69838         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
69839         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
69840         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
69841         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
69842         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
69843         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
69844         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
69845         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
69846         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
69847         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
69848         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
69849         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
69850         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
69851         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
69852         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
69853         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
69854         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
69855         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
69856         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
69857         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
69858         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
69859         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
69860         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
69861         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
69862         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
69863         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
69864         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
69865         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
69866         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
69867         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
69868         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
69869         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
69870         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
69871         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
69872         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
69873         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
69874         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
69875         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
69876         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
69877         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
69878         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
69879         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
69880         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69881         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
69882         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
69883         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69884         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69885         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69886         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69887         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69888         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69889         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69890         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69891         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69892         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69893         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69894         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69895         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69896         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69897         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69898         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69899         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69900         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69901         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69902         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69903         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69904         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69905         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69906         Require >= 2.
69907         (FLT_ROUNDS): Expect as macro, not constant.
69908         (FLT_MANT_DIG): Use macro-int-constant.
69909         (DBL_MANT_DIG): Likewise.
69910         (LDBL_MANT_DIG): Likewise.
69911         (FLT_DIG): Likewise.
69912         (DBL_DIG): Likewise.
69913         (LDBL_DIG): Likewise.
69914         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69915         (DBL_MIN_EXP): Likewise.
69916         (LDBL_MIN_EXP): Likewise.
69917         (FLT_MAX_EXP): Use macro-int-constant.
69918         (DBL_MAX_EXP): Likewise.
69919         (LDBL_MAX_EXP): Likewise.
69920         (FLT_MAX_10_EXP): Likewise.
69921         (DBL_MAX_10_EXP): Likewise.
69922         (LDBL_MAX_10_EXP): Likewise.
69923         (FLT_MAX): Use macro-constant.
69924         (DBL_MAX): Likewise.
69925         (LDBL_MAX): Likewise.
69926         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69927         (DBL_EPSILON): Likewise.
69928         (LDBL_EPSILON): Likewise.
69929         (FLT_MIN): Likewise.
69930         (DBL_MIN): Likewise.
69931         (LDBL_MIN): Likewise.
69932         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69933         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69934         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69935         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69936         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69937         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69938         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69939         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69940         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69941         [ISO11] (FLT_TRUE_MIN): Likewise.
69942         [ISO11] (LDBL_TRUE_MIN): Likewise.
69943         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69944         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69945         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69946         (SCHAR_MAX): Likewise.
69947         (UCHAR_MAX): Likewise.
69948         (CHAR_MIN): Likewise.
69949         (CHAR_MAX): Likewise.
69950         (MB_LEN_MAX): Use macro-int-constant.
69951         (SHRT_MIN): Use macro-int-constant.  Specify type.
69952         (SHRT_MAX): Likewise.
69953         (USHRT_MAX): Likewise.
69954         (INT_MAX): Likewise.
69955         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69956         bound negative.
69957         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69958         bound with "U".
69959         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69960         bound with "L".
69961         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69962         bound negative.  Suffix upper bound with "L".
69963         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69964         bound with "UL".
69965         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69966         Specify type.
69967         [C99-based standards] (LLONG_MAX): Likewise.
69968         [C99-based standards] (ULLONG_MAX): Likewise.
69969         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69970         == 0.
69971         [ISO11] (max_align_t): Require type.
69972         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69974         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69975         from $CFLAGS, without defining away __attribute__ calls.
69976         (checknamespace): Use $CFLAGS_namespace.
69978         * conform/conformtest.pl (@keywords): Only include C99 keywords
69979         for standards based on C99 or C11.
69981         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69982         Disable tests.
69983         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69984         UNIX98]: Likewise.
69986         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69987         usability of symbols in #if.
69989         * conform/conformtest.pl: If macro or constant types start
69990         "promoted:", expect the symbol to be of the following type
69991         promoted by the integer promotions.
69993         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69994         in one place.  Also handle "macro-constant".
69996         * conform/conformtest.pl: Only accept expected macro values with
69997         "==".  Parse all "macro" lines in one place.
69998         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70000         * conform/conformtest.pl: Handle braced types on "constant" lines
70001         instead of handling "typed-constant".
70002         * conform/data/signal.h-data: Use "constant" instead of
70003         "typed-constant".
70005         * conform/conformtest.pl: Handle "optional-" at start of lines in
70006         one place rather than duplicating several cases.  Handle each
70007         format of "macro" line with initial "optional-".
70009         * conform/conformtest.pl: Only accept expected constant or
70010         optional-constant values with "==".  Parse all "constant" lines in
70011         one place.  Parse all "optional-constant" lines in one place.
70012         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70013         * conform/data/fmtmsg.h-data: Likewise.
70014         * conform/data/netinet/in.h-data: Likewise.
70015         * conform/data/tar.h-data: Likewise.
70016         * conform/data/limits.h-data: Use "==" form on "constant" and
70017         "optional-constant" lines.
70019         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70020         Use -std=c99 for XOPEN2K.
70021         (@knownproblems): Remove.
70022         (newtoken): Don't check %isknown.
70024         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70025         Do not expect macro.
70026         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70027         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70028         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70029         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70030         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70031         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70032         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70033         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70034         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70035         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70036         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70037         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70038         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70039         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70040         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70041         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70042         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70043         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70044         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70045         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70046         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70047         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70048         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70049         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70050         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70051         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70052         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70053         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70054         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70055         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70056         [XPG3] (acosh): Likewise.
70057         [XPG3] (asinh): Likewise.
70058         [XPG3] (atanh): Likewise.
70059         [XPG3] (cbrt): Likewise.
70060         [XPG3] (expm1): Likewise.
70061         [XPG3] (ilogb): Likewise.
70062         [XPG3] (log1p): Likewise.
70063         [XPG3] (logb): Likewise.
70064         [XPG3] (nextafter): Likewise.
70065         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70066         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70067         [XPG3] (remainder): Likewise.
70068         [XPG3] (rint): Likewise.
70069         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70070         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70071         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70072         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70073         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70074         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70075         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70076         [UNIX98 || XOPEN2K] (scalb): Expect.
70077         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70078         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70079         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70080         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70081         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70082         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70083         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70084         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70085         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70086         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70087         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70088         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70089         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70090         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70091         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70092         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70093         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70094         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70095         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70096         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70097         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70098         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70099         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70100         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70101         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70102         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70103         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70104         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70105         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70106         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70107         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70108         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70109         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70110         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70111         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70112         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70113         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70114         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70115         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70116         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70117         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70118         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70119         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70120         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70121         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70122         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70123         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70124         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70125         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70126         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70127         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70128         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70129         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70130         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70131         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70132         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70133         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70134         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70135         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70136         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70137         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70138         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70139         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70140         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70141         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70142         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70143         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70144         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70145         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70146         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70147         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70148         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70149         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70150         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70151         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70152         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70153         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70154         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70155         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70156         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70157         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70158         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70159         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70160         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70161         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70162         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70163         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70164         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70165         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70166         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70167         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70168         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70169         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70170         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70171         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70172         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70173         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70174         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70175         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70176         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70177         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70178         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70179         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70180         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70181         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70182         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70183         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70184         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70185         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70186         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70187         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70188         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70189         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70190         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70191         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70192         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70193         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70194         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70195         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70196         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70197         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70198         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70199         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70200         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70201         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70202         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70203         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70204         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70205         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70206         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70207         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70208         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70209         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70210         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70211         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70212         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70213         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70215         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70216         _XOPEN_SOURCE_EXTENDED for XPG4.
70218         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70220         * Makeconfig (localtime): Remove variable.
70221         (inst_localtime-file): Likewise.
70223 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70226         Update.
70227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70228         Update.
70229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70230         Update.
70231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70232         Update.
70233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
70234         Update.
70235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
70236         Update.
70237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70238         Update.
70239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
70240         Update.
70241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70242         Update.
70244 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70246         [BZ #2550]
70247         [BZ #2570]
70248         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
70249         comparisons to determine direction to adjust input.
70250         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
70251         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
70252         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
70253         Likewise.
70254         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
70255         Likewise.
70256         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
70257         Likewise.
70258         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
70259         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
70260         Likewise.
70261         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
70262         Likewise.
70263         * math/libm-test.inc (nexttoward_test): Add more tests.
70265 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70267         [BZ #14040]
70268         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
70269         in version GLIBC_2.1, not GLIBC_2.0.
70270         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
70271         Likewise.
70273 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
70275         [BZ #13942]
70276         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
70277         (1 - x) * (1 + x).
70278         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70279         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
70280         * math/libm-test.inc (acos_test): Add more tests.
70281         (asin_test): Likewise.
70282         * sysdeps/i386/fpu/libm-test-ulps: Update.
70283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70285         [BZ #14034]
70286         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
70287         of square root.
70288         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
70289         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70290         * math/libm-test.inc (acos_test_tonearest): New function.
70291         (acos_test_towardzero): Likewise.
70292         (acos_test_downward): Likewise.
70293         (acos_test_upward): Likewise.
70294         (asin_test_tonearest): Likewise.
70295         (asin_test_towardzero): Likewise.
70296         (asin_test_downward): Likewise.
70297         (asin_test_upward): Likewise.
70298         (main): Call the new functions.
70299         * sysdeps/i386/fpu/libm-test-ulps: Update.
70300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70302         [BZ #13884]
70303         [BZ #13924]
70304         * math/e_exp10.c: Include <float.h>.
70305         (__ieee754_exp10): Handle underflow here rather than multiplying
70306         large negative argument by M_LN10.
70307         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
70308         of __ieee754_expf.
70309         * math/e_exp10l.c: Include <float.h>.
70310         (__ieee754_exp10l): Handle underflow here rather than multiplying
70311         large negative argument by M_LN10l.
70312         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70313         spurious overflow exception on underflow.
70315 2012-04-29  Marek Polacek  <polacek@redhat.com>
70317         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
70318         (__fortify_function): New macro.
70319         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
70320         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
70321         __extern_always_inline.
70322         * libio/bits/stdio2.h: Likewise.
70323         * libio/bits/stdio.h: Likewise.
70324         * string/string.h: Likewise.
70325         * string/bits/string3.h: Likewise.
70326         * include/stdio.h: Likewise.
70327         * stdlib/bits/stdlib.h: Likewise.
70328         * stdlib/stdlib.h: Likewise.
70329         * rt/bits/mqueue2.h: Likewise.
70330         * rt/mqueue.h: Likewise.
70331         * posix/bits/unistd.h: Likewise.
70332         * posix/unistd.h: Likewise.
70333         * io/bits/poll2.h: Likewise.
70334         * io/bits/fcntl2.h: Likewise.
70335         * io/fcntl.h: Likewise.
70336         * io/sys/poll.h: Likewise.
70337         * misc/bits/syslog.h: Likewise.
70338         * misc/bits/syslog-ldbl.h: Likewise.
70339         * misc/sys/syslog.h: Likewise.
70340         * socket/bits/socket2.h: Likewise.
70341         * socket/sys/socket.h: Likewise.
70342         * debug/tst-chk1.c: Likewise.
70343         * wcsmbs/bits/wchar2.h: Likewise.
70344         * wcsmbs/bits/wchar-ldbl.h: Likewise.
70345         * wcsmbs/wchar.h: Likewise.
70347 2012-04-29  Andreas Jaeger  <aj@suse.de>
70349         * Makerules (tests): Remove enable-check-abi protection.
70350         (check-abi-warn): Remove.
70351         (check-abi-%): Remove check-abi-warn usage.
70353         * configure.in: Remove check-abi configure option.
70354         * configure: Regenerated.
70355         * config.make.in (enable-check-abi): Remove.
70357 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
70359         [BZ #14033]
70360         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
70361         double functions to double *_finite functions.
70363         [BZ #13941]
70364         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
70365         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
70366         LDBL_MIN_EXP.
70367         * stdio-common/Makefile (tests): Add tst-sprintf3.
70368         * stdio-common/tst-sprintf3.c: New file.
70370         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
70371         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
70373 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70375         * conform/conformtest.pl: Remove duplicate typed-constant
70376         handling.
70378 2012-04-28  David S. Miller  <davem@davemloft.net>
70380         * Makerules (%.abilist): Add vpath on sysdep_dirs.
70381         (check-abi-%): Remove AWK script prerequisite and explicit
70382         abilist directory.
70383         (check-abi): Rewrite to just diff the symlist with the abilist.
70384         (config-tls, config-abi-config): Delete, no longer used.
70385         (update-abi-%): Remove AWK script and explicit abilist directory.
70386         (update-abi): Rewrite to simply compare and conditionally copy the
70387         symlist and the sysdep abilist file.  Remove update-abi-config
70388         checks.
70389         * abilist/ld.abilist: Remove.
70390         * abilist/libBrokenLocale.abilist: Remove.
70391         * abilist/libanl.abilist: Remove.
70392         * abilist/libcrypt.abilist: Remove.
70393         * abilist/libdl.abilist: Remove.
70394         * abilist/librt.abilist: Remove.
70395         * abilist/libthread_db.abilist: Remove.
70396         * abilist/libutil.abilist: Remove.
70397         * scripts/extract-abilist.awk: Remove.
70398         * scripts/merge-abilist.awk: Remove.
70399         * sysdeps/generic/libcidn.abilist: New file.
70400         * sysdeps/generic/libnss_compat.abilist: New file.
70401         * sysdeps/generic/libnss_db.abilist: New file.
70402         * sysdeps/generic/libnss_dns.abilist: New file.
70403         * sysdeps/generic/libnss_files.abilist: New file.
70404         * sysdeps/generic/libnss_hesiod.abilist: New file.
70405         * sysdeps/generic/libnss_nis.abilist: New file.
70406         * sysdeps/generic/libnss_nisplus.abilist: New file.
70407         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
70408         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
70409         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
70410         file.
70411         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
70412         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70413         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70414         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70415         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70416         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70417         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70418         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70419         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70420         file.
70421         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70422         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70423         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70424         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70425         file.
70426         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70427         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70428         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70429         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70430         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70431         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70432         file.
70433         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70434         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70435         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70436         file.
70437         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70439         New file.
70440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70441         New file.
70442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70443         New file.
70444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70445         New file.
70446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70447         New file.
70448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70449         New file.
70450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70451         New file.
70452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70453         New file.
70454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70455         New file.
70456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70457         New file.
70458         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70459         New file.
70460         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70461         New file.
70462         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70463         New file.
70464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70465         file.
70466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70467         New file.
70468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70469         New file.
70470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70471         file.
70472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70473         New file.
70474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70475         New file.
70476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70477         file.
70478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70479         New file.
70480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70481         New file.
70482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70483         New file.
70484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70485         New file.
70486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70487         New file.
70488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70489         New file.
70490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70492         file.
70493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70494         New file.
70495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70496         file.
70497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70498         file.
70499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70500         file.
70501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70502         file.
70503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70504         file.
70505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70506         New file.
70507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70508         file.
70509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70510         file.
70511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70512         New file.
70513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70514         file.
70515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70517         file.
70518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
70519         New file.
70520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
70521         file.
70522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
70523         file.
70524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
70525         file.
70526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
70527         file.
70528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
70529         file.
70530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70531         New file.
70532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
70533         file.
70534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
70535         file.
70536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
70537         New file.
70538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
70539         file.
70540         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70541         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
70542         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
70543         file.
70544         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
70545         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
70546         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
70547         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
70548         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
70549         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
70550         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
70551         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
70552         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
70553         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
70554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
70555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
70556         file.
70557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
70558         New file.
70559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
70560         file.
70561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
70562         file.
70563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
70564         file.
70565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
70566         file.
70567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
70568         file.
70569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
70570         New file.
70571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
70572         New file.
70573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
70574         file.
70575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
70576         New file.
70577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
70578         file.
70579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
70580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
70581         file.
70582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
70583         New file.
70584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
70585         file.
70586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
70587         file.
70588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
70589         file.
70590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
70591         file.
70592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
70593         file.
70594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
70595         New file.
70596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
70597         New file.
70598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
70599         file.
70600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
70601         New file.
70602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
70603         file.
70605 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70607         * conform/conformtest.pl: Fix typo in handling typed-constant from
70608         allow-header.
70610 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70612         * README: Cut down references to pre-2.6 Linux kernels and
70613         Linuxthreads.  Update lists of configurations in libc and ports
70614         and sort alphabetically.  Say "or newer" with Linux kernel version
70615         requirements.
70617         * config.h.in [IS_IN_build]: Allow compiling without optimization.
70619 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70621         [BZ #887]
70622         * math/libm-test.inc (logb_test_downward): New test to expose
70623         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
70624         rounding mode.
70626 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70628         [BZ #14027]
70629         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
70630         to be done.
70631         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
70632         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
70634 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
70636         * sysdeps/unix/i386/brk.S: Remove file.
70637         * sysdeps/unix/i386/dl-brk.S: Likewise.
70638         * sysdeps/unix/i386/pipe.S: Likewise.
70639         * sysdeps/unix/i386/sigreturn.S: Likewise.
70640         * sysdeps/unix/i386/syscall.S: Likewise.
70641         * sysdeps/unix/i386/vfork.S: Likewise.
70642         * sysdeps/unix/i386/wait.S: Likewise.
70644         * sysdeps/unix/common/tcsendbrk.c: Move to ...
70645         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
70647         * configure.in (arm*-none*): Do not allow without
70648         --enable-hacker-mode.
70649         (netbsd*): Remove case setting base_os.
70650         (386bsd*): Likewise.
70651         (freebsd*): Likewise.
70652         (bsdi*): Likewise.
70653         (osf*): Likewise.
70654         (sunos*): Likewise.
70655         (ultrix*): Likewise.
70656         (newsos*): Likewise.
70657         (dynix*): Likewise.
70658         (*bsd*): Likewise.
70659         (sysv*): Likewise.
70660         (isc*): Likewise.
70661         (esix*): Likewise.
70662         (sco*): Likewise.
70663         (minix*): Likewise.
70664         (irix4*): Likewise.
70665         (irix6*): Likewise.
70666         (solaris[2-9]*): Likewise.
70667         (none): Likewise.
70668         * configure: Regenerated.
70670 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70672         [BZ #11521]
70673         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
70674         overflow or cancellation in calculating denominator.
70675         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
70676         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
70677         down expression to avoid unexpected rounding in newer GCCs.
70678         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
70680 2012-04-26  David S. Miller  <davem@davemloft.net>
70682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
70683         long-double compat symbols.
70684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
70688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
70690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
70691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
70692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
70693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
70694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
70695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
70696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70698 2012-04-25  David S. Miller  <davem@davemloft.net>
70700         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
70701         HWCAP_* values only after the memory barriers have been defined.
70702         (atomic_full_barrier): Define.
70703         (atomic_read_barrier): Define.
70704         (atomic_write_barrier): Define.
70706 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70708         * shlib-versions: Add libgcc_s version information.
70709         * sysdeps/generic/libgcc_s.h: Remove.
70710         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
70711         libgcc_s.h.
70712         * sysdeps/gnu/unwind-resume.c: Likewise.
70713         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
70715 2012-04-25  David S. Miller  <davem@davemloft.net>
70717         * sysdeps/unix/sparc/brk.S: Delete.
70718         * sysdeps/unix/sparc/dl-brk.S: Delete.
70719         * sysdeps/unix/sparc/pipe.S: Delete.
70720         * sysdeps/unix/sparc/sysdep.S: Delete.
70721         * sysdeps/unix/sparc/sysdep.h: Delete.
70722         * sysdeps/unix/sparc/vfork.S: Delete.
70723         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
70724         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
70725         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
70726         (ret_ERRVAL, r0, r1, MOVE): Define.
70727         (JUMPTARGET): Remove.
70728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
70729         sysdeps/unix/sparc/sysdep.h
70730         (ENTRY, END): Remove.
70731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70733 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
70735         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
70736         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
70737         -DIS_IN_build.
70739         * timezone/README: Update upstream location and email address for
70740         tzcode and tzdata.
70741         * timezone/zdump.c: Update from tzcode 2012b.
70742         * timezone/zic.c: Likewise.
70744         * configure.in (libc_cv_as_needed): Remove test.
70745         * configure: Regenerated.
70746         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
70747         conditional definition.
70748         [$(have-as-needed) != yes] (no-as-needed): Likewise.
70749         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
70750         * config.make.in (have-as-needed): Remove variable.
70752 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70753             Paul Pluzhnikov  <ppluzhnikov@google.com>
70755         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
70756         strings correctly.
70758 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
70760         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
70761         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
70762         * sysdeps/sh/strlen.S: Likewise.
70764 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70766         * sysdeps/unix/fork.S: Remove file.
70767         * sysdeps/unix/i386/fork.S: Likewise.
70768         * sysdeps/unix/sparc/fork.S: Likewise.
70770         * sysdeps/unix/system.c: Remove file.
70771         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
70773         * sysdeps/unix/getegid.S: Remove file.
70774         * sysdeps/unix/geteuid.S: Likewise.
70776 2012-04-24  Roland McGrath  <roland@hack.frob.com>
70778         * scripts/check-localplt.awk: New file.
70779         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
70780         of diff.
70781         * scripts/data/localplt-generic.data: Add a comment.
70783         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
70784         NODE when __dir_mkfile failed.
70785         * sysdeps/mach/hurd/symlinkat.c: Likewise.
70786         Reported by Ludovic Courtès <ludo@gnu.org>.
70788 2012-04-24  Andreas Jaeger  <aj@suse.de>
70790         * Makerules (common-clean): Also remove gen-as-const-headers
70791         files.
70793 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70795         * Makerules (native-compile): Do not change working directory for
70796         build.  Use $(OUTPUT_OPTION) in command.
70797         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
70799 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70801         [BZ #13886]
70802         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
70803         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
70804         * math/libm-test.inc (floor_test): Add more tests.
70805         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
70807 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70809         * sysdeps/unix/getdents.c: Remove file.
70810         * sysdeps/unix/sysv/getdents.c: Likewise.
70811         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
70813         * sysdeps/unix/syscalls.list (madvise): Add syscall from
70814         sysdeps/unix/mman/syscalls.list.
70815         (mmap): Likewise.
70816         (mprotect): Likewise.
70817         (msync): Likewise.
70818         (munmap): Likewise.
70819         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
70820         * sysdeps/unix/mman/syscalls.list: Remove.
70821         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
70823         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
70824         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
70825         * configure: Regenerated.
70826         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
70827         $(libgcc_s_suffix).
70828         * config.make.in (libgcc_s_suffix): Remove variable.
70830 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
70832         * sysdeps/unix/sysv/gethostname.c: Move to ...
70833         * sysdeps/posix/gethostname.c: ... here.
70835         * sysdeps/unix/execve.S: Remove file.
70837         * sysdeps/unix/_exit.S: Remove file.
70839 2012-04-23  Andreas Jaeger  <aj@suse.de>
70841         [BZ #13739]
70842         * manual/Makefile: Remove make dist support, there's no
70843         need for a stand-alone documentation tar ball.
70844         (TEXI2DVI): Define always, it's not in Makeconfig.
70845         (dist): Removed.
70846         (tar-it): Removed.
70847         (edition): Removed.
70848         (glibc-doc-$(edition).tar): Removed
70849         (%.Z): Removed.
70850         (%.gz): Removed.
70851         (%.uu): Removed.
70852         (ETAGS): Remove, it's in Makeconfig.
70853         (move-if-change): Remove, it's in Makeconfig.
70855 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
70857         [BZ #13970]
70858         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
70859         (strtod, strtof, strtold, strtol, strtoul, strtoq)
70860         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
70861         (strtod_l, strtof_l, strtold_l): Remove __wur.
70862         It is not necessarily an error to ignore strtol's return value.
70863         One can reliably look at the stored endptr to decide whether
70864         the number had valid syntax.
70866 2012-04-21  Andreas Jaeger  <aj@suse.de>
70868         [BZ #13739]
70869         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
70871 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
70873         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
70874         * sysdeps/unix/sysv/Versions: Remove file.
70876 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
70878         [BZ #13927]
70879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70881 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
70883         [BZ #7064]
70884         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70885         version from __vm86.
70887 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70889         * sysdeps/unix/common/lxstat.c: Remove file.
70890         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70892         * sysdeps/unix/sysv/Makefile: Remove file.
70894         * sysdeps/unix/sysv/direct.h: Remove file.
70896         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70897         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70898         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70899         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70900         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70901         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70902         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70904         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70906         * sysdeps/unix/xmknod.c: Remove file.
70907         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70909         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70911         * sysdeps/unix/sysv/i386/time.S: Remove file.
70913         * sysdeps/unix/fxstat.c: Remove file.
70914         * sysdeps/unix/xstat.c: Likewise.
70915         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70917         * sysdeps/unix/sysv/sigaction.c: Remove file.
70919         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70920         (sysdep_headers): Remove variable.
70921         [termio.h not in sysdep_headers] (generated): Likewise.
70922         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70923         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70924         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70925         * sysdeps/unix/sysv/tcflow.c: Likewise.
70926         * sysdeps/unix/sysv/tcflush.c: Likewise.
70927         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70928         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70929         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70930         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70931         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70933         * sysdeps/unix/siglist.c: Remove file.
70935         * sysdeps/unix/getppid.S: Remove file.
70937         * sysdeps/unix/mkdir.c: Remove file.
70938         * sysdeps/unix/rmdir.c: Likewise.
70940 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70942         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70943         ERR_MAX value.
70944         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70945         errlist-compat value.
70947 2012-04-18  David S. Miller  <davem@davemloft.net>
70949         * sysdeps/generic/memcopy.h (reg_char): Delete.
70950         * debug/strcat_chk.c: Use char, not reg_char.
70951         * debug/strcpy_chk.c: Likewise.
70952         * debug/strncat_chk.c: Likewise.
70953         * debug/strncpy_chk.c: Likewise.
70954         * string/memchr.c: Likewise.
70955         * string/memrchr.c: Likewise.
70956         * string/rawmemchr.c: Likewise.
70957         * string/strcat.c: Likewise.
70958         * string/strchr.c: Likewise.
70959         * string/strchrnul.c: Likewise.
70960         * string/strcmp.c: Likewise.
70961         * string/strcpy.c: Likewise.
70962         * string/strncat.c: Likewise.
70963         * string/strncmp.c: Likewise.
70964         * string/strncpy.c: Likewise.
70966 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70968         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70969         __builtin_memcopy is called when src and dest ranges are known to not
70970         overlap.
70972 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70974         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70975         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70976         fwd_align_merge macro call.
70977         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70978         bwd_align_merge macro call.
70979         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70981 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70983         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70984         bwd_align_merge macros.
70985         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70986         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70987         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70989 2012-04-18  David S. Miller  <davem@davemloft.net>
70991         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70993 2012-04-18  Andreas Jaeger  <aj@suse.de>
70995         [BZ# 6794]
70996         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70997         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70998         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71000         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71001         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71002         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71004         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71005         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71006         Adjust for changed ldbl-128 files.
71008         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71009         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71010         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71012 2012-04-17  David S. Miller  <davem@davemloft.net>
71014         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71016 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71018         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71019         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71020         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71021         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71022         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71023         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71025 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71027         [BZ #6794]
71028         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71029         * math/libm-test.inc: Add ilogb errno and exception tests.
71030         * math/w_ilogb.c: New file: ilogb wrapper.
71031         * math/w_ilogbf.c: New file: ilogbf wrapper.
71032         * math/w_ilogbl.c: New file: ilogbl wrapper.
71033         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71034         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71035         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71036         exception being thrown with 0.0 as argument.
71037         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71038         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71039         exception being thrown with 0.0 as argument.
71040         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71041         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71042         exception being thrown with 0.0 as argument.
71043         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71044         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71045         exception being thrown with 0.0 as argument.
71046         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71047         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71048         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71049         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71050         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71051         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71052         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71053         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71054         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71056 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71058         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71059         with altivec.
71061 2012-04-16  Marek Polacek  <polacek@redhat.com>
71063         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71065 2012-04-16  Marek Polacek  <polacek@redhat.com>
71067         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71068         operands of fdivp instruction.
71070 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71072         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71073         * elf/tst-auditmod3b.c: Likewise.
71074         * elf/tst-auditmod4b.c: Likewise.
71075         * elf/tst-auditmod5b.c: Likewise.
71076         * elf/tst-auditmod6b.c: Likewise.
71077         * elf/tst-auditmod6c.c: Likewise.
71078         * elf/tst-auditmod7b.c: Likewise.
71079         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71080         * sysdeps/x86_64/preconfigure.in: Likewise.
71081         * sysdeps/x86_64/preconfigure: Regenerated.
71083 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71085         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71086         __ILP32__.
71088 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71090         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71091         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71093 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71095         [BZ #13973]
71096         * locale/iso-639.def: Fix gl language name. Spotted by
71097         Yaron Shahrabani.
71099 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71101         [BZ #2074]
71102         * libio/libio.h (__io_write_fn): Update comment.
71104 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71106         [BZ #2074]
71107         * stdio.texi (Hook Functions): The user provided writer function
71108         is not allowed to return -1.
71110 2012-04-11  David S. Miller  <davem@davemloft.net>
71112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71114 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71116         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71117         Add a leading slash to rtkaio.
71119 2012-04-11  Jim Meyering  <meyering@redhat.com>
71121         [BZ #11959]
71122         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71123         It is not necessarily an error to ignore fwrite's return
71124         value.  One can reliably use ferror to test for errors after
71125         the fact.
71127 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71129         * bits/types.h (__snseconds_t): New type.
71130         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71132         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71133         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71134         (__SNSECONDS_T_TYPE): Likewise.
71135         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71136         (__SNSECONDS_T_TYPE): Likewise.
71137         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71138         (__SNSECONDS_T_TYPE): Likewise.
71140 2012-04-10  Andreas Jaeger  <aj@suse.de>
71142         [BZ #2636]
71143         * manual/time.texi (Processor Time): Return type of times is
71144         elapsed real time since an arbitrary point in the past.
71145         (CPU Time): Move CLK_TCK from here...
71146         (Processor Time): ...to here.  Correct description.
71147         * manual/conf.texi (Constants for Sysconf): Correct description of
71148         _SC_CLK_TCK.
71150 2012-04-10  David S. Miller  <davem@davemloft.net>
71152         [BZ #13967]
71153         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71154         where the is a gap between DT_REL(A) and DT_JMPREL.
71156 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71158         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71159         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71160         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71162 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71164         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71165         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71166         (dl_main): Handle --inhibit-cache.
71167         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71168         _dl_inhibit_cache.
71169         * elf/dl-load.c (_dl_map_object): Use it.
71170         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71172 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71174         [BZ #13872]
71175         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71176         (__ieee754_powl): Saturate large exponents rather than testing for
71177         overflow of y*log2(x).
71178         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71179         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71180         exceptions.
71182         [BZ #11521]
71183         * math/s_ctan.c: Include <float.h>.
71184         (__ctan): Avoid internal overflow or cancellation in calculating
71185         denominator.
71186         * math/s_ctanf.c: Likewise.
71187         * math/s_ctanl.c: Likewise.
71188         * math/s_ctanh.c: Likewise.
71189         * math/s_ctanhf.c: Likewise.
71190         * math/s_ctanhl.c: Likewise.
71191         * math/libm-test.inc (ctan_test): Add more tests.
71192         (ctanh_test): Likewise.
71193         * sysdeps/i386/fpu/libm-test-ulps: Update.
71194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71196 2012-04-09  Andreas Jaeger  <aj@suse.de>
71198         [BZ #6894]
71199         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71200         is an optional BSD extension.
71202         [BZ #10254]
71203         * manual/stdio.texi (Opening Streams): Document additional fopen
71204         parameters.
71206 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71208         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71209         %eax without telling the compiler.
71211 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71213         [BZ # 13963]
71214         * manual/install.texi: Use sourceware.org.
71216 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71218         [BZ #13873]
71219         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71220         (__ieee754_pow): Generate overflow and underflow using huge*huge
71221         and tiny*tiny rather than just returning constant infinity or zero
71222         for large exponents.
71223         * math/libm-test.inc (pow_test): Require overflow exceptions for
71224         applicable cases of large exponents.
71226         [BZ #706]
71227         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71228         (__ieee754_pow): Use iterative multiplication algorithm only for
71229         integer exponents with absolute value below 1024.  Check for odd
71230         integer exponents when using algorithm for real exponents.
71231         * math/libm-test.inc (pow_test): Add more tests.
71232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71234 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
71236         [BZ #13705]
71237         * math/libm-test.inc (exp_test): Do not allow overflow exception
71238         on underflow test.
71240 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
71242         [BZ #13705]
71243         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
71244         instead of __kernel_standard_f.
71246 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
71248         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
71249         * sysdeps/x86_64/memset_chk.S: Likewise.
71251 2012-04-08  Andreas Jaeger  <aj@suse.de>
71253         [BZ #10153]
71254         * manual/startup.texi (Environment Access): Describe return value
71255         for putenv and setenv.
71257         [BZ #6895]
71258         * manual/filesys.texi (Directory Entries): Add description for
71259         DT_LNK.
71261         [BZ #6890]
71262         * manual/filesys.texi (Directory Entries): Clarify that it's file
71263         system not operating system in the description of DT_UNKNOWN.
71265         [BZ #6578]
71266         * manual/syslog.texi (closelog): Fix reference, it's openlog.
71268 2012-04-08  Stephen Compall  <s11@member.fsf.org>
71270         [BZ #6649]
71271         * manual/llio.texi (Opening and Closing Files): Add cross
71272         reference to explain mode argument.
71274 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
71276         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
71277         * sysdeps/x86_64/memset_chk.S: Likewise.
71279 2012-04-07  David S. Miller  <davem@davemloft.net>
71281         * elf/elf.h (R_SPARC_WDISP10): Define.
71282         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
71283         R_SPARC_SIZE32.
71284         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
71285         R_SPARC_SIZE64 and R_SPARC_H34.
71287 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
71289         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
71290         conditions and remove no longer applicable assertion.
71292 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71294         * bits/byteswap.h: Include <features.h>.
71295         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71296         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71298 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71300         * bits/byteswap.h (__bswap_16): Removed.
71301         Include <bits/byteswap-16.h> to get __bswap_16.
71302         * sysdeps/i386/bits/byteswap.h: Likewise.
71303         * sysdeps/s390/bits/byteswap.h: Likewise.
71304         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71305         * bits/byteswap-16.h: New file.
71306         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71307         * sysdeps/s390/bits/byteswap-16.h: Likewise.
71308         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
71309         * string/Makefile (headers): Add bits/byteswap-16.h.
71311 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71313         [BZ #13895]
71314         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
71315         extra indirection.
71316         * nss/Makefile (tests-static, tests): Add tst-nss-static.
71317         * nss/tst-nss-static.c: New.
71319 2012-04-06  Robert Millan  <rmh@gnu.org>
71321         [BZ #6486]
71322         * manual/llio.texi (File Position Primitive): lseek
71323         refers to WHENCE when it really means OFFSET.
71325 2012-04-06  Andreas Jaeger  <aj@suse.de>
71327         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
71328         strncmp declarations.
71330         * abilist/libc.abilist: Add __poll and __ppoll.
71332 2012-04-05  David S. Miller  <davem@davemloft.net>
71334         * scripts/check-local-headers.sh: Accept a host triplet in the
71335         path matched by the exclude regexp.
71337         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
71338         definition.
71339         * sysdeps/powerpc/powerpc32/dl-machine.h
71340         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
71341         * sysdeps/s390/s390-32/dl-machine.h
71342         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71343         * sysdeps/sparc/sparc32/dl-machine.h
71344         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71345         * sysdeps/sparc/sparc64/dl-machine.h
71346         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71348         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
71349         lazy binding.
71350         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
71351         undefined symbol errors.
71353         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
71354         DT_NEEDED entries.
71356 2012-04-05  Michael Matz  <matz@suse.de>
71358         [BZ #13592]
71359         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
71361 2012-04-05  Andreas Jaeger  <aj@suse.de>
71363         [BZ #13908]
71364         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
71365         comment.
71367 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71369         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
71370         which ROUND is no valid rounding mode.
71372 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71374         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
71375         read again.
71376         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
71378 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71380         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
71381         an exception using FPU order intentionally.
71383 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71385         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
71386         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
71387         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
71388         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
71390 2012-04-05  Simon Josefsson  <simon@josefsson.org>
71392         [BZ #12340]
71393         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
71394         EINVAL when BUFLEN is too smal.
71396 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
71398         [BZ #13553]
71399         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
71400         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
71402 2012-04-03  Andreas Jaeger  <aj@suse.de>
71404         [BZ #13938]
71405         * manual/setjmp.texi (System V contexts): Fix sentence.
71407         [BZ #13926]
71408         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
71409         New macro for this case.
71410         [!__GNUC__] (__bswap_64): New inline function for this case.
71411         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71412         * bits/byteswap.h: Likewise.
71413         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71414         ull, guard with __GLIBC_HAVE_LONG_LONG.
71416         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71417         __GLIBC_HAVE_LONG_LONG.
71419         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71420         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71422 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71424         [BZ #13691]
71425         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71426         inptr and inend, rather than using last_ch.
71428 2012-04-02  David S. Miller  <davem@davemloft.net>
71430         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71431         * stdio-common/printf-parse.h (read_int): Change return type to
71432         'int', return -1 on INT_MAX overflow.
71433         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71434         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71435         overflows INT_MAX.  Check for overflow of in-format-string precision
71436         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
71437         SIZE_MAX not INT_MAX for integer overflow test.
71438         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71439         skip the construct in the format string but do not record anything.
71440         * stdio-common/bug22.c: Adjust to test both width/prevision
71441         INT_MAX overflow as well as total length INT_MAX overflow.  Check
71442         explicitly for proper errno values.
71444 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
71446         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71447         CHAR_MAX.
71448         * string/test-strcmp.c [! WIDE]: Likewise.
71449         * time/tst-mktime2.c: Likewise for INT_MAX.
71450         * string/test-string.h: #include <sys/param.h> for MIN.
71452         * csu/init-first.c (__libc_init_first): Call __ctype_init.
71453         * sysdeps/i386/init-first.c (init): Likewise.
71454         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71455         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71456         * sysdeps/sh/init-first.c (init): Likewise.
71458 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
71460         * po/ru.po: Update from translation team.
71461         * po/vi.po: Likewise.
71463 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71465         * resolv/nss_dns/dns-host.c: Merge copyright years.
71467 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71469         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71470         Optimize memcpy with prefetch if
71471         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
71472         src, dst pointers have unequal 16 byte alignments.
71474 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71476         [BZ #13928]
71477         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71478         from a CNAME entry and return the minimum ttl for the query.
71479         (gaih_getanswer_slice): Likewise.
71481 2012-03-30  Jeff Law  <law@redhat.com>
71483         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71484         due to long keys.
71485         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71486         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71488         * resolv/nss_dns/dns-host.c: Update copyright year.
71490 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
71492         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71493         requests to save a system call.  Fix check that all bytes are sent.
71495         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71496         comments for sendmmsg.
71498 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71500         [BZ #13691]
71501         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71502         with only 1 character between 0x0041 and 0x01b0.
71503         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71504         * wcsmbs/tst-mbsnrtowcs.c: New file.
71506 2012-03-29  David S. Miller  <davem@davemloft.net>
71508         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71509         small copies by hand.
71511 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71513         [BZ #13761]
71514         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71515         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71516         group memberships.
71518 2012-03-28  David S. Miller  <davem@davemloft.net>
71520         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
71521         that branches into memcpy.
71522         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
71523         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
71524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71525         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
71526         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
71527         bits.
71528         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71529         implementation too.
71530         * sysdeps/sparc/mempcpy.S: New file.
71532         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71533         the IFUNC routine in the libc case.
71534         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71536         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71537         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
71538         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
71539         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
71540         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
71541         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
71542         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
71543         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
71545         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
71546         loop to 256 bytes instead of 64 bytes and fix test signedness.
71548         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
71549         * sysdeps/sparc/sparc32/Makefile: rather than here...
71550         * sysdeps/sparc/sparc64/Makefile: and here.
71552 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
71554         * malloc/mallocbug.c: Avoid warnings about unused variables.
71556 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
71558         [BZ #13760]
71559         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
71560         in the right place. Discard and retry query if response is
71561         larger than input buffer size.
71563 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
71565         [BZ #369]
71566         [BZ #2678]
71567         [BZ #3866]
71568         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
71569         x for large integer exponent.
71570         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
71571         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
71572         sign of result as needed afterwards.
71573         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
71574         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
71575         result for underflowing pow the same as for overflow.
71576         (__kernel_standard_l): Handle powl overflow and underflow here
71577         rather than calling __kernel_standard.
71578         * math/libm-test.inc (pow_test): Add more tests.
71580         [BZ #3868]
71581         [BZ #13879]
71582         [BZ #13910]
71583         [BZ #13911]
71584         [BZ #13912]
71585         [BZ #13913]
71586         [BZ #13915]
71587         [BZ #13916]
71588         [BZ #13917]
71589         [BZ #13918]
71590         [BZ #13919]
71591         [BZ #13920]
71592         [BZ #13921]
71593         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
71594         * sysdeps/ieee754/k_standard.c: Include <float.h>.
71595         (__kernel_standard_l): New function.
71596         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
71597         __kernel_standard.
71598         * math/w_acosl.c (__acosl): Likewise.
71599         * math/w_asinl.c (__asinl): Likewise.
71600         * math/w_atan2l.c (__atan2l): Likewise.
71601         * math/w_atanhl.c (__atanhl): Likewise.
71602         * math/w_coshl.c (__coshl): Likewise.
71603         * math/w_exp10l.c (__exp10l): Likewise.
71604         * math/w_exp2l.c (__exp2l): Likewise.
71605         * math/w_fmodl.c (__fmodl): Likewise.
71606         * math/w_hypotl.c (__hypotl): Likewise.
71607         * math/w_j0l.c (__j0l, __y0l): Likewise.
71608         * math/w_j1l.c (__j1l, __y1l): Likewise.
71609         * math/w_jnl.c (__jnl, __ynl): Likewise.
71610         * math/w_lgammal.c (__lgammal): Likewise.
71611         * math/w_log10l.c (__log10l): Likewise.
71612         * math/w_log2l.c (__log2l): Likewise.
71613         * math/w_logl.c (__logl): Likewise.
71614         * math/w_powl.c (__powl): Likewise.
71615         * math/w_remainderl.c (__remainderl): Likewise.
71616         * math/w_scalbl.c (sysv_scalbl): Likewise.
71617         * math/w_sinhl.c (__sinhl): Likewise.
71618         * math/w_sqrtl.c (__sqrtl): Likewise.
71619         * math/w_tgammal.c (__tgammal): Likewise.
71620         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
71621         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71622         * math/libm-test.inc (acos_test): Add more tests.
71623         (acosh_test): Likewise.
71624         (asin_test): Likewise.
71625         (atanh_test): Likewise.
71626         (exp_test): Likewise.
71627         (exp10_test): Likewise.
71628         (exp2_test): Likewise.
71629         (expm1_test): Likewise.
71630         (lgamma_test): Likewise.
71631         (log_test): Likewise.
71632         (log10_test): Likewise.
71633         (log1p_test): Likewise.
71634         (log2_test): Likewise.
71635         (pow_test): Do not allow some spurious overflow exceptions.
71636         (sqrt_test): Add more tests.
71637         (tgamma_test): Likewise.
71638         (y0_test): Likewise.
71639         (y1_test): Likewise.
71640         (yn_test): Likewise.
71642 2012-03-27  Anton Blanchard  <anton@samba.org>
71644         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
71645         MAP_HUGETLB.
71646         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71647         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71648         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71650 2012-03-27  David S. Miller  <davem@davemloft.net>
71652         * conform/Makefile: Run run-conformtest.sh using $(BASH).
71654         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
71655         have-as-vis3 check.
71657 2012-03-27  Andreas Jaeger  <aj@suse.de>
71659         * sysdeps/x86_64/elf/configure.in: Moved to ...
71660         * sysdeps/x86_64/configure.in: ... here.
71661         * sysdeps/x86_64/elf/start.S: Moved to ...
71662         * sysdeps/x86_64/start.S: ... here.
71663         * sysdeps/x86_64/elf/configure: Delete.
71665         * sysdeps/x86_64/configure.in: Merge contents from
71666         sysdeps/i386/configure.in (without i686 check).
71668         * sysdeps/i386/elf/Versions: Merge into ...
71669         * sysdeps/i386/Versions: ... this.
71670         * sysdeps/i386/elf/Versions: Delete file.
71671         * sysdeps/i386/elf/start.S: Moved to ...
71672         * sysdeps/i386/start.S: ...here.
71673         * sysdeps/i386/elf/configure.in: Merge into...
71674         * sysdeps/i386/configure.in: ...here.
71675         * sysdeps/i386/elf/configure.in: Delete file.
71676         * sysdeps/i386/elf/configure: Delete file.
71678         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
71679         * debug/backtracesyms.c: ... here.
71680         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
71681         * debug/backtracesymsfd.c: ... here.
71682         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
71683         * sysdeps/generic/ifunc-sel.h: ... here.
71685         * sysdeps/unix/i386/start.c: Delete file.
71686         * sysdeps/unix/sparc/start.c: Delete file.
71687         * sysdeps/unix/start.c: Delete file.
71689         * sysdeps/sh/elf/configure.in: Moved to ...
71690         * sysdeps/sh/configure.in: ... here.
71691         * sysdeps/sh/elf/start.S: Moved to ...
71692         * sysdeps/sh/start.S: ... here.
71693         * sysdeps/sh/elf/configure: Delete file.
71695         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
71696         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
71697         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
71698         * sysdeps/powerpc/powerpc64/entry.h: ... here.
71699         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
71700         * sysdeps/powerpc/powerpc64/start.S: here.
71701         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
71702         * sysdeps/powerpc/powerpc64/Makefile: ... this.
71703         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
71704         * sysdeps/powerpc/powerpc64/configure.in: ... this.
71705         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
71707         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
71708         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
71709         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
71710         * sysdeps/powerpc/powerpc32/start.S: ... here.
71711         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
71712         * sysdeps/powerpc/powerpc32/configure.in: ... this.
71713         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
71715         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
71716         * sysdeps/powerpc/ifunc-sel.h: ... here.
71717         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
71718         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
71720         * sysdeps/sparc/elf/configure.in: Moved to ...
71721         * sysdeps/sparc/configure.in: ... here.
71722         * sysdeps/sparc/elf/configure: Delete file.
71723         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
71724         * sysdeps/sparc/sparc32/start.S: ... here.
71725         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
71726         * sysdeps/sparc/sparc64/start.S: ... here.
71727         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
71728         * sysdeps/sparc/sparc32/Makefile: ... this.
71729         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
71730         * sysdeps/sparc/sparc64/Makefile: ... this.
71732         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
71733         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
71734         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
71735         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
71736         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
71737         * sysdeps/s390/s390-32/setjmp.S: ... here.
71738         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
71739         * sysdeps/s390/s390-32/configure.in: ... here.
71740         * sysdeps/s390/s390-32/elf/configure: Delete file.
71741         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
71742         * sysdeps/s390/s390-32/start.S: ... here.
71744         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
71745         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
71746         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
71747         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
71748         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
71749         * sysdeps/s390/s390-64/setjmp.S: ... here.
71750         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
71751         * sysdeps/s390/s390-64/configure.in: ... here
71752         * sysdeps/s390/s390-64/elf/configure: Delete file.
71753         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
71754         * sysdeps/s390/s390-64/start.S: ... here.
71755         * sysdeps/s390/s390-64/elf/configure: Delete.
71757         * configure.in: Remove support for elf directories in sysdeps.
71759         * configure: Regenerated.
71760         * sysdeps/i386/configure: Regenerated.
71761         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71762         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71763         * sysdeps/s390/s390-32/configure: Regenerated.
71764         * sysdeps/s390/s390-64/configure: Regenerated.
71765         * sysdeps/sh/configure: Regenerated.
71766         * sysdeps/sparc/configure: Regenerated.
71767         * sysdeps/x86_64/configure: Regenerated.
71769 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
71771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71773         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
71774         denormal result into account.
71776 2012-03-25  Roland McGrath  <roland@hack.frob.com>
71778         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
71779         Reported by Allan McRae <allan@archlinux.org>.
71781 2012-03-23  Jeff Law  <law@redhat.com>
71783         * nss/getnssent.c (__nss_getent): Fix typo.
71785 2012-03-23  David S. Miller  <davem@davemloft.net>
71787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71789 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
71791         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
71792         to pad to uint64_t for each field.
71793         (dl_tls_index): Replace unsigned long with uint64_t.
71795 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
71796         Paul Pluzhnikov  <ppluzhnikov@google.com>
71798         [BZ #6528]
71799         * grp/Makefile (otherlibs): Don't set it.
71800         * inet/Makefile (otherlibs): Likewise.
71801         * login/Makefile (otherlibs): Likewise.
71802         * nscd/Makefile (otherlibs): Likewise.
71803         * posix/Makefile (otherlibs): Likewise.
71804         * pwd/Makefile (otherlibs): Likewise.
71805         * rt/Makefile (otherlibs): Likewise.
71806         * sunrpc/Makefile (otherlibs): Likewise.
71807         * nss/Makefile (otherlibs): Likewise.
71808         Add libnss_files to routines and static-only-routines.
71809         ($(objpfx)getent): Remove rule.
71810         * resolv/Makefile: Add libnss_dns and libresolv to routines and
71811         static-only-routines.
71813 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71815         [BZ #13892]
71816         * math/s_cexp.c: Include <float.h>.
71817         (__cexp): Handle exp result overflowing not necessarily
71818         overflowing both real and imaginary parts of result.
71819         * math/s_cexpf.c: Likewise.
71820         * math/s_cexpl.c: Likewise.
71821         * math/libm-test.inc (cexp_test): Add more tests.
71822         * sysdeps/i386/fpu/libm-test-ulps: Update.
71823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71825 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71827         * include/link.h (ELFW): New macro.
71828         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
71829         Replace ELF64_R_TYPE with ELFW(R_TYPE).
71831 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71833         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
71834         with uint64_t.
71836 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71838         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
71839         declaration.
71840         (struct La_x32_retval): Likewise.
71842 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71844         * sysdeps/x86_64/preconfigure.in: New file.
71845         * sysdeps/x86_64/preconfigure: New generated file.
71847 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71849         [BZ #13824]
71850         * math/e_exp2l.c: Include <float.h>.
71851         (__ieee754_exp2l): Handle overflow and underflow cases
71852         separately.  Only pass fractional part of argument to
71853         __ieee754_expl.
71854         * math/libm-test.inc (exp2_test): Add more tests.
71856         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
71857         negating x to take absolute value.
71858         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
71859         Likewise.
71860         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
71861         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
71862         Likewise.
71863         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
71864         computing low part if x was negated.
71865         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
71867 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71869         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
71870         la_x32_gnu_pltexit.
71871         (pltexit): Cast int_retval to ptrdiff_t.
71872         * elf/tst-auditmod3b.c: Likewise.
71873         * elf/tst-auditmod4b.c: Likewise.
71874         * elf/tst-auditmod5b.c: Likewise.
71875         * elf/tst-auditmod6b.c: Likewise.
71876         * elf/tst-auditmod6c.c: Likewise.
71877         * elf/tst-auditmod7b.c: Likewise.
71879         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
71880         and x32_gnu_pltexit.
71882         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
71883         __ELF_NATIVE_CLASS.
71884         (La_x32_regs): New macro.
71885         (La_x32_retval): Likewise.
71886         (la_x32_gnu_pltenter): New function prototype.
71887         (la_x32_gnu_pltexit): Likewise.
71889 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71891         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71892         exponent.
71894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71896         * configure.in (libc_cv_cc_nofma): Check for option to disable
71897         generation of FMA instructions.
71898         * configure: Regenerate.
71899         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71900         * sysdeps/ieee754/dbl-64/Makefile: New file.
71901         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71902         Remove brandred-fma4.
71903         (CFLAGS-brandred-fma4.c): Remove.
71904         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71905         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71906         define.
71907         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71908         define.
71910 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71912         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71913         LLONG_MAX != LONG_MAX.
71914         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71915         (_fitoa_word): Likewise.
71916         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71917         LLONG_MAX != LONG_MAX.
71918         * stdio-common/_itowa.h: Include <_itoa.h>.
71919         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71920         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71921         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71922         only if not defined.
71923         (_ITOA_WORD_TYPE): Likewise.
71924         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71925         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71927 2012-03-21  David S. Miller  <davem@davemloft.net>
71929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71931 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71933         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71934         of x86_64 when setting libc_cv_slibdir, libdir and
71935         libc_cv_localedir.
71936         * sysdeps/unix/sysv/linux/configure: Regenerated.
71938 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71940         * manual/lang.texi (Old Varargs): Remove section.
71941         (How Variadic): Update menu.
71942         (va_start): Do not mention varargs.h.
71944 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71945             Joseph Myers  <joseph@codesourcery.com>
71947         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71948         link test.
71949         * configure: Regenerated.
71951 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71953         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71954         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71955         conformtest.pl
71957 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71959         * NOTES: Remove.
71960         * Makefile (files-for-dist): Remove NOTES.
71961         (NOTES): Remove rule.
71962         * README: Don't refer to NOTES.
71963         * manual/creature.texi: Don't include macros.texi.
71964         * manual/intro.texi (creature.texi): Remove comment referring to
71965         NOTES.
71967         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71968         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71969         * configure: Regenerated.
71970         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71971         LIBC_TRY_CC_OPTION.
71972         (libc_cv_as_i686): Likewise.
71973         (libc_cv_cc_avx): Likewise.
71974         (libc_cv_cc_sse2avx): Likewise.
71975         (libc_cv_cc_fma4): Likewise.
71976         (libc_cv_cc_novzeroupper): Likewise.
71977         * sysdeps/i386/configure: Regenerated.
71979         [BZ #13883]
71980         * sysdeps/i386/fpu/s_cexp.S: Remove.
71981         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71982         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71983         * math/libm-test.inc (cexp_test): Add more tests.
71984         * sysdeps/i386/fpu/libm-test-ulps: Update.
71985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71987 2012-03-21  Allan McRae  <allan@archlinux.org>
71989         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71991 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71993         [BZ #13871]
71994         * math/w_exp2.c: Do not include <float.h>.
71995         (o_threshold, u_threshold): Remove.
71996         (__exp2): Calculate result before checking finiteness and calling
71997         __kernel_standard.
71998         * math/w_exp2f.c: Likewise.
71999         * math/w_exp2l.c: Likewise.
72000         * math/libm-test.inc (exp2_test): Require overflow exception for
72001         1e6 input.
72003         [BZ #3866]
72004         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72005         range of signed 64-bit integers before using fistpll.  Remove
72006         checks for whether integers fit in mantissa bits.
72007         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72008         the range of signed 32-bit integers before using fistpl.  Remove
72009         checks for whether integers fit in mantissa bits.
72010         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72011         (__ieee754_powl): Test for y outside the range of signed 64-bit
72012         integers before using fistpll.  Reduce 64-bit values to 63-bit
72013         ones as needed.
72014         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72015         divide-by-zero is raised for zero to large negative powers.
72016         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72017         (__ieee754_powl): Test for y outside the range of signed 64-bit
72018         integers before using fistpll.  Reduce 64-bit values to 63-bit
72019         ones as needed.
72020         * math/libm-test.inc (pow_test): Add more tests.
72022 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72024         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72025         <stdio-common/_itoa.h>.
72026         * debug/segfault.c: Likewise.
72027         * elf/dl-cache.c: Likewise.
72028         * elf/dl-minimal.c: Likewise.
72029         * elf/dl-misc.c: Likewise.
72030         * elf/dl-sysdep.c: Likewise.
72031         * elf/dl-version.c: Likewise.
72032         * elf/rtld.c: Likewise.
72033         * hurd/hurdsock.c: Likewise.
72034         * hurd/lookup-retry.c: Likewise.
72035         * malloc/malloc.c: Likewise.
72036         * malloc/mtrace.c: Likewise.
72037         * nscd/nscd_getgr_r.c: Likewise.
72038         * nscd/nscd_getpw_r.c: Likewise.
72039         * nscd/nscd_getserv_r.c: Likewise.
72040         * posix/getopt_init.c: Likewise.
72041         * posix/wordexp.c: Likewise.
72042         * stdio-common/_itoa.c: Likewise.
72043         * stdio-common/printf_fphex.c: Likewise.
72044         * stdio-common/vfprintf.c: Likewise.
72045         * string/_strerror.c: Likewise.
72046         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72047         * sysdeps/i386/i686/hp-timing.h: Likewise.
72048         * sysdeps/mach/_strerror.c: Likewise.
72049         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72050         * sysdeps/mach/hurd/sethostid.c: Likewise.
72051         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72052         * sysdeps/mach/xpg-strerror.c: Likewise.
72053         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72054         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72055         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72056         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72057         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72058         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72059         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72060         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72061         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72062         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72063         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72064         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72065         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72066         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72067         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72068         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72069         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72070         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72071         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72072         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72073         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72075         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72077         * stdio-common/_itoa.h: Moved to ...
72078         * sysdeps/generic/_itoa.h: Here.
72080         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72082         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72083         instead of "_itoa.h" and "_itowa.h".
72084         * stdio-common/vfprintf.: Likewise.
72086 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72088         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72089         <bits/wordsize.h>.
72090         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72091         (__signbit): Likwise.
72092         (llrintf): Likwise.
72093         (llrint): Likwise.
72095 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72097         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72098         __WORDSIZE != 64.
72100 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72102         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72103         OVERFLOW_EXCEPTION_OK.
72104         * math/libm-test.inc ("Philosophy"): Update comment about
72105         exception testing.
72106         (OVERFLOW_EXCEPTION): Define.
72107         (OVERFLOW_EXCEPTION_OK): Likewise.
72108         (INVALID_EXCEPTION_OK): Renumber.
72109         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72110         (IGNORE_ZERO_INF_SIGN): Likewise.
72111         (test_exceptions): Handle FE_OVERFLOW.
72112         (exp10_test): Expect overflow exceptions.
72113         (exp2_test): Likewise.
72114         (expm1_test): Likewise.
72115         (nextafter_test): Likewise.
72116         (pow_test): Likewise.
72117         (scalbn_test): Likewise.
72118         (scalbln_test): Likewise.
72120 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72122         * sysdeps/x86_64/bits/atomic.h
72123         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72124         64bit integer.
72125         (atomic_exchange_acq): Likewise.
72126         (__arch_exchange_and_add_body): Likewise.
72127         (__arch_add_body): Likewise.
72128         (atomic_add_negative): Likewise.
72129         (atomic_add_zero): Likewise.
72131 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72133         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72134         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72136 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72138         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72139         Check __x86_64__ instead of __WORDSIZE.
72141 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72143         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72145 2012-03-19  David S. Miller  <davem@davemloft.net>
72147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72149         * sysdeps/sparc/fpu/fenv_private.h: New file.
72150         * sysdeps/sparc/fpu/math_private.h: Use it.
72151         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72152         Remove.
72153         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72154         (libc_feholdexcept_setroundl): Remove.
72155         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72156         Remove.
72157         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72158         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72160 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72162         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72163         int64_t instead of long int.
72164         (INSERT_WORDS64): Likwise.
72166 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72168         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72169         _Unwind_GetCFA return to _Unwind_Ptr first.
72171 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72173         [BZ #13629]
72174         * math/s_clog.c: Include <float.h>.
72175         (__clog): Scale large or subnormal inputs.
72176         * math/s_clogf.c: Likewise.
72177         * math/s_clogl.c: Likewise.
72178         * math/s_clog10.c: Include <float.h>.
72179         (M_LOG10_2): Define.
72180         (__clog10): Scale large or subnormal inputs.
72181         * math/s_clog10f.c: Likewise.
72182         * math/s_clog10l.c: Likewise.
72183         * math/libm-test.inc (clog_test): Add more tests.
72184         (clog10_test): Likewise.
72185         * sysdeps/i386/fpu/libm-test-ulps: Update.
72186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72188         [BZ #11451]
72189         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72190         x and y.
72191         * math/libm-test.inc (atan2_test): Add another test.
72193         * Makerules (common-objdir-compile): Remove.
72194         * sysdeps/unix/Makefile (config-generated): Do not add
72195         $(unix-generated) to variable.
72196         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72197         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72198         Remove rule.
72199         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72200         Likewise.
72201         [generic bits/local_lim.h] (before-compile): Do not append to
72202         variable.
72203         [generic bits/local_lim.h] (common-generated): Likewise.
72204         [generic sys/param.h] (before-compile): Do not append to variable.
72205         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72206         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72207         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72208         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72209         include.
72210         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72211         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72212         [generic sys/param.h] ($(addprefix
72213         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72214         [generic sys/param.h] (common-generated): Do not append to
72215         variable.
72216         [generic sys/param.h] (sysdep_headers): Likewise.
72217         [generic bits/errno.h] (before-compile): Do not append to
72218         variable.
72219         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72220         rule.
72221         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72222         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72223         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72224         [generic bits/errno.h] (common-generated): Do not append to
72225         variable.
72226         [generic bits/ioctls.h] (before-compile): Do not append to
72227         variable.
72228         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72229         rule.
72230         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72231         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72232         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72233         rule.
72234         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
72235         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
72236         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
72237         [generic bits/ioctls.h] (common-generated): Do not append to
72238         variable.
72239         [generic sys/syscall.h] (syscall.h): Remove variable.
72240         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
72241         rule.
72242         [generic sys/syscall.h] (before-compile): Do not append to
72243         variable.
72244         [generic sys/syscall.h] (common-generated): Likewise.
72245         * sysdeps/unix/errnos-tmpl.c: Remove file.
72246         * sysdeps/unix/errnos.awk: Likewise.
72247         * sysdeps/unix/ioctls-tmpl.c: Likewise.
72248         * sysdeps/unix/ioctls.awk: Likewise.
72249         * sysdeps/unix/mk-local_lim.c: Likewise.
72250         * sysdeps/unix/snarf-ioctls: Likewise.
72252 2012-03-19  Richard Henderson  <rth@twiddle.net>
72254         * sysdeps/i386/fpu/fenv_private.h: New file.
72255         * sysdeps/i386/fpu/math_private.h: Use it.
72256         (math_opt_barrier, math_force_eval): Remove.
72257         (libc_feholdexcept_setround_53bit): Remove.
72258         (libc_feupdateenv_53bit): Remove.
72259         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72260         (math_opt_barrier, math_force_eval): Remove.
72261         (libc_feholdexcept): Remove.
72262         (libc_feholdexcept_setround): Remove.
72263         (libc_fetestexcept, libc_fesetenv): Remove.
72264         (libc_feupdateenv_test): Remove.
72265         (libc_feupdateenv, libc_feholdsetround): Remove.
72266         (libc_feresetround): Remove.
72268         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
72269         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
72271         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
72272         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
72273         (libc_feupdateenv_testl): New.
72274         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
72275         (libc_feupdateenv_testf): New.
72276         (libc_feupdateenv): Use libc_feupdateenv_test.
72277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
72278         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
72280         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
72281         (libc_feholdsetroundf, libc_feholdsetroundl): New.
72282         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
72283         (libc_feresetround_noex): New.
72284         (libc_feresetround_noexf): New.
72285         (libc_feresetround_noexl): New.
72286         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
72287         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
72288         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
72289         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
72290         SET_RESTORE_ROUND.
72291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
72292         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
72293         (__cos): Likewise.
72294         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
72295         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
72296         SET_RESTORE_ROUND_NOEX.
72297         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
72298         SET_RESTORE_ROUND_NOEXF.
72299         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
72300         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
72301         (libc_feholdsetroundf): New.
72302         (libc_feresetround, libc_feresetroundf): New.
72304         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
72305         (libc_feholdexcept_setround_53bit): Convert from macro to function.
72306         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
72308         * sysdeps/generic/math_private.h: Include <fenv.h>.
72309         (default_libc_feholdexcept): New.
72310         (default_libc_feholdexcept_setround): New.
72311         (default_libc_fesetenv, default_libc_feupdateenv): New.
72312         (libc_feholdexcept): Only define if undefined.
72313         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
72314         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
72315         (libc_feholdexcept_setroundl): Likewise.
72316         (libc_feholdexcept_setround_53bit): Likewise.
72317         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
72318         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
72319         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
72320         (libc_feupdateenv_53bit): Likewise.
72321         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
72322         (libc_feholdexcept): Convert from macro to inline function.
72323         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
72324         (libc_fesetenv, libc_feupdateenv): Likewise.
72326         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
72327         not previously defined.
72328         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
72329         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
72330         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
72331         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
72332         * sysdeps/ieee754/flt-32/math_private.h: New file.
72333         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
72334         math_private.h below SET_FLOAT_WORD.
72335         (__isnan, __isinf_ns, __finite): Remove.
72336         (__isnanf, __isinf_nsf, __finitef): Remove.
72338 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
72340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72342 2012-03-17  David S. Miller  <davem@davemloft.net>
72344         [BZ #6471]
72345         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
72346         for 2.16.
72348 2012-03-16  David S. Miller  <davem@davemloft.net>
72350         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
72351         warnings.
72353         [BZ #6471]
72354         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
72355         properly.
72356         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
72357         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
72358         sysdep_routines when subdir is sysvipc.
72359         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
72360         __getshmlba helper.
72362         * sysdeps/sparc/fpu/libm-test/ulps: Update.
72364 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72366         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
72367         [__LP64__].
72369 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72371         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
72372         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72373         (__lround): Renamed to ...
72374         (__llround): This.  Replace long int with long long int.
72375         Define lround functions as aliases of llround functions.
72376         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
72378 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72380         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
72381         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
72382         adresses to uintptr_t.  Replace "long int" and "unsigned long
72383         int" with "greg_t" on va_arg.
72385 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72387         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
72388         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
72390         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
72391         Move e_machine check before EI_CLASS check.  Handle x32
72392         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
72393         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
72394         SKIP_EM_IA_64 and include
72395         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
72397         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
72398         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
72399         (add_system_dir): New macro.
72401         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
72402         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
72404 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72406         [BZ #2551]
72407         [BZ #2552]
72408         [BZ #2553]
72409         [BZ #2554]
72410         [BZ #2562]
72411         [BZ #2563]
72412         [BZ #2565]
72413         [BZ #2566]
72414         [BZ #2576]
72415         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72416         (y0): Likewise.
72417         * math/w_j0f.c (j0f): Likewise.
72418         (y0f): Likewise.
72419         * math/w_j0l.c (__j0l): Likewise.
72420         (__y0l): Likewise.
72421         * math/w_j1.c (j1): Likewise.
72422         (y1): Likewise.
72423         * math/w_j1f.c (j1f): Likewise.
72424         (y1f): Likewise.
72425         * math/w_j1l.c (__j1l): Likewise.
72426         (__y1l): Likewise.
72427         * math/w_jn.c (jn): Likewise.
72428         (yn): Likewise.
72429         * math/w_jnf.c (jnf): Likewise.
72430         (ynf): Likewise.
72431         * math/w_jnl.c (__jnl): Likewise.
72432         (__ynl): Likewise.
72433         * math/libm-test.inc (j0_test): Add more tests.
72434         (j1_test): Likewise.
72435         (jn_test): Likewise.  Add trailing semicolon to existing test.
72436         (y0_test): Likewise.
72437         (y1_test): Likewise.
72438         * sysdeps/i386/fpu/libm-test-ulps: Update.
72439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72441         [BZ #13851]
72442         [BZ #13854]
72443         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72444         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72445         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72446         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72447         (__tanl): Set errno for infinite argument.
72448         * sysdeps/i386/fpu/mptan.c: Remove.
72449         * sysdeps/i386/fpu/s_tan.S: Likewise.
72450         * sysdeps/i386/fpu/s_tanl.S: Likewise.
72451         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72452         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72453         * math/libm-test.inc (tan_test): Add more tests and enable more
72454         tests for double and long double.
72455         * sysdeps/i386/fpu/libm-test-ulps: Update.
72456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72458 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
72460         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72461         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72463 2012-03-16  Roland McGrath  <roland@hack.frob.com>
72465         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72466         * configure.in: Use it for both main tree and add-ons.
72467         * configure: Regenerated.
72469 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72471         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72473 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72475         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72476         in comment.
72478         [BZ #13851]
72479         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72480         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72481         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72482         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72483         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72484         infinite argument.
72485         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72486         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72487         != 0 for prec == 2.
72488         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72489         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72490         * sysdeps/i386/fpu/s_cosl.S: Likewise.
72491         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72492         * sysdeps/i386/fpu/s_sinl.S: Likewise.
72493         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72494         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72495         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72496         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72497         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72498         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72499         * math/libm-test.inc (cos_test): Add more tests and enable more
72500         tests for long double.
72501         (sin_test): Likewise.
72502         (sincos_test): Likewise.
72503         * sysdeps/i386/fpu/libm-test-ulps: Update.
72504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72506 2012-03-16  David S. Miller  <davem@davemloft.net>
72508         * sysdeps/sparc/fpu/math_private.h: New file.
72510 2012-03-15  David S. Miller  <davem@davemloft.net>
72512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72513         file.
72514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72516         file.
72517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
72518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
72519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
72520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
72521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
72522         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
72523         sysdep routines.
72524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72526         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
72527         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
72529         * sysdeps/sparc/sparc-ifunc.h: New file.
72530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
72531         sparc-ifunc.h
72532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
72534         Likewise.
72535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
72536         Likewise.
72537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
72538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
72539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72541         Likewise.
72542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
72544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
72546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
72547         Likewise.
72548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
72549         Likewise.
72550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
72553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
72554         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72556         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
72557         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
72558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
72561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
72562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
72563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
72564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
72565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
72566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
72567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
72568         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
72569         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
72570         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
72571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
72572         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
72573         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
72575 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72577         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
72578         scaling.
72579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72581 2012-03-15  Andreas Jaeger  <aj@suse.de>
72583         [BZ #13852]
72584         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
72585         ieee754/flt-32 implementation for sin, cos and sincos.
72586         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
72587         * sysdeps/i386/fpu/s_cosf.S: Likewise.
72588         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
72589         * sysdeps/i386/fpu/s_sinf.S: Likewise.
72590         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
72591         ieee754/flt-32 implementation for tan.
72593         * math/libm-test.inc (cos_test): Enable some large input tests for
72594         float as well
72595         (sin_test): Likewise.
72596         (sincos_test): Likewise.
72597         (tan_test): Add tests for large input.
72599         * sysdeps/i386/fpu/libm-test-ulps: Update.
72601 2012-03-15  Andreas Jaeger  <aj@suse.de>
72603         [BZ #13658]
72604         * math/libm-test.inc (cos_test): Add more test cases.
72605         (sin_test): Likewise.
72606         (sincos_test): Likewise.
72608 2012-03-15  Andreas Jaeger  <aj@suse.de>
72610         [BZ #13837]
72611         * math/libm-test.inc (cos_test): Add a test case for large input
72612         value.
72613         (sin_test): Likewise.
72614         (sincos_test): Likewise.
72616 2012-03-15  Andreas Jaeger  <aj@suse.de>
72617             Joseph Myers  <joseph@codesourcery.com>
72619         [BZ #13658]
72620         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
72621         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
72622         * sysdeps/i386/fpu/branred.c: Likewise.
72623         * sysdeps/i386/fpu/dosincos.c: Likewise.
72624         * sysdeps/i386/fpu/mpa.c: Likewise.
72625         * sysdeps/i386/fpu/s_cos.S: Likewise.
72626         * sysdeps/i386/fpu/s_sin.S: Likewise.
72627         * sysdeps/i386/fpu/s_sincos.S: Likewise.
72628         * sysdeps/i386/fpu/sincos32.c: Likewise.
72630         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
72631         Define.
72632         (libc_feupdateenv_53bit): Define.
72633         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
72634         Define.
72635         (libc_feupdateenv_53bit): Define.
72637         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
72638         53 bit (without extend i386 double precision).
72640         * math/libm-test.inc (sincos_test): Add tests for large input.
72641         (sin): Likewise.
72642         (cos): Likewise.
72644         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
72646 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72650 2012-03-15  David S. Miller  <davem@davemloft.net>
72652         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
72653         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
72654         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
72655         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
72656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
72657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
72658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
72659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
72660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
72661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
72662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
72663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
72664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
72665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
72666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
72667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
72668         file.
72669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
72670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
72671         file.
72672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
72673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
72674         file.
72675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
72676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
72677         file.
72678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
72679         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
72680         fmin/fmax sysdep routines.
72681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72683 2012-03-14  David S. Miller  <davem@davemloft.net>
72685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
72686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
72687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
72688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
72689         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
72690         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
72691         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
72692         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
72693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
72694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
72695         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
72696         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
72697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
72698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
72699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
72700         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
72701         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
72702         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
72703         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
72704         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
72705         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
72706         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
72707         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
72708         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
72709         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
72710         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
72711         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
72712         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
72713         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
72714         routines.
72715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
72716         file.
72717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
72718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
72719         file.
72720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
72721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
72722         file.
72723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
72724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
72725         file.
72726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
72727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
72728         file.
72729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
72730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
72731         file.
72732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
72733         file.
72734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
72735         file.
72736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
72737         file.
72738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
72739         New file.
72740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
72741         file.
72742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
72743         file.
72744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
72745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
72746         file.
72747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
72748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
72749         file.
72750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
72751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
72752         file.
72753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
72754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
72755         VIS3 routines.
72757         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72758         New file.
72760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72762         * sysdeps/sparc/configure.in: New file.
72763         * sysdeps/sparc/configure: Generate.
72764         * configure.in (libc_cv_sparc_as_vis3): Substitute.
72765         * configure: Regenerate.
72766         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
72767         * config.make.in (have-as-vis3): New.
72768         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
72769         available use -Av9d instead of -Av9a.
72770         * sysdeps/sparc/sparc64/Makefile: Likewise.
72771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
72772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
72773         New file.
72774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
72775         file.
72776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
72777         New file.
72778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
72779         file.
72780         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
72781         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
72782         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
72783         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
72784         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
72786         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
72787         fzeros/fnegs to load 0x80000000 into a float register instead of
72788         using the stack.
72789         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
72791 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72794         bits/syscall.h.
72795         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
72796         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
72797         ($(inst_includedir)/bits/syscall.h): Remove rule.
72798         ($(objpfx)bits/syscall.d): Include instead of
72799         $(objpfx)syscall-list.d.
72800         (generated): Change syscall-list.h and syscall-list.d to
72801         bits/syscall.h and bits/syscall.d.
72803 2012-03-14  Roland McGrath  <roland@hack.frob.com>
72805         [BZ #13846]
72806         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
72808 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72810         [BZ #13841]
72811         * math/s_csqrt.c: Include <float.h>.
72812         (__csqrt): Scale large or subnormal inputs.
72813         * math/s_csqrtf.c: Likewise.
72814         * math/s_csqrtl.c: Likewise.
72815         * math/libm-test.inc (csqrt_test): Add more tests.
72816         * sysdeps/i386/fpu/libm-test-ulps: Update.
72817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72819         [BZ #13840]
72820         * math/libm-test.inc (hypot_test): Add more tests.
72822 2012-03-13  David S. Miller  <davem@davemloft.net>
72824         [BZ #13840]
72825         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
72826         double-precision for the calculation instead of scaling.
72828 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
72830         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
72831         manipulate bits before adding and subtracting TWO52[sx].
72832         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
72833         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
72834         Likewise.
72835         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
72837 2012-03-13  David S. Miller  <davem@davemloft.net>
72839         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
72840         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
72841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
72842         rtld-global-offsets.h
72843         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72845         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
72846         large parameters.
72848         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
72850         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
72851         'err' in the ifdef scope in which it is actually used.
72853         * nss/nss_db/db-init.c: Include string.h
72855 2012-03-12  David S. Miller  <davem@davemloft.net>
72857         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72858         masking out of the most significant byte of random value used.
72859         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72860         Fix coding style in previous change.
72862         * sysdeps/unix/sysv/linux/kernel-features.h
72863         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
72864         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
72865         expression.
72866         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
72867         later.
72869 2012-03-11  David S. Miller  <davem@davemloft.net>
72871         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72872         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
72873         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
72874         for 'resultvar' otherwise things get truncated on 64-bit.
72876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72877         Fix masking out of the most significant byte of random value used.
72879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72881 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
72883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72885 2012-03-09  David S. Miller  <davem@davemloft.net>
72887         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72888         variables with appropriate CPP guards.
72889         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72890         from the frame pointer, not the stack pointer.  Correct layout
72891         comments.  Fix test on resulting framesize and the management of
72892         the outregs buffer for pltexit.  Preserve floating point return
72893         values across _dl_call_pltexit call.
72894         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72895         framesize and the management of the outregs buffer for pltexit.
72896         Preserve floating point return values across _dl_call_pltexit
72897         call.
72898         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72899         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72900         (la_sparc64_gnu_pltexit): New functions.
72901         (print_exit): Fix format string for return register value.
72903 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72905         * sunrpc/Makefile (others): Add rpcgen.
72906         ($(objpfx)rpcgen): Remove special build rule and dependency on
72907         libc.
72908         * sunrpc/rpcgen.c: New file.
72910 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72912         [BZ #13673]
72913         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72914         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72915         * sysdeps/i386/crti.S: Likewise.
72916         * sysdeps/i386/crtn.S: Likewise.
72917         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72918         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72919         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72920         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72921         * sysdeps/sh/crti.S: Likewise.
72922         * sysdeps/sh/crtn.S: Likewise.
72923         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72925         [BZ #13673]
72926         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72927         with URL.
72928         * locale/programs/locfile-kw.gperf: Likewise.
72929         * locale/programs/charmap-kw.h: Regenerated.
72930         * locale/programs/locfile-kw.h: Likewise.
72932         [BZ #13673]
72933         * intl/plural.y: Replace FSF snail mail address with URL.
72934         * intl/plural.c: Regenerated.
72936 2012-03-09  Richard Henderson  <rth@twiddle.net>
72938         * include/math_private.h: Remove file.
72939         * math/math_private.h: Move file ...
72940         * sysdeps/generic/math_private.h: ... here.
72942         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72943         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72944         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72946         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72947         and <math_private.h>.
72948         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72949         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72950         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72951         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72952         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72953         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72954         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72955         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72956         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72957         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72958         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72959         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72960         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72961         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72962         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72963         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72964         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72965         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72966         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72967         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72968         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72969         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72970         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72971         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72972         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72973         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72974         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72975         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72976         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72977         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72978         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72979         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72980         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72981         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72982         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72983         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72984         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72985         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72986         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72987         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72988         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72989         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72990         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72991         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72992         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72993         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72994         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72995         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72996         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72997         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72998         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72999         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73000         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73001         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73002         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73003         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73004         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73005         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73006         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73007         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73008         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73009         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73010         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73011         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73012         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73013         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73014         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73015         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73016         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73017         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73018         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73019         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73020         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73021         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73022         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73023         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73024         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73025         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73026         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73027         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73028         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73029         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73030         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73031         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73032         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73033         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73034         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73035         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73036         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73037         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73038         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73039         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73040         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73041         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73042         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73043         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73044         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73045         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73046         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73047         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73048         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73049         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73050         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73051         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73052         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73053         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73054         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73055         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73056         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73057         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73058         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73059         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73060         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73061         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73062         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73063         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73064         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73065         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73066         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73067         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73068         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73069         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73070         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73071         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73072         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73073         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73074         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73075         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73076         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73077         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73078         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73079         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73080         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73081         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73082         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73083         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73084         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73085         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73086         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73087         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73088         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73089         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73090         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73091         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73092         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73093         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73094         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73095         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73096         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73097         * sysdeps/ieee754/k_standard.c: Likewise.
73098         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73099         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73100         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73101         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73102         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73103         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73104         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73105         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73106         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73107         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73108         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73109         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73110         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73111         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73112         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73113         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73114         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73115         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73116         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73117         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73118         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73119         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73120         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73121         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73122         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73123         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73124         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73125         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73126         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73127         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73128         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73129         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73130         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73131         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73132         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73133         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73134         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73135         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73136         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73137         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73138         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73139         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73140         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73141         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73142         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73143         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73144         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73145         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73146         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73147         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73148         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73149         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73150         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73151         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73152         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73153         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73154         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73155         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73156         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73157         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73158         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73159         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73160         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73161         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73162         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73163         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73164         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73165         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73166         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73167         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73168         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73170         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73171         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73172         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73173         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73174         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73175         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73176         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73177         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73178         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73179         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73180         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73181         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73182         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73183         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73184         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73185         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73186         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73187         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73188         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73189         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73190         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73191         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73192         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73193         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73194         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73195         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73196         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73197         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73198         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73199         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73200         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73201         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73202         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73203         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73205         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73206         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73207         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73208         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73209         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73210         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73211         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73212         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73213         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73214         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73215         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73216         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73217         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73218         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73219         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73220         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73221         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73222         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73223         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73224         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73225         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73226         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73227         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73228         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73229         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73230         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73231         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73232         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73233         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73234         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
73235         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
73236         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73237         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
73238         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
73239         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73240         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
73241         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
73242         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73243         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73244         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73245         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73246         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73247         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
73248         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73249         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73250         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73251         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73252         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
73253         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
73254         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73255         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73256         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73257         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
73258         * sysdeps/ieee754/s_lib_version.c: Likewise.
73259         * sysdeps/ieee754/s_matherr.c: Likewise.
73260         * sysdeps/ieee754/s_signgam.c: Likewise.
73261         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73262         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73263         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
73264         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
73265         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
73266         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73267         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
73268         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
73269         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
73270         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
73271         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
73272         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
73273         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73274         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73275         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
73276         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73277         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73278         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73279         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73280         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73281         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73283 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73285         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
73286         * sunrpc/rpc_main.c: Likewise.
73287         * sunrpc/rpc_svcout.c: Likewise.
73289 2012-03-09  David S. Miller  <davem@davemloft.net>
73291         * include/math_private.h: New file.
73293 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73295         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
73296         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
73297         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
73298         from <bits/socket_type.h>.
73299         (enum __socket_type): Don't define here.
73300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
73301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73302         bits/socket_type.h.
73304         [BZ #13566]
73305         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
73306         checking __USE_GNU.
73308         * Makerules ($(inst_includedir)/%.h): New rule.
73309         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
73310         (install-others): Remove variable setting.
73311         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
73313 2012-03-08  Richard Henderson  <rth@twiddle.net>
73315         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
73316         from macro to inline function; merge with the
73317         !__LIBC_INTERNAL_MATH_INLINES version.
73318         (__ieee754_sqrtf): Likewise.
73320         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
73321         to inline function.
73322         (__rintf, __floor, __floorf): Likewise.
73324         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
73325         macro to inline function.
73326         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
73328         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
73329         not <math/math_private.h>.
73331 2012-03-08  David S. Miller  <davem@davemloft.net>
73333         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
73334         copyright year.
73335         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
73337 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
73339         * resolv/gai_misc.c (handle_requests): Fix struct timespec
73340         normalization.
73341         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
73342         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
73344 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
73346         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
73347         be defined individually, they must be defined as a block.  Define
73348         S for printing a string instead of hidint the different by using a
73349         macro for adding the 'l'.
73350         * stdio-common/tst-fphex-wide.c: Adjust.
73352 2012-03-07  Marek Polacek  <polacek@redhat.com>
73354         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73356 2012-03-08  Marek Polacek  <polacek@redhat.com>
73358         [BZ #13806]
73359         * stdio-common/Makefile (tests): Add tst-fphex-wide.
73360         * stdio-common/tst-fphex.c: Define a few macros to make the
73361         test reusable.  Use them.
73362         * stdio-common/tst-fphex-wide.c: New file.
73364 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
73366         [BZ #6911]
73367         * manual/macros.texi (gnusystems): New macro.
73368         (nongnusystems): Likewise.
73369         (gnulinuxhurdsystems): Likewise.
73370         (gnuhurdsystems): Likewise..
73371         (gnulinuxsystems): Likewise.
73372         * manual/charset.texi: Use new macros or @theglibc{} to refer to
73373         variants of the GNU system, not "GNU system".
73374         * manual/conf.texi: Likewise.
73375         * manual/errno.texi: Likewise.  Update example of errno macro
73376         expansion.
73377         * manual/filesys.texi: Likewise.
73378         (getumask): Document as specific to GNU/Hurd.
73379         * manual/install.texi: Likewise.  Reword some references to
73380         GNU/Linux.
73381         * manual/intro.texi: Likewise.
73382         * manual/io.texi: Likewise.
73383         (File Name Portability): Detail which constraints are inapplicable
73384         to all GNU systems and which are only inapplicable to GNU/Hurd.
73385         * manual/job.texi: Likewise.
73386         * manual/llio.texi: Likewise.
73387         (O_NOCTTY): Document as present on GNU/Linux.
73388         * manual/maint.texi: Likewise.
73389         * manual/memory.texi: Likewise.
73390         * manual/pattern.texi: Likewise.
73391         * manual/pipe.texi: Likewise.
73392         * manual/process.texi: Likewise.
73393         * manual/resource.texi: Likewise.
73394         (RUSAGE_CHILDREN): Remove statement about specifying a particular
73395         child on GNU/Hurd.
73396         * manual/setjmp.texi: Likewise.
73397         * manual/signal.texi: Likewise.
73398         * manual/startup.texi: Likewise.
73399         * manual/stdio.texi: Likewise.
73400         * manual/terminal.texi: Likewise.
73401         (ONLCR): Document as POSIX.
73402         (OXTABS): Document availability on GNU/Linux as XTABS.
73403         (ONOEOT): Document availability separately from other bits.
73404         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
73405         * manual/time.texi: Likewise.
73406         * manual/users.texi: Likewise.
73407         * INSTALL: Regenerated.
73408         * sysdeps/gnu/errlist.c: Regenerated.
73410         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
73411         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
73412         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
73413         puts.
73414         * configure: Regenerated.
73416 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
73418         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73419         default includes instead of AC_HEADER_CHECK.
73420         * sysdeps/i386/configure: Regenerated.
73422         [BZ #10716]
73423         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73424         * math/s_cacoshf.c (__cacoshf): Likewise.
73425         * math/s_cacoshl.c (__cacoshl): Likewise.
73426         * math/s_casinh.c (__casinh): Set signs of result from argument.
73427         * math/s_casinhf.c (__casinhf): Likewise.
73428         * math/s_casinhl.c (__casinhl): Likewise.
73429         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73430         (casinh_test): Add more tests.
73431         * sysdeps/i386/fpu/libm-test-ulps: Update.
73432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73434 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
73436         * po/zh_TW.po: Update from translation team.
73438         * login/Makefile (distribute): Remove variable.
73439         * catgets/Makefile: Likewise.
73440         * mach/Makefile: Likewise.
73441         * malloc/Makefile: Likewise.
73442         * misc/Makefile: Likewise.
73443         * iconv/Makefile: Likewise.
73444         * nscd/Makefile: Likewise.
73445         * hurd/Makefile: Likewise.
73446         * manual/Makefile: Likewise.
73447         * locale/Makefile: Likewise.
73448         * intl/Makefile: Likewise.
73449         * conform/Makefile: Likewise.
73450         * nss/Makefile: Likewise.
73451         * time/Makefile: Likewise.
73452         * soft-fp/Makefile: Likewise.
73453         * dirent/Makefile: Likewise.
73454         * gmon/Makefile: Likewise.
73455         * po/Makefile: Likewise.
73456         * rt/Makefile: Likewise.
73457         * socket/Makefile: Likewise.
73458         * math/Makefile: Likewise.
73459         * signal/Makefile: Likewise.
73460         * debug/Makefile: Likewise.
73461         * elf/Makefile: Likewise.
73462         * timezone/Makefile: Likewise.
73463         * stdlib/Makefile: Likewise.
73464         * iconvdata/Makefile: Likewise.
73465         * sunrpc/Makefile: Likewise.
73466         * io/Makefile: Likewise.
73467         * argp/Makefile: Likewise.
73468         * inet/Makefile: Likewise.
73469         * hesiod/Makefile: Likewise.
73470         * grp/Makefile: Likewise.
73471         * csu/Makefile: Likewise.
73472         * wctype/Makefile: Likewise.
73473         * crypt/Makefile: Likewise.
73474         * libio/Makefile: Likewise.
73475         * string/Makefile: Likewise.
73476         * nis/Makefile: Likewise.
73477         * resolv/Makefile: Likewise.
73478         * stdio-common/Makefile: Likewise.
73479         * wcsmbs/Makefile: Likewise.
73480         * dlfcn/Makefile: Likewise.
73481         * posix/Makefile: Likewise.
73483         [BZ #6959]
73484         * timezone/Makefile: Don't install timezone files, just the programs
73485         and scripts.
73487 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
73489         * nss/databases.def: Add missing gshadow entry.
73491         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
73493 2012-03-06  Marek Polacek  <polacek@redhat.com>
73495         [BZ #13726]
73496         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73497         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73498         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73499         * stdio-common/tst-long-dbl-fphex.c: New file.
73501 2012-03-06  David S. Miller  <davem@davemloft.net>
73503         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73504         (set_obp_int): New function.
73505         (get_obp_int): New function.
73506         (__get_clockfreq_via_dev_openprom): Likewise.
73507         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73508         Avoid unused variable warnings on 'val' and use builtin_expect.
73509         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73510         __builtin_expect.
73511         (INLINE_CLONE_SYSCALL): Likewise.
73513 2012-03-05  David S. Miller  <davem@davemloft.net>
73515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73517 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
73519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73521         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
73522         only for |x| >= 40.
73523         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73525 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
73527         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
73528         Replace gettimeofday with __vdso_gettimeofday.
73530         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73531         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
73532         __vdso_clock_gettime and __vdso_getcpu.
73534         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
73535         time with __vdso_time.
73537 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73539         * manual/lang.texi (size_t): Note types to which size_t may be
73540         equivalent with the GNU C Library, but do not describe when
73541         differences between them are significant.
73543 2012-03-05  Andreas Jaeger  <aj@suse.de>
73545         * sysdeps/i386/fpu/libm-test-ulps: Update.
73547 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73549         [BZ #3976]
73550         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
73551         (__ieee754_pow): Save and restore rounding mode and use
73552         round-to-nearest for main computations.
73553         * math/libm-test.inc (pow_test_tonearest): New function.
73554         (pow_test_towardzero): Likewise.
73555         (pow_test_downward): Likewise.
73556         (pow_test_upward): Likewise.
73557         (main): Call the new functions.
73558         * sysdeps/i386/fpu/libm-test-ulps: Update.
73559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73561         [BZ #3976]
73562         * math/libm-test.inc (cosh_test_tonearest): New function.
73563         (cosh_test_towardzero): Likewise.
73564         (cosh_test_downward): Likewise.
73565         (cosh_test_upward): Likewise.
73566         (sinh_test_tonearest): Likewise.
73567         (sinh_test_towardzero): Likewise.
73568         (sinh_test_downward): Likewise.
73569         (sinh_test_upward): Likewise.
73570         (main): Call the new functions.
73571         * sysdeps/i386/fpu/libm-test-ulps: Update.
73572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73574 2012-03-05  Tom de Vries  <tom@codesourcery.com>
73576         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
73577         default stack guard is set in last bytes.
73578         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
73580 2012-03-05  Kees Cook  <keescook@chromium.org>
73582         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
73584         [BZ #13656]
73585         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
73586         possibly allocate from heap instead of stack.
73587         * stdio-common/bug-vfprintf-nargs.c: New file.
73588         * stdio-common/Makefile (tests): Add nargs overflow test.
73590 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
73592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73594 2012-03-03  Marek Polacek  <polacek@redhat.com>
73596         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73597         * math/math_private.h: Likewise.
73598         * stdlib/tst-strtod.c: Likewise.
73599         * sysdeps/i386/i486/bits/atomic.h: Likewise.
73600         * sysdeps/x86_64/bits/atomic.h: Likewise.
73602 2012-03-02  David S. Miller  <davem@davemloft.net>
73604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
73605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
73606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
73607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
73608         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73609         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
73610         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
73611         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
73613 2012-03-02  Roland McGrath  <roland@hack.frob.com>
73615         [BZ #13792]
73616         * manual/examples/README: New file, says the example source files
73617         can be used under GPL>=2.
73618         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73619         line containing just "*/".
73620         * manual/examples/add.c: Add copyright header (GPL>=2).
73621         * manual/examples/argp-ex1.c: Likewise.
73622         * manual/examples/argp-ex2.c: Likewise.
73623         * manual/examples/argp-ex3.c: Likewise.
73624         * manual/examples/argp-ex4.c: Likewise.
73625         * manual/examples/atexit.c: Likewise.
73626         * manual/examples/db.c: Likewise.
73627         * manual/examples/dir.c: Likewise.
73628         * manual/examples/dir2.c: Likewise.
73629         * manual/examples/execinfo.c: Likewise.
73630         * manual/examples/filecli.c: Likewise.
73631         * manual/examples/filesrv.c: Likewise.
73632         * manual/examples/fmtmsgexpl.c: Likewise.
73633         * manual/examples/genpass.c: Likewise.
73634         * manual/examples/inetcli.c: Likewise.
73635         * manual/examples/inetsrv.c: Likewise.
73636         * manual/examples/isockad.c: Likewise.
73637         * manual/examples/longopt.c: Likewise.
73638         * manual/examples/memopen.c: Likewise.
73639         * manual/examples/memstrm.c: Likewise.
73640         * manual/examples/mkfsock.c: Likewise.
73641         * manual/examples/mkisock.c: Likewise.
73642         * manual/examples/mygetpass.c: Likewise.
73643         * manual/examples/pipe.c: Likewise.
73644         * manual/examples/popen.c: Likewise.
73645         * manual/examples/rprintf.c: Likewise.
73646         * manual/examples/search.c: Likewise.
73647         * manual/examples/select.c: Likewise.
73648         * manual/examples/setjmp.c: Likewise.
73649         * manual/examples/sigh1.c: Likewise.
73650         * manual/examples/sigusr.c: Likewise.
73651         * manual/examples/stpcpy.c: Likewise.
73652         * manual/examples/strdupa.c: Likewise.
73653         * manual/examples/strftim.c: Likewise.
73654         * manual/examples/strncat.c: Likewise.
73655         * manual/examples/subopt.c: Likewise.
73656         * manual/examples/swapcontext.c: Likewise.
73657         * manual/examples/termios.c: Likewise.
73658         * manual/examples/testopt.c: Likewise.
73659         * manual/examples/testpass.c: Likewise.
73660         * manual/examples/timeval_subtract.c: Likewise.
73662         [BZ #13792]
73663         * manual/time.texi (Elapsed Time): Move timeval_subtract example
73664         function to ...
73665         * manual/timeval_subtract.c.texi: ... here, new file.
73667 2012-03-02  David S. Miller  <davem@davemloft.net>
73669         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
73671 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
73673         [BZ #3976]
73674         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
73675         (__sin): Save and restore rounding mode and use round-to-nearest
73676         for all computations.
73677         (__cos): Save and restore rounding mode and use round-to-nearest
73678         for all computations.
73679         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
73680         <fenv.h>.
73681         (tan): Save and restore rounding mode and use round-to-nearest for
73682         all computations.
73683         * math/libm-test.inc (cos_test_tonearest): New function.
73684         (cos_test_towardzero): Likewise.
73685         (cos_test_downward): Likewise.
73686         (cos_test_upward): Likewise.
73687         (sin_test_tonearest): Likewise.
73688         (sin_test_towardzero): Likewise.
73689         (sin_test_downward): Likewise.
73690         (sin_test_upward): Likewise.
73691         (tan_test_tonearest): Likewise.
73692         (tan_test_towardzero): Likewise.
73693         (tan_test_downward): Likewise.
73694         (tan_test_upward): Likewise.
73695         (main): Call the new functions.
73696         * sysdeps/i386/fpu/libm-test-ulps: Update.
73697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73699         [BZ #10135]
73700         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
73701         small n, then large n, before computing and testing k+n.
73702         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
73703         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
73704         Likewise.
73705         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
73706         Likewise.
73707         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
73708         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
73709         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
73710         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
73711         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
73712         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
73713         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
73714         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
73715         * math/libm-test.inc (scalbn_test): Add more tests.
73716         (scalbln_test): Likewise.
73718         * manual/filesys.texi (mode_t): Describe constraints on size and
73719         signedness, not exact equivalence to a particular type.
73720         (ino_t): Likewise.
73721         (ino64_t): Likewise.
73722         (dev_t): Likewise.
73723         (nlink_t): Likewise.
73724         (blkcnt_t): Likewise.
73725         (blkcnt64_t): Likewise.
73726         * manual/llio.texi (off_t): Likewise.
73728         [BZ #3976]
73729         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
73730         (__ieee754_exp): Save and restore rounding mode and use
73731         round-to-nearest for all computations.
73732         * math/libm-test.inc (exp_test_tonearest): New function.
73733         (exp_test_towardzero): Likewise.
73734         (exp_test_downward): Likewise.
73735         (exp_test_upward): Likewise.
73736         (main): Call the new functions.
73737         * sysdeps/i386/fpu/libm-test-ulps: Update.
73738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73740 2012-03-01  Chris Demetriou  <cgd@google.com>
73742         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
73743         have predictable order.
73745 2012-03-01  David S. Miller  <davem@davemloft.net>
73747         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
73749         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
73750         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
73751         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
73752         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
73754         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
73755         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
73756         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
73757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
73758         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
73759         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
73760         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
73761         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
73762         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
73764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73766         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
73767         * sysdeps/sparc/fpu/libm-test-ulps: to here.
73768         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
73770         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
73771         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73772         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73773         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
73774         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
73775         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
73776         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
73777         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73778         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73779         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
73780         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
73781         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73782         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73783         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73784         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73785         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73786         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
73787         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
73788         * sysdeps/sparc/elf/configure: Regenerated.
73790 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
73792         * configure.in (AS, LD): Require binutils 2.20 or later.
73793         * configure: Regenerated.
73794         * manual/install.texi (Tools for Compilation): Give binutils 2.20
73795         as required minimum version.
73796         * INSTALL: Regenerated.
73798         [BZ #2541]
73799         [BZ #4108]
73800         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
73801         before squaring exponent.
73802         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
73803         bottom long double and 27 bits of top long double before squaring
73804         exponent.
73805         * math/libm-test.inc (erfc_test): Add more tests.
73806         * sysdeps/i386/fpu/libm-test-ulps: Update.
73807         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73810 2012-03-01  Kai Tietz  <ktietz@redhat.com>
73812         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
73813         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
73814         containing bit-fields.
73815         * soft-fp/extended.h (_FP_UNION_E): Likewise.
73816         * soft-fp/single.h (_FP_UNION_S): Likewise.
73817         * soft-fp/double.h (_FP_UNION_D): Likewise.
73819 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73821         [BZ #13786]
73822         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
73823         not include ../strcmp.S.
73824         [USE_AS_STRNCASECMP_L]: Likewise.
73825         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
73826         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
73827         * sysdeps/i386/i686/multiarch/strncase_l-c.c
73828         (__strncasecmp_l_ia32): Define as alias to
73829         __strncasecmp_l_nonascii.
73831         [BZ #5794]
73832         * math/libm-test.inc (expm1_test): Add test for bug 5794.
73833         * sysdeps/i386/fpu/libm-test-ulps: Update.
73834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73836         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
73837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73839 2012-02-29  Jeff Law  <law@redhat.com>
73841         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
73842         out of bounds read.
73844 2012-02-29  Marek Polacek  <polacek@redhat.com>
73846         [BZ #13706]
73847         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
73848         * elf/Makefile: Add rules to run tst-unused-dep.out.
73850 2012-02-28  David S. Miller  <davem@davemloft.net>
73852         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
73853         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
73854         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
73855         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
73856         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
73857         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
73859 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73861         * math/libm-test.inc (llround_test): Move one test from
73862         lround_test.  Use TEST_f_L in moved test.
73863         (lround_test): Move misplaced test to llround_test.  Add testcase
73864         from bug 2561.
73866 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
73868         * sysdeps/x86_64/fpu/e_expf.S: New file.
73869         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
73871 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
73873         [BZ #13637]
73874         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
73875         of remain_len that may cause incomplete multi-byte character and
73876         false match.
73877         * posix/bug-regex33.c: New file.
73878         * posix/Makefile (tests): Add bug-regex33.
73880 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
73882         * manual/macros.texi: New file.
73883         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73884         * manual/libc.texinfo: Include macros.texi.
73885         * manual/creatute.texi: Likewise.
73886         * manual/install.texi: Likewise.
73887         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73888         @glibcadj{} in references to the GNU C Library.
73889         * manual/charset.texi: Likewise.
73890         * manual/conf.texi: Likewise.
73891         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73892         when not using those macros.
73893         * manual/creature.texi: Likewise.
73894         * manual/crypt.texi: Likewise.
73895         * manual/errno.texi: Likewise.
73896         * manual/filesys.texi: Likewise.
73897         * manual/header.texi: Likewise.
73898         * manual/install.texi: Likewise.
73899         * manual/intro.texi: Likewise.
73900         * manual/io.texi: Likewise.
73901         * manual/job.texi: Likewise.
73902         * manual/lang.texi: Likewise.
73903         * manual/libc.texiinfo: Likewise.
73904         * manual/llio.texi: Likewise.
73905         * manual/locale.texi: Likewise.
73906         * manual/maint.texi: Likewise.
73907         * manual/math.texi: Likewise.
73908         * manual/memory.texi: Likewise.
73909         * manual/message.texi: Likewise.
73910         * manual/nss.texi: Likewise.
73911         * manual/pattern.texi: Likewise.
73912         * manual/process.texi: Likewise.
73913         * manual/resource.texi: Likewise.
73914         * manual/search.texi: Likewise.
73915         * manual/setjmp.texi: Likewise.
73916         * manual/signal.texi: Likewise.
73917         * manual/socket.texi: Likewise.
73918         * manual/startup.texi: Likewise.
73919         * manual/stdio.texi: Likewise.
73920         * manual/string.texi: Likewise.
73921         * manual/sysinfo.texi: Likewise.
73922         * manual/syslog.texi: Likewise.
73923         * manual/terminal.texi: Likewise.
73924         * manual/time.texi: Likewise.
73925         * manual/users.texi: Likewise.
73926         * INSTALL: Regenerated.
73927         * NOTES: Regenerated.
73928         * sysdeps/gnu/errlist.c: Regenerated.
73930 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73932         * include/dirent.h: Include <dirstream.h> before
73933         <dirent/dirent.h>.
73935 2012-02-28  David S. Miller  <davem@davemloft.net>
73937         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73938         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73939         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73940         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73942 2012-02-27  David S. Miller  <davem@davemloft.net>
73944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73946         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73947         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73950         frame pointer instead of stack pointer relative arg slot.
73951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73952         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73953         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73955 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73957         [BZ #3992]
73958         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73960 2012-02-27  David S. Miller  <davem@davemloft.net>
73962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73966         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73967         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73968         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73969         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73971 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73973         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73974         later.  Allow versions 5-9.
73975         * configure: Regenerated.
73976         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73977         required minimum version and 4.6 as recommended version.  Do not
73978         mention bugs in GCC 2.7 and 2.8.
73979         * INSTALL: Regenerated.
73981 2012-02-27  David S. Miller  <davem@davemloft.net>
73983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73987         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73988         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73989         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73990         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73992         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73993         manipulate bits before adding and subtracting TWO112[sx].
73994         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73996 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73998         [BZ #13775]
73999         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74000         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74001         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74002         being in POSIX, because they are in 1003.1-2008.
74004         * rt/tst-aio.c: Include <fcntl.h>.
74005         * rt/tst-aio7.c: Likewise.
74006         * rt/tst-aio64.c: Likewise.
74008         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74010 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74012         * manual/install.texi (--with-headers): Describe headers as
74013         interface headers, not private headers.
74014         (Specific advice for GNU/Linux systems): Describe use of headers
74015         from "make headers_install", not private headers from older
74016         kernels.
74017         * INSTALL: Regenerated.
74018         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74019         Change to 2.6.19.
74020         * sysdeps/unix/sysv/linux/configure: Regenerated.
74022         * manual/llio.texi (fclean): Remove documentation.
74024         * manual/Makefile (libc-texi-generated): New variable.  Include
74025         version.texi.
74026         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74027         $(libc-texi-generated), not duplicated list of files.
74028         (version.texi, stamp-version): New rules.
74029         (realclean): Remove $(libc-texi-generated), not individual files
74030         from that list.  Do not remove dir-add.texinfo.
74031         * manual/libc.texinfo: Comment out uses of edition numbers and
74032         references to printed manual.  Remove last-updated dates.
74033         (EDITION): Comment out.
74034         (ISBN): Likewise.
74035         (VERSION, UPDATED): Remove.
74036         (version.texi): Include.
74038 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74040         * sysdeps/posix/spawni.c: Include <signal.h>.
74041         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74042         * sysdeps/pthread/aio_fsync.c: Likewise.
74044 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74046         * conform/Makefile (tests): Run only when not cross-compiling and
74047         when fast-check is not defined.
74049         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74050         * conform/data/limits.h-data: Fixes for POSIX2008.
74051         * conform/run-conformtest.sh: Run all tests.
74052         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74053         headers.
74054         * include/bits/dlfcn.h: Likewise.
74055         * include/langinfo.h: Likewise.
74056         * include/monetary.h: Likewise.
74057         * include/sys/poll.h: Likewise.
74059         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74060         for __USE_GNU.
74061         * posix/spawn.h: Define __need_sigset_t.
74062         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74063         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74064         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74065         to get sigevent_t only.
74066         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74067         only for __USE_GNU.
74068         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74069         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74070         process_vm_writev only for __USE_GNU.
74071         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74073         * conform/Makefile: For now ignore errors from run-conformtest.
74074         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74075         POSIX to avoid namespace pollution.  Don't prepend headers.
74076         * conform/data/aio.h-data: Fixes for POSIX testing.
74077         * conform/data/fcntl.h-data: Likewise.
74078         * conform/data/glob.h-data: Likewise.
74079         * conform/data/grp.h-data: Likewise.
74080         * conform/data/pthread.h-data: Likewise.
74081         * conform/data/pwd.h-data: Likewise.
74082         * conform/data/signal.h-data: Likewise.
74083         * conform/data/spawn.h-data: Likewise.
74084         * conform/data/stdio.h-data: Likewise.
74085         * conform/data/stdlib.h-data: Likewise.
74086         * conform/data/stropts.h-data: Likewise.
74087         * conform/data/sys/mman.h-data: Likewise.
74088         * conform/data/sys/stat.h-data: Likewise.
74089         * conform/data/sys/types.h-data: Likewise.
74090         * conform/data/sys/wait.h-data: Likewise.
74091         * conform/data/time.h-data: Likewise.
74092         * conform/data/unistd.h-data: Likewise.
74093         * conform/data/utime.h-data: Likewise.
74095         * io/sys/stat.h: fchmod was always in POSIX.
74096         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74097         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74098         * rt/aio.h: Define __need_timespec before including <time.h>.
74099         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74100         struct.  Add forward declaration of pthread_attr_t and use it in
74101         sigevent.
74102         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74103         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74104         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74105         always remove CLK_TCK definition.
74107 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74109         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74111 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74113         * conform/run-conformtest.sh: New file.
74114         * conform/Makefile: Run run-conformtest for tests.
74115         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74116         support.
74118         * conform/data/uchar.h-data: New file.
74119         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74120         * conform/data/arpa/inet.h-data: Likewise.
74121         * conform/data/assert.h-data: Likewise.
74122         * conform/data/complex.h-data: Likewise.
74123         * conform/data/cpio.h-data: Likewise.
74124         * conform/data/ctype.h-data: Likewise.
74125         * conform/data/dirent.h-data: Likewise.
74126         * conform/data/dlfcn.h-data: Likewise.
74127         * conform/data/errno.h-data: Likewise.
74128         * conform/data/fcntl.h-data: Likewise.
74129         * conform/data/float.h-data: Likewise.
74130         * conform/data/fmtmsg.h-data: Likewise.
74131         * conform/data/fnmatch.h-data: Likewise.
74132         * conform/data/ftw.h-data: Likewise.
74133         * conform/data/glob.h-data: Likewise.
74134         * conform/data/grp.h-data: Likewise.
74135         * conform/data/iconv.h-data: Likewise.
74136         * conform/data/inttypes.h-data: Likewise.
74137         * conform/data/langinfo.h-data: Likewise.
74138         * conform/data/libgen.h-data: Likewise.
74139         * conform/data/limits.h-data: Likewise.
74140         * conform/data/locale.h-data: Likewise.
74141         * conform/data/math.h-data: Likewise.
74142         * conform/data/monetary.h-data: Likewise.
74143         * conform/data/mqueue.h-data: Likewise.
74144         * conform/data/ndbm.h-data: Likewise.
74145         * conform/data/net/if.h-data: Likewise.
74146         * conform/data/netdb.h-data: Likewise.
74147         * conform/data/netinet/in.h-data: Likewise.
74148         * conform/data/nl_types.h-data: Likewise.
74149         * conform/data/poll.h-data: Likewise.
74150         * conform/data/pthread.h-data: Likewise.
74151         * conform/data/pwd.h-data: Likewise.
74152         * conform/data/regex.h-data: Likewise.
74153         * conform/data/sched.h-data: Likewise.
74154         * conform/data/search.h-data: Likewise.
74155         * conform/data/semaphore.h-data: Likewise.
74156         * conform/data/setjmp.h-data: Likewise.
74157         * conform/data/signal.h-data: Likewise.
74158         * conform/data/spawn.h-data: Likewise.
74159         * conform/data/stdarg.h-data: Likewise.
74160         * conform/data/stdio.h-data: Likewise.
74161         * conform/data/stdlib.h-data: Likewise.
74162         * conform/data/string.h-data: Likewise.
74163         * conform/data/strings.h-data: Likewise.
74164         * conform/data/stropts.h-data: Likewise.
74165         * conform/data/sys/ipc.h-data: Likewise.
74166         * conform/data/sys/mman.h-data: Likewise.
74167         * conform/data/sys/msg.h-data: Likewise.
74168         * conform/data/sys/resource.h-data: Likewise.
74169         * conform/data/sys/select.h-data: Likewise.
74170         * conform/data/sys/sem.h-data: Likewise.
74171         * conform/data/sys/shm.h-data: Likewise.
74172         * conform/data/sys/socket.h-data: Likewise.
74173         * conform/data/sys/stat.h-data: Likewise.
74174         * conform/data/sys/statvfs.h-data: Likewise.
74175         * conform/data/sys/time.h-data: Likewise.
74176         * conform/data/sys/timeb.h-data: Likewise.
74177         * conform/data/sys/times.h-data: Likewise.
74178         * conform/data/sys/types.h-data: Likewise.
74179         * conform/data/sys/uio.h-data: Likewise.
74180         * conform/data/sys/un.h-data: Likewise.
74181         * conform/data/sys/utsname.h-data: Likewise.
74182         * conform/data/sys/wait.h-data: Likewise.
74183         * conform/data/syslog.h-data: Likewise.
74184         * conform/data/tar.h-data: Likewise.
74185         * conform/data/termios.h-data: Likewise.
74186         * conform/data/utime.h-data: Likewise.
74187         * conform/data/utmpx.h-data: Likewise.
74188         * conform/data/varargs.h-data: Likewise.
74189         * conform/data/wchar.h-data: Likewise.
74190         * conform/data/wctype.h-data: Likewise.
74191         * conform/data/wordexp.h-data: Likewise.
74193         * include/stropts.h: New file.
74194         * include/uchar.h: New file.
74195         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74196         * include/assert.h: Likewise.
74197         * include/ctype.h: Likewise.
74198         * include/dirent.h: Likewise.
74199         * include/dlfcn.h: Likewise.
74200         * include/fcntl.h: Likewise.
74201         * include/fnmatch.h: Likewise.
74202         * include/glob.h: Likewise.
74203         * include/grp.h: Likewise.
74204         * include/libio.h: Likewise.
74205         * include/locale.h: Likewise.
74206         * include/math.h: Likewise.
74207         * include/net/if.h: Likewise.
74208         * include/netdb.h: Likewise.
74209         * include/netinet/in.h: Likewise.
74210         * include/pthread.h: Likewise.
74211         * include/pwd.h: Likewise.
74212         * include/regex.h: Likewise.
74213         * include/sched.h: Likewise.
74214         * include/search.h: Likewise.
74215         * include/setjmp.h: Likewise.
74216         * include/signal.h: Likewise.
74217         * include/stdio.h: Likewise.
74218         * include/stdlib.h: Likewise.
74219         * include/string.h: Likewise.
74220         * include/sys/cdefs.h: Likewise.
74221         * include/sys/mman.h: Likewise.
74222         * include/sys/msg.h: Likewise.
74223         * include/sys/resource.h: Likewise.
74224         * include/sys/select.h: Likewise.
74225         * include/sys/socket.h: Likewise.
74226         * include/sys/stat.h: Likewise.
74227         * include/sys/statvfs.h: Likewise.
74228         * include/sys/time.h: Likewise.
74229         * include/sys/times.h: Likewise.
74230         * include/sys/uio.h: Likewise.
74231         * include/sys/utsname.h: Likewise.
74232         * include/sys/wait.h: Likewise.
74233         * include/termios.h: Likewise.
74234         * include/time.h: Likewise.
74235         * include/ulimit.h: Likewise.
74236         * include/unistd.h: Likewise.
74237         * include/utime.h: Likewise.
74238         * include/wchar.h: Likewise.
74239         * include/wctype.h: Likewise.
74240         * include/wordexp.h: Likewise.
74242         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
74244         * time/time.h: TIME_UTC must be a macro.
74245         Make timespec_get available for ISO C11 only as well.
74247 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
74249         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
74250         Reported by Peng Haitao <penght@cn.fujitsu.com>.
74252 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74254         * configure.in: Use -o not -a in test for unsupported multi-arch.
74256 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74258         * manual/texinfo.tex: Update to version 2012-01-19.16.
74260 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74262         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
74264 2012-02-24  Roland McGrath  <roland@hack.frob.com>
74266         [BZ #13738]
74267         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
74268         * manual/fdl-1.3.texi: New file.
74269         * manual/fdl-1.1.texi: File removed.
74271         [BZ #13738]
74272         * manual/libc.texinfo (FDL_VERSION): New @set.
74273         Use it for mention of FDL in cover text.
74274         (Documentation License): Use it in @include file name.
74276 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74277             Roland McGrath  <roland@hack.frob.com>
74279         [BZ #5461]
74280         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
74281         (not LONG_LONG_MAX and LONG_LONG_MIN.
74282         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
74283         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
74284         name.
74285         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
74287 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74289         [BZ #2547]
74290         [BZ #11365]
74291         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
74292         manipulate bits before adding and subtracting TWO23[sx].
74293         * math/libm-test.inc (nearbyint_test): Add more tests.
74295 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74297         [BZ #2548]
74298         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
74299         bits before adding and subtracting TWO23[sx].
74300         * math/libm-test.inc (rint_test): Add more tests.
74301         (rint_test_tonearest): Likewise.
74302         (rint_test_towardzero): Likewise.
74303         (rint_test_downward): Likewise.
74304         (rint_test_upward: Likewise.
74306 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74308         [BZ #10110]
74309         * include/stdc-predef.h: New file.  Extracted from features.h.
74310         * include/features.h: Include stdc-predef.h.
74311         * Makefile (headers): Add stdc-predef.h.
74312         * CONFORMANCE (Compiler limitations): Update.
74314 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74316         * manual/libc.texinfo (VERSION, UPDATED): Revert.
74318 2012-02-21  David S. Miller  <davem@davemloft.net>
74320         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
74321         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74323 2012-02-20  David S. Miller  <davem@davemloft.net>
74325         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
74326         using a normal save/restore sequence, rather than allocating a
74327         dummy stack frame just to store a frame pointer and restore.
74328         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74330 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74332         * manual/install.texi: Fix stray word in line-wrapped comment.
74334 2012-02-20  David S. Miller  <davem@davemloft.net>
74336         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
74337         both binutils and gcc support GOTDATA.
74339         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
74340         "rd %pc" in the PIC register setup sequences.
74342         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
74343         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
74344         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74345         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
74346         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74347         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74348         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74349         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
74351         (SYSCALL_ERROR_HANDLER): Likewise.
74352         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74353         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
74355         (SYSCALL_ERROR_HANDLER): Likewise.
74357         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
74358         (HAVE_GCC_GOTDATA): New.
74359         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
74360         relocation support in both binutils and gcc.
74361         * sysdeps/sparc/elf/configure: Regenerate.
74363         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
74364         * sysdeps/sparc/sparc32/elf/configure: Delete.
74365         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
74366         * sysdeps/sparc/sparc64/elf/configure: Delete.
74367         * sysdeps/sparc/elf/configure.in: New file.
74368         * sysdeps/sparc/elf/configure: Generate.
74370         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
74371         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
74372         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74373         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
74374         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
74376 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74378         * manual/install.texi: Do not mention specific glibc version
74379         numbers.
74380         * manual/libc.texinfo (VERSION, UPDATED): Update.
74381         (@copying): Use @copyright{} and range of years.
74383 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74385         [BZ #13695]
74386         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
74387         [crti.S not in sysdirs] (generated): Do not append.
74388         [crti.S not in sysdirs] (omit-deps): Likewise.
74389         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
74390         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
74391         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
74392         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
74393         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
74394         Likewise.
74395         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
74396         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
74397         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
74398         * csu/defs.awk: Remove file.
74399         * sysdeps/generic/initfini.c: Likewise.
74400         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
74401         variable.
74402         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
74403         Likewise.
74405 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74407         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
74408         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
74409         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
74410         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
74411         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74412         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74413         <bits/epoll.h>.
74414         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74415         (__EPOLL_PACKED): Define to empty if not defined by
74416         <bits/epoll.h>.
74417         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74419         bits/epoll.h.
74421 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74423         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74424         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74425         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74426         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74427         <bits/timerfd.h>.
74428         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74430         bits/timerfd.h.
74432 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74434         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74435         in C locale.
74436         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74437         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74438         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74441 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
74443         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74444         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74446 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
74448         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74449         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74450         defined.
74451         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74452         Likewise.
74453         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74454         entry for 2.16.
74456 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
74458         * math/w_acos.c: Use non-signaling floating-point comparisons.
74459         * math/w_acosf.c: Likewise.
74460         * math/w_acosh.c: Likewise.
74461         * math/w_acoshf.c: Likewise.
74462         * math/w_acoshl.c: Likewise.
74463         * math/w_acosl.c: Likewise.
74464         * math/w_asin.c: Likewise.
74465         * math/w_asinf.c: Likewise.
74466         * math/w_asinl.c: Likewise.
74467         * math/w_atanh.c: Likewise.
74468         * math/w_atanhf.c: Likewise.
74469         * math/w_atanhl.c: Likewise.
74470         * math/w_exp2.c: Likewise.
74471         * math/w_exp2f.c: Likewise.
74472         * math/w_exp2l.c: Likewise.
74473         * math/w_j0.c: Likewise.
74474         * math/w_j0f.c: Likewise.
74475         * math/w_j0l.c: Likewise.
74476         * math/w_j1.c: Likewise.
74477         * math/w_j1f.c: Likewise.
74478         * math/w_j1l.c: Likewise.
74479         * math/w_jn.c: Likewise.
74480         * math/w_jnf.c: Likewise.
74481         * math/w_log.c: Likewise.
74482         * math/w_log10.c: Likewise.
74483         * math/w_log10f.c: Likewise.
74484         * math/w_log10l.c: Likewise.
74485         * math/w_log2.c: Likewise.
74486         * math/w_log2f.c: Likewise.
74487         * math/w_log2l.c: Likewise.
74488         * math/w_logf.c: Likewise.
74489         * math/w_logl.c: Likewise.
74490         * math/w_sqrt.c: Likewise.
74491         * math/w_sqrtf.c: Likewise.
74492         * math/w_sqrtl.c: Likewise.
74493         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74494         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74495         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74496         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74497         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74499 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74501         [BZ #9739]
74502         * manual/string.texi (strnlen): Use correct parameter name in
74503         equivalent expression.
74505 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74507         [BZ #11174]
74508         * manual/users.texi (seteuid): Consistently use neweuid for
74509         argument name.
74511 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74513         [BZ #13704]
74514         * manual/nss.texi (Services in the NSS configuration): Correct
74515         list of services in example configuration file.
74517 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
74519         [BZ #11322]
74520         * manual/arith.texi: Remove statements about negative zero
74521         behaving identically to zero.
74523 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74525         [BZ #5993]
74526         * manual/install.texi: Do not document upgrading from libc5.
74528 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74530         [BZ #4596]
74531         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
74533 2012-02-18  David S. Miller  <davem@davemloft.net>
74535         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
74536         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
74537         %o7 across the call.
74538         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
74539         instead.
74540         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
74541         SETUP_PIC_REG_LEAF.
74542         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74543         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
74544         * sysdeps/sparc/crtn.S: Likewise.
74546 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
74548         * aout/Makefile: Remove.
74550 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
74552         [BZ #13058]
74553         * manual/examples/argp-ex1.c (main): Format definition in GNU
74554         style.
74555         * manual/examples/argp-ex2.c (main): Likewise.
74556         * manual/examples/argp-ex3.c (main): Likewise.
74557         * manual/examples/argp-ex4.c (main): Likewise.
74558         * manual/examples/longopt.c (main): Use new-style prototype
74559         definition.
74560         * manual/examples/strncat.c (main): Specify return type and use
74561         (void) for arguments.
74562         * manual/examples/subopt.c (main): Use char **argv argument.
74564 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74566         [BZ #5077]
74567         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
74568         rounding modes.
74570 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
74572         [BZ #6907]
74573         * manual/string.texi (strchr): Change when strchrnul is
74574         recommended.
74576 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
74578         [BZ #174]
74579         * manual/locale.texi (setlocale): Document LOCPATH.
74581 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74583         [BZ #10210]
74584         * manual/process.texi (execle): Move @dots{} before last argument.
74586 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
74588         [BZ #12047]
74589         * manual/charset.texi (Generic Charset Conversion): Fix typo
74590         (LC_TYPE -> LC_CTYPE).
74592 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
74594         [BZ #5805]
74595         * manual/arith.texi (scalbn): Use @var{} on parameter names.
74596         (scalbnf): Likewise.
74597         (scalbnl): Likewise.
74598         (scalbln): Likewise.
74599         (scalblnf): Likewise.
74600         (scalblnl): Likewise.
74601         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
74602         (vwarnx): Likewise.
74603         (verr): Likewise.
74604         (verrx): Likewise.
74605         * manual/filesys.texi (telldir): Use braces around return type.
74606         * manual/llio.texi (mmap): Add space after comma.
74607         (mmap64): Likewise.
74608         * manual/math.texi (jn): Use @var{} on parameter names.
74609         (jnf): Likewise.
74610         (jnl): Likewise.
74611         (yn): Likewise.
74612         (ynf): Likewise.
74613         (ynl): Likewise.
74614         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
74615         line.
74616         * manual/resource.texi (ulimit): Use @dots{} instead of literal
74617         "...".
74618         (sched_get_priority_min): Remove semicolon on @deftypefun line.
74619         (sched_get_priority_max): Likewise.
74620         * manual/signal.texi (sigvec): Add space after comma.
74621         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
74622         names.
74623         (if_indextoname): Likewise.
74624         (if_freenameindex): Likewise.
74625         (sendto): Use ',' instead of '.' in prototype.
74626         * manual/startup.texi (syscall): Use @dots{} instead of literal
74627         "...".
74628         * manual/stdio.texi (__fpending): Separate initial words of
74629         paragraph from @deftypefun line.
74630         * manual/syslog.texi (syslog): Use @dots{} instead of literal
74631         "...".
74632         (vsyslog): Use @var{} on parameter names.
74633         * manual/terminal.texi (stty): Use @var{} on parameter names.
74634         * manual/users.texi (getutmp): Use @var{} on parameter names.
74635         (getutmpx): Likewise.
74637 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74639         [BZ #6884]
74640         * manual/stdio.texi (fopen): Fix typos in description of
74641         ",ccs=STRING".
74643 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
74645         [BZ #4026]
74646         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
74647         get clock_id definition.
74649 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
74651         [BZ #4822]
74652         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
74653         (madvise): Cast every argument to void on its own.
74655 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74657         [BZ #9902]
74658         * manual/startup.texi (Exit Status): Fix typo.
74660 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74662         [BZ #10140]
74663         * manual/examples/argp-ex1.c: Include <stdlib.h>.
74664         * manual/examples/argp-ex2.c: Likewise.
74665         * manual/examples/argp-ex3.c: Likewise.
74667 2012-02-16  Richard Henderson  <rth@redhat.com>
74669         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
74670         * sysdeps/s390/s390-32/initfini.c: Remove.
74671         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
74672         * sysdeps/s390/s390-64/initfini.c: Remove.
74674 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74676         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
74677         compiler output for sysdeps/generic/initfini.c.
74678         * sysdeps/sh/elf/initfini.c: Remove file.
74680 2012-02-16  David S. Miller  <davem@davemloft.net>
74682         [BZ #11494]
74683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
74685         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
74686         * sysdeps/sparc/crti.S: New file.
74687         * sysdeps/sparc/crtn.S: New file.
74688         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
74689         * sysdeps/sparc/sparc64/Makefile: Likewise.
74691 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
74693         [BZ #3335]
74694         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
74696 2012-02-15  Roland McGrath  <roland@hack.frob.com>
74698         [BZ #4822]
74699         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
74701         * mach/devstream.c (cookie_io_functions_t): Macro removed.
74702         (write, read, close): Likewise.
74703         Patch by Aurelien Jarno <aurelien@aurel32.net>.
74705 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
74707         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
74708         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
74709         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
74710         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
74711         <bits/signalfd.h>.
74712         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
74713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74714         bits/signalfd.h.
74716 2012-02-14  Marek Polacek  <polacek@redhat.com>
74718         * sysdeps/x86_64/crti.S: New file.
74719         * sysdeps/x86_64/crtn.S: New file.
74720         * sysdeps/x86_64/elf/initfini.c: Remove file.
74722 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74724         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
74725         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
74726         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
74727         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
74728         <bits/inotify.h>.
74729         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
74730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74731         bits/inotify.h.
74733 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74735         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
74736         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
74737         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
74738         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
74739         <bits/eventfd.h>.
74740         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
74741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74742         bits/eventfd.h.
74744 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
74746         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
74747         __feraiseexcept instead of feraiseexcept.
74749         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
74750         nanosleep invocations.
74751         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
74752         strings, and add error checking for a nanosleep invocations.
74754 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
74756         Replace FSF snail mail address with URLs, as per GNU coding standards.
74757         Most of the snail mail addresses were wrong anyway, and omitting
74758         them makes the source code easier to maintain.  Almost all of the
74759         changes are to license notices and to locale LC_IDENTIFICATION
74760         addresses, except for this one:
74761         * manual/libc.texinfo: In "Published by", give the FSF's URL,
74762         not its snail mail address.
74764 2012-02-09  Richard Henderson  <rth@twiddle.net>
74766         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
74767         of kernel-features.h.
74769         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
74771 2012-02-08  Marek Polacek  <polacek@redhat.com>
74773         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
74774         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
74775         * sysdeps/gnu/_G_config.h: Likewise.
74776         * sysdeps/generic/_G_config.h: Likewise.
74778 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
74780         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
74781         tests.
74782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74784         * sysdeps/powerpc/powerpc32/crti.S: New file.
74785         * sysdeps/powerpc/powerpc32/crtn.S: New file.
74786         * sysdeps/powerpc/powerpc64/crti.S: New file.
74787         * sysdeps/powerpc/powerpc64/crtn.S: New file.
74789         * Makeconfig (have-initfini): Don't set.
74790         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
74791         * configure.in (nopic_initfini): Don't substitute.
74792         * config.h.in (HAVE_INITFINI): Don't #undef.
74793         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
74794         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
74796 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
74798         Support crti.S and crtn.S provided directly by architectures.
74799         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
74800         [crti.S in sysdirs] (omit-deps): Likewise.
74801         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
74802         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
74803         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
74804         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
74805         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
74806         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
74807         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
74808         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
74809         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
74810         compiler output for sysdeps/generic/initfini.c.
74811         * sysdeps/i386/elf/Makefile: Remove file.
74812         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
74814 2012-02-07  Marek Polacek  <polacek@redhat.com>
74816         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
74817         * sysdeps/gnu/_G_config.h: Likewise.
74818         * sysdeps/mach/hurd/_G_config.h: Likewise.
74820 2012-02-07  Marek Polacek  <polacek@redhat.com>
74822         * math/Makefile (tests): Add tst-CMPLX2.
74823         * math/tst-CMPLX2.c: New file.
74825 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
74827         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74829         * math/libm-test.inc (jn_test): Add missing L suffix.
74831 2012-02-06  Marek Polacek  <polacek@redhat.com>
74833         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
74834         * sysdeps/i386/fpu/e_powf.S: Likewise.
74835         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74836         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74837         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74838         * sysdeps/i386/fpu/e_pow.S: Likewise.
74839         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74840         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74841         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74842         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74843         * sysdeps/i386/fpu/e_log2.S: Likewise.
74844         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74845         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74846         * sysdeps/i386/fpu/e_powl.S: Likewise.
74847         * sysdeps/i386/fpu/s_log1p.S: Likewise.
74848         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74849         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74850         * sysdeps/i386/fpu/e_logl.S: Likewise.
74851         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74852         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
74853         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74854         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74855         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74856         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74857         * sysdeps/i386/fpu/e_log.S: Likewise.
74858         * sysdeps/i386/fpu/s_cexp.S: Likewise.
74859         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74860         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
74861         * sysdeps/i386/fpu/e_logf.S: Likewise.
74862         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74863         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74864         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
74865         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74866         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74867         * sysdeps/i386/fpu/e_log10.S: Likewise.
74868         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74869         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74870         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74871         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74872         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74873         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74874         * sysdeps/i386/asm-syntax.h: Likewise.
74875         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74876         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74877         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74878         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
74879         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
74880         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74881         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74882         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74883         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74884         * sysdeps/powerpc/sysdep.h: Likewise.
74885         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74886         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74888 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74890         [BZ #411]
74891         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74893 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74895         * sysdeps/i386/sysdep.h: Include <features.h>.
74896         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74897         version.
74899 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74901         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74902         Define.
74903         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74904         LOAD_PIC_REG_STR.
74906 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74908         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74909         (SETUP_PIC_REG): Use GET_PC_THUNK.
74910         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74911         macro.
74913 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74915         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74916         for non-PIC compilation.
74917         (SETUP_PIC_REG): Add .p2align directive.
74918         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74919         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74920         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74921         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74922         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74923         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74924         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74925         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74926         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74927         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74928         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74929         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74930         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74931         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74932         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74933         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74934         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74935         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74936         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74937         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74938         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74939         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74940         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74941         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74942         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74944         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74945         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74946         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74947         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74948         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74949         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74950         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74951         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74952         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74953         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74954         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74955         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74956         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74957         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74958         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74960 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74962         * math/tst-CMPLX.c: Include <stdio.h>.
74964 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74966         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74967         float.
74968         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74969         * sysdeps/sparc/bits/mathdef.h: Likewise.
74971 2012-01-31  Marek Polacek  <polacek@redhat.com>
74973         * libio/libio.h: Don't define _PARAMS.
74974         * locale/programs/config.h: Don't define PARAMS.
74975         * stdlib/strtol_l.c: Likewise.
74976         (__strtol_l): Remove PARAMS from the prototype.
74978 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74980         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74981         names.  Just use the correct names.  Remove unnecessary wrapper
74982         functions.
74983         * malloc/arena.c: Likewise.
74984         * malloc/hooks.c: Likewise.
74986         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74987         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74988         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74990 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74992         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74993         into tail calls.
74994         (update_get_addr): New function.
74995         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74996         GET_ADDR_MODULE parameter.
74998 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75000         * crypt/cert.c: Remove __STDC__ conditionals.
75001         * crypt/crypt-entry.c: Likewise.
75002         * crypt/crypt_util.c: Likewise.
75003         * libio/filedoalloc.c: Likewise.
75004         * libio/fileops.c: Likewise.
75005         * libio/genops.c: Likewise.
75006         * libio/iofclose.c: Likewise.
75007         * libio/iofdopen.c: Likewise.
75008         * libio/iofopen.c: Likewise.
75009         * libio/iofopen64.c: Likewise.
75010         * libio/iogetdelim.c: Likewise.
75011         * libio/iopopen.c: Likewise.
75012         * libio/obprintf.c: Likewise.
75013         * libio/oldfileops.c: Likewise.
75014         * libio/oldiofclose.c: Likewise.
75015         * libio/oldiofdopen.c: Likewise.
75016         * libio/oldiofopen.c: Likewise.
75017         * libio/oldiopopen.c: Likewise.
75018         * libio/wfiledoalloc.c: Likewise.
75019         * libio/wgenops.c: Likewise.
75020         * locale/programs/xmalloc.c: Likewise.
75021         * misc/syslog.c: Likewise.
75022         * stdio-common/xbug.c: Likewise.
75023         * string/memchr.c: Likewise.
75024         * string/memcmp.c: Likewise.
75025         * string/memrchr.c: Likewise.
75026         * string/rawmemchr.c: Likewise.
75027         * sysdeps/posix/getcwd.c: Likewise.
75028         * time/strftime_l.c: Likewise.
75030 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75032         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75033         * config.make.in (config-cflags-sse2avx): Define.
75034         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75035         Fix typo.
75037 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75039         * scripts/config.guess: Update from upstream config git repository.
75040         * scripts/config.sub: Likewise.
75042 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75044         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75045         (EM_NUM): Update.
75046         (R_TILEPRO_*, R_TILEGX_*): New macros.
75048         * scripts/firstversions.awk: Fix bug in version range handling.
75050         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75052         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75054         * include/sys/epoll.h: New file.
75055         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75056         libc_hidden_def.
75058 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75060         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75061         Avoid unnecessary __WORDSIZE == 64 test.
75062         (fmaxf): Use VEX format if possible.
75063         (fmax): Likewise.
75064         (fminf): Likewise.
75065         (fmin): Likewise.
75067         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75068         * math/math_private.h: Remove libc_fegetround* and
75069         libc_fesetround*.
75070         * sysdeps/i386/configure.in: Check for -msse2avx.
75071         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75072         also if SSE2AVX is defined.
75073         Remove libc_fegetround* and libc_fesetround*.
75074         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75075         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75076         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75077         of HAS_YMM_USABLE.
75078         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75079         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75080         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75081         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75082         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75084         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75086 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75088         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75089         size is not set.
75090         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75092 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75094         [BZ #13618]
75095         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75096         relocation.
75097         * Makeconfig (libm): Define.
75098         * elf/Makefile: Add rules to build and run tst-relsort1.
75099         * elf/tst-relsort1.c: New file.
75100         * elf/tst-relsort1mod1.c: New file.
75101         * elf/tst-relsort1mod2.c: New file.
75103 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75105         * math/s_ldexp.c: Remove __STDC__ conditionals.
75106         * math/s_ldexpf.c: Likewise.
75107         * math/s_ldexpl.c: Likewise.
75108         * math/s_nextafter.c: Likewise.
75109         * math/s_nexttowardf.c: Likewise.
75110         * math/s_significand.c: Likewise.
75111         * math/s_significandf.c: Likewise.
75112         * math/s_significandl.c: Likewise.
75113         * math/w_jnl.c: Likewise.
75114         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75115         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75116         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75117         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75118         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75119         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75120         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75121         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75122         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75123         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75124         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75125         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75126         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75127         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75128         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75129         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75130         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75131         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75132         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75133         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75134         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75135         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75136         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75137         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75138         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75139         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75140         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75141         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75142         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75143         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75144         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75145         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75146         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75147         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75148         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75149         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75150         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75151         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75152         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75153         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75154         * sysdeps/ieee754/k_standard.c: Likewise.
75155         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75156         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75157         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75158         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75159         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75160         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75161         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75162         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75163         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75164         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75165         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75166         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75167         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75168         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75169         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75170         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75171         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75172         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75173         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75174         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75175         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75176         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75177         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75178         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75179         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75180         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75181         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75182         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75184         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75185         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75186         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75187         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75188         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75189         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75190         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75191         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75192         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75193         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75194         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75195         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75196         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75197         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75198         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75199         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75200         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75201         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75202         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75203         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75204         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75205         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75206         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75207         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75208         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75209         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75210         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75211         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75212         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75213         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75214         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75215         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75216         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75217         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75218         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75219         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75220         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75221         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75222         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75223         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75224         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75225         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75226         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75227         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75228         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75229         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75230         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75231         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75232         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75233         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75234         * sysdeps/ieee754/s_matherr.c: Likewise.
75235         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75236         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75237         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75238         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75240 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75242         * crypt/md5.h: Remove __STDC__ conditionals.
75243         * libio/libioP.h: Likewise.
75244         * locale/programs/config.h: Likewise.
75245         * sysdeps/generic/sysdep.h: Likewise.
75246         * sysdeps/i386/asm-syntax.h: Likewise.
75247         * sysdeps/s390/asm-syntax.h: Likewise.
75248         * sysdeps/unix/sysdep.h: Likewise.
75249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
75250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
75252 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75254         * libio/libio.h: Remove __STDC__ conditionals.
75255         * malloc/obstack.h: Likewise.
75256         * math/complex.h: Likewise.
75257         * math/math.h: Likewise.
75258         * sysdeps/generic/_G_config.h: Likewise.
75259         * sysdeps/gnu/_G_config.h: Likewise.
75260         * sysdeps/mach/hurd/_G_config.h: Likewise.
75261         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75262         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75263         * sysdeps/sparc/bits/mathdef.h: Likewise.
75265 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
75267         [BZ #13583]
75268         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
75269         Clean up HAS_* macros.
75270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
75271         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
75272         possible.
75273         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
75274         HAS_AVX.
75275         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75276         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75277         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75278         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75279         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75281 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
75283         * elf/tst-unique3.cc (gets): Remove declaration.
75284         * elf/tst-unique3lib.cc (gets): Likewise.
75285         * elf/tst-unique3lib2.cc (gets): Likewise.
75286         * elf/tst-unique4.cc (gets): Likewise.
75288 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
75290         * include/stdio.h: Add C++ protection.  Add gets declarations and
75291         definitions.
75292         * debug/tst-chk1.c: Don't declare gets here.
75293         * stdio-common/tst-gets.c: Likewise.
75295 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75297         * posix/glob: Remove directory.
75299 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75301         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
75303 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
75305         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
75306         of the non-standard EPFNOSUPPORT.
75308 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75310         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
75311         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
75312         ANYWHERE set to 1 only on KERN_NO_SPACE error.
75314 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
75316         * wcsmbs/uchar.h: Test __STDC_VERSION__.
75318 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
75320         * nscd/aicache.c (addhstaiX): Do not cache negative results of
75321         transient errors.
75322         * nscd/grpcache.c (cache_addgr): Likewise.
75323         * nscd/hstcache.c (cache_addhst): Likewise.
75324         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75325         * nscd/pwdcache.c (cache_addpw): Likewise.
75326         * nscd/servicescache.c (cache_addserv): Likewise.
75328 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
75330         * malloc/malloc.c: Various cleanups.
75331         * malloc/hooks.c: Likewise.
75333         * stdlib/Makefile (tests): Add bug-fmtmsg1.
75334         * stdlib/bug-fmtmsg1.c: New file.
75336         * stdlib/fmtmsg.c (init): Add missing unlock.
75337         Patch by Peng Haitao <penght@cn.fujitsu.com>.
75339 2012-01-12  Marek Polacek  <polacek@redhat.com>
75341         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
75342         and _GNU_SOURCE.
75344 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75346         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
75347         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
75348         macro to ensure uniqueness of label name.
75349         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75350         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75352 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
75354         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
75356         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
75357         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75358         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75359         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
75361 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
75363         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
75365         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
75366         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75367         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75369         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
75371         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
75372         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75373         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75374         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
75376         * math/bits/math-finite.h: Add ldexp support.
75378 2012-01-10  Marek Polacek  <polacek@redhat.com>
75380         * locale/programs/localedef.h (show_archive_content): Add noreturn
75381         attribute.
75383 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
75385         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
75387 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75389         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
75391         * io/Makefile (headers): Add bits/poll2.h.
75393 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
75395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
75396         typo #include statement.
75398 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75400         * include/sys/cdefs.h: Define __attribute_alloc_size.
75401         * catgets/gencat.c: Add alloc_size attribute and apply consistently
75402         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
75403         * elf/pldd.c: Likewise.
75404         * iconv/iconv_charmap.c: Likewise.
75405         * iconv/iconvconfig.c: Likewise.
75406         * iconv/strtab.c: Likewise.
75407         * locale/programs/locale.c: Likewise.
75408         * locale/programs/localedef.h: Likewise.
75409         * locale/programs/simple-hash.c: Likewise.
75410         * nscd/nscd.h: Likewise.
75411         * nss/makedb.c: Likewise.
75412         * sysdeps/generic/ldconfig.h: Likewise.
75413         * locale/programs/localedef.c: Remove xmalloc prototype.
75414         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75416 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75418         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75419         appropriate.
75421 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75423         * math/Makefile (tests): Add tst-CMPLX.
75424         * math/tst-CMPLX.c: New file.
75426         * math/complex.h (CMPLXL): Fix typo.
75428         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75429         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75430         GLIBC_2.16.
75431         * debug/tst-chk1.c: Add poll and ppoll tests.
75432         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75433         * include/sys/poll.h: Add hidden proto for ppoll.
75434         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75435         * sysdeps/mach/hurd/ppoll.c: Likewise.
75436         * io/ppoll.c: Likewise.
75437         * debug/poll_chk.c: New file.
75438         * debug/ppoll_chk.c: New file.
75439         * include/bits/poll2.h: New file.
75440         * io/bits/poll2.h: New file.
75442         [BZ #1350]
75443         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75445         * configure.in: static is always set to yes.  Remove.
75446         * config.make.in: Don't set build-static.
75447         * Makeconfig: Remove use of build-static.
75448         * dlfcn/Makefile: Likewise.
75449         * elf/Makefile: Likewise.
75450         * math/Makefile: Likewise.
75451         * misc/Makefile: Likewise.
75452         * nptl/Makefile: Likewise.
75453         * sysdeps/mach/hurd/Makefile: Likewise.
75455         * configure.in: PWD_P is not used anymore.
75456         * config.make.in: Remove PWD_P entry.
75458         * configure.in: Remove last remnants of RANLIB.
75459         No need to check for signed size_t anymore.
75460         Don't set libc_commonpagesize and libc_relro_required here for Alpha
75461         and IA-64.
75462         Remove __builtin_expect test because we require at least gcc 3.4.
75463         * aclocal.m4: Likewise.
75465         * wcsmbs/mbrtoc16.c: Implement using towc function.
75466         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75467         * wcsmbs/wcsmbsload.c: Likewise.
75468         * iconv/gconv_simple.c: Likewise.
75469         * iconv/gconv_int.h: Likewise.
75470         * iconv/gconv_builtin.h: Likewise.
75471         * iconv/iconv_prog.c: Remove CHAR16 handling.
75473         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75475         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75477         * configure.in: Remove --with-elf and --enable-bounded options.
75478         Dont set base_machine for ia64.  More non-ELF conditions removed.
75479         Remove testing and setting of leading underscore information.
75480         * config.make.in (build-bounded): Set to no.
75481         * config.h.in: Remove NO_UNDERSCORES entry.
75482         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
75483         them.
75484         * csu/start.c: Remove !NO_UNDERSCORE code.
75485         * locale/localeinfo.h: Likewise.
75486         * sysdeps/generic/machine-gmon.h: Likewise.
75487         * sysdeps/generic/sysdep.h: Likewise.
75488         * sysdeps/i386/sysdep.h: Likewise.
75489         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75490         * sysdeps/mach/sysdep.h: Likewise.
75491         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75492         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75493         * sysdeps/sh/sysdep.h: Likewise.
75494         * sysdeps/sparc/sparc32/alloca.S: Likewise.
75495         * sysdeps/unix/i386/sysdep.S: Likewise.
75496         * sysdeps/unix/sparc/start.c: Likewise.
75497         * sysdeps/unix/sparc/sysdep.S: Likewise.
75498         * sysdeps/unix/sparc/sysdep.h: Likewise.
75499         * sysdeps/unix/start.c: Likewise.
75500         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75501         * sysdeps/x86_64/sysdep.h: Likewise.
75503 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
75505         [BZ #13553]
75506         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75507         for non-gcc.
75508         * argp/argp-fmtstream.h: Use const instead __const.
75509         * argp/argp.h: Likewise.
75510         * assert/assert.h: Likewise.
75511         * bits/fenv.h: Likewise.
75512         * bits/sched.h: Likewise.
75513         * bits/sigset.h: Likewise.
75514         * bits/sigthread.h: Likewise.
75515         * catgets/nl_types.h: Likewise.
75516         * conform/data/pthread.h-data: Likewise.
75517         * crypt/crypt-private.h: Likewise.
75518         * crypt/crypt.h: Likewise.
75519         * crypt/crypt_util.c: Likewise.
75520         * ctype/ctype.h: Likewise.
75521         * debug/execinfo.h: Likewise.
75522         * debug/mbsnrtowcs_chk.c: Likewise.
75523         * debug/mbsrtowcs_chk.c: Likewise.
75524         * debug/wcsnrtombs_chk.c: Likewise.
75525         * debug/wcsrtombs_chk.c: Likewise.
75526         * debug/wcstombs_chk.c: Likewise.
75527         * dirent/dirent.h: Likewise.
75528         * dlfcn/dlfcn.h: Likewise.
75529         * elf/neededtest4.c: Likewise.
75530         * grp/grp.h: Likewise.
75531         * gshadow/gshadow.h: Likewise.
75532         * iconv/gconv.h: Likewise.
75533         * iconv/gconv_int.h: Likewise.
75534         * iconv/gconv_simple.c: Likewise.
75535         * iconv/iconv.h: Likewise.
75536         * iconv/loop.c: Likewise.
75537         * iconv/skeleton.c: Likewise.
75538         * include/aio.h: Likewise.
75539         * include/aliases.h: Likewise.
75540         * include/argz.h: Likewise.
75541         * include/arpa/inet.h: Likewise.
75542         * include/assert.h: Likewise.
75543         * include/dirent.h: Likewise.
75544         * include/dlfcn.h: Likewise.
75545         * include/execinfo.h: Likewise.
75546         * include/fcntl.h: Likewise.
75547         * include/fenv.h: Likewise.
75548         * include/glob.h: Likewise.
75549         * include/grp.h: Likewise.
75550         * include/libintl.h: Likewise.
75551         * include/mntent.h: Likewise.
75552         * include/netdb.h: Likewise.
75553         * include/pwd.h: Likewise.
75554         * include/rpc/netdb.h: Likewise.
75555         * include/sched.h: Likewise.
75556         * include/search.h: Likewise.
75557         * include/shadow.h: Likewise.
75558         * include/signal.h: Likewise.
75559         * include/stdio.h: Likewise.
75560         * include/stdlib.h: Likewise.
75561         * include/string.h: Likewise.
75562         * include/sys/socket.h: Likewise.
75563         * include/sys/stat.h: Likewise.
75564         * include/sys/statfs.h: Likewise.
75565         * include/sys/statvfs.h: Likewise.
75566         * include/sys/syslog.h: Likewise.
75567         * include/sys/time.h: Likewise.
75568         * include/sys/uio.h: Likewise.
75569         * include/time.h: Likewise.
75570         * include/unistd.h: Likewise.
75571         * include/utmp.h: Likewise.
75572         * include/wchar.h: Likewise.
75573         * include/wctype.h: Likewise.
75574         * inet/aliases.h: Likewise.
75575         * inet/arpa/inet.h: Likewise.
75576         * inet/netinet/ether.h: Likewise.
75577         * inet/netinet/in.h: Likewise.
75578         * intl/libintl.h: Likewise.
75579         * io/bits/fcntl2.h: Likewise.
75580         * io/fcntl.h: Likewise.
75581         * io/ftw.h: Likewise.
75582         * io/sys/poll.h: Likewise.
75583         * io/sys/stat.h: Likewise.
75584         * io/sys/statfs.h: Likewise.
75585         * io/sys/statvfs.h: Likewise.
75586         * io/utime.h: Likewise.
75587         * libio/bits/stdio.h: Likewise.
75588         * libio/bits/stdio2.h: Likewise.
75589         * libio/libio.h: Likewise.
75590         * libio/libioP.h: Likewise.
75591         * libio/stdio.h: Likewise.
75592         * locale/lc-ctype.c: Likewise.
75593         * locale/locale.h: Likewise.
75594         * login/utmp.h: Likewise.
75595         * malloc/arena.c: Likewise.
75596         * malloc/malloc.c: Likewise.
75597         * malloc/malloc.h: Likewise.
75598         * malloc/mcheck.c: Likewise.
75599         * malloc/mtrace.c: Likewise.
75600         * math/bits/mathcalls.h: Likewise.
75601         * math/fenv.h: Likewise.
75602         * math/math_private.h: Likewise.
75603         * misc/bits/error.h: Likewise.
75604         * misc/bits/syslog.h: Likewise.
75605         * misc/err.h: Likewise.
75606         * misc/error.h: Likewise.
75607         * misc/fstab.h: Likewise.
75608         * misc/mntent.h: Likewise.
75609         * misc/regexp.h: Likewise.
75610         * misc/search.h: Likewise.
75611         * misc/sgtty.h: Likewise.
75612         * misc/sys/mman.h: Likewise.
75613         * misc/sys/syslog.h: Likewise.
75614         * misc/sys/uio.h: Likewise.
75615         * misc/sys/xattr.h: Likewise.
75616         * misc/ttyent.h: Likewise.
75617         * nis/rpcsvc/ypclnt.h: Likewise.
75618         * nss/nss.h: Likewise.
75619         * posix/bits/unistd.h: Likewise.
75620         * posix/fnmatch.h: Likewise.
75621         * posix/glob.h: Likewise.
75622         * posix/sched.h: Likewise.
75623         * posix/spawn.h: Likewise.
75624         * posix/sys/wait.h: Likewise.
75625         * posix/unistd.h: Likewise.
75626         * posix/wordexp.h: Likewise.
75627         * pwd/pwd.h: Likewise.
75628         * resolv/netdb.h: Likewise.
75629         * resource/sys/resource.h: Likewise.
75630         * rt/aio.h: Likewise.
75631         * rt/bits/mqueue2.h: Likewise.
75632         * rt/mqueue.h: Likewise.
75633         * shadow/shadow.h: Likewise.
75634         * signal/signal.h: Likewise.
75635         * socket/send.c: Likewise.
75636         * socket/sendto.c: Likewise.
75637         * socket/sys/socket.h: Likewise.
75638         * stdio-common/printf.h: Likewise.
75639         * stdlib/bits/stdlib.h: Likewise.
75640         * stdlib/fmtmsg.h: Likewise.
75641         * stdlib/monetary.h: Likewise.
75642         * stdlib/stdlib.h: Likewise.
75643         * stdlib/ucontext.h: Likewise.
75644         * streams/stropts.h: Likewise.
75645         * string/argz.h: Likewise.
75646         * string/bits/string2.h: Likewise.
75647         * string/string.h: Likewise.
75648         * string/strings.h: Likewise.
75649         * sunrpc/rpc/auth.h: Likewise.
75650         * sunrpc/rpc/auth_des.h: Likewise.
75651         * sunrpc/rpc/clnt.h: Likewise.
75652         * sunrpc/rpc/netdb.h: Likewise.
75653         * sunrpc/rpc/pmap_clnt.h: Likewise.
75654         * sunrpc/rpc/xdr.h: Likewise.
75655         * sysdeps/generic/inttypes.h: Likewise.
75656         * sysdeps/generic/net/if.h: Likewise.
75657         * sysdeps/generic/sys/swap.h: Likewise.
75658         * sysdeps/gnu/net/if.h: Likewise.
75659         * sysdeps/gnu/utmpx.h: Likewise.
75660         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
75661         * sysdeps/i386/i486/bits/string.h: Likewise.
75662         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
75663         * sysdeps/s390/bits/string.h: Likewise.
75664         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
75665         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
75666         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
75667         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
75668         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
75669         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
75670         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
75671         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
75672         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
75673         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
75674         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
75675         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
75676         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
75677         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
75678         * sysdeps/unix/sysv/linux/readv.c: Likewise.
75679         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
75680         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
75681         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75682         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
75683         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
75684         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75685         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
75686         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
75687         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
75688         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
75689         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
75690         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
75691         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75692         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
75693         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
75694         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
75695         * sysvipc/sys/ipc.h: Likewise.
75696         * sysvipc/sys/msg.h: Likewise.
75697         * sysvipc/sys/sem.h: Likewise.
75698         * sysvipc/sys/shm.h: Likewise.
75699         * termios/termios.h: Likewise.
75700         * time/sys/time.h: Likewise.
75701         * time/time.h: Likewise.
75702         * wcsmbs/bits/wchar2.h: Likewise.
75703         * wcsmbs/uchar.h: Likewise.
75704         * wcsmbs/wchar.h: Likewise.
75705         * wctype/wctype.h: Likewise.
75707         [BZ #13551]
75708         * Makeconfig: Remove all but ELF support including AIX support.
75709         * Makerules: Likewise.
75710         * config.h.in: Likewise.
75711         * config.make.in: Likewise.
75712         * configure: Likewise.
75713         * configure.in: Likewise.
75714         * csu/Makefile: Likewise.
75715         * csu/version.c: Likewise.
75716         * debug/Makefile: Likewise.
75717         * dlfcn/Makefile: Likewise.
75718         * elf/Makefile: Likewise.
75719         * extra-lib.mk: Likewise.
75720         * iconv/Makefile: Likewise.
75721         * include/libc-symbols.h: Likewise.
75722         * include/shlib-compat.h: Likewise.
75723         * resolv/Makefile: Likewise.
75724         * resolv/res_libc.c: Likewise.
75725         * rt/Makefile: Likewise.
75726         * sysdeps/i386/asm-syntax.h: Likewise.
75727         * sysdeps/i386/sysdep.h: Likewise.
75728         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75729         * sysdeps/mach/sysdep.h: Likewise.
75730         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
75731         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
75732         * sysdeps/s390/asm-syntax.h: Likewise.
75733         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75734         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75735         * sysdeps/sh/sysdep.h: Likewise.
75736         * sysdeps/unix/sparc/sysdep.h: Likewise.
75737         * sysdeps/wordsize-32/divdi3.c: Likewise.
75738         * sysdeps/x86_64/sysdep.h: Likewise.
75740         * argp/Versions: Remove _argp_unlock_xxx.
75742         [BZ #13559]
75743         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
75744         * abilist/libBrokenLocale.abilist: Likewise.
75745         * abilist/libanl.abilist: Likewise.
75746         * abilist/libc.abilist: Likewise.
75747         * abilist/libcrypt.abilist: Likewise.
75748         * abilist/libdl.abilist: Likewise.
75749         * abilist/libm.abilist: Likewise.
75750         * abilist/libnsl.abilist: Likewise.
75751         * abilist/libpthread.abilist: Likewise.
75752         * abilist/libresolv.abilist: Likewise.
75753         * abilist/librt.abilist: Likewise.
75754         * abilist/libthread_db.abilist: Likewise.
75755         * abilist/libutil.abilist: Likewise.
75756         * abilist/libnss_db.abilist: New file.
75758         * scripts/abilist.awk: Add support for indirect functions.
75760         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
75762         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
75764         * shlib-versions: Remove entries for ports architectures.
75766         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
75767         files in ports.
75768         * elf/stackguard-macros.h: Remove support for IA-64.
75769         * elf/tst-auditmod1.c: Likewise.
75770         * sysdeps/generic/ldsodefs.h: Likewise.
75772         * sysdeps/unix/sysv/linux/configure.in: Ports should define
75773         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
75774         configure files.
75776         [BZ #13552]
75777         * configure.in: Remove --enable-omitfp support.
75778         * FAQ.in: Adjust.
75779         * config.make.in: Likewise.
75780         * Makeconfig: Likewise.
75781         * manual/install.texi: Likewise.
75783         In case anyone cares, the IA-64 architecture could move to ports.
75784         * sysdeps/ia64/*: Removed.
75785         * sysdeps/unix/sysv/linux/ia64/*: Removed.
75786         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
75788         [BZ #13555]
75789         * configure.in: Remove entries for unsupported architectures.
75791         [BZ #13533]
75792         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
75793         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
75794         routines.
75795         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
75796         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
75797         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
75798         fall back to using wcrtomb.
75799         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
75800         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
75801         renaming.
75802         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
75803         * wcsmbs/tst-c16c32-1.c: New file.
75805         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
75806         local variable.
75808         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
75810         * elf/tst-unique3.cc: Add explicit declaration of gets.
75811         * elf/tst-unique3lib.cc: Likewise.
75812         * elf/tst-unique3lib2.cc: Likewise.
75813         * elf/tst-unique4.cc: Likewise.
75815         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
75817 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
75819         [BZ #13566]
75820         * assert/assert.h (static_assert): Don't define for C++.
75821         * libio/stdio.h (gets): Do declare for C++ <= C++11.
75822         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
75824 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
75826         * iconv/loop.c (single loop): Fix assertion in storing of
75827         remaining bytes.
75829         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
75831 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
75833         * posix/getconf.c: Update copyright year.
75834         * nss/getent.c: Likewise.
75835         * nss/makedb.c: Likewise.
75836         * iconv/iconvconfig.c: Likewise.
75837         * iconv/iconv_prog.c: Likewise.
75838         * elf/ldconfig.c: Likewise.
75839         * elf/pldd.c: Likewise.
75840         * elf/sotruss.ksh: Likewise.
75841         * catgets/gencat.c: Likewise.
75842         * csu/version.c: Likewise.
75843         * elf/ldd.bash.in: Likewise.
75844         * elf/sprof.c (print_version): Likewise.
75845         * locale/programs/locale.c: Likewise.
75846         * locale/programs/localedef.c: Likewise.
75847         * login/programs/pt_chown.c: Likewise.
75848         * nscd/nscd.c (print_version): Likewise.
75849         * debug/xtrace.sh: Likewise.
75850         * malloc/memusage.sh: Likewise.
75851         * malloc/mtrace.pl: Likewise.
75852         * debug/catchsegv.sh: Likewise.
75854 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
75856         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
75857         pure attribute.
75859 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
75861         [BZ #13533]
75862         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
75863         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
75864         transformations.
75865         * iconv/gconv_int.h: Likewise.
75866         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
75867         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
75868         from libc for GLIBC_2.16.
75869         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
75870         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
75871         * wcsmbs/uchar.h: Really define mbstate_t.
75872         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
75873         * wcsmbs/c16rtomb.c: New file.
75874         * wcsmbs/mbrtoc16.c: New file.
75875         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
75876         for C/POSIX locale.
75877         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
75878         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
75880         * wcsmbs/wchar.h: Add missing __restrict.
75882 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75884         [BZ #13532]
75885         * time/Makefile (routines): Add timespec_get.
75886         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75887         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75888         timespec for ISO C11.
75889         * time/timespec_get.c: New file.
75890         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75891         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75893         [BZ #13531]
75894         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75895         * stdlib/stdlib.h: Declare aligned_alloc.
75896         * Versions.def: Add GLIBC_2.16 for libc.
75897         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75899         [BZ 13527]
75900         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75901         ISO C11.
75903         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75904         code.
75906         [BZ #13528]
75907         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75909         [BZ #13529]
75910         * assert/assert.h (static_assert): Define.
75912         * version.h: Update for 2.16 development version.
75914         [BZ #13526]
75915         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75916         _ISOC11_SOURCE.
75918         * version.h (RELEASE): Bump for 2.15 release.
75919         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75921         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75922         Patch by Marek Polacek <mpolacek@redhat.com>.
75924         * bits/byteswap.h: Protect long long constants with __extension__.
75925         * sysdeps/i386/bits/byteswap.h: Likewise.
75926         * sysdeps/ia64/bits/byteswap.h: Likewise.
75927         * sysdeps/s390/bits/byteswap.h: Likewise.
75928         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75930 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75932         [BZ #13540]
75933         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75934         destination buffer.
75935         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75937 2011-12-23  Marek Polacek  <polacek@redhat.com>
75939         * elf/dl-addr.c (determine_info): Add inline keyword.
75940         * elf/tst-auditmod4b.c (check_avx): Likewise.
75941         * elf/tst-auditmod6b.c (check_avx): Likewise.
75942         * elf/tst-auditmod6c.c (check_avx): Likewise.
75943         * elf/tst-auditmod7b.c (check_avx): Likewise.
75945 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75947         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75948         !__SSE_MATH__.
75950 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75952         [BZ #13540]
75953         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75954         processing for last bytes.
75956 2011-08-06  Bruno Haible  <bruno@clisp.org>
75958         [BZ #13061]
75959         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75960         U+0385, not to U+1FEE.
75962         [BZ #13062]
75963         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75964         entry for U+00A5 U+0301.
75966 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75968         [BZ #13166]
75969         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75970         buffer for the output is too small.
75972         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75973         optimization.
75975         [BZ #13185]
75976         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75977         SSE flags if possible.
75979 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75981         [BZ #13540]
75982         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75983         processing for last bytes.
75985 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75987         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75988         (syscall-list-default-options, syscall-list-default-condition)
75989         (syscall-list-includes): Define.
75990         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75991         list of ABIs and options and #if conditions for each ABI.  Do not
75992         handle common syscalls between ABIs specially.
75993         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75994         Remove.
75995         (syscall-list-variants, syscall-list-32bit-options)
75996         (syscall-list-32bit-condition, syscall-list-64bit-options)
75997         (syscall-list-64bit-condition): Define.
75998         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75999         (syscall-list-variants, syscall-list-32bit-options)
76000         (syscall-list-32bit-condition, syscall-list-64bit-options)
76001         (syscall-list-64bit-condition): Define.
76002         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76003         Remove.
76004         (syscall-list-variants, syscall-list-32bit-options)
76005         (syscall-list-32bit-condition, syscall-list-64bit-options)
76006         (syscall-list-64bit-condition): Define.
76007         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76008         Remove.
76009         (syscall-list-variants, syscall-list-32bit-options)
76010         (syscall-list-32bit-condition, syscall-list-64bit-options)
76011         (syscall-list-64bit-condition): Define.
76013 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76015         * locale/iso-639.def: Add brx entry.
76017         [BZ #13328]
76018         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76019         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76021         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76022         __feraiseexcept_renamed.
76024 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76026         [BZ #13538]
76027         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76028         EPOLLET with unsigned values.
76029         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76030         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76032         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76033         to large cancellation.
76034         * math/s_cacoshf.c: Likewise.
76035         * math/s_cacoshl.c: Likewise.
76037 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76039         [BZ #13305]
76040         [BZ #12786]
76041         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76042         * math/s_cacoshf.c: Likewise.
76043         * math/s_cacoshl.c: Likewise.
76045 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76047         [BZ #13439]
76048         * iconv/gconv.h: Define __GCONV_SWAP.
76049         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76050         * iconvdata/utf-16.c: Likewise.
76051         * iconvdata/utf-32.c: Likewise.
76053 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76055         [BZ #13524]
76056         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76057         numerator after shifting it by one limb.
76059 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76061         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76062         under [__USE_EXTERN_INLINES].
76064 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76066         [BZ #13446]
76067         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76069 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76071         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76072         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76073         optimized code.
76074         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76075         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76076         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76077         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76078         for strncasecmp/strncasecmp_l compilation.
76079         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76080         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76082 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76084         [BZ #13484]
76085         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76086         of __asm__.
76088 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76090         [BZ #13506]
76091         * time/tzfile.c (__tzfile_read): Check values from file header.
76093 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76095         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76096         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76097         * powerpc/powerpc32/dl-start.S: Likewise.
76098         * powerpc/powerpc32/elf/start.S: Likewise.
76099         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76100         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76101         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76102         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76103         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76104         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76105         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76106         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76107         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76108         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76109         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76110         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76111         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76112         * powerpc/powerpc32/memset.S: Likewise.
76113         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76114         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76115         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76116         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76117         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76118         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76119         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76120         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76121         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76122         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76123         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76124         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76125         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76127 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76129         * math/libm-test.inc: Added more nearbyint tests.
76130         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76131         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76132         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76133         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76135 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76137         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76138         FD_CLOEXEC.
76140 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76142         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76143         Add wcscpy-ssse3 wcscpy-c.
76144         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76145         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76146         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76147         * sysdeps/x86_64/wcschr.S: New file.
76148         * sysdeps/x86_64/wcsrchr.S: New file.
76149         * string/test-strcmp.c: Remove checking of wcscmp function for
76150         wrong alignments.
76151         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76152         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76153         wcsrchr-sse2 wcsrchr-c.
76154         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76155         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76156         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76157         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76158         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76159         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76160         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76161         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76162         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76163         * wcsmbc/wcschr.c (WCSCHR): New macro.
76165 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76167         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76168         * wcsmbs/test-wcsrchr.c: New file.
76169         * string/test-strrchr.c: Add wcsrchr support.
76170         (WIDE): New macro.
76171         * wcsmbs/test-wcscpy.c: New file.
76172         * string/test-strcpy.c: Add wcscpy support.
76173         (WIDE): New macro.
76175 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76177         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76178         the inner loop.
76180 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76182         [BZ #13472]
76183         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76185 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76187         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76188         Minor optimizations.
76190         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76191         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76192         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76194 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76196         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76197         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76198         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76199         for gcc to avoid warnings.
76200         * inet/Makefile (tests): Add tst-checks.
76201         * inet/tst-checks.c: New file.
76203         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76204         warning.
76206         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76207         __wmemcmp_sse2.
76209         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76210         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76212         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76214 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76216         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76217         problem.
76219         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76221 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76223         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76224         conditional on GCC version.
76225         (__arch_compare_and_exchange_val_8_acq)
76226         (__arch_compare_and_exchange_val_16_acq)
76227         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76228         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76229         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76231 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
76233         * sysdeps/sh/backtrace.c: New file.
76235 2011-12-02  Andreas Schwab  <schwab@redhat.com>
76237         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
76238         parenthesis.
76240 2011-12-01  Andreas Schwab  <schwab@redhat.com>
76242         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
76243         falling back to utime.
76245 2011-11-30  Andreas Schwab  <schwab@redhat.com>
76247         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
76248         expectations for float.
76250 2011-11-29  Andreas Schwab  <schwab@redhat.com>
76252         * locale/weight.h (findidx): Add parameter len.
76253         * locale/weightwc.h (findidx): Likewise.
76254         * posix/fnmatch_loop.c (FCT): Adjust caller.
76255         * posix/regcomp.c (build_equiv_class): Likewise.
76256         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
76257         * posix/regexec.c (check_node_accept_bytes): Likewise.
76258         * string/strcoll_l.c (STRCOLL): Likewise.
76259         * string/strxfrm_l.c (STRXFRM): Likewise.
76261 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
76263         * Makefile.in: Remove CVSOPT handling.
76264         * configure.in: Remove use of AC_REVISION.
76265         * iconvdata/Makefile (distribute): No need to filter out CVS.
76266         * scripts/list-sources.sh: Remove CVS, subversion and monotone
76267         handling.
76269 2011-11-16  Andreas Schwab  <schwab@redhat.com>
76271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
76272         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
76273         [USE_AS_STRNCASECMP_L]: Likewise.
76274         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
76275         NO_TLS_DIRECT_SEG_REFS.
76276         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
76277         Fix argument offsets for non-PIC.
76278         [USE_AS_STRNCASECMP_L]: Likewise.
76279         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
76280         NO_TLS_DIRECT_SEG_REFS.
76282 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76284         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
76285         O_CLOEXEC.
76286         * locale/loadlocale.c (_nl_load_locale): Likewise.
76288 2011-11-15  Andreas Schwab  <schwab@redhat.com>
76290         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
76291         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
76292         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
76293         (SYSCALL_GETTIME): Set errno on error.
76295         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
76296         count references to noai6ai_cached.
76298 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76300         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
76302         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
76303         FD_CLOEXEC for /proc/self/maps.
76305         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
76306         FD_CLOEXEC for /proc/meminfo.
76308         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
76309         gai.conf.
76311         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
76312         FD_CLOEXEC for given file.
76314         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
76316         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
76317         FD_CLOEXEC for /etc/hosts.
76318         (_gethtent): Likewise.
76320         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
76322         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
76323         cancellation and set FD_CLOEXEC for /etc/netgroup.
76325         * nss/nss_files/files-key.c (search): Don't allow cancellation when
76326         reading /etc/publickey.
76328         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
76329         allow cancellation when reading /etc/group.
76331         * nss/nss_files/files-alias.c (internal_setent): Don't allow
76332         cancellation.
76333         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
76335         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
76336         when using data file.
76338         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
76340         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
76341         (write_nis_obj): Use "c" and "e" in fopen.
76343         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
76345         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
76347         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
76349         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
76351         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
76352         locale.alias.
76354         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
76356         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
76358         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
76360         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
76361         file parsing and set FD_CLOEXEC.
76363 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76365         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
76367 2011-11-14  Andreas Schwab  <schwab@redhat.com>
76369         * malloc/arena.c (arena_get2): Don't call reused_arena when
76370         _int_new_arena failed.
76372 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76374         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
76375         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
76376         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
76377         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76378         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76379         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
76380         to compile strcasecmp and strncasecmp.
76381         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
76382         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
76384         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
76386 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
76388         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
76389         locale-defines.sym to gen-as-const-headers.
76390         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
76391         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
76392         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
76393         to compile strcasecmp and strncasecmp.
76394         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
76395         strcasecmp_l and strncasecmp_l.
76396         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
76397         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
76398         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
76399         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
76400         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
76401         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
76402         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
76403         * sysdeps/i386/i686/multiarch/strncase.S: New file.
76404         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
76405         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
76406         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
76408 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
76410         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
76411         result of SYSDEP_GETTIME_CPU to retval.
76412         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76413         parameter list to macro.  Remove trailing semicolon.  Adjust users.
76415         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76416         variable.
76418         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76419         mantissa words.
76420         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76422         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76423         from unused variable.
76425         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76426         DWARF definitions.
76427         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76428         for assembling.
76430         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76431         over namespaces.
76433         * sunrpc/rpc_prot.c (rejected): Fix case value.
76435         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76436         unsigned long long int to avoid warnings in shift.
76438         * posix/regex_internal.c (re_string_reconstruct): Actually use result
76439         of use of trans.
76440         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76441         variable tmp.
76443         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76444         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76445         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76447         * nis/nis_table.c (nis_list): Use variable of correct type for
76448         result of __follow_path call.
76450 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76452         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76453         of math functions ceil, trunc, floor, round, and sqrt, when
76454         avaliable on the platform.
76455         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76456         name clash.
76457         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76458         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76459         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76461 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
76463         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76464         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76466 2011-11-11  Roland McGrath  <roland@hack.frob.com>
76468         * include/unistd.h: Fix __readlink return type.
76469         Reported by Chris Metcalf <cmetcalf@tilera.com>.
76471 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
76473         * stdlib/ucontext.h: Undo last change for makecontext.
76475 2011-11-11  Andreas Schwab  <schwab@redhat.com>
76477         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76479         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76480         * setjmp/setjmp.h: Mark functions as non-leaf.
76481         * setjmp/bits/setjmp2.h: Likewise.
76482         * stdlib/ucontext.h: Likewise.
76484 2011-11-10  Andreas Schwab  <schwab@redhat.com>
76486         * malloc/arena.c (_int_new_arena): Don't increment narenas.
76487         (reused_arena): Don't check arena limit.
76488         (arena_get2): Atomically check arena limit.
76490 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
76492         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76493         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76495         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76496         instructions.
76498 2011-11-07  Andreas Schwab  <schwab@redhat.com>
76500         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76501         handler when locking.
76503         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76504         Fix size of allocated buffer.
76506 2011-11-04  Andreas Schwab  <schwab@redhat.com>
76508         [BZ #10103]
76509         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76510         declarations for long double functions.
76511         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76513         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76515 2011-11-03  Andreas Schwab  <schwab@redhat.com>
76517         * nscd/nscd.c (main): Don't start AVC thread until credentials are
76518         installed.
76520         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
76521         is disabled.
76523 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76525         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
76527 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
76529         * include/alloca.h (stackinfo_alloca_round): Define.
76530         (extend_alloca): Use it.
76531         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
76532         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
76533         here.
76535         * scripts/check-local-headers.sh: Ignore libaudit.h.
76537         * nscd/Makefile (extra-objs): Make recursively expanded.
76539 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
76541         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
76542         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
76544         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
76545         * posix/tst-rfc3484-2.c: Likewise.
76546         * posix/tst-rfc3484-3.c: Likewise.
76548         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76549         process_vm_writev.
76550         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
76551         process_vm_writev.
76552         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
76553         process_vm_writev from libc using GLIBC_2.15 version.
76555         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
76557 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
76559         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
76560         stack usage.
76562 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
76564         [BZ #13367]
76565         * nss/getent.c (initgroups_keys): Show error message in case no group
76566         names are given.
76568         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
76569         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
76570         __bump_nl_timestamp.
76571         * nscd/connections (nscd_init): When host database is served open
76572         netlink socket and request notification about configuration changes.
76573         (main_loop_poll): Track netlink file descriptor and bump timestamp
76574         in case data becomes available.
76575         (main_loop_epoll): Likewise.
76576         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
76577         (database_pers_head): Add extra_data fileds.
76578         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
76579         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
76580         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
76581         Adjust caller.
76582         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
76583         in6ai data, call __free_in6ai.
76584         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
76585         Add -DHAVE_NETLINK.
76586         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
76587         interface information.  Reuse previous data if netlink timestamp
76588         is not changed.
76589         (__bump_nl_timestamp): New function.
76590         (__free_in6ai): New function.
76592 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
76594         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
76595         close_not_cancel_no_status here.
76596         (__check_pf): Reorganize code a bit to not call close twice if OOM.
76598 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76600         [BZ #13276]
76601         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
76602         return value.
76604         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
76605         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
76606         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
76608 2011-07-03  Andreas Jaeger  <aj@suse.de>
76610         [BZ #10709]
76611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
76612         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
76613         * math/libm-test.inc (sin_test): Add test case.
76615 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76617         [BZ #13337]
76618         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
76619         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76621         * elf/chroot_canon.c (chroot_canon): Cleanups.
76623         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
76625         [BZ #13335]
76626         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
76627         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76629         * string/test-strchr.c: Make usable for strchrnul testing.
76630         * string/test-strchrnul.c: New file.
76631         * string/Makefile (strop-tests): Add strchrnul.
76633         * po/it.po: Update from translation team.
76634         * po/es.po: Likewise.
76636 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
76638         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
76639         the three constants needed as parameters.  Drop the others.
76640         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
76641         __m128i_strloadu_tolower.
76642         Create and initialize variable zero and use it in all the places
76643         where _mm_setzero_si128 was used.
76645         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
76646         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
76647         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
76648         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
76649         anymore.
76650         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
76651         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
76652         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
76653         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
76654         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
76655         __mpranred, __mptan.
76656         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
76657         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
76658         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
76659         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
76660         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
76661         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
76662         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
76663         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
76664         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
76666 2011-10-28  Andreas Schwab  <schwab@redhat.com>
76668         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
76669         redefine if SHARED.
76670         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
76672         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
76673         wide char related routines to wcsmbs subdir.
76675 2011-10-27  Andreas Schwab  <schwab@redhat.com>
76677         [BZ #13344]
76678         * misc/sys/cdefs.h (__THROWNL): Define.
76679         * posix/unistd.h: Use __THREADNL instead of __THREAD
76680         for memory synchronization functions.
76682 2011-10-26  Roland McGrath  <roland@hack.frob.com>
76684         [BZ #13349]
76685         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
76686         doesn't exist.
76687         * manual/stdio.texi (Obstack Streams): Node removed.
76689 2011-10-26  Andreas Schwab  <schwab@redhat.com>
76691         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
76692         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76693         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76695         * math/math_private.h (math_force_eval): Allow non-addressable
76696         arguments.
76697         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
76699 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76701         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
76702         file is not needed.
76704         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
76705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
76706         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76707         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76708         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76709         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76710         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76711         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
76712         Add AVX variants.
76713         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
76714         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
76715         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
76716         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
76717         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
76718         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
76719         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
76720         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
76721         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
76722         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
76723         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
76724         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
76725         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
76726         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
76727         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
76728         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
76729         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
76730         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
76731         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
76733         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
76734         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
76736         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
76737         place.  Use VEX encoding when compiling for AVX.
76739 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76741         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
76742         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
76744         * string/test-strchr.c (do_test): Don't generate NUL bytes.
76746 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76748         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
76749         useless if() expression.
76750         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76751         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76752         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76753         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76754         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76755         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76756         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76757         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76758         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76759         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76760         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76761         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76762         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76763         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76764         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76765         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76766         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76767         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76768         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76770         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
76772 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76774         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
76775         condition.
76776         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76778 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76780         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
76781         .text section.  Avoid duplicate constants.
76782         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76783         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76784         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76785         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76786         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76787         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76788         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76789         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76790         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
76791         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
76792         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
76793         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
76794         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
76795         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
76796         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
76797         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
76798         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
76799         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
76800         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76801         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76802         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76803         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76804         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76805         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
76806         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
76807         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
76808         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
76809         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
76810         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
76811         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
76812         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
76813         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
76814         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
76815         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
76816         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
76817         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
76818         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
76819         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
76820         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
76821         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
76822         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
76823         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
76824         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
76825         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
76826         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
76828 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
76830         * sysdeps/x86_64/dla.h: Move to ...
76831         * sysdeps/x86_64/fpu/dla.h: ...here.
76832         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
76833         situations.  Use __builtin_fma only for gcc 4.6 and up.
76835         * config.make.in: Add have-mfma4 entry.
76836         * configure.in: Substitute libc_cv_cc_fma4.
76837         * math/Makefile (dbl-only-routines): Add sincostab.
76838         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
76839         Use __sincostab not sincos.
76840         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
76841         name is a macro.
76842         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76843         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76844         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76845         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
76846         using __copysign.
76847         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
76848         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
76849         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
76850         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
76851         and __inv.
76852         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
76853         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
76854         __copysign.
76855         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
76856         define aliases when function name is a macro.
76857         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
76858         sysdeps/ieee754/dbl-64/sincos.tbl.
76859         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
76860         fma4-enabled routines.
76861         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
76862         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
76863         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
76864         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
76865         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
76866         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
76867         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
76868         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
76869         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
76870         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
76871         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
76872         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
76873         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
76874         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
76875         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
76876         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
76877         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
76878         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
76879         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
76880         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
76881         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
76882         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
76883         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76884         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76885         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76886         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76887         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76888         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76889         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76890         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76892         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76893         rename.
76894         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76895         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76898         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76899         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76900         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76901         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76903 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76905         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76907 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76909         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76911         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76912         prediction.
76913         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76915         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76916         Remove unused variable magic_bits.
76917         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76919         * string/strnlen.c: Define and use STRNLEN macro.
76920         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76921         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76922         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76923         * wcsmbs/wcslen.c: Define and use WCSLEN.
76924         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76925         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76926         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76927         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76928         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76929         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76930         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76932 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76935         strnlen-sse2-no-bsf.
76936         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76937         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76938         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76939         Add strnlen support.
76940         (USE_AS_STRNLEN): New macro.
76941         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76942         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76943         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76944         * sysdeps/x86_64/wcslen.S: New file.
76946 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76948         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76949         XMM-moves are used for copying on small sizes.
76951 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76953         * wcsmbs/Makefile (strop-tests): Add wcschr.
76954         * wcsmbs/test-wcschr.c: New file.
76955         * string/test-strchr.c: Update.
76956         Add wcschr support.
76957         (WIDE): New macro.
76959 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76961         * wcsmbs/Makefile (strop-tests): Add wcslen.
76962         * wcsmbs/test-wcslen.c: New file.
76963         * string/test-strlen.c: Update.
76964         Add wcslen support.
76965         (WIDE): New macro.
76967 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76969         * po/it.po: Update from translation team.
76971 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76973         * sysdeps/x86_64/wcscmp.S: Update.
76974         Fix wrong comparison semantics.
76975         wcscmp shall use signed comparison not unsigned.
76976         Don't use substraction to avoid overflow bug.
76977         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76978         * wcsmbc/wcscmp.c: Likewise.
76979         * string/test-strcmp.c: Likewise.
76980         Add new tests to check cases with negative values.
76982 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76984         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76985         * sysdeps/x86_64/dla.h: ...here.  New file.
76986         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76987         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76988         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76989         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76990         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76991         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76992         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76993         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76994         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76996 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76999         __ynl_finite aliases.
77001 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77005         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77006         define DLA_FMA.
77007         [DLA_FMA] (EMULV): Use DLA_FMA.
77008         [DLA_FMA] (MUL12): Use EMULV.
77009         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77010         that are not needed.
77011         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77016         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77017         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77019 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77021         * math/s_nan.c: Undef __nan.
77022         * math/s_nanf.c: Undef __nanf.
77023         * math/s_nanl.c: Undef __nanl.
77024         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77025         "math_private.h".
77027 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77029         * math/s_catan.c: Add branch predictions.
77030         * math/s_catanf.c: Likewise.
77031         * math/s_catanh.c: Likewise.
77032         * math/s_catanhf.c: Likewise.
77033         * math/s_catanhl.c: Likewise.
77034         * math/s_catanl.c: Likewise.
77035         * math/s_cexp.c: Likewise.
77036         * math/s_cexpf.c: Likewise.
77037         * math/s_cexpl.c: Likewise.
77038         * math/s_clog.c: Likewise.
77039         * math/s_clog10.c: Likewise.
77040         * math/s_clog10f.c: Likewise.
77041         * math/s_clog10l.c: Likewise.
77042         * math/s_clogf.c: Likewise.
77043         * math/s_clogl.c: Likewise.
77044         * math/s_csqrt.c: Likewise.
77045         * math/s_csqrtf.c: Likewise.
77046         * math/s_csqrtl.c: Likewise.
77047         * math/s_ctanf.c: Likewise.
77048         * math/s_ctanh.c: Likewise.
77049         * math/s_ctanhf.c: Likewise.
77050         * math/s_ctanhl.c: Likewise.
77051         * math/s_ctanl.c: Likewise.
77053         * math/math_private.h: Define __nan, __nanf, __nanl.
77054         * math/s_cacosh.c: Include <math_private.h>.
77055         * math/s_cacoshl.c: Likewise.
77056         * math/s_casinh.c: Likewise.
77057         * math/s_casinhf.c: Likewise.
77058         * math/s_casinhl.c: Likewise.
77059         * math/s_ccos.c: Rely entire on ccosh.
77060         * math/s_ccosf.c: Rely entire on ccoshf.
77061         * math/s_ccosl.c: Rely entirely on ccoshl.
77062         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77063         Remove tests for FE_INVALID.
77064         * math/s_ccoshf.c: Likewise.
77065         * math/s_ccoshl.c: Likewise.
77066         * math/s_csin.c: Likewise.
77067         * math/s_csinf.c: Likewise.
77068         * math/s_csinh.c Likewise.
77069         * math/s_csinhf.c: Likewise.
77070         * math/s_csinhl.c: Likewise.
77071         * math/s_csinl.c: Likewise.
77072         * math/s_ctan.c: Likewise.
77073         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77074         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77075         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77077 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77080         compilation problems.
77082         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77083         __builtin_expect.
77085 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77087         * sysdeps/i386/configure.in: Test for -mfma4 option.
77088         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77089         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77090         COMMON_CPUID_INDEX_80000001.
77091         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77092         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77093         use it if FMA3 is not supported.
77094         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77096         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77097         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77099 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77101         [BZ #12892]
77102         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77103         it would create a cycle with a link time dependency.
77105 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77107         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77108         instruction.
77109         * string/Makefile (strop-tests): Add rawmemchr.
77110         * string/test-rawmemchr.c: New file.
77112         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77113         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77114         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77115         when compiling str{,n}casecmp and when AVX is available.  Hook up
77116         new optimized code in initializers.
77118 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77120         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77121         __feraiseexcept instead of feraiseexcept.
77123 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77125         * math/math_private.h: Define defaults for libc_fetestexcept and
77126         libc_feupdateenv.
77127         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77128         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77129         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77130         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77131         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77132         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77133         libc_fetestexcept and libc_feupdateenv.
77135         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77136         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77137         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77138         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77139         libc_feholdexcept_setround.
77141         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77142         Add s_nearbyint-c and s_nearbyintf-c.
77143         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77144         nearbyintf inlines.
77145         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77146         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77147         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77148         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77150         * math/math_private.h: Define defaults for libc_fegetround,
77151         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77152         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77153         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77154         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77155         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77156         standard functions.
77157         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77158         Remove comments and hacks for old compiler versions.
77159         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77160         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77161         libc_feholdexceptl.
77163 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77165         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77166         (__feraiseexcept_renamed): Add __NTH.
77167         (feraiseexcept): Add __NTH.  Rename local variables to fix
77168         namespace violations.
77170 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77172         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77174         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77176         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77177         recently added interfaces.
77178         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77180         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77181         about macro parameter expansion.
77183         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77184         __NO_MATH_INLINES is defined.  Cleanups.
77186         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77187         and __floorf is target has SSE4.1.
77188         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77189         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77190         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77191         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77193         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77194         name.
77195         (floorf): Likewise.
77197         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77199 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77201         * misc/sys/cdefs.h: Fix last change.
77203         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77204         database lookup.
77206 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77208         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77210         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77211         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77212         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77213         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77214         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77215         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77216         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77217         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77218         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77219         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77220         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77221         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77222         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77223         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77224         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77225         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77226         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77227         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77228         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77229         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77230         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77231         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77233         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
77234         ceil, ceilf, floor, floorf.
77236         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
77237         Perform IRELATIVE relocations last.
77239         * elf/do-rel.h: Add another parameter nrelative, replacing the
77240         local variable with the same name.  Change name of the function
77241         to end in Rel or Rela (uppercase).
77242         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
77243         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
77244         elf_dynamic_do_##reloc function.
77246 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77248         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
77249         is sufficient, at least on modern CPUs.
77251         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
77253         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
77254         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
77256         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
77257         __expl_finite.
77258         * math/bits/math-finite.h: Add entries for exp.
77259         * math/e_expl.c: Add __*_finite alias.
77260         * sysdeps/i386/fpu/e_exp.S: Likewise.
77261         * sysdeps/i386/fpu/e_expf.S: Likewise.
77262         * sysdeps/i386/fpu/e_expl.c: Likewise.
77263         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77264         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77265         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
77266         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
77267         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
77268         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77269         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77271         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
77272         is sufficient, at least on modern CPUs.
77274         * ctype/ctype-info.c (__ctype_init): Define.
77275         * include/ctype.h (__ctype_init): Declare.
77276         (__ctype_b_loc): The variable is always initialized.
77277         (__ctype_toupper_loc): Likewise.
77278         (__ctype_tolower_loc): Likewise.
77279         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
77280         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
77282 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
77284         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
77286         * configure.in: Also look in $cxxmachine/include for C++ system
77287         headers.
77289 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77291         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
77292         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
77293         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
77294         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
77295         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
77296         (USE_AS_WMEMCMP): New macro.
77297         Fixing indents.
77298         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
77299         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
77300         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
77301         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
77302         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77303         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
77304         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
77305         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
77306         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
77307         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
77308         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
77309         (USE_AS_WMEMCMP): New macro.
77310         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
77311         * sysdeps/string/test-memcmp.c: Update.
77312         Fix simple_wmemcmp.
77313         Add new tests.
77314         * wcsmbs/wmemcmp.c: Update.
77315         (WMEMCMP): New macro.
77316         Fix overflow bug.
77318 2011-10-12  Andreas Jaeger  <aj@suse.de>
77320         [BZ #13268]
77321         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
77323 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77325         * libio/iofwide.c (do_length): Avoid warning.
77327         * ctype/ctype.h (__isctype_f): Add missing __THROW.
77329 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
77331         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
77333         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
77334         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
77335         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
77336         * sysdeps/i386/i686/fpu/e_log.S: New file.
77337         * sysdeps/i386/i686/fpu/e_logf.S: New file.
77338         * sysdeps/i386/i686/fpu/e_logl.S: New file.
77340         * ctype/ctype.h: Add support for inlined isXXX functions when
77341         compiling C++ code.
77343 2011-10-14  Andreas Schwab  <schwab@redhat.com>
77345         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77347         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
77349 2011-10-13  Roland McGrath  <roland@hack.frob.com>
77351         [BZ #13291]
77352         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
77354 2011-10-13  Andreas Schwab  <schwab@redhat.com>
77356         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
77357         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
77358         feraiseexcept.
77360         * sysdeps/x86_64/memrchr.S: Check for zero size.
77362         * string/stratcliff.c: Add memrchr tests.
77364 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77366         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77367         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
77368         rawmemchr-sse2 rawmemchr-sse2-bsf.
77369         * sysdeps/i386/i686/multiarch/memchr.S: New file.
77370         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
77371         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
77372         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
77373         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
77374         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
77375         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
77376         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
77377         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
77378         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
77379         * string/memrchr.c (MEMRCHR): New macro.
77381 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
77383         Add integration with gcc's -ffinite-math-only and optimize wrapper
77384         functions in libm.
77385         * Versions.def: Define GLIBC_2.15 version for libm.
77386         * math/Makefile (headers): Add bits/math-finite.h.
77387         * math/bits/math-finite.h: New file.
77388         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
77389         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
77390         * math/e_acoshl.c: Add __*_finite alias.
77391         * math/e_acosl.c: Likewise.
77392         * math/e_asinl.c: Likewise.
77393         * math/e_atan2l.c: Likewise.
77394         * math/e_atanhl.c: Likewise.
77395         * math/e_coshl.c: Likewise.
77396         * math/e_exp10.c: Likewise.
77397         * math/e_exp10f.c: Likewise.
77398         * math/e_exp10l.c: Likewise.
77399         * math/e_exp2l.c: Likewise.
77400         * math/e_fmodl.c: Likewise.
77401         * math/e_gammal_r.c: Likewise.
77402         * math/e_hypotl.c: Likewise.
77403         * math/e_j0l.c: Likewise.
77404         * math/e_j1l.c: Likewise.
77405         * math/e_jnl.c: Likewise.
77406         * math/e_lgammal_r.c: Likewise.
77407         * math/e_log10l.c: Likewise.
77408         * math/e_log2l.c: Likewise.
77409         * math/e_logl.c: Likewise.
77410         * math/e_powl.c: Likewise.
77411         * math/e_sinhl.c: Likewise.
77412         * math/e_sqrtl.c: Likewise.
77413         * math/e_scalb.c: Completely rewritten and optimized.
77414         * math/e_scalbf.c: Likewise.
77415         * math/e_scalbl.c: Likewise.
77416         * math/w_acos.c: Likewise.
77417         * math/w_acosf.c: Likewise.
77418         * math/w_acosl.c: Likewise.
77419         * math/w_acosh.c: Likewise.
77420         * math/w_acoshf.c: Likewise.
77421         * math/w_acoshl.c: Likewise.
77422         * math/w_asin.c: Likewise.
77423         * math/w_asinf.c: Likewise.
77424         * math/w_asinl.c: Likewise.
77425         * math/w_atan2.c: Likewise.
77426         * math/w_atan2f.c: Likewise.
77427         * math/w_atan2l.c: Likewise.
77428         * math/w_atanh.c: Likewise.
77429         * math/w_atanhf.c: Likewise.
77430         * math/w_atanhl.c: Likewise.
77431         * math/w_exp10.c: Likewise.
77432         * math/w_exp10f.c: Likewise.
77433         * math/w_exp10l.c: Likewise.
77434         * math/w_fmod.c: Likewise.
77435         * math/w_fmodf.c: Likewise.
77436         * math/w_fmodl.c: Likewise.
77437         * math/w_j0.c: Likewise.
77438         * math/w_j0f.c: Likewise.
77439         * math/w_j0l.c: Likewise.
77440         * math/w_j1.c: Likewise.
77441         * math/w_j1f.c: Likewise.
77442         * math/w_j1l.c: Likewise.
77443         * math/w_jn.c: Likewise.
77444         * math/w_jnf.c: Likewise.
77445         * math/w_log.c: Likewise.
77446         * math/w_logf.c: Likewise.
77447         * math/w_logl.c: Likewise.
77448         * math/w_log10.c: Likewise.
77449         * math/w_log10f.c: Likewise.
77450         * math/w_log10l.c: Likewise.
77451         * math/w_log2.c: Likewise.
77452         * math/w_log2f.c: Likewise.
77453         * math/w_log2l.c: Likewise.
77454         * math/w_pow.c: Likewise.
77455         * math/w_powf.c: Likewise.
77456         * math/w_powl.c: Likewise.
77457         * math/w_remainder.c: Likewise.
77458         * math/w_remainderf.c: Likewise.
77459         * math/w_remainderl.c: Likewise.
77460         * math/w_scalb.c: Likewise.
77461         * math/w_scalbf.c: Likewise.
77462         * math/w_scalbl.c: Likewise.
77463         * math/w_sqrt.c: Likewise.
77464         * math/w_sqrtf.c: Likewise.
77465         * math/w_sqrtl.c: Likewise.
77466         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77467         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
77468         used.
77469         * math/math_private.h: Declare __kernel_standard_f.
77470         * math/w_cosh.c: Remove cruft and optimize a bit.
77471         * math/w_coshf.c: Likewise.
77472         * math/w_coshl.c: Likewise.
77473         * math/w_exp2.c: Likewise.
77474         * math/w_exp2f.c: Likewise.
77475         * math/w_exp2l.c: Likewise.
77476         * math/w_hypot.c: Likewise.
77477         * math/w_hypotf.c: Likewise.
77478         * math/w_hypotl.c: Likewise.
77479         * math/w_lgamma.c: Likewise.
77480         * math/w_lgamma_r.c: Likewise.
77481         * math/w_lgammaf.c: Likewise.
77482         * math/w_lgammaf_r.c: Likewise.
77483         * math/w_lgammal.c: Likewise.
77484         * math/w_lgammal_r.c: Likewise.
77485         * math/w_sinh.c: Likewise.
77486         * math/w_sinhf.c: Likewise.
77487         * math/w_sinhl.c: Likewise.
77488         * math/w_tgamma.c: Likewise.
77489         * math/w_tgammaf.c: Likewise.
77490         * math/w_tgammal.c: Likewise.
77491         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77492         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77493         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77494         Minor optimizations.  Pretty printing.  Remove cruft.
77495         * sysdeps/i386/fpu/e_acosf.S: Likewise.
77496         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77497         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77498         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77499         * sysdeps/i386/fpu/e_acosl.c: Likewise.
77500         * sysdeps/i386/fpu/e_asin.S: Likewise.
77501         * sysdeps/i386/fpu/e_asinf.S: Likewise.
77502         * sysdeps/i386/fpu/e_atan2.S: Likewise.
77503         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77504         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77505         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77506         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77507         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77508         * sysdeps/i386/fpu/e_exp10.S: Likewise.
77509         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77510         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77511         * sysdeps/i386/fpu/e_exp2.S: Likewise.
77512         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77513         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77514         * sysdeps/i386/fpu/e_fmod.S: Likewise.
77515         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77516         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77517         * sysdeps/i386/fpu/e_hypot.S: Likewise.
77518         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
77519         * sysdeps/i386/fpu/e_log.S: Likewise.
77520         * sysdeps/i386/fpu/e_log10.S: Likewise.
77521         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77522         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77523         * sysdeps/i386/fpu/e_log2.S: Likewise.
77524         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77525         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77526         * sysdeps/i386/fpu/e_logf.S: Likewise.
77527         * sysdeps/i386/fpu/e_logl.S: Likewise.
77528         * sysdeps/i386/fpu/e_pow.S: Likewise.
77529         * sysdeps/i386/fpu/e_powf.S: Likewise.
77530         * sysdeps/i386/fpu/e_powl.S: Likewise.
77531         * sysdeps/i386/fpu/e_remainder.S: Likewise.
77532         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
77533         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
77534         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77535         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77536         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77537         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
77538         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
77539         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
77540         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77541         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77542         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77543         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77544         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77545         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77546         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
77547         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77548         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77549         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77550         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77551         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77553         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77554         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77555         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77556         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77557         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77558         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77560         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77561         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77562         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77563         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77564         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77565         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77566         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77567         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77568         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
77569         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77570         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77571         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77572         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77573         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77574         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77575         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77576         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77577         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77578         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77579         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77580         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77581         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77582         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77583         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77584         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77585         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77586         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77587         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77588         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77589         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
77590         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77591         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77592         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77593         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77594         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77595         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77596         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77597         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77598         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77599         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77600         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77601         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77602         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77603         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77604         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77605         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77606         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77607         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77608         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
77609         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77610         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77611         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77612         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77613         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77614         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77615         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77616         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
77617         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77618         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77619         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77620         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77621         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77622         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
77623         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77624         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77625         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77626         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77627         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77628         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77629         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77630         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77631         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77632         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77633         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
77634         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77635         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77636         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77637         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
77638         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
77639         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
77640         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
77641         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
77642         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
77643         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
77644         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77645         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77646         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77647         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77648         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
77649         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77650         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
77651         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
77652         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
77653         (__isnanf): Likewise.
77654         (__isinf_ns): Likewise.
77655         (__isinf_nsf): Likewise.
77656         (__finite): Likewise.
77657         (__finitef): Likewise.
77658         (__ieee754_sqrt): Define as macro.
77659         (__ieee754_sqrtf): Define as macro.
77660         (__ieee754_sqrtl): Define as macro.
77661         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
77662         inlined copy.
77663         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
77664         __FINITE_MATH_ONLY__ consistent.
77665         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
77667 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
77669         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
77670         of rawmemchr.
77672         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
77674 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
77676         * po/ja.po: Update from translation team.
77678 2011-10-08  Roland McGrath  <roland@hack.frob.com>
77680         * locale/programs/locarchive.c (prepare_address_space): New function.
77681         (create_archive, enlarge_archive, open_archive): Use it.
77683         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
77684         inside [SHARED], where it is used.
77686         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
77688         * nss/getent.c (netgroup_keys): Remove unused variable.
77689         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77691 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
77693         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
77694         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
77695         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
77696         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
77697         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
77698         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
77699         * math/Makefile (libm-calls): Add s_isinf_ns.
77700         * math/divtc3.c: Use __isinf_nsl instead of isinf.
77701         * math/multc3.c: Likewise.
77702         * math/s_casin.c: Likewise.
77703         * math/s_casinf.c: Likewise.
77704         * math/s_casinl.c: Likewise.
77705         * math/s_ccos.c: Likewise.
77706         * math/s_ccosf.c: Likewise.
77707         * math/s_ccosl.c: Likewise.
77708         * math/s_ctan.c: Likewise.
77709         * math/s_ctanf.c: Likewise.
77710         * math/s_ctanh.c: Likewise.
77711         * math/s_ctanhf.c: Likewise.
77712         * math/s_ctanhl.c: Likewise.
77713         * math/s_ctanl.c: Likewise.
77714         * math/w_fmod.c: Likewise.
77715         * math/w_fmodf.c: Likewise.
77716         * math/w_fmodl.c: Likewise.
77717         * math/w_remainder.c: Likewise.
77718         * math/w_remainderf.c: Likewise.
77719         * math/w_remainderl.c: Likewise.
77720         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
77721         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
77722         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
77723         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
77724         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
77725         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
77726         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
77727         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
77729         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
77730         of the number.
77731         * stdio-common/printf_fphex.c: Likewise.
77732         * stdio-common/printf_size.c: Likewise.
77734         * math/e_exp10.c: Include math_private.h using <...> not "...".
77735         * math/e_exp10f.c: Likewise.
77736         * math/e_exp10l.c: Likewise.
77737         * math/e_exp2l.c: Likewise.
77738         * math/e_j0l.c: Likewise.
77739         * math/e_j1l.c: Likewise.
77740         * math/e_jnl.c: Likewise.
77741         * math/e_lgammal_r.c: Likewise.
77742         * math/e_rem_pio2l.c: Likewise.
77743         * math/e_scalb.c: Likewise.
77744         * math/e_scalbf.c: Likewise.
77745         * math/e_scalbl.c: Likewise.
77746         * math/k_cosl.c: Likewise.
77747         * math/k_sinl.c: Likewise.
77748         * math/k_tanl.c: Likewise.
77749         * math/s_cacoshf.c: Likewise.
77750         * math/s_catan.c: Likewise.
77751         * math/s_catanf.c: Likewise.
77752         * math/s_catanh.c: Likewise.
77753         * math/s_catanhf.c: Likewise.
77754         * math/s_catanhl.c: Likewise.
77755         * math/s_catanl.c: Likewise.
77756         * math/s_ccosh.c: Likewise.
77757         * math/s_ccoshf.c: Likewise.
77758         * math/s_ccoshl.c: Likewise.
77759         * math/s_cexp.c: Likewise.
77760         * math/s_cexpf.c: Likewise.
77761         * math/s_cexpl.c: Likewise.
77762         * math/s_clog.c: Likewise.
77763         * math/s_clog10.c: Likewise.
77764         * math/s_clog10f.c: Likewise.
77765         * math/s_clog10l.c: Likewise.
77766         * math/s_clogf.c: Likewise.
77767         * math/s_clogl.c: Likewise.
77768         * math/s_csin.c: Likewise.
77769         * math/s_csinf.c: Likewise.
77770         * math/s_csinh.c: Likewise.
77771         * math/s_csinhf.c: Likewise.
77772         * math/s_csinhl.c: Likewise.
77773         * math/s_csinl.c: Likewise.
77774         * math/s_csqrt.c: Likewise.
77775         * math/s_csqrtf.c: Likewise.
77776         * math/s_csqrtl.c: Likewise.
77777         * math/s_ctan.c: Likewise.
77778         * math/s_ctanf.c: Likewise.
77779         * math/s_ctanh.c: Likewise.
77780         * math/s_ctanhf.c: Likewise.
77781         * math/s_ctanhl.c: Likewise.
77782         * math/s_ctanl.c: Likewise.
77783         * math/s_ldexp.c: Likewise.
77784         * math/s_ldexpf.c: Likewise.
77785         * math/s_ldexpl.c: Likewise.
77786         * math/s_significand.c: Likewise.
77787         * math/s_significandf.c: Likewise.
77788         * math/s_significandl.c: Likewise.
77789         * math/w_acos.c: Likewise.
77790         * math/w_acosf.c: Likewise.
77791         * math/w_acosh.c: Likewise.
77792         * math/w_acoshf.c: Likewise.
77793         * math/w_acoshl.c: Likewise.
77794         * math/w_acosl.c: Likewise.
77795         * math/w_asin.c: Likewise.
77796         * math/w_asinf.c: Likewise.
77797         * math/w_asinl.c: Likewise.
77798         * math/w_atan2.c: Likewise.
77799         * math/w_atan2f.c: Likewise.
77800         * math/w_atan2l.c: Likewise.
77801         * math/w_atanh.c: Likewise.
77802         * math/w_atanhf.c: Likewise.
77803         * math/w_atanhl.c: Likewise.
77804         * math/w_cosh.c: Likewise.
77805         * math/w_coshf.c: Likewise.
77806         * math/w_coshl.c: Likewise.
77807         * math/w_dremf.c: Likewise.
77808         * math/w_exp10.c: Likewise.
77809         * math/w_exp10f.c: Likewise.
77810         * math/w_exp10l.c: Likewise.
77811         * math/w_exp2.c: Likewise.
77812         * math/w_exp2f.c: Likewise.
77813         * math/w_fmod.c: Likewise.
77814         * math/w_fmodf.c: Likewise.
77815         * math/w_fmodl.c: Likewise.
77816         * math/w_hypot.c: Likewise.
77817         * math/w_hypotf.c: Likewise.
77818         * math/w_hypotl.c: Likewise.
77819         * math/w_j0.c: Likewise.
77820         * math/w_j0f.c: Likewise.
77821         * math/w_j0l.c: Likewise.
77822         * math/w_j1.c: Likewise.
77823         * math/w_j1f.c: Likewise.
77824         * math/w_j1l.c: Likewise.
77825         * math/w_jn.c: Likewise.
77826         * math/w_jnf.c: Likewise.
77827         * math/w_jnl.c: Likewise.
77828         * math/w_lgamma.c: Likewise.
77829         * math/w_lgamma_r.c: Likewise.
77830         * math/w_lgammaf.c: Likewise.
77831         * math/w_lgammaf_r.c: Likewise.
77832         * math/w_lgammal.c: Likewise.
77833         * math/w_lgammal_r.c: Likewise.
77834         * math/w_log.c: Likewise.
77835         * math/w_log10.c: Likewise.
77836         * math/w_log10f.c: Likewise.
77837         * math/w_log10l.c: Likewise.
77838         * math/w_log2.c: Likewise.
77839         * math/w_log2f.c: Likewise.
77840         * math/w_log2l.c: Likewise.
77841         * math/w_logf.c: Likewise.
77842         * math/w_logl.c: Likewise.
77843         * math/w_pow.c: Likewise.
77844         * math/w_powf.c: Likewise.
77845         * math/w_powl.c: Likewise.
77846         * math/w_remainder.c: Likewise.
77847         * math/w_remainderf.c: Likewise.
77848         * math/w_remainderl.c: Likewise.
77849         * math/w_scalb.c: Likewise.
77850         * math/w_scalbf.c: Likewise.
77851         * math/w_scalbl.c: Likewise.
77852         * math/w_sinh.c: Likewise.
77853         * math/w_sinhf.c: Likewise.
77854         * math/w_sinhl.c: Likewise.
77855         * math/w_sqrt.c: Likewise.
77856         * math/w_sqrtf.c: Likewise.
77857         * math/w_sqrtl.c: Likewise.
77858         * math/w_tgamma.c: Likewise.
77859         * math/w_tgammaf.c: Likewise.
77860         * math/w_tgammal.c: Likewise.
77862         * po/ja.po: Update from translation team.
77864 2011-09-29  Andreas Jaeger  <aj@suse.de>
77866         [BZ #13179]
77867         * sunrpc/netname.c (netname2host): Fix logic.
77869         [BZ #6779]
77870         [BZ #6783]
77871         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
77872         correctly.
77873         * math/w_remainder.c (__remainder): Likewise.
77874         * math/w_remainderf.c (__remainderf): Likewise.
77875         * math/libm-test.inc (remainder_test): Add test cases.
77877 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77879         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
77880         sdiv_qrnnd.
77882 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77884         * string/test-memcmp.c: Avoid unncessary #defines.
77885         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77887 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77889         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77890         Use new sse2 version for core i3 - i7 as it's faster
77891         than sse42 version.
77892         (bit_Prefer_PMINUB_for_stringop): New.
77893         * sysdeps/x86_64/rawmemchr.S: Update.
77894         Replace with faster SSE2 version.
77895         * sysdeps/x86_64/memrchr.S: New file.
77896         * sysdeps/x86_64/memchr.S: Update.
77897         Replace with faster SSE2 version.
77899 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77901         * elf/dl-load.c (lose): Add cast to avoid warning.
77903 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77905         * po/ca.po: Update from translation team.
77907         * inet/getnetgrent_r.c: Hook up nscd.
77908         * nscd/Makefile (routines): Add nscd_netgroup.
77909         (nscd-modules): Add netgroupcache.
77910         (CFLAGS-netgroupcache.c): Define.
77911         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77912         (cache_search): Add const to second parameter.
77913         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77914         INNETGR.
77915         (dbs): Add netgrdb entry.
77916         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77917         (verify_persistent_db): Handle netgrdb.
77918         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77919         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77920         GETFDNETGR.
77921         (netgroup_response_header): Define.
77922         (innetgroup_response_header): Define.
77923         (datahead): Add netgroup_response_header and innetgroup_response_header
77924         elements.
77925         * nscd/nscd.conf: Add entries for netgroup cache.
77926         * nscd/nscd.h (dbtype): Add netgrdb.
77927         (_PATH_NSCD_NETGROUP_DB): Define.
77928         (netgroup_iov_disabled): Declare.
77929         (xmalloc, xcalloc, xrealloc): Move declarations here.
77930         (cache_search): Adjust prototype.
77931         Add netgroup-related prototypes.
77932         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77933         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77934         (__nscd_innetgr): Declare.
77935         * nscd/selinux.c (perms): Use access_vector_t as element type and
77936         add netgroup-related initializers.
77937         * nscd/netgroupcache.c: New file.
77938         * nscd/nscd_netgroup.c: New file.
77939         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77940         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77941         For four parameters use innetgr.
77942         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77943         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77944         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77945         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77947         * nscd/connections.c (register_traced_file): Don't register file
77948         for disabled databases.
77950 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77952         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77954         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77955         from tree and freeing node.
77957 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77959         * nss/nsswitch.c (__nss_database_lookup): Handle
77960         nss_parse_service_list out of memory case.
77962 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77964         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77965         out of memory case.
77967 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77969         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77970         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77971         pass it down.
77972         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77973         elf_machine_rela, elf_machine_lazy_rel.
77974         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77975         (ELF_DYNAMIC_DO_REL): Likewise.
77976         (ELF_DYNAMIC_DO_RELA): Likewise.
77977         (ELF_DYNAMIC_RELOCATE): Likewise.
77978         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77979         to ELF_DYNAMIC_DO_REL.
77980         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77981         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77982         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77983         elf_machine_rela.
77984         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77985         skip_ifunc, don't call ifunc function if non-zero.
77986         (elf_machine_rela): Likewise.
77987         (elf_machine_lazy_rel): Likewise.
77988         (elf_machine_lazy_rela): Likewise.
77989         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77990         (elf_machine_lazy_rel): Likewise.
77991         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77992         Likewise.
77993         (elf_machine_lazy_rel): Likewise.
77994         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77995         Likewise.
77996         (elf_machine_lazy_rel): Likewise.
77997         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77998         (elf_machine_lazy_rel): Likewise.
77999         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78000         (elf_machine_lazy_rel): Likewise.
78001         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78002         (elf_machine_lazy_rel): Likewise.
78003         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78004         (elf_machine_lazy_rel): Likewise.
78005         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78006         (elf_machine_lazy_rel): Likewise.
78007         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78008         (elf_machine_lazy_rel): Likewise.
78010 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78012         * nss/nss_files/files-init.c (_nss_files_init): Use static
78013         initialization for all the *_traced_file variables.
78015 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78017         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78019 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78021         [BZ #13226]
78022         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78024 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78026         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78027         Reread the line before reparsing it.
78029 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78031         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78033 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78034             Maxim Kuvyrkov  <maxim@codesourcery.com>
78035             Joseph Myers  <joseph@codesourcery.com>
78037         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78038         if needed for __stack_chk_guard.
78040 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78042         * sysdeps/posix/spawni.c (script_execute): Always define it.
78043         It will be optimized away if unused.
78044         (maybe_script_execute): New function.
78045         (__spawni): Call it.
78047         * Makerules: Don't include tls.make.
78048         (config-tls): Always set to thread.
78049         * tls.make.c: File removed.
78051 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78053         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78054         * config.make.in (CPPFLAGS-config): New substituted variable.
78056 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78058         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78060         [BZ #13192]
78061         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78062         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78064 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78066         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78067         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78068         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78069         (CALL_FAIL): Likewise.
78070         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78071         (CALL_FAIL): Macro removed.
78072         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78074 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78076         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78077         for __FINITE_MATH_ONLY__ == 1.
78079 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78081         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78082         __ieee754_sqrt instead of sqrt.
78083         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78084         __ieee754_sqrtf instead of sqrtf.
78085         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78086         __floorf instead of floorf.
78087         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78088         __floorf, __truncf instead of floorf, truncf.
78090 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78092         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78094         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78095         __extern_always_inline.
78096         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78097         32-bit.
78099 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78101         * elf/rtld.c (dl_main): Also relocate in dependency order when
78102         doing symbol dependency testing.
78104 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78106         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78107         Always define `refsym'.
78109 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78111         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78112         (__FD_ELT): Renamed from __FDELT.
78113         * misc/bits/select2.h (__FD_ELT): Likewise.
78114         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78115         __FD_MASK instead of __FDELT, __FDMASK.
78116         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78117         Likewise.
78118         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78119         Likewise.
78121         * elf/Makefile (gen-ldd): Fix pattern.
78123         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78124         (init_tls): Likewise.
78126 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78128         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78130 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78132         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78133         `struct cmsghdr *' instead of `void *'.
78134         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78135         Likewise.
78137 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78139         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78140         if non-absolute.
78141         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78142         ldd_rewrite_script.
78144 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78146         * configure.in: Remove --with-tls option.
78147         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78148         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78149         out in case it is missing.
78150         * sysdeps/ia64/elf/configure.in: Likewise.
78151         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78152         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78153         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78154         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78155         * sysdeps/sh/elf/configure.in: Likewise.
78156         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78157         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78158         * sysdeps/x86_64/elf/configure.in: Likewise.
78159         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78160         * sysdeps/mach/hurd/tls.h: Likewise.
78162         [BZ #13067]
78163         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78165         [BZ #13090]
78166         * configure.in: Fix use of AC_INIT.
78168         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78170 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78172         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78173         __set_errno.
78174         * malloc/hooks.c: Likewise.
78176         [BZ #11929]
78177         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78178         variables statically.
78179         (narenas): Initialize.
78180         (list_lock): Initialize.
78181         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78182         initializtion of main_arena and list_lock.  Small cleanups.
78183         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78184         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78185         Add initializers to main_arena and mp_.
78186         (malloc_state): Remove pagesize member.  Change all users to use
78187         GLRO(dl_pagesize).
78189         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78190         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78191         is always initialized.
78193         * malloc/malloc.c: Removed unused configurations and dead code.
78194         * malloc/arena.c: Likewise.
78195         * malloc/hooks.c: Likewise.
78196         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78198         * include/tls.h: Removed.  USE___THREAD must always be defined.
78199         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78200         * elf/dl-libc.c: Likewise.
78201         * elf/dl-tsd.c: Likewise.
78202         * include/errno.h: Likewise.
78203         * include/netdb.h: Likewise.
78204         * include/resolv.h: Likewise.
78205         * inet/herrno-loc.c: Likewise.
78206         * inet/herrno.c: Likewise.
78207         * malloc/arena.c: Likewise.
78208         * malloc/hooks.c: Likewise.
78209         * malloc/malloc.c: Likewise.
78210         * resolv/res-state.c: Likewise.
78211         * resolv/res_libc.c: Likewise.
78212         * sysdeps/i386/dl-machine.h: Likewise.
78213         * sysdeps/ia64/dl-machine.h: Likewise.
78214         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78215         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78216         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78217         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78218         * sysdeps/sh/dl-machine.h: Likewise.
78219         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78220         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78221         * sysdeps/unix/i386/sysdep.S: Likewise.
78222         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78223         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78224         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78226         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78227         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78228         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78229         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78230         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78232         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78233         * sysdeps/x86_64/dl-machine.h: Likewise.
78234         * tls.make.c: Likewise.
78236         * configure.in: Remove --with-__thread option.  Make tests for
78237         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
78238         tls_model attribute fail if no support is available.  Remove
78239         USE_IN_LIBIO.
78240         * Makeconfig: Adjust for dropped configure option.  All features are
78241         now mandatory.
78242         * Makerules: Likewise.
78243         * Versions.def: Likewise.
78244         * argp/argp-fmtstream.c: Likewise.
78245         * argp/argp-fmtstream.h: Likewise.
78246         * argp/argp-help.c: Likewise.
78247         * assert/assert.c: Likewise.
78248         * config.h.in: Likewise.
78249         * config.make.in: Likewise.
78250         * configure: Likewise.
78251         * configure.in: Likewise.
78252         * csu/Versions: Likewise.
78253         * csu/init.c: Likewise.
78254         * elf/tst-audit2.c: Likewise.
78255         * elf/tst-tls10.c: Likewise.
78256         * elf/tst-tls10.h: Likewise.
78257         * elf/tst-tls11.c: Likewise.
78258         * elf/tst-tls12.c: Likewise.
78259         * elf/tst-tls14.c: Likewise.
78260         * elf/tst-tlsmod11.c: Likewise.
78261         * elf/tst-tlsmod12.c: Likewise.
78262         * elf/tst-tlsmod13.c: Likewise.
78263         * elf/tst-tlsmod13a.c: Likewise.
78264         * elf/tst-tlsmod14a.c: Likewise.
78265         * elf/tst-tlsmod15b.c: Likewise.
78266         * elf/tst-tlsmod16a.c: Likewise.
78267         * elf/tst-tlsmod16b.c: Likewise.
78268         * elf/tst-tlsmod7.c: Likewise.
78269         * elf/tst-tlsmod8.c: Likewise.
78270         * elf/tst-tlsmod9.c: Likewise.
78271         * gmon/gmon.c: Likewise.
78272         * grp/fgetgrent_r.c: Likewise.
78273         * grp/putgrent.c: Likewise.
78274         * hurd/fopenport.c: Likewise.
78275         * include/libc-symbols.h: Likewise.
78276         * include/tls.h: Likewise.
78277         * intl/gettextP.h: Likewise.
78278         * intl/loadinfo.h: Likewise.
78279         * locale/global-locale.c: Likewise.
78280         * locale/localeinfo.h: Likewise.
78281         * mach/devstream.c: Likewise.
78282         * malloc/arena.c: Likewise.
78283         * malloc/set-freeres.c: Likewise.
78284         * misc/err.c: Likewise.
78285         * misc/getttyent.c: Likewise.
78286         * misc/mntent_r.c: Likewise.
78287         * posix/getopt.c: Likewise.
78288         * posix/wordexp.c: Likewise.
78289         * pwd/fgetpwent_r.c: Likewise.
78290         * resolv/Versions: Likewise.
78291         * resolv/res_hconf.c: Likewise.
78292         * shadow/fgetspent_r.c: Likewise.
78293         * shadow/putspent.c: Likewise.
78294         * stdio-common/printf_fphex.c: Likewise.
78295         * stdio-common/tmpfile.c: Likewise.
78296         * stdlib/abort.c: Likewise.
78297         * stdlib/fmtmsg.c: Likewise.
78298         * sunrpc/auth_unix.c: Likewise.
78299         * sunrpc/clnt_perr.c: Likewise.
78300         * sunrpc/clnt_tcp.c: Likewise.
78301         * sunrpc/clnt_udp.c: Likewise.
78302         * sunrpc/clnt_unix.c: Likewise.
78303         * sunrpc/openchild.c: Likewise.
78304         * sunrpc/svc_simple.c: Likewise.
78305         * sunrpc/svc_tcp.c: Likewise.
78306         * sunrpc/svc_udp.c: Likewise.
78307         * sunrpc/svc_unix.c: Likewise.
78308         * sunrpc/xdr.c: Likewise.
78309         * sunrpc/xdr_array.c: Likewise.
78310         * sunrpc/xdr_rec.c: Likewise.
78311         * sunrpc/xdr_ref.c: Likewise.
78312         * sunrpc/xdr_stdio.c: Likewise.
78314 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78316         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78318 2011-07-03  Andreas Jaeger  <aj@suse.de>
78320         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
78321         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
78322         regenerate with gen-libm-tests.pl.
78324 2010-05-12  Petr Baudis  <pasky@suse.cz>
78326         [BZ #11589]
78327         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
78328         around j0() zero points by switching to j1().
78329         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78330         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78331         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78332         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78334 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78336         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
78337         instead of 0.
78338         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
78339         instead of 0.
78340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78341         Patch in part by Pavel Roskin <proski@gnu.org>.
78343         [BZ #13138]
78344         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
78345         realloc.
78346         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
78347         Free memory block if necessary.
78349         [BZ #12847]
78350         * libio/genops.c (INTDEF): For string streams the _lock pointer can
78351         be NULL.  Don't lock in this case.
78353 2011-09-09  Roland McGrath  <roland@hack.frob.com>
78355         * elf/elf.h (ELFOSABI_GNU): New macro.
78356         (ELFOSABI_LINUX): Define to that.
78358 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
78360         * string/strncat.c (strncat): Undef the symbol in case it has been
78361         defined in bits/string.h.
78363 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78365         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
78367         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
78368         link map.
78370 2011-08-17  Andreas Jaeger  <aj@suse.de>
78372         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
78374 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
78375             Ian Lance Taylor  <iant@google.com>
78377         * math/libm-test.inc (lround_test): New testcase.
78378         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
78380 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
78382         * Makefile: Remove support for automatic cvs check-ins.
78383         * Makerules: Likewise.
78384         * config.make.in: Likewise.
78385         * configure.in: Likewise.
78386         * intl/Makefile: Likewise.
78387         * locale/Makefile: Likewise.
78388         * po/Makefile: Likewise.
78389         * posix/Makefile: Likewise.
78390         * sysdeps/gnu/Makefile: Likewise.
78391         * sysdeps/mach/hurd/Makefile: Likewise.
78392         * sysdeps/sparc/sparc32/Makefile: Likewise.
78394         [BZ #13118]
78395         * posix/Makefile (bug-regex32-ENV): Define.
78396         Patch by John Stanley <jpsinthemix@verizon.net>.
78398         * misc/Makefile (headers): Add bits/select2.h.
78399         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
78400         * misc/bits/select2.h: New file.
78401         * include/bits/select2.h: New file.
78402         * debug/Makefile (routines): Add fdelt_chk.
78403         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
78404         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
78405         FD_ISSET.
78406         * debug/fdelt_chk.c: New file.
78408         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
78409         * wcsmbs/test-wmemcmp.c: Likewise.
78410         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
78411         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78413 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78415         * string/Makefile (strop-tests): Add memcmp.
78416         * string/test-wmemcmp.c: New file.
78417         * string/test-memcmp.c: Add wmemcmp support.
78419 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78421         [BZ #13153]
78422         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78423         2011-07-19 change.
78425         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78426         garbage value in a __mach_port_mod_refs call in the cases of the
78427         task-self and thread-self ports.
78429 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78431         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78433 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78435         * elf/dl-load.c (lose): Check for non-null L.
78437 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78439         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78441         * elf/dl-libc.c (dlerror_run): Pass back error code from
78442         dl_catch_error.
78444         [BZ #13123]
78445         * elf/dl-load.c (lose): Free l_origin if it is valid.
78447         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78448         names.
78449         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78450         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78451         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78452         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78453         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78454         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78456 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78458         * sysdeps/powerpc/fpu/e_hypot.c: New file.
78459         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78460         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78461         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78462         * sysdeps/powerpc/fpu/k_cosf.c: New file.
78463         * sysdeps/powerpc/fpu/k_sinf.c: New file.
78464         * sysdeps/powerpc/fpu/s_cosf.c: New file.
78465         * sysdeps/powerpc/fpu/s_sinf.c: New file.
78466         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78467         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78469 2011-08-15  Alan Modra  <amodra@gmail.com>
78471         [BZ #13092]
78472         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78473         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78474         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
78475         ppc_mcount to static-only-routines.
78476         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78477         __mcount_internal.
78478         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78479         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
78481 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
78483         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78484         for finite and infinity parameters.
78486 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78488         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78489         and add nop instructions for throughput optimization.
78490         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78492 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
78494         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78495         aligned copy for power7 with vector-scalar instructions.
78496         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78498 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
78500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78501         AVX check.
78503 2011-09-07  Andreas Schwab  <schwab@redhat.com>
78505         [BZ #13144]
78506         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78507         last change.
78509 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78511         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78512         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78513         syscall wrapper around clock_gettime in __vdso_clock_gettime.
78514         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78515         clock_gettime.
78517 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78519         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
78520         Forgot to demangle the pointer.
78522         * sysdeps/i386/sysdep.h: Define atom_text_section.
78523         * sysdeps/x86_64/sysdep.h: Likewise.
78524         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
78525         section with atom_text_section.
78526         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78527         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78528         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
78529         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78530         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
78532         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
78533         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
78534         already be defined.  Change to take two parameters and don't assign
78535         result to variable.  Adjust all users.
78536         Define INTERNAL_GETTIME if not already defined.
78537         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
78538         call.
78539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
78540         HAVE_CLOCK_GETTIME_VSYSCALL.
78541         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
78543         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
78544         gettimeofday vsyscall, just use time.
78546 2011-09-06  Andreas Schwab  <schwab@redhat.com>
78548         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
78549         <errno.h>.
78551 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78553         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
78554         syscall on x86-64.
78555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
78556         syscall.
78557         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
78558         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
78559         syscall if possible.
78561 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78563         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
78564         e_ident.  Don't pass to find_mapsXX.
78565         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
78567 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78570         strchr-sse2-no-bsf strrchr-sse2-no-bsf
78571         * sysdeps/x86_64/multiarch/strchr.S: Update.
78572         Check bit_slow_BSF bit.
78573         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
78574         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
78575         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
78577 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78579         [BZ #13134]
78580         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
78581         before glibc 2.15.
78582         (tryshell): Define.
78583         (__spawni): Change last parameter to be flag.  Test
78584         SPAWN_XFLAGS_USE_PATH flag to use path or not.
78585         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
78586         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
78587         * posix/spawni.c: Likewise.
78588         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
78589         * posix/spawnp.c: Likewise.  Change normal version to use
78590         SPAWN_XFLAGS_USE_PATH.
78591         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
78592         SPAWN_XFLAGS_TRY_SHELL.
78594         [BZ #13150]
78595         * posix/glob.h: Remove gcc 1.x support.
78597         [BZ #13068]
78598         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
78600 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78602         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78603         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
78604         strrchr-sse2-bsf
78605         * sysdeps/i386/i686/multiarch/strchr.S: New file.
78606         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
78607         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
78608         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
78609         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
78610         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
78612 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78614         * sysdeps/x86_64/wcscmp.S: New file.
78616         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
78617         wcscmp-c wcscmp-sse2
78618         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
78619         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
78620         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
78621         * wcsmbs/wcscmp.c: Allow renaming.
78623 2011-09-05  David S. Miller  <davem@davemloft.net>
78625         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
78626         stack slot, rather than the struct return pointer slot.
78627         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
78628         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
78629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
78630         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
78632 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78634         * po/ja.po: Update from translation team.
78636         [BZ #13144]
78637         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
78638         kernel in 64-bit binaries.
78640 2011-09-01  David S. Miller  <davem@davemloft.net>
78642         * elf/elf.h (HWCAP_SPARC_*): Move to..
78643         * sysdeps/sparc/sysdep.h: this new file and add new values.
78644         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
78645         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
78646         _DL_HWCAP_COUNT to 24.
78647         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
78648         entries.
78649         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
78650         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
78651         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
78652         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
78653         instead of magic constants.
78654         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78656 2011-08-31  David S. Miller  <davem@davemloft.net>
78658         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
78659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
78660         Reimplement to do errno handling inline.
78661         (SYSCALL_ERROR_HANDLER): New macro.
78662         (__SYSCALL_STRING): Do not do errno handling in asm.
78663         (__CLONE_SYSCALL_STRING): Delete.
78664         (__INTERNAL_SYSCALL_STRING): Delete.
78665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
78666         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
78667         (PSEUDO): Reimplement to do errno handling inline.
78668         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
78669         (SYSCALL_ERROR_HANDLER): New macro.
78670         (__SYSCALL_STRING): Do not do errno handling in asm.
78671         (__CLONE_SYSCALL_STRING): Delete.
78672         (__INTERNAL_SYSCALL_STRING): Delete.
78673         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
78674         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
78675         i386.
78676         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
78677         (inline_syscall*): Add 'err' argument.
78678         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
78679         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
78680         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
78681         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
78683         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
78684         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78686 2011-08-30  Andreas Schwab  <schwab@redhat.com>
78688         * elf/rtld.c (dl_main): Relocate objects in dependency order.
78690 2011-08-29  Jiri Olsa <jolsa@redhat.com>
78692         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
78693         directive.
78695 2011-08-24  David S. Miller  <davem@davemloft.net>
78697         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
78699 2011-08-24  Andreas Schwab  <schwab@redhat.com>
78701         * elf/Makefile: Add rules to build and run unload8 test.
78702         * elf/unload8.c: New file.
78703         * elf/unload8mod1.c: New file.
78704         * elf/unload8mod1x.c: New file.
78705         * elf/unload8mod2.c: New file.
78706         * elf/unload8mod3.c: New file.
78708         * elf/dl-close.c (_dl_close_worker): Reset private search list if
78709         it wasn't used.
78711 2011-08-23  David S. Miller  <davem@davemloft.net>
78713         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
78714         subtract stack bias.
78715         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
78716         %sp not %fp in calculations.
78717         (_JMPBUF_UNWINDS_ADJ): Likewise.
78719         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
78720         (aio_suspend): Call it to force an exception region around the
78721         AIO_MISC_WAIT() invocation.
78723 2011-08-23  Andreas Schwab  <schwab@redhat.com>
78725         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
78726         backslash.
78728 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
78730         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
78731         protection macro.
78732         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
78733         and <dl-machine.h>.
78734         (Elf64_FuncDesc): Remove.
78736 2011-08-22  David S. Miller  <davem@davemloft.net>
78738         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
78739         sigaltstack check, add missing cfi directives.
78740         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
78741         missing cfi directives, and sigaltstack handling.
78743 2011-08-16  Andreas Schwab  <schwab@redhat.com>
78745         [BZ #11724]
78746         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
78747         object is seen twice.
78748         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78750         * elf/Makefile (distribute): Add tst-initorder2.c.
78751         (tests): Add tst-initorder2.
78752         (modules-names): Add tst-initorder2a tst-initorder2b
78753         tst-initorder2c tst-initorder2d.  Add rules to build them.
78754         ($(objpfx)tst-initorder2.out): New rule.
78755         * elf/tst-initorder2.c: New file.
78756         * elf/tst-initorder2.exp: New file.
78758 2011-08-22  Andreas Schwab  <schwab@redhat.com>
78760         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
78762         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
78763         dependencies back to end of function.
78765         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78766         $(elfobjdir)/ld.so.
78768 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
78770         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
78771         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
78772         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
78773         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
78774         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
78775         of __vdso_gettimeofday.
78776         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
78777         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
78778         attribute_hidden.
78779         (_libc_vdso_platform_setup): Remove initialization of
78780         __vdso_gettimeofday and __vdso_time.
78782 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78784         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
78785         and fgetc_unlocked.
78786         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
78787         getc_unlocked.
78789         * elf/dl-open.c (add_to_global): Report additions to the global scope
78790         for LD_DEBUG=scopes.
78791         (dl_open_worker): Also print scope of newly loaded dependencies.
78792         (_dl_show_scope): Indicate if there is no scope.
78794         [BZ #13114]
78795         * stdio-common/Makefile (tests): Add bug24.
78796         * stdio-common/bug24.c: New file.
78798 2011-08-19  Andreas Jaeger  <aj@suse.de>
78800         [BZ #13114]
78801         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
78802         non-existant file when using close-on-exec mode.
78804 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78806         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
78807         the very first instruction.
78809         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
78810         the CFI state in the end.
78811         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
78812         inclusion of dl-trampoline.h.
78813         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
78815 2011-08-19  Andreas Schwab  <schwab@redhat.com>
78817         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
78818         expectations for long double.
78820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
78821         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
78823 2011-08-14  David S. Miller  <davem@davemloft.net>
78825         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
78826         artificual limit depends upon the system page size.
78828 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78830         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
78831         * resolv/Makefile: Define CFLAGS-libresolv.
78833 2011-08-17  Andreas Schwab  <schwab@redhat.com>
78835         * nss/makedb.c (compute_tables): Make variables used in nested
78836         function static.
78838 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78840         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
78841         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
78842         if buffer was too small.
78844         * elf/pldd.c (main): Attach to all threads in the process.
78845         Rewrite /proc handling to use *at functions.
78847 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
78849         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
78850         specifies first scope to show.
78851         (dl_open_worker): Update callers.  Move printing scope of new
78852         object to before the relocation.
78853         * elf/rtld.c (dl_main): Update _dl_show_scope call.
78854         * sysdeps/generic/ldsodefs.h: Update declaration.
78856         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
78857         string for the scope number.
78859 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
78861         * nscd/servicescache.c (cache_addserv): Make sure written is always
78862         initialized.
78864 2011-08-14  Roland McGrath  <roland@hack.frob.com>
78866         * sysdeps/i386/i486/bits/atomic.h
78867         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
78868         statement expression, so as to suppress "set but not used" warning.
78869         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
78871         * string/strncat.c (STRNCAT): Use prototype definition.
78873         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
78874         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
78875         -Iprograms here.
78876         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
78877         (localedef-modules): Add localedef.
78878         (locale-modules): Add locale.
78880         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
78881         * elf/rtld.c (dl_main): Invert order of assignment in last change,
78882         to avoid a warning.
78884 2011-08-14  David S. Miller  <davem@davemloft.net>
78886         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78887         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78889 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78891         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78892         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78893         * elf/rtld.c (dl_main): Set l_name of vDSO.
78894         Call _dl_show_scope when DL_DEBUG_SCOPES.
78895         (process_dl_debug): Recognize scopes flag and also set it for all.
78896         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78897         Declare _dl_show_scope.
78899         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78900         (do_dlopen): Pass caller_dlopen to dl_open.
78901         (__libc_dlopen_mode): Initialize caller_dlopen.
78903         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78904         of libc.  Make tolower call locale-independent.  Optimize a bit by
78905         using isdigit instead of isalnum.
78906         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78908 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78910         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78911         was a dependency or dynamically loaded.
78913 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78915         * intl/l10nflist.c: Allow architecture-specific pop function.
78916         * sysdeps/x86_64/l10nflist.c: New file.
78918         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78919         classification.
78921 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78923         * include/dirent.h: Add libc_hidden_proto for scandirat and
78924         scandirat64.  Don't declare __scandirat64.
78925         * dirent/scandirat.c: Add libc_hidden_def.
78926         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78927         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78929 2011-08-10  David S. Miller  <davem@davemloft.net>
78931         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78932         enum.
78933         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78934         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78935         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78937 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78939         * Versions.def [libc]: Add GLIBC_2.15.
78940         * dirent/Makefile (routines): Add scandirat and scandirat64.
78941         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78942         GLIBC_2.15.
78943         * dirent/dirent.h: Declare scandirat and scandirat64.
78944         * dirent/scandirat.c: New file.
78945         * dirent/scandirat64.c: New file.
78946         * sysdeps/wordsize-64/scandirat.c: New file.
78947         * sysdeps/wordsize-64/scandirat64.c: New file.
78948         * dirent/opendir.c: Define opendirat.
78949         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78950         using scandirat.
78951         * dirent/scandir64.c: Adjust for scandir.c change.
78952         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78953         __scandirat64, and __scandir_cancel_handler.
78954         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78955         additional parameter and use openat instead of open (outside of ld.so).
78956         Add new __opendir as wrapper around __opendirat.
78957         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78958         here without requiring old scandirat implementation.
78960 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78962         * dirent/scandir.c (cancel_handler): Renamed to
78963         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78964         defined.  Adjust users.
78965         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78966         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78968 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78970         * string/test-string.h (IMPL): Use __STRING to expand name and then
78971         stringify it.
78973         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78974         of cleanups.
78976 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78978         * string/Makefile: Update.
78979         (strop-tests): Append strncat.
78980         * string/test-wcscmp.c: New file.
78981         New comprehensive test for wcscmp.
78982         * string/test-strcmp.c: Update.
78983         (WIDE): New define.
78985 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78987         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78988         line.
78990 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78993         encoding to ACE if AI_IDN.
78995 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78997         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78998         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79000 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79002         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79003         Fix overflow bug in strncat.
79004         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79006         * string/test-strncat.c: Update.
79007         Add new tests for checking overflow bugs.
79009 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79012         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79013         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79014         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79015         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79016         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79017         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79018         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79019         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79021         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79022         (USE_AS_STRCAT): Define.
79023         Add strcat and strncat support.
79024         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79026 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79028         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79029         __n bigger than INT_MAX+1.
79030         (__strncmp_g): Likewise.
79032 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79034         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79035         * libio/stido.h: Likewise.
79037         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79038         (AF_NFC): Define.
79039         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79040         (AF_NFC): Define.
79042         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79043         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79044         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79045         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79046         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79048         [BZ #13021]
79049         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79050         installed.
79052         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79053         typo.
79054         (_dl_x86_64_save_sse): Likewise.
79056 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79058         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79059         OSXSAVE.
79060         (_dl_x86_64_save_sse): Likewise.
79062         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79064         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79066 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79068         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79069         change.
79070         (_dl_x86_64_save_sse): Use correct AVX check.
79072 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79074         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79075         bug in strncpy/strncat.
79076         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79078 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79080         * string/tester.c (test_strcat): Add tests for different alignments
79081         of source and destination.
79082         (test_strncat): Likewise.
79084 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79086         [BZ #12852]
79087         * posix/glob.c (glob): Check passed in values before using them in
79088         expressions to avoid some overflows.
79089         (glob_in_dir): Likewise.
79091         [BZ #13007]
79092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79093         check for AVX enablement so that we don't crash with old kernels and
79094         new hardware.
79095         * elf/tst-audit4.c: Add same checks here.
79096         * elf/tst-audit6.c: Likewise.
79098         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79100 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79102         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79104 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79106         * po/cs.po: Update from translation team.
79107         * po/bg.po: Likewise.
79109 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79111         * misc/sys/cdefs.h: Add support for const attribute.
79112         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79113         to gnu_dev_{major,minor,makedev} functions.
79115 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79117         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79119 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79121         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79122         strlen results.
79124 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79127         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79128         register in order to avoid conflicts with the soft frame pointer
79129         being held in r11 when necessary.
79130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79131         (INTERNAL_VSYSCALL_NCS): Likewise.
79133 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79135         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79136         * elf/dl-fini.c (_dl_fini): Adjust caller.
79137         * elf/dl-close.c (_dl_close_worker): Likewise.
79138         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79140 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79142         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79143         "aux_cache->nlibs < 0".
79145         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79146         in the reload-count case.
79148 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79151         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79152         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79153         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79154         * sysdeps/x86_64/multiarch/strcat.S: New file.
79155         * sysdeps/x86_64/multiarch/strncat.S: New file.
79156         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79157         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79158         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79159         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79160         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79161         (USE_AS_STRCAT): Define.
79162         Add strcat and strncat support.
79163         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79164         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79165         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79166         * string/strncat.c: Update.
79167         (USE_AS_STRNCAT): Define.
79168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79169         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79170         and i7.
79171         * sysdeps/x86_64/multiarch/init-arch.h
79172         (bit_Prefer_PMINUB_for_stringop): New.
79173         (index_Prefer_PMINUB_for_stringop): Likewise.
79174         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79175         bit_Prefer_PMINUB_for_stringop.
79177 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79179         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79180         buffer64.
79181         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79182         of casting of buffer.
79183         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79184         buffer32 and buffer64.
79185         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79186         writes instead of casting of buffer.
79187         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79188         buffer32.
79189         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79190         casting of buffer.
79192 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79194         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79196 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79198         * nscd/nscd.c (termination_handler): Don't do anything for a database
79199         if it has not yet been initialized.
79201 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79203         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79205 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79207         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79209 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79211         * po/nl.po: Update from translation team.
79212         * po/sv.po: Likewise.
79214 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79216         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79217         now disallowed by GCC.
79219         * configure.in (use-default-link): Default to yes if a test -shared
79220         link meets our qualifications.
79221         * configure: Regenerated.
79223         * config.make.in (output-format): New variable.
79224         * configure.in: Check for ld --print-output-format support.
79225         * configure: Regenerated.
79226         * Makerules ($(common-objpfx)format.lds)
79227         [$(output-format) != unknown]: Just use $(output-format),
79228         instead of the linker-script munging.
79230 2011-07-14  Roland McGrath  <roland@hack.frob.com>
79232         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79233         of $(common-objpfx)shlib.lds.
79234         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
79236         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
79237         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
79239         * configure.in (-z relro check): Adjust test code to add a large
79240         writable data section after it.
79241         * configure: Regenerated.
79243 2011-07-11  Roland McGrath  <roland@hack.frob.com>
79245         * configure.in (-z relro check): Fix test code to make the variable
79246         truly const.
79247         * configure: Regenerated.
79249 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
79251         * nscd/nscd.h (struct traced_file): Define.
79252         (struct database_dyn): Remove inotify_descr, reset_res, and filename
79253         elements.  Add traced_files.
79254         (inotify_fd): Declare.
79255         (register_traced_file): Declare.
79256         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
79257         (inotify_fd): Export.
79258         (resolv_conf_descr): Remove.
79259         (nscd_init): Move inotify descriptor creation to main.
79260         Don't register files for notification here.
79261         (register_traced_file): New function.
79262         (invalidate_cache): Don't use reset_res to determine whether to call
79263         res_init, go through the list of registered files.
79264         (main_loop_poll): The inotify descriptors are now stored in the
79265         structures for the traced files.
79266         (main_loop_epoll): Likewise.
79267         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
79268         to __nss_disable_nscd.
79269         * nscd/cache.c (prune_cache): There is no single inotify descriptor
79270         for a database anymore.  Check the records for all the registered
79271         files instead.
79272         * nss/Makefile (libnss_files-routines): Add files-init.
79273         (libnss_db-routines): Add db-init.
79274         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
79275         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
79276         * nss/nss_db/db-init.c: New file.
79277         * nss/nss_files/files-init.c: New file.
79278         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
79279         __nss_lookup_function.
79280         (__nss_lookup_function): Call nss_load_library.
79281         (nss_load_all_libraries): New function.
79282         (__nss_disable_nscd): Take parameter with callback function for files
79283         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
79284         used for the cached services.
79285         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
79286         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
79287         options for features to all the files in nscd.
79289         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
79291 2011-07-10  Roland McGrath  <roland@hack.frob.com>
79293         * csu/elf-init.c (__libc_csu_init): Comment typo.
79295 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
79297         * po/pl.po: Update from translation team.
79298         * po/ja.po: Likewise.
79299         * po/ru.po: Likewise.
79300         * po/ko.po: Likewise.
79301         * po/fr.po: Likewise.
79303 2011-07-09  Roland McGrath  <roland@hack.frob.com>
79305         * configure.in (.ctors/.dtors header and trailer check):
79306         Use an empirical test on a built program.
79307         * configure: Regenerated.
79309         * configure.in (-z relro check): Use an empirical test on a built DSO.
79310         Detect, but do not require, on ia64.
79311         * configure: Regenerated.
79313         * configure.in (READELF): Find it with AC_CHECK_TOOL.
79314         Update tests that use readelf to use $READELF instead.
79315         * configure: Regenerated.
79317 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
79319         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
79320         if the result is not used.
79322 2011-07-05  Andreas Jaeger  <aj@suse.de>
79324         [BZ#9696]
79325         * stdlib/tst-strtod.c: Add testcase.
79327 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
79329         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
79330         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
79331         The latter has a higher limit.  Take additional parameter to pass to
79332         the new function.
79333         (__pathconf): Pass file to __statfs_link_max.
79334         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
79335         __statfs_link_max.
79336         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
79337         __statfs_link_max.
79339         [BZ #12868]
79340         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
79341         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79342         Handle Lustre.
79343         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
79344         (__statfs_filesize_max): Likewise.
79345         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
79347 2011-07-05  Andreas Jaeger  <aj@suse.de>
79349         * resolv/res_comp.c (dn_skipname): Remove unused variable.
79351 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
79353         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
79354         `status' variable.
79355         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
79356         Likewise.
79358 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
79360         * Makefile (strop-tests): Add strncat.
79361         * string/test-strncat.c: New file.
79363 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
79365         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
79367 2011-06-21  Andreas Jaeger  <aj@suse.de>
79369         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
79370         Copy rule from iconvdata/Makefile.
79372 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79374         [BZ #12922]
79375         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
79376         but no long options are defined, just return 'W'.
79378 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
79380         [BZ #9696]
79381         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
79383 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79385         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
79386         netgroups to read.
79387         (innetgr): Likewise.
79389 2011-07-05  Roland McGrath  <roland@hack.frob.com>
79391         * config.make.in (install_root): Default to $(DESTDIR).
79393 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
79395         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
79397 2011-07-02  Roland McGrath  <roland@hack.frob.com>
79399         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
79401         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
79402         containing directory rather than embedding absolute directory names.
79404         * scripts/check-local-headers.sh: Rewritten using awk.
79405         Match by word, not by line.  Print error messages for matches.
79406         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
79408         * Makerules [shlib-lds-flags empty]:
79409         ($(common-objpfx)libc_pic.opts): New target.
79410         ($(common-objpfx)libc_pic.os.clean): New target.
79411         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79413         * config.make.in (OBJCOPY): New variable.
79414         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79415         * configure: Regenerated.
79417         * config.make.in (use-default-link): New variable.
79418         * configure.in (use_default_link): Grok --with-default-link to set it.
79419         * configure: Regenerated.
79420         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79421         (shlib-lds, shlib-lds-flags): Define to empty.
79423         * Makerules (shlib-lds): New variable.
79424         (shlib-lds-flags): New variable.
79425         (build-shlib, build-moduile, build-module-asneeded): Use it.
79426         ($(common-objpfx)libc.so): Use $(shlib-lds).
79427         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79428         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79430         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79431         DT_FLAGS/DT_FLAGS_1 with zero flags.
79433         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79434         linker script munging.
79436 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
79438         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79439         as 128-bit value.
79440         * crypt/sha512.c (sha512_process_block): Perform total addition using
79441         128-bit if possible.
79442         (__sha512_finish_ctx): Likewise.
79443         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79444         as 64-bit value.
79445         * crypt/sha256.c (SWAP64): Define.
79446         (sha256_process_block): Perform total addition using 64-bit if
79447         possible.
79448         (__sha256_finish_ctx): Likewise.
79450 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
79452         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
79453         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79454         * nscd/hstcache.c (cache_addhst): Likewise.
79455         * nscd/grpcache.c (cache_addgr): Likewise.
79456         * nscd/aicache.c (addhstaiX): Likewise.
79457         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79459 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
79461         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79462         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79463         * nscd/hstcache.c (cache_addhst): Likewise.
79464         * nscd/grpcache.c (cache_addgr): Likewise.
79465         * nscd/aicache.c (addhstaiX): Likewise.
79467 2011-07-01  Andreas Schwab  <schwab@redhat.com>
79469         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79470         domain only when needed.
79472 2011-06-30  Andreas Schwab  <schwab@redhat.com>
79474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79475         is always restored.
79477 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
79479         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79480         are re-adding the entry.
79481         * nscd/servicescache.c (cache_addserv): Likewise.
79483 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
79485         * sysdeps/generic/dl-irel.h: fix protection against multiple
79486         inclusions.
79487         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79489 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
79491         [BZ #12935]
79492         * malloc/memusage.sh: Fix quoting in message.
79493         * debug/xtrace.sh: Likewise.
79495         * configure.in: Remove support for --experimental-malloc option, make
79496         it the default.
79497         * config.make.in: Likewise.
79498         * malloc/Makefile: Likewise.
79500 2011-06-27  Andreas Schwab  <schwab@redhat.com>
79502         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79503         two-byte characters.
79505 2011-06-27  Roland McGrath  <roland@hack.frob.com>
79507         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79508         AC_CACHE_CHECK invocation.
79509         * configure: Regenerated.
79511         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79513 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
79515         [BZ #12350]
79516         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
79517         bit from old_res_options.
79519         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
79521         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
79522         value type for setfct.
79524 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
79526         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79527         __gettimeofday instead of gettimeofday.
79529 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
79531         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
79533 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
79535         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
79537         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
79538         info.
79540 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79543         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79544         strcpy-sse2-unaligned strncpy-sse2-unaligned
79545         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
79546         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
79547         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
79548         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
79549         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
79550         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
79551         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
79552         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
79553         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
79554         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
79555         (STRCPY): Support SSE2 and SSSE3 versions.
79557 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
79559         [BZ #12874]
79560         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
79561         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
79562         kernels which artificially limit size of requests.
79564 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79566         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79567         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79568         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
79569         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
79570         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
79571         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
79572         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
79573         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
79574         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
79575         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
79576         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
79577         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
79578         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
79579         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
79580         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
79581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79582         Enable unaligned load optimization for Intel Core i3, i5 and i7
79583         processors.
79584         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
79585         Define.
79586         (index_Fast_Unaligned_Load): Define.
79587         (HAS_FAST_UNALIGNED_LOAD): Define.
79589 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
79591         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
79593 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79595         [BZ #12907]
79596         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
79597         until it is clear that the information is realy needed.
79598         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
79600 2011-06-22  Andreas Schwab  <schwab@redhat.com>
79602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
79604 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79606         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79607         /sys/devices/system/cpu/online if it is usable.
79609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
79610         reading the information from the /proc filesystem to once a second.
79612 2011-06-21  Andreas Jaeger  <aj@suse.de>
79614         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
79615         NULL after inclusion of kernel headers.
79617 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
79619         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
79620         calls to internal_setent.
79622         [BZ #12885]
79623         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
79624         addresses using gethostbyname4_r ignore IPv4 addresses.
79626         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
79627         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
79629         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
79631 2011-06-20  David S. Miller  <davem@davemloft.net>
79633         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
79634         inclusions.
79635         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
79637         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
79638         (elf_irel): Use it.
79639         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
79640         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
79641         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
79642         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
79643         * sysdeps/x86_64/dl-irel.h: Likewise.
79645         * elf/dl-runtime.c: Use elf_ifunc_invoke.
79646         * elf/dl-sym.c: Likewise.
79648 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79650         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
79651         need to dereference resplen2.
79653 2011-06-14  Andreas Schwab  <schwab@redhat.com>
79655         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
79657 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79659         * Makeconfig: Define vardbdir and inst_vardbdir.
79660         * nss/Makefile: Add rules to install db-Makefile.
79662         * nss/nss_db/db-XXX.c: Cleanup.
79664         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
79665         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
79666         GLIBC_PRIVATE.
79667         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
79668         * nss/makedb.c: Implement -g option to specify that value strings
79669         are generated and should not be added to table iterated over for
79670         get*ent calls.
79671         * nss/nss_db/db-initgroups.c: New file.
79673         * nss/getent.c: Add support for initgroups lookups through getgrouplist
79674         interface.
79676         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
79677         (internal_getgrouplist): Adjust to name change.
79678         Update use_initgroups_entry if this is not the first call.
79679         * nss/databases.def: Add initgroups entry.
79681         * nss/makedb.c (compute_tables): Check result of multiple hash table
79682         sizes to minimize maximum chain length.
79684 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
79686         * Versions.def: Add entry for libnss_db.
79687         * shlib-versions: Likewise.
79688         * nss/Makefile: Add rules to build libnss_db.
79689         * nss/Versions: Add libnss_db information.  Organize libnss_files
79690         entries better.
79691         * nss/db-Makefile: Add gshadow support.  Change rules for the new
79692         makedb progra.  Some minor improvements to generate smaller files.
79693         * nss/nss_db/nss_db.h: Move NSS database header data structures to
79694         here from...
79695         * nss/makedb.c: ...here.
79696         Improve database format to be smaller and require less memory at
79697         runtime.
79698         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
79699         db anymore.
79700         * nss/nss_db/db-netgrp.c: Likewise.
79701         * nss/nss_db/db-open.c: Likewise.
79702         * nss/nss_files/flies-XXX.x: Adjust comments.
79703         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
79704         * nss/nss_files/files-grp.c: Likewise.
79705         * nss/nss_files/files-hosts.c: Likewise.
79706         * nss/nss_files/files-network.c: Likewise.
79707         * nss/nss_files/files-proto.c: Likewise.
79708         * nss/nss_files/files-pwd.c: Likewise.
79709         * nss/nss_files/files-rpc.c: Likewise.
79710         * nss/nss_files/files-service.c: Likewise.
79711         * nss/nss_files/files-sgrp.c: Likewise.
79712         * nss/nss_files/files-spwd.c: Likewise.
79713         * nss/nss_db/db-alias.c: Removed.
79714         * nss/nss_db/dummy-db.h: Removed.
79716 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
79718         * nss/makedb.c: Rewritten to not use database library.
79719         * nss/Makefile: Update to build new makedb program.
79721 2011-06-14  Andreas Jaeger  <aj@suse.de>
79723         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
79724         memset declaration.
79726 2011-06-10  Andreas Schwab  <schwab@redhat.com>
79728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
79729         tmpbuf.
79731 2011-06-10  Roland McGrath  <roland@hack.frob.com>
79733         * Makerules (shlib.lds): Fail if the linker script comes out empty.
79734         * elf/Makefile ($(objpfx)ld.so): Likewise.
79736         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
79737         Don't list ld.so twice in dependencies.
79739         * posix/bug-regex31.c: Include <stdlib.h>.
79741         * nscd/hstcache.c (cache_addhst): Remove unused variable.
79743         * nis/nss_compat/compat-spwd.c
79744         (getspent_next_nss_netgr): Remove unused variable.
79745         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
79747         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
79748         nonmembers" output to use the right array.
79750         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
79752         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
79754         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
79755         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
79756         * catgets/gencat.c (read_input_file): Likewise.
79757         * locale/programs/locarchive.c (enlarge_archive): Likewise.
79759         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
79760         variable definition inside #if's controlling its use.
79762         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
79764         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
79766         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
79768         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
79769         unreachable code.
79771         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
79773         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
79774         * configure: Regenerated.
79776         * Makerules: Revert last change.
79777         * elf/Makefile: Likewise.
79779 2011-06-09  Roland McGrath  <roland@hack.frob.com>
79781         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
79782         * elf/Makefile ($(objpfx)librtld.os): Likewise.
79783         (reloc-link): Likewise.
79785 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
79787         * elf/Makefile: Add rules to build pldd.
79788         * elf/pldd.c: New file.
79789         * elf/pldd-xx.c: New file.
79791 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
79793         * version.h: Update for 2.15 development version.
79795 2011-06-07  David S. Miller  <davem@davemloft.net>
79797         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
79798         ifuncs.
79799         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
79800         elf_machine_lazy_rel): Likewise.
79801         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
79802         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
79803         elf_machine_lazy_rel): Likewise.
79804         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
79805         dl_hwcap via passed in argument.
79806         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
79807         Likewise.
79809 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79811         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
79813 2011-06-06  Roland McGrath  <roland@hack.frob.com>
79815         [BZ #12849]
79816         * manual/fdl-1.1.texi: New file, verbatim from:
79817         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
79818         * manual/lgpl-2.1.texi: New file, verbatim from:
79819         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
79820         * manual/Makefile (licenses): New variable, list those new file names.
79821         (texis): Use it.
79822         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
79824         * manual/fdl.texi: File removed.
79825         * manual/lesser.texi: File removed.
79826         * manual/libc.texinfo (Copying, Documentation License):
79827         Use new @include file names, put @appendix directive before @include.
79829 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
79831         [BZ #12841]
79832         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
79833         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
79834         (mq_open): Add __NTH.
79836 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
79838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79839         Assume Intel Core i3/i5/i7 processor if AVX is available.
79841 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79843         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79844         typo.
79846 2011-05-31  Andreas Schwab  <schwab@redhat.com>
79848         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
79849         memory.  Use alloca_account.  Fix memory leak when retrying.
79851 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79853         * version.h (RELEASE): Bump for 2.14 release.
79854         * include/features.h (__GLIBC_MINOR__): Bump to 14.
79856         * config.make.in (RANLIB): Remove entry.
79858 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
79860         * po/Makefile (po-sed-cmd): Add ksh to extensions.
79861         (libc.pot): Work around missing support for .ksh extension in xgettext.
79863         [BZ #12684]
79864         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
79865         if both request failed.
79866         (send_dg): In case of server errors clear resplen or *resplen2.
79868         [BZ #12454]
79869         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
79870         when there are multiple maps.
79871         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
79872         (_dl_fini): Remove test here.
79874         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
79876 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
79878         [BZ #12350]
79879         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
79880         bit from old_res_options.
79881         (gaih_inet): Likewise.
79883         [BZ #11099]
79884         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79885         as signed.
79887         * resolv/res_init.c (res_setoptions): Make the code more compact.
79889         [BZ #11558]
79890         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79891         set RES_USEVC.
79893         [BZ #11634]
79894         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79896         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79898         [BZ #11781]
79899         * malloc/malloc.h: Declare malloc hook variables as volatile.
79901         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79902         in last patch.
79904         [BZ #11799]
79905         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79906         raise in the comment.
79907         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79909         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79911 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79913         [BZ #12811]
79914         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79915         grow the buffers more if it already has to be sufficient.
79916         (build_wcs_upper_buffer): Likewise.
79917         * posix/regexec.c (check_matching): Likewise.
79918         (clean_state_log_if_needed): Likewise.
79919         (extend_buffers): Don't enlarge buffers beyond size of the input
79920         buffer.
79921         Patches mostly by Emil Wojak <emil@wojak.eu>.
79922         * posix/bug-regex32.c: New file.
79923         * posix/Makefile (tests): Add bug-regex32.
79925         * locale/findlocale.c (_nl_find_locale): Return right away if
79926         _nl_explode_name failed.
79927         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79929         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79931         * debug/xtrace.sh: Unify messages.
79932         * malloc/memusage.sh: Likewise.
79934         [BZ #12813]
79935         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79936         time symbol from vDSO.  Substitute with vsyscall if not available.
79937         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79938         __vdso_time.
79940         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79941         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79942         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79943         Add sendmmsg and internal_sendmmsg.
79944         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79945         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79946         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79948         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79949         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79950         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79952 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79954         [BZ #12813]
79955         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79956         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79957         available.
79958         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79959         __vdso_getcpu.
79961         [BZ #12814]
79962         * iconvdata/Makefile (tests): Add bug-iconv9.
79963         * iconvdata/bug-iconv9.c: New file.
79965 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79967         [BZ #12814]
79968         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79970 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79972         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79973         (struct user_regs_struct): Change intcs field back to cs.
79975 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79977         * po/ja.po: Update from translation team.
79979 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79981         [BZ #12795]
79982         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79983         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79985 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79987         * stdlib/longlong.h: Update from GCC.
79989 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79991         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79992         parameter name.
79993         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79994         Add parameter name.
79995         (__sysconf): Pass it down.
79997 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79999         [BZ #12671]
80000         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80001         some situations.
80002         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80003         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80004         add in in __libc_use_alloca calls.  Adjust callers.
80005         (glob): Use malloc in some situations.
80007         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80008         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80009         pltexit.
80011 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80013         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80014         and CLOCK_BOOTTIME_ALARM.
80016         [BZ #12782]
80017         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80018         is returned.
80020         * string/_strerror.c (__strerror_r): Print negative errors as signed
80021         numbers.
80023         [BZ #12777]
80024         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80025         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80026         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80028         * configure.in: Fix typo in redirection and correct removal of test
80029         files in two cases.
80031         [BZ #12788]
80032         * locale/setlocale.c (new_composite_name): Fix test to check for
80033         identical name of all categories.
80035         [BZ #12792]
80036         * libio/filedoalloc.c (local_isatty): New function.
80037         (_IO_file_doallocate): Use local_isatty.
80038         * stdio-common/perror.c (perror): In case a new stream is used
80039         forward the stream error.
80040         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80041         error flag.
80043 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80045         [BZ #11884]
80046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80047         alloca.
80048         * include/alloca.h (extend_alloca_account): Define.
80050         [BZ #11857]
80051         * posix/regex.h: Fix comments with documentation of user-accessible
80052         fields after compilation and describe correct free'ing of pattern
80053         after re_compile_pattern.
80054         Patch by Reuben Thomas <rrt@sc3d.org>.
80056 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80058         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80059         and -mno-altivec to prevent the compiler from using Altivec and/or
80060         VSX instructions when the corresponding registers are not available.
80062 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80064         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80066 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80068         * libio/freopen.c (freopen): Use __dup2, not dup2.
80069         * libio/freopen64.c (freopen64): Likewise.
80071 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80073         [BZ #12775]
80074         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80075         * math/Makefile (tests): Add test-powl.
80076         (CFLAGS-test-powl.c): Define.
80077         * math/test-powl.c: New file.
80079 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80081         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80083 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80085         [BZ #11837]
80086         * iconvdata/gb18030.c: Update to GB18020-2005.
80088 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80090         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80091         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80092         Patch by Aharon Robbins <arnold@skeeve.com>.
80094         [BZ #11892]
80095         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80096         on the stack.
80098         [BZ #11895]
80099         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80100         through underflows.
80102         [BZ #12766]
80103         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80104         point to strings before performing equality test for error_one_per_line
80105         mode.
80107         [BZ #11697]
80108         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80110         [BZ #11820]
80111         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80112         (struct user_fpregs_struct): Avoid __uint*_t types.
80114         [BZ #6420]
80115         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80116         symbol info.  Use it instead of calling _dl_addr locally.
80117         (lock_and_info): New function.
80118         (tr_freehook): Call lock_and_info and pass symbol info as additional
80119         parameter to tr_where.
80120         (tr_mallochook): Likewise.
80121         (tr_reallochook): Likewise.
80122         (tr_memalignhook): Likewise.
80124         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80125         used and couldn't be at all thread-safe.
80127 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80129         * libio/freopen.c (freopen): Don't close old file descriptor
80130         before the new one is opened.  Instead dup the new file descriptor
80131         to the old one after the new stream is created.
80132         * libio/freopen64.c (freopen64): Likewise.
80133         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80134         * libio/fileops.c (_IO_new_file_close_it): Handle new
80135         _IO_FLAGS2_NOCLOSE flag.
80136         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80137         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80138         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80139         _IO_FLAGS2_NOCLOSE flag.
80140         * include/unistd.h: Add hidden_proto for dup3.
80141         Define __have_dup3.
80142         * io/dup3.c: Define hidden symbol.
80143         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80145         [BZ #7101]
80146         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80147         when an incomplete long option is used.
80148         * posix/tst-getopt_long1.c: New file.
80149         * posix/Makefile (tests): Add tst-getopt_long1.
80151         [BZ #10138]
80152         * scripts/config.guess: Update from autoconf-2.68.
80153         * scripts/config.sub: Likewise.
80155         [BZ #10157]
80156         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80157         tests into ...
80158         (has_cpuclock): ...this.  New function.
80159         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80160         macro here based on has_cpuclock code.
80162         [BZ #10149]
80163         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80164         First byte (not low byte) is now always NUL.
80165         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80168         Use non-cancelable interfaces.
80170         [BZ #9809]
80171         * locale/iso-639.def: Add entry for Sorani.
80173         [BZ #11901]
80174         * include/stdlib.h: Move include protection to the right place.
80175         Define abort_msg_s.  Declare __abort_msg with it.
80176         * stdlib/abort.c (__abort_msg): Adjust type.
80177         * assert/assert.c (__assert_fail_base): New function.  Majority
80178         of code from __assert_fail.  Allocate memory for __abort_msg with
80179         mmap.
80180         (__assert_fail): Now call __assert_fail_base.
80181         * assert/assert-perr.c: Remove bulk of implementation.  Use
80182         __assert_fail_base.
80183         * include/assert.hL Declare __assert_fail_base.
80184         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80185         mmap.
80186         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80188 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80190         [BZ #11952]
80191         [BZ #12453]
80192         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80193         until all modules are registered in the DTV.
80194         * elf/Makefile: Add rules to build and run tst-tls19.
80195         * elf/tst-tls19.c: New file.
80196         * elf/tst-tls19mod1.c: New file.
80197         * elf/tst-tls19mod2.c: New file.
80198         * elf/tst-tls19mod3.c: New file.
80199         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80201         [BZ #12083]
80202         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80203         correctly.
80205         [BZ #12601]
80206         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80207         two-byte sequence errors.
80208         * iconvdata/Makefile (tests): Add bug-iconv8.
80209         * iconvdata/bug-iconv8.c: New file.
80211         [BZ #12626]
80212         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80213         buf2 definition.
80215         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80217         [BZ #12432]
80218         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80219         (dummy_getcfa): New function.
80220         (init): Get _Unwind_GetCFA address, use dummy if not found.
80221         (backtrace_helper): In recursion check, also check whether CFA changes.
80222         (__backtrace): Completely initialize arg.
80224         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80225         storing incomplete byte sequence in state object.  Avoid testing for
80226         guaranteed too small input if we know there is enough data available.
80228 2011-05-11  Andreas Schwab  <schwab@redhat.com>
80230         * Makeconfig (+link-pie): Indent.
80231         * Rules (binaries-pie): Define if $(have-fpie) and
80232         $(build-shared).
80233         (binaries-shared): Also filter out $(binaries-pie).
80234         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
80235         * nscd/Makefile (others-pie): Add nscd.
80236         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
80237         ($(objpfx)nscd): Remove command override.
80238         * login/Makefile (others-pie): Add pt_chown.
80239         ($(objpfx)pt_chown): Remove command override.
80240         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
80241         remove command overrides.
80243 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
80245         * libio/tst_putwc.c: Fix error messages.
80247         [BZ #12724]
80248         * libio/fileops.c (_IO_new_file_close_it): Always flush when
80249         currently writing and seek to current position when not.
80250         * libio/Makefile (tests): Add bug-fclose1.
80251         * libio/bug-fclose1.c: New file.
80253 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
80255         [BZ #12511]
80256         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
80257         don't set DF_1_NODELETE here.
80258         (do_lookup_x): When entering new entry test for copy relocation
80259         and if necessary set DF_1_NODELETE flag.
80260         * elf/tst-unique4.cc: New file.
80261         * elf/tst-unique4.h: New file.
80262         * elf/tst-unique4lib.cc: New file.
80263         * elf/Makefile: Add rules to build and run tst-unique4.
80264         Patch by Piotr Bury <pbury@goahead.com>.
80266 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
80268         [BZ #12052]
80269         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
80271         [BZ #12625]
80272         * misc/mntent_r.c (addmntent): Flush the stream after the output
80274         [BZ #12393]
80275         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
80276         (is_trusted_path_normalize): Skip initial colon.  Append slash
80277         to empty buffer.  Duplicate is_trusted_path code but allow
80278         constructed patch to be prefix.
80279         (is_dst): Allow $ORIGIN followed by /.
80280         (_dl_dst_substitute): Correct clearing of check_for_trusted.
80281         Correct testing of result of is_trusted_path_normalize
80282         (decompose_rpath): Fix warning.
80284 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
80286         [BZ #11257]
80287         * grp/initgroups.c (internal_getgrouplist): When we found the service
80288         list through the initgroups entry in nsswitch.conf do not always
80289         continue on a successful lookup.  Don't always use the
80290         __nss_group_database value if it is set.
80291         * nss/nsswitch.conf (initgroups): Change action for successful db
80292         lookup to continue for compatibility.
80294 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
80296         [BZ #11532]
80297         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
80298         and CP774 modules.
80299         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
80300         and CP774 modules.
80301         * iconvdata/tst-tables.sh: Likewise.
80302         * iconvdata/cp770.c: New file.
80303         * iconvdata/cp771.c: New file.
80304         * iconvdata/cp772.c: New file.
80305         * iconvdata/cp773.c: New file.
80306         * iconvdata/cp774.c: New file.
80307         * iconvdata/testdata/CP770: New file.
80308         * iconvdata/testdata/CP770..UTF8: New file.
80309         * iconvdata/testdata/CP771: New file.
80310         * iconvdata/testdata/CP771..UTF8: New file.
80311         * iconvdata/testdata/CP772: New file.
80312         * iconvdata/testdata/CP772..UTF8: New file.
80313         * iconvdata/testdata/CP773: New file.
80314         * iconvdata/testdata/CP773..UTF8: New file.
80315         * iconvdata/testdata/CP774: New file.
80316         * iconvdata/testdata/CP774..UTF8: New file.
80318         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
80319         END CHARMAP line.
80320         * iconvdata/gen-8bit-gap.sh: Likewise.
80321         * iconvdata/gen-8bit.sh: Likewise.
80323         * locale/iso-639.def: Add ary entry.
80325         [BZ #11258]
80326         * locale/C-translit.h.in: Add U20A1 transliteration.
80328         [BZ #12178]
80329         * locale/iso-639.def: Add wae entry.
80330         Patch by Kevin Bortis <bortis@translate-wae.ch>.
80332         [BZ #12545]
80333         * locale/programs/localedef.c (construct_output_path): Use ssize_t
80334         for n.
80336         [BZ #12711]
80337         * locale/C-translit.h.in: Add entry for U20B9.
80338         Patch by pravin.d.s@gmail.com.
80340 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
80342         [BZ #12713]
80343         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
80344         ENAMETOOLONG use generic getcwd.
80345         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
80346         in rtld.  Use *stat64.
80347         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
80348         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
80349         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
80350         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
80351         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
80352         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
80353         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
80354         __fstatat64 macros.
80355         * include/dirent.h: Add libc_hidden_proto for rewinddir.
80356         * dirent/rewinddir.c: Add libc_hidden_def.
80357         * sysdeps/mach/hurd/rewinddir.c: Likewise.
80358         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
80360         * include/dirent.h (__alloc_dir): Add flags parameter.
80361         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
80362         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
80363         __alloc_dir.
80364         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
80365         from fdopendir if O_CLOEXEC is already set.
80367 2011-03-15  Alan Modra  <amodra@gmail.com>
80369         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
80370         l_tls_firstbyte_offset non-zero.  Save padding offset in
80371         l_tls_firstbyte_offset for later use.
80372         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80373         freeing static tls block.
80375 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
80377         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
80378         where #ifdef was intended.  The intent is to prevent ARG_MAX from
80379         being defined by the kernel headers.
80381 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
80383         [BZ #12734]
80384         * resolv/resolv.h: Define RES_NOTLDQUERY.
80385         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
80386         no-tld-query and set RES_NOTLDQUERY.
80387         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
80388         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
80389         modern BIND to search name as TLD unless forbidden.
80391 2011-05-07  Petr Baudis  <pasky@suse.cz>
80392             Ulrich Drepper  <drepper@gmail.com>
80394         [BZ #12393]
80395         * elf/dl-load.c (fillin_rpath): Move trusted path check...
80396         (is_trusted_path): ...to here.
80397         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
80398         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
80399         using is_trusted_path_normalize() in setuid scripts.
80401 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80403         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
80404         __BEGIN/__END_DECLS.
80406 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
80408         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
80409         NSS_STATUS_NOTFOUND if no record was found.
80411 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80413         * sunrpc/Makefile (headers): Add rpc/netdb.h.
80414         (headers-not-in-tirpc): Remove rpc/netdb.h
80415         * resolv/netdb.h: Revert last change.
80417 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80419         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80420         circular dependency between libgcc.a and libc.a.
80422 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80424         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80425         * nis/Makefile: Don't install rpcsvc/*.
80426         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80427         instead of <rpc/types.h>.
80428         (MAXHOSTNAMELEN): Define.
80430 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80432         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80434 2011-04-28  Maciej Babinski  <mbabinski@google.com>
80436         [BZ #12714]
80437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80438         gethostbyname4_r when IPv6 results are possible.
80440 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
80442         [BZ #12723]
80443         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80444         _PC_PIPE_BUF handling.
80446 2011-04-30  Bruno Haible  <bruno@clisp.org>
80448         [BZ #12717]
80449         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80450         * resolv/netdb.h (getnameinfo): Change type of flags parameter
80451         to 'int'.
80452         * inet/getnameinfo.c (getnameinfo): Likewise.
80454 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
80456         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80457         to groups setting in database lookup.
80458         * nss/nsswitch.conf: Add initgroups entry.
80460 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
80462         [BZ #12685]
80463         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80464         mode string.
80465         Patch by Eric Blake <eblake@redhat.com>.
80467 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
80469         * sunrpc/Makefile (need-export-routines): Add svc_run.
80470         (routines): Remove svc_run.
80471         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80472         * sunrpc/clnt_perr.c (clnt_perrno): Export.
80473         * sunrpc/svc_run.c (svc_run): Likewise.
80474         * sunrpc/svc_udp.c (svcudp_create): Likewise.
80476 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
80478         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80479         problem in reallocation in last patch.
80481 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
80483         * sunrpc/Makefile: Move inclusion of Rules.
80485 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80487         * nss/nss_files/files-initgroups.c: New file.
80488         * nss/Makefile (libnss_files-routines): Add files-initgroups.
80489         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80490         _nss_files_initgroups_dyn.
80492 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
80494         * elf/elf.h (R_ARM_IRELATIVE): Define.
80496 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80498         * po/ru.po: Update from translation team.
80500 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80502         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80503         dependencies.
80505 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
80507         [BZ #12653]
80508         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80509         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80510         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80511         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80512         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80514 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
80516         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80517         differing bytes.
80518         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
80519         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
80520         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80522 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80524         [BZ #12420]
80525         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
80526         storing it.
80527         * stdlib/bug-getcontext.c: New file.
80528         * stdlib/Makefile: Add rules to build and run bug-getcontext.
80530 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80532         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
80533         instructions into .machine "z9-109".
80534         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
80535         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
80537 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80539         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
80540         between environment variables and auxiliary vector.
80542 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
80544         * Makefile: Add rules to build linkobj/libc.so.
80545         * include/libc-symbols.h: Define libc_hidden_nolink.
80546         * include/rpc/auth.h: Mark functions which are to be hidden.
80547         * include/rpc/auth_des.h: Likewise.
80548         * include/rpc/auth_unix.h: Likewise.
80549         * include/rpc/clnt.h: Likewise.
80550         * include/rpc/des_crypt.h: Likewise.
80551         * include/rpc/key_prot.h: Likewise.
80552         * include/rpc/pmap_clnt.h: Likewise.
80553         * include/rpc/pmap_prot.h: Likewise.
80554         * include/rpc/pmap_rmt.h: Likewise.
80555         * include/rpc/rpc_msg.h: Likewise.
80556         * include/rpc/svc.h: Likewise.
80557         * include/rpc/svc_auth.h: Likewise.
80558         * include/rpc/xdr.h: Likewise.
80559         * nis/Makefile: Link all DSOs against linkobj/libc.so.
80560         * nss/Makefile: Likewise.
80561         * sunrpc/Makefile: Don't install headers.  Build library with normal
80562         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
80563         * sunrpc/auth_des.c: Hide exported symbols by default, export some
80564         for the compat linking library.  Remove use of INTDEF/INTUSE.
80565         * sunrpc/auth_none.c: Likewise.
80566         * sunrpc/auth_unix.c: Likewise.
80567         * sunrpc/authdes_prot.c: Likewise.
80568         * sunrpc/authuxprot.c: Likewise.
80569         * sunrpc/clnt_gen.c: Likewise.
80570         * sunrpc/clnt_perr.c: Likewise.
80571         * sunrpc/clnt_raw.c: Likewise.
80572         * sunrpc/clnt_simp.c: Likewise.
80573         * sunrpc/clnt_tcp.c: Likewise.
80574         * sunrpc/clnt_udp.c: Likewise.
80575         * sunrpc/clnt_unix.c: Likewise.
80576         * sunrpc/des_crypt.c: Likewise.
80577         * sunrpc/des_soft.c: Likewise.
80578         * sunrpc/get_myaddr.c: Likewise.
80579         * sunrpc/key_call.c: Likewise.
80580         * sunrpc/key_prot.c: Likewise.
80581         * sunrpc/netname.c: Likewise.
80582         * sunrpc/pm_getmaps.c: Likewise.
80583         * sunrpc/pm_getport.c: Likewise.
80584         * sunrpc/pmap_clnt.c: Likewise.
80585         * sunrpc/pmap_prot.c: Likewise.
80586         * sunrpc/pmap_prot2.c: Likewise.
80587         * sunrpc/pmap_rmt.c: Likewise.
80588         * sunrpc/publickey.c: Likewise.
80589         * sunrpc/rpc_cmsg.c: Likewise.
80590         * sunrpc/rpc_common.c: Likewise.
80591         * sunrpc/rpc_dtable.c: Likewise.
80592         * sunrpc/rpc_prot.c: Likewise.
80593         * sunrpc/rpc_thread.c: Likewise.
80594         * sunrpc/rtime.c: Likewise.
80595         * sunrpc/svc.c: Likewise.
80596         * sunrpc/svc_auth.c: Likewise.
80597         * sunrpc/svc_authux.c: Likewise.
80598         * sunrpc/svc_raw.c: Likewise.
80599         * sunrpc/svc_run.c: Likewise.
80600         * sunrpc/svc_simple.c: Likewise.
80601         * sunrpc/svc_tcp.c: Likewise.
80602         * sunrpc/svc_udp.c: Likewise.
80603         * sunrpc/svc_unix.c: Likewise.
80604         * sunrpc/svcauth_des.c: Likewise.
80605         * sunrpc/xcrypt.c: Likewise.
80606         * sunrpc/xdr.c: Likewise.
80607         * sunrpc/xdr_array.c: Likewise.
80608         * sunrpc/xdr_float.c: Likewise.
80609         * sunrpc/xdr_intXX_t.c: Likewise.
80610         * sunrpc/xdr_mem.c: Likewise.
80611         * sunrpc/xdr_rec.c: Likewise.
80612         * sunrpc/xdr_ref.c: Likewise.
80613         * sunrpc/xdr_sizeof.c: Likewise.
80614         * sunrpc/xdr_stdio.c: Likewise.
80616 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
80618         [BZ #12650]
80619         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
80620         * sysdeps/ia64/dl-tls.h: Likewise.
80621         * sysdeps/powerpc/dl-tls.h: Likewise.
80622         * sysdeps/s390/dl-tls.h: Likewise.
80623         * sysdeps/sh/dl-tls.h: Likewise.
80624         * sysdeps/sparc/dl-tls.h: Likewise.
80625         * sysdeps/x86_64/dl-tls.h: Likewise.
80626         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
80628 2011-03-14  Andreas Schwab  <schwab@redhat.com>
80630         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
80631         rpath element also skip the following colon.
80632         (expand_dynamic_string_token): Add is_path parameter and pass
80633         down to DL_DST_REQUIRED and _dl_dst_substitute.
80634         (decompose_rpath): Call expand_dynamic_string_token with
80635         non-zero is_path.  Ignore empty rpaths.
80636         (_dl_map_object_from_fd): Call expand_dynamic_string_token
80637         with zero is_path.
80639 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
80641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
80642         Make cancelable.
80644 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
80646         [BZ #12655]
80647         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
80648         Patch by Filipe David Manana <fdmanana@apache.org>.
80650 2011-04-07  Andreas Schwab  <schwab@redhat.com>
80652         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
80653         Maintain aligned stack.
80654         (CHECK_RSP): Remove unused macro.
80656 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
80658         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
80659         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
80661 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
80663         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
80665         * include/features.h: Mention __USE_XOPEN2K8 in comment.
80667 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
80669         [BZ #12518]
80670         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
80671         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
80672         * sysdeps/x86_64/memmove.c: New file.
80673         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
80674         (memcpy): Renamed to ...
80675         (__new_memcpy): This.
80676         (memcpy): Provide GLIBC_2_14 memcpy.
80677         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
80678         (memcpy): Provide GLIBC_2_2_5 memcpy.
80680 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80682         [BZ #12631]
80683         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
80685 2011-03-30  Andreas Schwab  <schwab@redhat.com>
80687         * misc/syncfs.c: New file.
80688         * misc/Makefile (routines): Add syncfs.
80689         * posix/unistd.h: Declare syncfs.
80690         * sysdeps/unix/syscalls.list: Add syncfs.
80692 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80694         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
80695         open_by_handle_at.
80696         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80697         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80698         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80699         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80701         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
80702         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80704 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80706         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
80707         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80708         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
80709         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80710         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80711         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80712         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80714         * io/Makefile: Compile fallocate.c, fallocate64.c, and
80715         sync_file_range.c with -fexceptions.
80716         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
80717         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
80718         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
80719         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
80720         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
80721         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
80722         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
80723         sync_file_range as cancellation point
80724         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
80725         now a wrapper around __call_sync_file_range with cancellation handling.
80726         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
80727         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
80728         function name to __call_sync_file_range.
80729         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
80730         Add call_sync_file_range.
80732 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80735         bits/timex.h.
80737 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80739         * iconv/iconv.h: Fix typo in comment.
80740         * io/fcntl.h: Likewise.
80741         * libio/stdio.h: Likewise.
80742         * posix/spawn.h: Likewise.
80743         * posix/unistd.h: Likewise.
80744         * stdlib/stdlib.h: Likewise.
80745         * time/time.h: Likewise.
80746         * wcsmbs/wchar.h: Likewise.
80748         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
80749         open_by_handle): Add.
80750         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
80751         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
80752         Augment a few comments.
80753         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80754         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80755         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80756         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80757         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80758         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
80759         open_by_handle.
80761         * io/fcntl.h (AT_EMPTY_PATH): Define.
80763 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
80765         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
80766         * sysdeps/unix/sysv/linux/bits/time.h: New file.
80767         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
80768         to...
80769         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
80770         * Versions.def: Add GLIBC_2.14.
80771         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
80772         Export.
80774 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
80776         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
80777         round counter.
80778         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80780 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80782         [BZ #12597]
80783         * string/test-strncmp.c (do_page_test): New function.
80784         (check2): Likewise.
80785         (test_main): Call check2.
80786         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
80788 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
80790         [BZ #12587]
80791         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
80792         Handle cache information in CPU leaf 4.
80793         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80795 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
80797         [BZ #12583]
80798         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
80799         character representation.
80800         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
80802 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
80804         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
80805         END(__isnan) to END(__isnanf) to match function entry point/label
80806         EALIGN(__isnanf,...).
80808 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
80810         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
80812 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
80814         [BZ #12510]
80815         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
80816         copy from the symbol referenced in the relocation to initialize the
80817         used variable.
80818         Patch by Piotr Bury <pbury@goahead.com>.
80819         * elf/Makefile: Add rules to build and tst-unique3.
80820         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
80821         * elf/tst-unique3.cc: New file.
80822         * elf/tst-unique3.h: New file.
80823         * elf/tst-unique3lib.cc: New file.
80824         * elf/tst-unique3lib2.cc: New file.
80826         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
80828 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
80830         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
80831         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
80832         to _start.
80834 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
80836         * elf/dl-load.c (_dl_map_object): If we are looking for the first
80837         to-be-loaded object along a path to loader is ld.so.
80839 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80840             Ulrich Drepper  <drepper@gmail.com>
80842         * sysdeps/x86_64/memset.S: After aligning destination, code
80843         branches to different locations depending on the value of
80844         misalignment, when multiarch is enabled. Fix this.
80846 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80848         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
80849         Set _x86_64_preferred_memory_instruction for AMD processsors.
80850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80851         Set bit_Prefer_SSE_for_memop for AMD processors.
80853 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
80855         * libio/fmemopen.c (fmemopen): Optimize a bit.
80857 2011-03-03  Andreas Schwab  <schwab@redhat.com>
80859         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
80861 2011-03-03  Roland McGrath  <roland@redhat.com>
80863         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
80865 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
80867         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
80868         __bzero_ultra1 instead of __memset_ultra1.
80870 2011-02-23  Andreas Schwab  <schwab@redhat.com>
80871             Ulrich Drepper  <drepper@gmail.com>
80873         [BZ #12509]
80874         * include/link.h (struct link_map): Add l_orig_initfini.
80875         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
80876         returning unsuccessfully.
80877         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
80878         close of a file loaded at startup, restore the original l_initfini
80879         list.
80880         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
80881         list, store the pointer.
80882         * elf/Makefile ($(objpfx)noload-mem): New rule.
80883         (noload-ENV): Define.
80884         (tests): Add $(objpfx)noload-mem.
80885         * elf/noload.c: Include <memcheck.h>.
80886         (main): Call mtrace.  Close all opened handles.
80888 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80890         [BZ #12454]
80891         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80892         dependencies are missing.
80894 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80896         Fix __if_freereq crash: Unlike the generic version which uses free,
80897         Hurd needs munmap.
80898         * sysdeps/mach/hurd/ifreq.h: New file.
80900 2011-01-27  Petr Baudis  <pasky@suse.cz>
80901             Ulrich Drepper  <drepper@gmail.com>
80903         [BZ 12445]#
80904         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80905         to extend_alloca().
80906         * stdio-common/bug23.c: New file.
80907         * stdio-common/Makefile (tests): Add bug23.
80909 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80910             Ulrich Drepper  <drepper@gmail.com>
80912         [BZ #12489]
80913         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80914         before performing relro protection.  At old place add assertion
80915         to make sure nothing changed.
80917 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80918             Glauber de Oliveira Costa  <glommer@gmail.com>
80920         * elf/elf.h: Add new ARM TLS relocs.
80922 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80925         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80926         cast from r3.
80927         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80928         'tests' variable.
80929         * sysdeps/wordsize-64/tst-writev.c: New file.
80931 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80933         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80934         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80935         insns in _dl_start to prevent a TOC reference before relocs are
80936         resolved.
80938 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80940         [BZ #12469]
80941         * Makeconfig: Remove RANLIB definition.
80942         * Makerules: Don't use RANLIB.
80943         * aclocal.m4: Remove ranlib test.
80944         * configure.in: No need to check for ranlib.
80945         * elf/rtld-Rules: Don't use RANLIB.
80947 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80949         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80950         protection macro.
80951         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80952         inclusion protection macro.
80954         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80955         SIGRTMIN and SIGRTMAX and print information in that case only when
80956         SIGRTMIN is defined.
80958 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80960         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80961         arginfo fn returning -1.
80963         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80964         and thousands string is zero terminated.
80966 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80968         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80969         sysdeps/unix/sysv/linux/bits/socket.h.
80971 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80973         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80974         (__CPU_COUNT): Remove old macros.
80975         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80976         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80977         (__CPU_ALLOC, __CPU_FREE): Add macros.
80978         (__sched_cpualloc, __sched_cpufree): Add declarations.
80980 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80982         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80983         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80984         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80985         (readdhstai): Return value of addhstaiX call.
80986         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80987         (addgrbyX): Return value returned by cache_addgr.
80988         (readdgrbyname): Return value returned by addgrbyX.
80989         (readdgrbygid): Likewise.
80990         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80991         (addpwbyX): Return value returned by cache_addpw.
80992         (readdpwbyname): Return value returned by addhstbyX.
80993         (readdpwbyuid): Likewise.
80994         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80995         (addservbyX): Return value returned by cache_addserv.
80996         (readdservbyname): Return value returned by addservbyX:
80997         (readdservbyport): Likewise.
80998         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80999         (addhstbyX): Return value returned by cache_addhst.
81000         (readdhstbyname): Return value returned by addhstbyX.
81001         (readdhstbyaddr): Likewise.
81002         (readdhstbynamev6): Likewise.
81003         (readdhstbyaddrv6): Likewise.
81004         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81005         (readdinitgroups): Return value returned by addinitgroupsX.
81006         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81007         (prune_cache): Keep track of timeout value of re-added entries.
81008         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81009         * nscd/nscd.h: Adjust prototypes of readd* functions.
81011 2011-02-04  Roland McGrath  <roland@redhat.com>
81013         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81014         (nis_stats): Likewise.
81015         * nis/nis_modify.c (nis_modify): Likewise.
81016         * nis/nis_remove.c (nis_remove): Likewise.
81017         * nis/nis_add.c (nis_add): Likewise.
81019         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81021         * posix/fnmatch_loop.c: Add some consts.
81023         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81025 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81027         [BZ #12460]
81028         * config.make.in (config-cflags-novzeroupper): Define.
81029         * configure.in: Substitute libc_cv_cc_novzeroupper.
81030         * elf/Makefile (AVX-CFLAGS): Define.
81031         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81032         (CFLAGS-tst-auditmod4a.c): Likewise.
81033         (CFLAGS-tst-auditmod4b.c): Likewise.
81034         (CFLAGS-tst-auditmod6b.c): Likewise.
81035         (CFLAGS-tst-auditmod6c.c): Likewise.
81036         (CFLAGS-tst-auditmod7b.c): Likewise.
81037         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81039 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81041         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81042         function to the callback.
81043         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81045 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81047         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81048         of errno.
81050 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81052         [BZ #11724]
81053         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81054         of constructors.
81055         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81056         of destructors.
81057         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81059         [BZ #11724]
81060         * elf/Makefile: Add rules to build and run new test.
81061         * elf/tst-initorder.c: New file.
81062         * elf/tst-initorder.exp: New file.
81063         * elf/tst-initordera1.c: New file.
81064         * elf/tst-initordera2.c: New file.
81065         * elf/tst-initordera3.c: New file.
81066         * elf/tst-initordera4.c: New file.
81067         * elf/tst-initorderb1.c: New file.
81068         * elf/tst-initorderb2.c: New file.
81069         * elf/tst-order-a1.c: New file.
81070         * elf/tst-order-a2.c: New file.
81071         * elf/tst-order-a3.c: New file.
81072         * elf/tst-order-a4.c: New file.
81073         * elf/tst-order-b1.c: New file.
81074         * elf/tst-order-b2.c: New file.
81075         * elf/tst-order-main.c: New file.
81076         New test case by George Gensure <werkt0@gmail.com>.
81078 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81081         decoding ACE if AI_CANONIDN.
81083 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81085         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81087 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81089         * version.h (RELEASE): Bump for 2.13 release.
81090         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81092         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81094         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81095         MADV_NOHUGEPAGE.
81096         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81097         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81098         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81099         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81100         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81101         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81103         * posix/getconf.c: Update copyright year.
81104         * catgets/gencat.c: Likewise.
81105         * csu/version.c: Likewise.
81106         * debug/catchsegv.sh: Likewise.
81107         * debug/xtrace.sh: Likewise.
81108         * elf/ldconfig.c: Likewise.
81109         * elf/ldd.bash.in: Likewise.
81110         * elf/sprof.c (print_version): Likewise.
81111         * iconv/iconv_prog.c: Likewise.
81112         * iconv/iconvconfig.c: Likewise.
81113         * locale/programs/locale.c: Likewise.
81114         * locale/programs/localedef.c: Likewise.
81115         * malloc/memusage.sh: Likewise.
81116         * malloc/mtrace.pl: Likewise.
81117         * nscd/nscd.c (print_version): Likewise.
81118         * nss/getent.c: Likewise.
81120         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81121         PF_CAIF, and PF_ALG.
81122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81124 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81126         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81127         (modules-names): Use them.
81128         (ifunc-test-modules, ifunc-pie-tests): Define.
81129         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81130         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81131         (test-extras): Likewise.
81132         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81133         $(compile-command.c).
81134         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81135         (all-built-dso): Define.
81136         (check-textrel.out, check-execstack.out): Depend on it.
81138         * configure.in: Don't override --enable-multi-arch.
81140 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81142         [BZ #6812]
81143         * nscd/hstcache.c (tryagain): Define.
81144         (cache_addhst): Return tryagain not notfound for temporary errors.
81145         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81146         failed.
81148 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81150         [BZ #10563]
81151         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81152         to make the syscall.
81153         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81155         [BZ #12378]
81156         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81157         and fall back to matching as normal character if the string ends before
81158         the matching ']' is found.  This is what POSIX requires.
81159         * posix/testfnm.c: Adjust test result.
81160         * posix/globtest.sh: Adjust test result.  Add new test.
81161         * posix/tst-fnmatch.input: Likewise.
81162         * posix/tst-fnmatch2.c: Add new test.
81164 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81166         * elf/Makefile (check-execstack): Revert last change.  Depend on
81167         check-execstack.h.
81168         (check-execstack.h): New target.
81169         (generated): Add check-execstack.h.
81170         * elf/check-execstack.c: Include "check-execstack.h".
81171         (main): Revert last change.
81172         (handle_file): Return zero if GNU_STACK is absent and
81173         DEFAULT_STACK_PERMS doesn't include PF_X.
81175 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81177         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81178         in child fails because the descriptor is already closed.
81179         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81180         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81181         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81183         [BZ #12397]
81184         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81185         syscall.
81187         [BZ #10484]
81188         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81189         temporary buffer used to handle multi lookups locally.
81190         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81192 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81194         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81195         loader is ld.so.
81197 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81199         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81200         alignment for SSE2.
81202 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81204         [BZ #12394]
81205         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81206         characters.  When rounding increased number of integer digits recompute
81207         number of groups.
81208         * stdio-common/tst-grouping.c: New file.
81209         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81211 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81213         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81214         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81216         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81217         void.
81218         * bits/select.h: Likewise.
81220 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81222         * po/ja.po: Update from translation team.
81224 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81226         [BZ #11155]
81227         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81228         implementation just like for lxstat, fxstatat, et al.
81230 2010-12-27  Jim Meyering  <meyering@redhat.com>
81232         [BZ #12348]
81233         * posix/regexec.c (build_trtable): Return failure indication upon
81234         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
81236 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
81238         [BZ #12201]
81239         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
81240         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
81241         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
81242         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
81244         [BZ #12207]
81245         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
81247         [BZ #12204]
81248         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
81249         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
81251 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
81253         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
81254         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
81255         script has SORT_BY_INIT_PRIORITY.
81256         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
81257         NO_CTORS_DTORS_SECTIONS is defined.
81258         * elf/soinit.c: Likewise.
81259         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
81260         NO_CTORS_DTORS_SECTIONS is defined.
81261         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
81262         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
81263         * sysdeps/sh/init-first.c: Likewise.
81264         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
81266 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
81268         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
81269         always use the slow path.
81271 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
81273         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
81274         similar rule which adds the sysdep directories to the header search in
81275         order to pick up the correct platform stackinfo.h.
81276         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
81277         perform test if it is, otherwise return successfully without testing.
81278         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
81279         DEFAULT_STACK_PERMS define in stackinfo.h.
81280         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
81281         defined in stackinfo.h.
81282         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
81283         DEFAULT_STACK_PERMS defined in stackinfo.h.
81284         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
81285         * sysdeps/ia64/stackinfo.h: Likewise.
81286         * sysdeps/s390/stackinfo.h: Likewise.
81287         * sysdeps/sh/stackinfo.h: Likewise.
81288         * sysdeps/sparc/stackinfo.h: Likewise.
81289         * sysdeps/x86_64/stackinfo.h: Likewise.
81290         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
81291         PF_X for powerpc64.  Retain PF_X for powerpc32.
81293 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
81295         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
81296         accurately.
81297         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
81298         GETDENTS_64BIT_ALIGNED.
81300 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
81302         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
81304 2010-12-10  Andreas Schwab  <schwab@redhat.com>
81306         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
81307         _GNU_SOURCE.
81309         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
81310         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
81311         Remove __restrict.
81312         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
81313         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
81315 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
81317         [BZ #11655]
81318         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
81319         are initialized.
81321 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
81323         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
81325 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
81327         * po/it.po: Update from translation team.
81329 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
81331         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
81332         unused codes.
81334 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
81336         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
81338 2010-11-24  Andreas Schwab  <schwab@redhat.com>
81340         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
81341         specially.
81342         (gaih_getanswer_slice): Likewise.
81344 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
81346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
81348 2010-05-31  Petr Baudis  <pasky@suse.cz>
81350         [BZ #11149]
81351         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
81352         silently even in the chroot mode.
81354 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
81356         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
81357         last patch a bit.  Pretty printing
81359 2010-05-31  Petr Baudis <pasky@suse.cz>
81361         [BZ #10085]
81362         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
81363         initialization of skip_initgroups_dyn.
81365 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
81367         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
81368         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81370 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
81372         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
81374 2010-11-11  Andreas Schwab  <schwab@redhat.com>
81376         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
81377         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
81378         (tst-fnmatch-ENV): Set MALLOC_TRACE.
81379         ($(objpfx)tst-fnmatch-mem): New rule.
81380         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
81381         * posix/tst-fnmatch.c (main): Call mtrace.
81383 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
81385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81386         Support Intel processor model 6 and model 0x2c.
81388 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
81390         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
81391           signed comparison.
81393 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
81395         [BZ #12205]
81396         * string/test-strncasecmp.c (check_result): New function.
81397         (do_one_test): Use it.
81398         (check1): New function.
81399         (test_main): Use it.
81400         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
81401         Support strcasecmp and strncasecmp.
81403 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
81405         [BZ #12194]
81406         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
81407         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81409 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
81411         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
81412         IFUNC support.
81413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81414         memset-x86-64.
81415         * sysdeps/x86_64/multiarch/bzero.S: New file.
81416         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81417         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81418         * sysdeps/x86_64/multiarch/memset.S: New file.
81419         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81421         Set bit_Prefer_SSE_for_memop for Intel processors.
81422         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81423         Define.
81424         (index_Prefer_SSE_for_memop): Define.
81425         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81427 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81429         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81430         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81432 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81434         [BZ #12191]
81435         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81436         (__x86_64_raw_data_cache_size_half): Likewise.
81437         (__x86_64_raw_shared_cache_size): Likewise.
81438         (__x86_64_raw_shared_cache_size_half): Likewise.
81440         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81441         (__x86_64_raw_data_cache_size_half): Likewise.
81442         (__x86_64_raw_shared_cache_size): Likewise.
81443         (__x86_64_raw_shared_cache_size_half): Likewise.
81444         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81445         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81446         and __x86_64_raw_shared_cache_size_half.  Round
81447         __x86_64_data_cache_size_half, __x86_64_data_cache_size
81448         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81449         to multiple of 256 bytes.
81451 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
81453         [BZ #12167]
81454         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81455         of inacessible symlinks.  Verify result of symlink before returning it.
81456         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81457         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81459 2010-10-28  Erich Ritz  <erichritz@gmail.com>
81461         * math/math.h (isinf): Fix typo in comment.
81463 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
81465         * po/da.po: Update from translation team.
81467 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
81469         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81470         is added to the list.
81472 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81473             Ulrich Drepper  <drepper@gmail.com>
81475         * elf/dl-object.c (_dl_new_object): Don't append the new object to
81476         the global list here.  Move code to...
81477         (_dl_add_to_namespace_list): ...here.  New function.
81478         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81479         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81480         * elf/dl-load.c (lose): Don't remove the element from the list.
81481         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81482         (_dl_map_object): Likewise.
81484 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
81486         [BZ #12159]
81487         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81488         into all bytes of SSE register.
81489         Patch by Richard Li <richardpku@gmail.com>.
81491 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
81493         [BZ #12140]
81494         * malloc/malloc.c (_int_free): Fill correct number of bytes when
81495         perturbing.
81497 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
81499         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81500         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81501         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81502         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81504         submachine.
81505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81507 2010-10-22  Andreas Schwab  <schwab@redhat.com>
81509         * include/dlfcn.h (__RTLD_SECURE): Define.
81510         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
81511         mode & __RTLD_SECURE instead.
81512         (open_path): Rename preloaded parameter to secure.
81513         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81514         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81515         * elf/dl-deps.c (openaux): Likewise.
81516         * elf/rtld.c (struct map_args): Remove is_preloaded.
81517         (map_doit): Don't use it.
81518         (dl_main): Likewise.
81519         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
81520         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
81522 2010-09-09  Andreas Schwab  <schwab@redhat.com>
81524         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
81525         (sysd-rules-targets): Remove duplicates.
81526         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
81527         rtld-%.$o dependency.
81529 2010-10-18  Andreas Schwab  <schwab@redhat.com>
81531         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
81532         _dl_map_object do it.
81534 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
81536         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
81537         fast fma builtins, define the macros in the C99 standard.
81538         (FP_FAST_FMAF): Likewise.
81539         (FP_FAST_FMAL): Likewise.
81540         * sysdeps/x86_64/bits/mathdef.h: Likewise.
81542         * bits/mathdef.h: Update copyright year.
81543         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81545 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
81547         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
81548         builtins, define the macros in the C99 standard.
81549         (FP_FAST_FMAF): Likewise.
81550         (FP_FAST_FMAL): Likewise.
81551         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81552         multiply/add.
81553         (FP_FAST_FMAF): Likewise.
81555 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
81557         [BZ #3268]
81558         * math/libm-test.inc (fma_test): Some new testcases.
81559         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
81560         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
81561         y and infinite z.  Do multiplication by C already in long double.
81562         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
81563         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
81564         y and infinite z.  Do bitwise or of inexact bit into u.d.
81565         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
81566         * sysdeps/i386/fpu/s_fmaf.S: Removed.
81567         * sysdeps/i386/fpu/s_fma.S: Removed.
81568         * sysdeps/i386/fpu/s_fmal.S: Removed.
81570 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
81572         [BZ #3268]
81573         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
81574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
81575         computation is not scheduled after fetestexcept.  Fix value
81576         of minimum denormal long double.
81578 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
81580         [BZ #3268]
81581         * math/libm-test.inc (fma_test): Add some more tests.
81582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
81583         correctly.
81585 2010-10-15  Andreas Schwab  <schwab@redhat.com>
81587         * scripts/data/localplt-s390-linux-gnu.data: New file.
81588         * scripts/data/localplt-s390x-linux-gnu.data: New file.
81590 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
81592         [BZ #3268]
81593         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
81594         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
81595         instead of dbl-64.
81596         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
81597         inlines.
81598         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
81599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
81600         if one of x and y is very large and the other is subnormal.
81601         * sysdeps/s390/fpu/s_fmaf.c: New file.
81602         * sysdeps/s390/fpu/s_fma.c: New file.
81603         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
81604         * sysdeps/powerpc/fpu/s_fma.S: New file.
81605         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
81606         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
81607         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
81609 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
81611         [BZ #3268]
81612         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
81613         fma tests.
81614         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
81615         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
81616         * sysdeps/i386/i686/multiarch/s_fma.c: Include
81617         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
81618         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
81619         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
81620         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
81622 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
81624         [BZ #12078]
81625         * posix/regcomp.c (parse_branch): One more memory leak plugged.
81626         * posix/bug-regex31.input: Add test case.
81628 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81630         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
81631         * posix/bug-regex31.input: New file.
81633         [BZ #12078]
81634         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
81635         (parse_sub_exp): Fix last change, use postorder.
81637         * posix/bug-regex31.c: New file.
81638         * posix/Makefile: Add rules to build and run bug-regex31.
81640         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
81642         [BZ #12078]
81643         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
81645         [BZ #12108]
81646         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
81647         to have entries in sys_siglist.
81649         [BZ #12093]
81650         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
81651         be NULL.
81653 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
81655         [BZ #3268]
81656         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
81657         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
81658         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
81659         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
81660         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81661         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
81662         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
81663         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
81664         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
81665         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
81666         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
81667         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
81668         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
81669         * math/ftestexcept.c (fetestexcept): Likewise.
81670         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
81671         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
81672         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
81673         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
81674         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
81675         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
81676         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
81678 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81680         [BZ #12107]
81681         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
81682         newline.
81684 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
81686         * string/bug-strstr1.c: New file.
81687         * string/Makefile: Add rules to build and run bug-strstr1.
81689 2010-10-05  Eric Blake  <eblake@redhat.com>
81691         [BZ #12092]
81692         * string/str-two-way.h (two_way_long_needle): Always clear memory
81693         when skipping input due to the shift table.
81695 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
81697         [BZ #12005]
81698         * malloc/mcheck.c: Handle large requests.
81700         [BZ #12077]
81701         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
81702         for strncmp and strncasecmp.
81703         * string/stratcliff.c: Add tests for strcmp and strncmp.
81704         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
81706 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81708         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
81709         __set_fpscr.
81711 2010-09-30  Andreas Jaeger  <aj@suse.de>
81713         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
81714         (CGROUP_SUPER_MAGIC): Define.
81715         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81716         Handle btrfs and cgroup file systems.
81717         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
81718         Likewise.
81720 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
81722         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
81723         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
81725 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81727         [BZ #12067]
81728         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
81729         trying to locate the ELF header.
81731 2010-09-27  Andreas Schwab  <schwab@redhat.com>
81733         [BZ #11611]
81734         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
81735         Mask out sign-bit copies when constructing f_fsid.
81737 2010-09-24  Petr Baudis <pasky@suse.cz>
81739         * debug/stack_chk_fail_local.c: Add missing licence exception.
81740         * debug/warning-nop.c: Likewise.
81742 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
81744         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
81745         implementing getdents64 using getdents syscall, set d_type if
81746         __ASSUME_GETDENTS32_D_TYPE.
81748 2010-09-16  Andreas Schwab  <schwab@redhat.com>
81750         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
81751         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
81753 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
81755         [BZ #12037]
81756         * posix/unistd.h: Undo change of feature selection for ftruncate from
81757         2010-01-11.
81759 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
81761         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
81762         detection.
81764 2010-09-20  Andreas Schwab  <schwab@redhat.com>
81766         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
81767         fanotify_mark.
81768         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81770 2010-09-14  Andreas Schwab  <schwab@redhat.com>
81772         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
81773         variables after CHECK_SP call.
81774         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
81776 2010-09-13  Andreas Schwab  <schwab@redhat.com>
81777             Ulrich Drepper  <drepper@redhat.com>
81779         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
81780         re-relocationg ld.so.
81781         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
81782         _dl_init_paths call.
81783         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
81784         here anymore.
81786 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
81788         * resolv/res_init.c (__res_vinit): Count the default server we added.
81790 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
81791             Ulrich Drepper  <drepper@redhat.com>
81793         [BZ #11968]
81794         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81795         (____longjmp_chk): Use %ebx for saving value across system call.
81796         Add unwind info.
81798 2010-09-06  Andreas Schwab  <schwab@redhat.com>
81800         * manual/Makefile: Don't mix pattern rules with normal rules.
81802 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
81804         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
81805         operation.
81806         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
81807         * libio/iofopncook.c (_IO_cookie_init): Likewise.
81808         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
81809         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
81810         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81811         Likewise.
81813 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
81815         [BZ #11979]
81816         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
81817         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
81819 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
81821         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
81822         * sysdeps/x86_64/addmul_1.S: Likewise.
81823         * sysdeps/x86_64/lshift.S: Likewise.
81824         * sysdeps/x86_64/mul_1.S: Likewise.
81825         * sysdeps/x86_64/rshift.S: Likewise.
81826         * sysdeps/x86_64/sub_n.S: Likewise.
81827         * sysdeps/x86_64/submul_1.S: Likewise.
81829 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81831         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
81832         Define __sched_param instead of SCHED_* and sched_param when
81833         <bits/sched.h> is included with __need_schedparam defined.
81834         * bits/sched.h [__need_schedparam]
81835         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
81836         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
81837         (__defined_schedparam): Define to 1.
81838         (__sched_param): New structure, identical to sched_param.
81839         (__need_schedparam): Undefine.
81841 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
81843         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
81844         (epoll_create1): Declare.
81846         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
81848 2010-08-31  Andreas Schwab  <schwab@redhat.com>
81850         [BZ #7066]
81851         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
81852         shifting retval into place.
81854 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
81856         * nis/rpcsvc/nis.h: Update copyright notice.
81857         * nis/rpcsvc/nis.x: Likewise.
81858         * nis/rpcsvc/nis_callback.h: Likewise.
81859         * nis/rpcsvc/nis_callback.x: Likewise.
81860         * nis/rpcsvc/nis_object.x: Likewise.
81861         * nis/rpcsvc/nis_tags.h: Likewise.
81862         * nis/rpcsvc/yp.h: Likewise.
81863         * nis/rpcsvc/yp.x: Likewise.
81864         * nis/rpcsvc/ypupd.h: Likewise.
81865         * nis/yp_xdr.c: Likewise.
81866         * nis/ypupdate_xdr.c: Likewise.
81868         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
81869         mainly the body of pmap_getport.  Add parameters to specify timeouts.
81870         (pmap_getport): Use __libc_rpc_getport.
81871         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
81872         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
81873         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
81875 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
81877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
81878         fanotify_mark.
81880 2010-08-27  Roland McGrath  <roland@redhat.com>
81882         * sysdeps/i386/i686/multiarch/Makefile
81883         (CFLAGS-varshift.c): New variable.
81885 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
81887         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81888         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81890         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81892         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81894 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81896         * sysdeps/x86_64/strlen.S: Unroll the loop.
81897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81898         strlen-sse2 strlen-sse2-bsf.
81899         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81900         __strlen_no_bsf if bit_Slow_BSF is set.
81901         (__strlen_sse42): Removed.
81902         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81903         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81905 2010-08-25  Roland McGrath  <roland@redhat.com>
81907         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81908         * sysdeps/x86_64/multiarch/varshift.c: New file.
81909         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81910         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81911         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81912         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81914 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81916         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81917         strlen-sse2 strlen-sse2-bsf.
81918         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81919         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81920         (__strlen_sse2): Removed.
81921         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81922         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81924         bit_Slow_BSF for Atom.
81925         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81926         (index_Slow_BSF): Define.
81927         (HAS_SLOW_BSF): Define.
81929 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81931         [BZ #10851]
81932         * resolv/res_init.c (__res_vinit): When no server address at all
81933         is given default to loopback.
81935 2010-08-24  Roland McGrath  <roland@redhat.com>
81937         * configure.in: Remove config-name.h generation.
81938         * configure: Regenerated.
81939         * config-name.in: File removed.
81940         * scripts/config-uname.sh: New file.
81941         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81942         ($(objdir)config-name.h): New target.
81944         * sunrpc/rpc_parse.h: Avoid nested comment.
81946 2010-08-24  Richard Henderson  <rth@redhat.com>
81947             Ulrich Drepper  <drepper@redhat.com>
81948             H.J. Lu  <hongjiu.lu@intel.com>
81950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81952         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81953         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81954         _mm_alignr_epi8 with _mm_loadu_si128.
81955         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81956         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81957         (__m128i_shift_right): Removed.
81958         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81959         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81960         * sysdeps/x86_64/multiarch/varshift.h: New file.
81961         * sysdeps/x86_64/multiarch/varshift.S: New file.
81963 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81965         * configure.in: Move assembler checks to before sysdep dir checking.
81967 2010-08-20  Petr Baudis  <pasky@suse.cz>
81969         * LICENSES: Sync the sunrpc license.
81971 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81973         * sunrpc/auth_des.c: Update copyright notice once again.
81974         * sunrpc/auth_none.c: Likewise.
81975         * sunrpc/auth_unix.c: Likewise.
81976         * sunrpc/authdes_prot.c: Likewise.
81977         * sunrpc/authuxprot.c: Likewise.
81978         * sunrpc/bindrsvprt.c: Likewise.
81979         * sunrpc/clnt_gen.c: Likewise.
81980         * sunrpc/clnt_perr.c: Likewise.
81981         * sunrpc/clnt_raw.c: Likewise.
81982         * sunrpc/clnt_simp.c: Likewise.
81983         * sunrpc/clnt_tcp.c: Likewise.
81984         * sunrpc/clnt_udp.c: Likewise.
81985         * sunrpc/clnt_unix.c: Likewise.
81986         * sunrpc/des_crypt.c: Likewise.
81987         * sunrpc/des_soft.c: Likewise.
81988         * sunrpc/get_myaddr.c: Likewise.
81989         * sunrpc/getrpcport.c: Likewise.
81990         * sunrpc/key_call.c: Likewise.
81991         * sunrpc/key_prot.c: Likewise.
81992         * sunrpc/openchild.c: Likewise.
81993         * sunrpc/pm_getmaps.c: Likewise.
81994         * sunrpc/pm_getport.c: Likewise.
81995         * sunrpc/pmap_clnt.c: Likewise.
81996         * sunrpc/pmap_prot.c: Likewise.
81997         * sunrpc/pmap_prot2.c: Likewise.
81998         * sunrpc/pmap_rmt.c: Likewise.
81999         * sunrpc/rpc/auth.h: Likewise.
82000         * sunrpc/rpc/auth_unix.h: Likewise.
82001         * sunrpc/rpc/clnt.h: Likewise.
82002         * sunrpc/rpc/des_crypt.h: Likewise.
82003         * sunrpc/rpc/key_prot.h: Likewise.
82004         * sunrpc/rpc/netdb.h: Likewise.
82005         * sunrpc/rpc/pmap_clnt.h: Likewise.
82006         * sunrpc/rpc/pmap_prot.h: Likewise.
82007         * sunrpc/rpc/pmap_rmt.h: Likewise.
82008         * sunrpc/rpc/rpc.h: Likewise.
82009         * sunrpc/rpc/rpc_des.h: Likewise.
82010         * sunrpc/rpc/rpc_msg.h: Likewise.
82011         * sunrpc/rpc/svc.h: Likewise.
82012         * sunrpc/rpc/svc_auth.h: Likewise.
82013         * sunrpc/rpc/types.h: Likewise.
82014         * sunrpc/rpc/xdr.h: Likewise.
82015         * sunrpc/rpc_clntout.c: Likewise.
82016         * sunrpc/rpc_cmsg.c: Likewise.
82017         * sunrpc/rpc_common.c: Likewise.
82018         * sunrpc/rpc_cout.c: Likewise.
82019         * sunrpc/rpc_dtable.c: Likewise.
82020         * sunrpc/rpc_hout.c: Likewise.
82021         * sunrpc/rpc_main.c: Likewise.
82022         * sunrpc/rpc_parse.c: Likewise.
82023         * sunrpc/rpc_parse.h: Likewise.
82024         * sunrpc/rpc_prot.c: Likewise.
82025         * sunrpc/rpc_sample.c: Likewise.
82026         * sunrpc/rpc_scan.c: Likewise.
82027         * sunrpc/rpc_scan.h: Likewise.
82028         * sunrpc/rpc_svcout.c: Likewise.
82029         * sunrpc/rpc_tblout.c: Likewise.
82030         * sunrpc/rpc_util.c: Likewise.
82031         * sunrpc/rpc_util.h: Likewise.
82032         * sunrpc/rpcinfo.c: Likewise.
82033         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82034         * sunrpc/rpcsvc/key_prot.x: Likewise.
82035         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82036         * sunrpc/rpcsvc/mount.x: Likewise.
82037         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82038         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82039         * sunrpc/rpcsvc/rex.x: Likewise.
82040         * sunrpc/rpcsvc/rstat.x: Likewise.
82041         * sunrpc/rpcsvc/rusers.x: Likewise.
82042         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82043         * sunrpc/rpcsvc/spray.x: Likewise.
82044         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82045         * sunrpc/rtime.c: Likewise.
82046         * sunrpc/svc.c: Likewise.
82047         * sunrpc/svc_auth.c: Likewise.
82048         * sunrpc/svc_authux.c: Likewise.
82049         * sunrpc/svc_raw.c: Likewise.
82050         * sunrpc/svc_run.c: Likewise.
82051         * sunrpc/svc_simple.c: Likewise.
82052         * sunrpc/svc_tcp.c: Likewise.
82053         * sunrpc/svc_udp.c: Likewise.
82054         * sunrpc/svc_unix.c: Likewise.
82055         * sunrpc/svcauth_des.c: Likewise.
82056         * sunrpc/xcrypt.c: Likewise.
82057         * sunrpc/xdr.c: Likewise.
82058         * sunrpc/xdr_array.c: Likewise.
82059         * sunrpc/xdr_float.c: Likewise.
82060         * sunrpc/xdr_mem.c: Likewise.
82061         * sunrpc/xdr_rec.c: Likewise.
82062         * sunrpc/xdr_ref.c: Likewise.
82063         * sunrpc/xdr_sizeof.c: Likewise.
82064         * sunrpc/xdr_stdio.c: Likewise.
82066         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82067         handling.
82069 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82071         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82073 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82075         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82076         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82077         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82078         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82079         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82080         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82081         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82082         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82083         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82084         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82085         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82086         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82087         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82088         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82090 2010-07-26  Anton Blanchard  <anton@samba.org>
82092         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82093         * malloc/arena.c (heap_trim): Likewise.
82095 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82097         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82098         here.  Not...
82099         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82100         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82102 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82104         * sysdeps/i386/elf/Makefile: New file.
82106 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82108         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82109         from fanotify_init.
82110         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82111         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82113 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82115         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82116         of strncasecmp_l.
82117         * sysdeps/multiarch/strcmp.S: Likewise.
82119 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82121         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82122         strncase_l-nonascii.
82123         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82124         Add strncase_l-ssse3.
82125         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82126         * sysdeps/x86_64/strcmp.S: Likewise.
82127         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82128         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82129         * sysdeps/x86_64/strncase.S: New file.
82130         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82131         * sysdeps/x86_64/strncase_l.S: New file.
82132         * string/Makefile (strop-tests): Add strncasecmp.
82133         * string/test-strncasecmp.c: New file.
82135         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82136         warning.
82138         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82139         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82141 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82143         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82145 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82147         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82148         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82149         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82151 2010-05-01  Alan Modra  <amodra@gmail.com>
82153         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82154         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82155         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82156         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82157         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82158         tidying.  Don't tail-call __sigjmp_save for static lib.
82159         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82160         save location.
82161         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82162         (CALL_MCOUNT): Add eh info, and nop after bl.
82163         (TAIL_CALL_SYSCALL_ERROR): New macro.
82164         (PSEUDO_RET): Use it.
82165         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82166         Correct save location of integer regs and cr.
82167         (_dl_profile_resolve): Correct cr save location.  Delete nops
82168         after bl when SHARED.  Reduce cfi size a little by better
82169         placement of cfi directives.
82170         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82171         make a stack frame.  Instead use parm save area as a temp.
82172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82173         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82175         Don't make a stack frame for parent, use parm save area.
82176         Increase child stack frame to 112 bytes.  Don't save unused reg,
82177         and adjust reg usage.  Set up cfi on error recovery and
82178         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82180         (__makecontext): Add dummy nop after jump to exit.
82181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82182         Use correct parm save area and cr save, reduce stack frame.
82183         Correct cfi for possible PSEUDO_RET frame setup.
82184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82185         Branch to local label emitted by PSEUDO_RET rather than
82186         __syscall_error.
82188 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82190         [BZ #11904]
82191         * locale/programs/locale.c (print_assignment): New function.
82192         (show_locale_vars): Use it.
82194 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82196         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82197         field.
82198         (struct statfs64): Likewise.
82199         (_STATFS_F_FLAGS): Define.
82200         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82201         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82202         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82203         (ST_VALID): Define locally.
82204         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82205         __statvfs_getflags, use the provided value.
82206         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82207         __ASSUME_STATFS_F_FLAGS.
82209         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82211         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82212         Add sys/fanotify.h.
82213         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82214         fanotify_mask for GLIBC_2.13.
82215         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82216         fanotify_init and fanotify_mark.
82217         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82218         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82220         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82221         Add prlimit.
82222         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82223         prlimit64 for GLIBC_2.13.
82224         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82225         prlimit64.
82226         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82227         syscall.
82228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82229         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82230         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82231         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82232         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
82233         add prlimit alias.
82234         * sysdeps/unix/sysv/linux/prlimit.c: New file.
82236         [BZ #11903]
82237         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
82238         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
82240         * nss/Makefile: Add rules to build and run tst-nss-test1.
82241         * shlib-versions: Add entry for libnss_test1.
82242         * nss/nss_test1.c: New file.
82243         * nss/tst-nss-test1.c: New file.
82245         * nss/nsswitch.c (__nss_database_custom): Define new variable.
82246         (__nss_configure_lookup): Set appropriate entry in
82247         __nss_configure_lookup to true.
82248         * nss/nsswitch.h: Define enum with indeces of databases in
82249         databases and __nss_database_custom arrays.  Declare
82250         __nss_database_custom.
82251         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
82252         to avoid using nscd when custom rules are installed.
82253         * nss/getXXbyYY_r.c: Likewise.
82254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
82256         * nss/nss_files/files-parse.c: Whitespace fixes.
82258 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
82260         [BZ #11883]
82261         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
82262         * posix/fnmatch_loop.c: Likewise.
82264 2010-07-17  Andi Kleen  <ak@linux.intel.com>
82266         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
82267         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
82268         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
82269         * Versions.def [GLIBC_2.13]: Add.
82271 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
82273         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82274         Also fail if tpwd after pwuid call is NULL.
82276 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82278         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
82279         when converting to ms.
82281 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82283         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
82284         EOPNOTSUPP errors with ENOTTY.
82285         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
82286         EOPNOTSUPP errors with ENOTTY.
82288 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
82290         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82291         Add strcasecmp_l-ssse3.
82292         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
82293         strcasecmp.
82294         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
82295         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
82296         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
82298 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
82300         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
82302         * string/Makefile (strop-tests): Add strcasecmp.
82303         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82304         strcasecmp_l-nonascii.
82305         (gen-as-const-headers): Add locale-defines.sym.
82306         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
82307         * sysdeps/x86_64/strcasecmp.S: New file.
82308         * sysdeps/x86_64/strcasecmp_l.S: New file.
82309         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
82310         * sysdeps/x86_64/locale-defines.sym: New file.
82311         * string/test-strcasecmp.c: New file.
82313         * string/test-strcasestr.c: Test both ends of the range of characters.
82314         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
82316 2010-07-29  Roland McGrath  <roland@redhat.com>
82318         [BZ #11856]
82319         * manual/locale.texi (Yes-or-No Questions): Fix example code.
82321 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
82323         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
82324         for ld.so.
82326 2010-07-27  Andreas Schwab  <schwab@redhat.com>
82328         * manual/memory.texi (Malloc Tunable Parameters): Document
82329         M_PERTURB.
82331 2010-07-26  Roland McGrath  <roland@redhat.com>
82333         [BZ #11840]
82334         * configure.in (-fgnu89-inline check): Set and substitute
82335         gnu89_inline, not libc_cv_gnu89_inline.
82336         * configure: Regenerated.
82337         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
82339 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
82341         * string/test-strnlen.c: New file.
82342         * string/Makefile (strop-tests): Add strnlen.
82343         * string/tester.c (test_strnlen): Add a few more test cases.
82344         * string/tst-strlen.c: Better error reporting.
82346         * sysdeps/x86_64/strnlen.S: New file.
82348 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
82350         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
82351         lower-latency instructions.
82353 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
82355         * string/test-strcasestr.c: New file.
82356         * string/test-strstr.c: New file.
82357         * string/Makefile (strop-tests): Add strstr and strcasestr.
82358         * string/str-two-way.h: Don't undefine MAX.
82359         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
82361 2010-07-21  Andreas Schwab  <schwab@redhat.com>
82363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82364         strcasestr-nonascii.
82365         (CFLAGS-strcasestr-nonascii.c): Define.
82366         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
82367         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
82368         Remove unused attribute.
82370 2010-07-20  Roland McGrath  <roland@redhat.com>
82372         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
82373         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
82374         ld.so.cache was broken.  With it, there is no way to disable dsocaps
82375         like LD_HWCAP_MASK can disable hwcaps.
82377 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82379         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
82381 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
82383         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
82384         call in strcasestr.
82385         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
82386         __strcasestr_sse42_nonascii.
82387         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
82388         strcasestr-nonascii.c.
82389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
82391 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
82393         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
82394         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
82395         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
82396         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
82398 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
82400         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
82401         fcntl.
82403 2010-07-06  Andreas Schwab  <schwab@redhat.com>
82405         [BZ #11577]
82406         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
82407         dl_signal_cerror.
82409 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
82411         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
82412         _PC_PIPE_BUF using F_GETPIPE_SZ.
82414 2010-07-05  Roland McGrath  <roland@redhat.com>
82416         * manual/arith.texi (Rounding Functions): Fix rint description
82417         implicit in round description.
82419 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82421         * elf/Makefile: Fix linking for a few tests to make recent linker
82422         happy.
82424 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82426         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82427         $(common-objpfx)libc_nonshared.a.
82429 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82431         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82432         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82433         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82434         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82435         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82436         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82437         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82438         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82453         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82454         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82455         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82456         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82457         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82458         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82459         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82460         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82461         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82462         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82463         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82464         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82480 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
82482         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82483         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
82484         * string/memmove.c (memmove): Renamed to ...
82485         (MEMMOVE): ...this.  Default to memmove.
82486         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82487         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82488         (END_CHK): Define.
82489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82490         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82491         mempcpy-ssse3-back memmove-ssse3-back.
82492         * sysdeps/x86_64/multiarch/bcopy.S: New file .
82493         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82494         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82495         * sysdeps/x86_64/multiarch/memcpy.S: New file.
82496         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82497         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82498         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82499         * sysdeps/x86_64/multiarch/memmove.c: New file.
82500         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82501         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82502         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82503         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82504         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82506         Define.
82507         (index_Fast_Copy_Backward): Define.
82508         (HAS_ARCH_FEATURE): Define.
82509         (HAS_FAST_REP_STRING): Define.
82510         (HAS_FAST_COPY_BACKWARD): Define.
82512 2010-06-21  Andreas Schwab  <schwab@redhat.com>
82514         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82515         Restore proper fallback handling.
82517 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
82519         [BZ #11701]
82520         * posix/group_member.c (__group_member): Correct checking loop.
82522         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
82523         OOM in getpwuid_r correctly.  Return error number when the caller
82524         should return, otherwise -1.
82525         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
82526         call returning > 0 value.
82527         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
82529 2010-06-07  Andreas Schwab  <schwab@redhat.com>
82531         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
82532         libc_nonshared.a from targets in modules-names.
82534 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
82536         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
82537         requires it.
82539 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
82541         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
82542         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
82543         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
82544         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
82546 2010-06-02  Andreas Schwab  <schwab@redhat.com>
82548         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
82550 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
82552         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
82553         and F_GETPIPE_SZ.
82554         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82555         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82557         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82558         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82559         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82561 2010-06-14  Roland McGrath  <roland@redhat.com>
82563         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
82565 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
82567         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
82568         __REDIRECT followed by __THROW.
82569         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
82570         * posix/getopt.h (getopt): Likewise.
82572 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82574         * hurd/lookup-at.c (__file_name_lookup_at): Accept
82575         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
82576         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
82577         in AT_FLAGS.
82578         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
82579         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
82581 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
82583         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
82585 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
82587         [BZ #11640]
82588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82589         Properly check family and model.
82591 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
82593         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
82595 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
82597         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
82599 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
82601         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
82602         symbol reference.
82604 2010-05-19  Andreas Schwab  <schwab@redhat.com>
82606         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
82607         symbol reference.
82609 2010-05-21  Andreas Schwab  <schwab@redhat.com>
82611         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
82612         and internal_recvmmsg.
82613         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
82614         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
82615         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
82616         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
82618         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
82619         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
82620         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
82622 2010-05-20  Andreas Schwab  <schwab@redhat.com>
82624         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
82626 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
82628         POWER7 optimizations.
82629         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
82630         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
82632 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
82634         * version.h: Update for 2.13 development version.
82636 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
82638         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
82639         exceptions.  Return 0.
82641 2010-05-07  Roland McGrath  <roland@redhat.com>
82643         * elf/ldconfig.c (main): Add a const.
82645 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
82647         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
82648         (args_options): Add no-idn option.
82649         (ahosts_keys_int): Add idn_flags to ai_flags.
82650         (parse_option): Handle 'i' option to clear idn_flags.
82652         * malloc/malloc.c (_int_free): Possible race in the most recently
82653         added check.  Only act on the data if no current modification
82654         happened.
82656 See ChangeLog.17 for earlier changes.